<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/22340e74571a0b3ae650f5956fac3e23670a8a19">https://github.com/macports/macports-ports/commit/22340e74571a0b3ae650f5956fac3e23670a8a19</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 22340e74571 MenuMeters: add a version for older systems
</span>22340e74571 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 22340e74571a0b3ae650f5956fac3e23670a8a19
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Tue Jun 20 15:57:29 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> MenuMeters: add a version for older systems
</span>---
aqua/MenuMeters/Portfile | 75 +++++++++++++++++++++++++----------
aqua/MenuMeters/files/patch-proj.diff | 62 +++++++++++++++++++++++++++++
2 files changed, 115 insertions(+), 22 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/MenuMeters/Portfile b/aqua/MenuMeters/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d34a19e8088..2b9f363e927 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/MenuMeters/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/MenuMeters/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,6 @@ categories aqua sysutils
</span> platforms macosx
maintainers {gmail.com:audvare @Tatsh} openmaintainer
license GPL-2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs i386 arm64 x86_64
</span>
description Set of CPU, memory, disk, and network monitoring tools
long_description The MenuMeters monitors are true SystemUIServer plugins \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,29 +17,61 @@ long_description The MenuMeters monitors are true SystemUIServer plugins
</span> using command-drag and remember their positions in the menubar \
across logins and restarts.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} > 15} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup yujitach MenuMeters 2.1.6.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 d2e666567655456b19579fc618c84ba30acec872 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2dde435032cced14e60d4f98dadb25208cd7d9c338f524f1ed1eb71096ecd19e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 1541706
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs i386 arm64 x86_64
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup yujitach MenuMeters 2.1.6.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 d2e666567655456b19579fc618c84ba30acec872 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 2dde435032cced14e60d4f98dadb25208cd7d9c338f524f1ed1eb71096ecd19e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 1541706
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-bc.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.major} < 16} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- known_fail yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- pre-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_error "${name} requires macOS 10.12 or later."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return -code error "incompatible macOS version"
</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:#e0ffe0;'>+ xcode.configuration Release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xcode.target "${name} No Sparkle"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xcode.destroot.settings \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CODE_SIGN_IDENTITY=- \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CODE_SIGN_STYLE=Manual \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ENABLE_HARDENED_RUNTIME=NO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Compile and install in one step, for now. See https://trac.macports.org/ticket/57137
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Pin this for older systems:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 1.8.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ maintainers-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {@barracuda156 gmail.com:vital.had}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites https://ragingmenace.com/software/download/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 a3383ffbed8e9088e71a6d18f0a3a9e148ebeb2c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b516d8d9feffba20675c1ad0599ae6829df43d10bf85766fa02b1feb58bd7f9c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 717887
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extract.rename yes
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-bc.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-proj.diff
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.configuration Release
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.target "${name} No Sparkle"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-xcode.destroot.settings \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CODE_SIGN_IDENTITY=- \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CODE_SIGN_STYLE=Manual \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ENABLE_HARDENED_RUNTIME=NO
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.major} == 10 && ${os.arch} eq "powerpc"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If set to release, build system checks some irrelevant Xcode components,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # some of which may not contain ppc arch on 10.6.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xcode.configuration Debug
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xcode.configuration Release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xcode.target PrefPane
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xcode.build.settings-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CODE_SIGN_IDENTITY=- \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ARCHS=${configure.build_arch} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ONLY_ACTIVE_ARCH=yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d "${destroot}/Library/PreferencePanes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy "${worksrcpath}/build/${xcode.configuration}/MenuMeters.prefPane" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "${destroot}/Library/PreferencePanes/MenuMeters.prefPane"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Compile and install in one step, for now. See https://trac.macports.org/ticket/57137
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/MenuMeters/files/patch-proj.diff b/aqua/MenuMeters/files/patch-proj.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..93c6f8ed507
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/MenuMeters/files/patch-proj.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,62 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- MenuMeters.xcodeproj/project.pbxproj 2023-06-20 13:24:57.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ MenuMeters.xcodeproj/project.pbxproj 2023-06-20 14:25:00.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1674,6 +1674,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ARCHS = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i386,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ppc64,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ppc,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CODE_SIGN_IDENTITY = "Developer ID Application";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1684,17 +1685,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GCC_OPTIMIZATION_LEVEL = s;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GCC_PREFIX_HEADER = MenuMeters.pch;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- GCC_VERSION = 4.0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ GCC_VERSION = 4.2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACOSX_DEPLOYMENT_TARGET = 10.4;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "MACOSX_DEPLOYMENT_TARGET[sdk=macosx10.4][arch=ppc]" = 10.2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "MACOSX_DEPLOYMENT_TARGET[sdk=macosx10.4][arch=ppc]" = 10.4;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "MACOSX_DEPLOYMENT_TARGET[sdk=macosx10.5][arch=*]" = 10.5;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PREBINDING = NO;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SDKROOT = macosx10.4;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "SDKROOT[arch=x86_64]" = macosx10.5;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "SDKROOT[arch=ppc64]" = macosx10.5;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "SDKROOT[arch=x86_64]" = macosx10.6;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SEPARATE_STRIP = YES;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WARNING_CFLAGS = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-Wall",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "-Werror",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-Wshorten-64-to-32",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1706,6 +1707,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ARCHS = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i386,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ppc64,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ppc,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEAD_CODE_STRIPPING = NO;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1715,17 +1717,17 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GCC_OPTIMIZATION_LEVEL = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GCC_PREFIX_HEADER = MenuMeters.pch;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- GCC_VERSION = 4.0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ GCC_VERSION = 4.2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACOSX_DEPLOYMENT_TARGET = 10.4;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "MACOSX_DEPLOYMENT_TARGET[sdk=macosx10.4][arch=ppc]" = 10.2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "MACOSX_DEPLOYMENT_TARGET[sdk=macosx10.4][arch=ppc]" = 10.4;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "MACOSX_DEPLOYMENT_TARGET[sdk=macosx10.5][arch=*]" = 10.5;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PREBINDING = NO;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SDKROOT = macosx10.4;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "SDKROOT[arch=x86_64]" = macosx10.5;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "SDKROOT[arch=ppc64]" = macosx10.5;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "SDKROOT[arch=x86_64]" = macosx10.6;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SEPARATE_STRIP = YES;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ WARNING_CFLAGS = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-Wall",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "-Werror",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "-Wshorten-64-to-32",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span></pre><pre style='margin:0'>
</pre>