<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c2a068dd50699a5af0ed0b7d1b724c92ea8206a4">https://github.com/macports/macports-ports/commit/c2a068dd50699a5af0ed0b7d1b724c92ea8206a4</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new c2a068dd506 codeblocks: update to 20.03
</span>c2a068dd506 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit c2a068dd50699a5af0ed0b7d1b724c92ea8206a4
</span>Author: Ken <21211439+kencu@users.noreply.github.com>
AuthorDate: Tue Sep 6 17:59:44 2022 -0700

<span style='display:block; white-space:pre;color:#404040;'>    codeblocks: update to 20.03
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    use https link to sourceforge hosted files
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    use app portgroup
</span><span style='display:block; white-space:pre;color:#404040;'>    use launch script to find plugins and resources reliably
</span><span style='display:block; white-space:pre;color:#404040;'>    hide the continuously-bouncing dock icon
</span><span style='display:block; white-space:pre;color:#404040;'>    use app portgroup generate plist file
</span><span style='display:block; white-space:pre;color:#404040;'>    only use app icon
</span><span style='display:block; white-space:pre;color:#404040;'>      dropping documents on the application icon didn't work anyway
</span>---
 devel/codeblocks/Portfile | 68 ++++++++++-------------------------------------
 1 file changed, 14 insertions(+), 54 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/codeblocks/Portfile b/devel/codeblocks/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1f1803bdf98..064768470a8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/codeblocks/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/codeblocks/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,10 +3,11 @@
</span> PortSystem          1.0
 PortGroup           wxWidgets 1.0
 PortGroup           boost 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup           app 1.0
</span> 
 name                codeblocks
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version             17.12
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision            2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version             20.03
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            0
</span> platforms           darwin freebsd
 categories          devel aqua x11
 license             GPL-3+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -19,16 +20,13 @@ long_description    Code::Blocks is a free C++ IDE built specifically \
</span>                     It was designed, right from the start, to be \
                     extensible and configurable.
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage            http://www.codeblocks.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites        sourceforge:project/codeblocks/Sources/${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage            https://www.codeblocks.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+master_sites        https://sourceforge.net/projects/codeblocks/files/Sources/${version}
</span> use_xz              yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-distname            ${name}_${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir          ${name}-${version}
</span> 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums           rmd160  d6b24ef948437f248135ccc40fcff71944a6a07f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    sha256  13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    size    15725976
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums           rmd160  2b4a2136cc34b1d27a8c7bdb3747f87904648cab \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    sha256  15eeb3e28aea054e1f38b0c7f4671b4d4d1116fd05f63c07aa95a91db89eaac5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    size    11799264
</span> 
 patchfiles          patch-sqvm-header-fix.diff
 
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -55,55 +53,17 @@ compiler.cxx_standard   2011
</span> configure.args      --with-contrib-plugins=all,-FileManager \
                     --with-boost=[boost::install_area]
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # TODO: this might need a review
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "strip -S ${destroot}${prefix}/bin/codeblocks"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "strip -S ${destroot}${prefix}/lib/libcodeblocks*.so || true"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "strip -S ${destroot}${prefix}/lib/libcodeblocks*.dylib || true"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "strip -S ${destroot}${prefix}/lib/libwxsmithlib*.so || true"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "strip -S ${destroot}${prefix}/lib/libwxsmithlib*.dylib || true"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#   system "strip -S ${destroot}${prefix}/lib/wxSmithContribItems/lib*.so || true"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#   system "strip -S ${destroot}${prefix}/lib/wxSmithContribItems/lib*.dylib || true"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#    system "strip -S ${destroot}${prefix}/lib/codeblocks/plugins/*.so"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    set appPath ${destroot}${applications_dir}/CodeBlocks.app/Contents
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -d -m 0755 ${destroot}${applications_dir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -d -m 0755 ${appPath}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -d -m 0755 ${appPath}/Resources
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    file copy -force ${worksrcpath}/codeblocks.plist ${appPath}/Info.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    foreach {icn} {app cbp csd c cg cpp d f h rc} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        file copy -force ${worksrcpath}/src/src/resources/icons/${icn}.icns ${appPath}/Resources
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -d -m 0755 ${appPath}/MacOS
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    ln -sf ${prefix}/bin/codeblocks ${appPath}/MacOS/CodeBlocks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -d -m 0755 ${appPath}/Resources/share
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    ln -sf ${prefix}/share/codeblocks ${appPath}/Resources/share/codeblocks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -d -m 0755 ${appPath}/Resources/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    ln -sf ${prefix}/lib/codeblocks ${appPath}/Resources/lib/codeblocks
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    delete ${destroot}${prefix}/share/applications/codeblocks.desktop
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    delete ${destroot}${prefix}/share/icons/hicolor
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    delete ${destroot}${prefix}/share/mime/packages/codeblocks.xml
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    delete ${destroot}${prefix}/share/pixmaps/codeblocks.png
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # TODO without the following block the app fails to start and throws the following error:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # Cannot find resources...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # Code::Blocks was configured to be installed in '/Applications/MacPorts/CodeBlocks.app/Contents/MacOS/share/codeblocks'.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # Please use the command-line switch '--prefix' or set the CODEBLOCKS_DATA_DIR environment variable to point where Code::Blocks is installed,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # or try re-installing the application...
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    # but this seems like a bug
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    xinstall -d -m 0755 ${appPath}/MacOS/share
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-    ln -sf ${prefix}/share/codeblocks ${appPath}/MacOS/share
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> # disable precompiled headers for the universal build
 variant universal {
     configure.args-append   --disable-pch
 }
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+app.name              CodeBlocks
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+app.use_launch_script yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+app.icon              src/src/resources/icons/app.icns
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+app.hide_dock_icon    yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant wxwidgets30 conflicts wxwidgets28 wxgtk30 wxgtk28 description {Use Cocoa-based wxWidgets 3.0} {
     wxWidgets.use           wxWidgets-3.0
     depends_lib-append      port:${wxWidgets.port}
</pre><pre style='margin:0'>

</pre>