<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2628d6f5b3cc14a269da89ec1fdbc8efcd9ccc6e">https://github.com/macports/macports-ports/commit/2628d6f5b3cc14a269da89ec1fdbc8efcd9ccc6e</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 2628d6f5b3c FatDriveSorter: submission
</span>2628d6f5b3c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2628d6f5b3cc14a269da89ec1fdbc8efcd9ccc6e
</span>Author: i0ntempest <szf1234@me.com>
AuthorDate: Wed Sep 25 00:13:57 2024 -0400
<span style='display:block; white-space:pre;color:#404040;'> FatDriveSorter: submission
</span>---
sysutils/FatDriveSorter/Portfile | 61 +++++++++++++
.../FatDriveSorter/files/patch-use_MP_fatsort.diff | 100 +++++++++++++++++++++
2 files changed, 161 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/FatDriveSorter/Portfile b/sysutils/FatDriveSorter/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8625e5b307d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/FatDriveSorter/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,61 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup xcode 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup lwouis fat-drive-sorter 1.1.2 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name FatDriveSorter
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories sysutils aqua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {i0ntempest @i0ntempest} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description Actually sort files on your FAT drives
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description FatDriveSorter is a graphical front end for fatsort and helps you \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ actually sort files on your FAT12, FAT16, FAT32, and exFAT drives.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 a6d7ee11dc9b7a16e64745ff0a96c1ae9852131e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 eed1709298ac30e73a9f318547e7c3d528cb257033067c04b8e8da40461d9841 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 54310267
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run-append port:fatsort
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.pre_args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -workspace ${github.project}.xcworkspace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -derivedDataPath ./DerivedData
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode.target ${github.project}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode.scheme Release
</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;'>+# Possible Swift v6 bug: enabling optimization causes fatsort to return too many arguments
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+xcode.build.settings-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SWIFT_OPTIMIZATION_LEVEL=-Onone
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.major} >= 22} {
</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;'>+} else {
</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= CODE_SIGNING_REQUIRED=NO
</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;'>+# Use fatsort from MacPorts
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-use_MP_fatsort.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/${github.project}.xcodeproj/project.pbxproj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E "s|scripts/codesign_sparkle_embedded_apps.sh||g" ${worksrcpath}/${github.project}.xcodeproj/project.pbxproj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Disable Sparkle without messing with xib files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "/usr/libexec/PlistBuddy -c \"Delete :SUFeedURL\" Info.plist"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "/usr/libexec/PlistBuddy -c \"Set :SUEnableAutomaticChecks false\" Info.plist"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Remove AppCenter FeedbackToken (Release tarball does not include a token)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "/usr/libexec/PlistBuddy -c \"Delete :FeedbackToken\" Info.plist"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Manually set version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "/usr/libexec/PlistBuddy -c \"Set :CFBundleVersion ${version}\" Info.plist"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "/usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString ${version}\" Info.plist"
</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;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/build/${xcode.configuration}/${name}.app ${destroot}${applications_dir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/FatDriveSorter/files/patch-use_MP_fatsort.diff b/sysutils/FatDriveSorter/files/patch-use_MP_fatsort.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..5e47886525b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/FatDriveSorter/files/patch-use_MP_fatsort.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,100 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- fat-drive-sorter.xcodeproj/project_orig.pbxproj 2023-04-27 04:15:20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ fat-drive-sorter.xcodeproj/project.pbxproj 2024-09-24 17:37:45
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8,7 +8,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Begin PBXBuildFile section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 18E8AEF59758042D30DF6597 /* Pods_fat_drive_sorter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8FFC0273B9A4B6512BB33D92 /* Pods_fat_drive_sorter.framework */; };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 5FCE952029ACFF1500D7F7CF /* fatsort in CopyFiles */ = {isa = PBXBuildFile; fileRef = 5FCE951629ACFD3B00D7F7CF /* fatsort */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BF0C80EB70E2FD14B85B5B28 /* sig.c in Sources */ = {isa = PBXBuildFile; fileRef = BF0C8BECAEB2B93C27086ED8 /* sig.c */; };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BF0C813D50756DD977D9CC77 /* mallocv.c in Sources */ = {isa = PBXBuildFile; fileRef = BF0C8EF4F333588D77706CE2 /* mallocv.c */; };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BF0C8266F90CBADF5228FAB8 /* sort.c in Sources */ = {isa = PBXBuildFile; fileRef = BF0C8552A4C2234B6CDE9035 /* sort.c */; };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -44,16 +43,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ D04BADA3F2DAB820D6FC6E75 /* AppCenterApplication.m in Sources */ = {isa = PBXBuildFile; fileRef = D04BA48BC82D3060C3A1AB11 /* AppCenterApplication.m */; };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* End PBXBuildFile section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* Begin PBXContainerItemProxy section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 5FCE951D29ACFEA200D7F7CF /* PBXContainerItemProxy */ = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- isa = PBXContainerItemProxy;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- containerPortal = D04BA59EB5ED6F005E8F4407 /* Project object */;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- proxyType = 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- remoteGlobalIDString = 5FCE951529ACFD3B00D7F7CF;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- remoteInfo = fatsort;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* End PBXContainerItemProxy section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Begin PBXCopyFilesBuildPhase section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5FCE951429ACFD3B00D7F7CF /* CopyFiles */ = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ isa = PBXCopyFilesBuildPhase;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -63,16 +52,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ files = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ runOnlyForDeploymentPostprocessing = 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 5FCE951F29ACFED100D7F7CF /* CopyFiles */ = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- isa = PBXCopyFilesBuildPhase;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- buildActionMask = 2147483647;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- dstPath = "";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- dstSubfolderSpec = 6;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- files = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 5FCE952029ACFF1500D7F7CF /* fatsort in CopyFiles */,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- runOnlyForDeploymentPostprocessing = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* End PBXCopyFilesBuildPhase section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -574,7 +553,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ isa = PBXNativeTarget;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ buildConfigurationList = D04BA4D71CBB2FA4B9947B10 /* Build configuration list for PBXNativeTarget "fat-drive-sorter" */;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ buildPhases = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 5FCE951F29ACFED100D7F7CF /* CopyFiles */,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 84C74B3C2CA36509007C584C /* ShellScript */,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 5968B81A43F20B6ECD92C7F7 /* [CP] Check Pods Manifest.lock */,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 063F71130B814E4D8D0031FD /* [CP] Prepare Artifacts */,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ D04BAD01F4BCEDF8B539AFD2 /* Sources */,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -586,7 +565,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ buildRules = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dependencies = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 5FCE951E29ACFEA200D7F7CF /* PBXTargetDependency */,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ name = "fat-drive-sorter";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ productName = "fat-drive-sorter";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -725,6 +703,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-fat-drive-sorter/Pods-fat-drive-sorter-frameworks.sh\"\n";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ showEnvVarsInLog = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 84C74B3C2CA36509007C584C /* ShellScript */ = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ isa = PBXShellScriptBuildPhase;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ buildActionMask = 2147483647;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ files = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ inputFileListPaths = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ inputPaths = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ outputFileListPaths = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ outputPaths = (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ runOnlyForDeploymentPostprocessing = 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ shellPath = /bin/sh;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ shellScript = "ln -sf @@PREFIX@@/sbin/fatsort $BUILT_PRODUCTS_DIR/$EXECUTABLE_FOLDER_PATH/\n";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* End PBXShellScriptBuildPhase section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Begin PBXSourcesBuildPhase section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -771,14 +766,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* End PBXSourcesBuildPhase section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* Begin PBXTargetDependency section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 5FCE951E29ACFEA200D7F7CF /* PBXTargetDependency */ = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- isa = PBXTargetDependency;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- target = 5FCE951529ACFD3B00D7F7CF /* fatsort */;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- targetProxy = 5FCE951D29ACFEA200D7F7CF /* PBXContainerItemProxy */;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-/* End PBXTargetDependency section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Begin PBXVariantGroup section */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BF0C83E0977ABB2CA87F2036 /* Localizable.strings */ = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ isa = PBXVariantGroup;
</span></pre><pre style='margin:0'>
</pre>