Drop the Sparkle updater and stamp the fork version 1.9.5mkv
A standalone fork must not pull its updates from subler.org's appcast: the feed serves upstream builds signed with the upstream Ed key, so the whole integration goes — the Check for Updates menu item and the SPUStandardUpdaterController, the SUFeedURL/SUAllowsAutomaticUpdates/ SUPublicEDKey Info.plist entries, their six localized titles, and the Sparkle SPM package reference. The app now has no package dependencies. Also captures the Xcode 27.2 settings migration (deployment target now $(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET), so plain xcodebuild works with no CLI override — verified with a clean build), the 1.9.5mkv marketing version, and the matching MP42Foundation submodule bump. README and CLAUDE.md lose the now-stale Sparkle and 10.13 notes. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
1 parent
20438f310d
commit
475737a6ad
12 files changed
+28
-70
No files matched your search
@@ -23,12 +23,6 @@
|
||||
<action selector="orderFrontStandardAboutPanel:" target="-2" id="142"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Check for Updates…" id="529">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
<action selector="checkForUpdates:" target="530" id="531"/>
|
||||
</connections>
|
||||
</menuItem>
|
||||
<menuItem title="Donate…" id="ojS-sZ-qGM">
|
||||
<modifierMask key="keyEquivalentModifierMask"/>
|
||||
<connections>
|
||||
@@ -500,6 +494,5 @@ CA
|
||||
<outlet property="sendToExternalApp" destination="597" id="Kz4-8d-I4D"/>
|
||||
</connections>
|
||||
</customObject>
|
||||
<customObject id="530" customClass="SPUStandardUpdaterController"/>
|
||||
</objects>
|
||||
</document>
|
||||
@@ -8,7 +8,7 @@ Subler is a macOS AppKit application for muxing and tagging MP4/M4V/M4A files: i
|
||||
|
||||
- App layer (`Classes/`) is pure Swift 5; the app has no storyboards — UI is XIB-based AppKit (`MainMenu.xib` plus per-controller `.xib`/`.strings`).
|
||||
- All container-level demux/mux/encode work lives in the **MP42Foundation** git submodule (Objective-C/Objective-C++), built as a framework.
|
||||
- Single app target (`Subler`, legacy productName "MP4Sub", bundle id `org.galad.Subler`), deployment target macOS 10.13. Only external dependency is Sparkle (SPM) for auto-updates.
|
||||
- Single app target (`Subler`, legacy productName "MP4Sub", bundle id `org.galad.Subler`), deployment target `$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)` (upstream was 10.13). No external package dependencies: the fork removed the Sparkle auto-update integration (updater menu item, `SPUStandardUpdaterController` in MainMenu.xib, `SUFeedURL`/`SUPublicEDKey` in Info.plist, the SPM package reference in the pbxproj).
|
||||
|
||||
## Build
|
||||
|
||||
@@ -21,12 +21,12 @@ git submodule update --init --recursive
|
||||
Build with Xcode (Subler scheme) or CLI:
|
||||
|
||||
```
|
||||
xcodebuild -project Subler.xcodeproj -scheme Subler -configuration Debug build MACOSX_DEPLOYMENT_TARGET=12.0
|
||||
xcodebuild -project Subler.xcodeproj -scheme Subler -configuration Debug build
|
||||
```
|
||||
|
||||
Recent Xcode toolchains refuse the projects' 10.13 deployment target on command-line builds; the `MACOSX_DEPLOYMENT_TARGET=12.0` override is CLI-only — don't change the project settings.
|
||||
No deployment-target override is needed: the projects moved from upstream's 10.13 to `$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)` (recent toolchains refuse 10.13).
|
||||
|
||||
There is **no test target and no CI** — changes are verified by building and running the app manually. The `Utilities/` tools (MP4Dump legacy ObjC debugging tool, ParseFilename Perl script) are not part of the app build.
|
||||
There is **no test target and no CI** — changes are verified by building and running the app manually. Of the `Utilities/` tools, MP4Dump (legacy ObjC debugging) is not part of the app build, but `ParseFilename/` **is** — it's copied into the app bundle and executed at runtime by `MetadataHelper.parseFilename` via `Process`.
|
||||
|
||||
## Architecture
|
||||
|
||||
@@ -60,6 +60,6 @@ Chapter elements are their own trap set (all verified empirically against mkvmer
|
||||
|
||||
## Cross-cutting concerns
|
||||
|
||||
- **Sandbox vs non-sandbox builds**: `#if SB_SANDBOX` guards App Store code paths (security-scoped bookmarks via `MP42SecurityAccessToken`); the default build is the non-sandboxed Sparkle-updatable variant (`Subler.entitlements` exist for the sandboxed config).
|
||||
- **Sandbox vs non-sandbox builds**: `#if SB_SANDBOX` guards App Store code paths (security-scoped bookmarks via `MP42SecurityAccessToken`); the default build is the non-sandboxed variant (`Subler.entitlements` exist for the sandboxed config).
|
||||
- **Localization**: 183 `.strings` files live in per-locale `.lproj` directories scattered next to the code/XIBs they localize (repo root, `Classes/`, `Classes/PropertyView/`), not one central file. Locales: Base (English), it, fr, es-419, pt-BR, zh-CN, zh-Hans. When adding a UI string, find the sibling `.strings` used by that XIB/view.
|
||||
- **Static data**: `Resources/*.json` — `Alpha2.json` (ISO language codes, used by `LanguageTransformer`), `iTunesStores.json`, `Storefronts.json`, `Ratings.json`.
|
||||
@@ -171,12 +171,6 @@
|
||||
<string>NSApplication</string>
|
||||
<key>OSAScriptingDefinition</key>
|
||||
<string>Subler.sdef</string>
|
||||
<key>SUAllowsAutomaticUpdates</key>
|
||||
<false/>
|
||||
<key>SUFeedURL</key>
|
||||
<string>https://subler.org/appcast/appcast.xml</string>
|
||||
<key>SUPublicEDKey</key>
|
||||
<string>9M0JrgMq+5MrpLqTu7lT+ffThP8dRp78OQNTklwK/WE=</string>
|
||||
<key>NSAutoFillRequiresTextContentTypeForOneTimeCodeOnMac</key>
|
||||
<true/>
|
||||
<key>UTImportedTypeDeclarations</key>
|
||||
|
||||
+1
-1
Submodule MP42Foundation updated: 79c251c6dc...a287ea6404.
@@ -38,6 +38,10 @@ in place instead of being converted to MP4:
|
||||
direct TMDb lookup (with title-search fallback) in the metadata search sheet, in queue jobs, and in the
|
||||
AppleScript metadata fetch command.
|
||||
|
||||
**No auto-updates** — the upstream Sparkle integration is removed (updater menu item, appcast keys, SPM
|
||||
package): a fork build pointed at subler.org's appcast would offer upstream builds signed with someone
|
||||
else's key. The fork version is `1.9.5mkv`, and the app has no third-party package dependencies.
|
||||
|
||||
## Build and run
|
||||
|
||||
Everything the app builds from lives on this server: the `MP42Foundation` submodule, and inside it a
|
||||
@@ -64,15 +68,15 @@ git pull --rebase
|
||||
git submodule update --init --recursive
|
||||
```
|
||||
|
||||
The only dependency not hosted here is Sparkle (auto-updates), which Xcode resolves from its upstream
|
||||
via Swift Package Manager on first build.
|
||||
There are no other dependencies — no Swift packages are fetched; everything above is the full build
|
||||
input.
|
||||
|
||||
Open `Subler.xcodeproj` in Xcode, select the *Subler* scheme (`Product` → `Scheme` → `Subler`) and press
|
||||
Run. Command-line builds need a deployment-target override on recent toolchains, which refuse the
|
||||
projects' 10.13 target:
|
||||
Run. Command-line builds work as-is (the projects target the toolchain-recommended deployment target,
|
||||
unlike upstream's 10.13, which recent toolchains refuse):
|
||||
|
||||
```
|
||||
xcodebuild -project Subler.xcodeproj -scheme Subler -configuration Debug build MACOSX_DEPLOYMENT_TARGET=12.0
|
||||
xcodebuild -project Subler.xcodeproj -scheme Subler -configuration Debug build
|
||||
```
|
||||
|
||||
There is no test target; changes are verified by building and running the app.
|
||||
@@ -46,7 +46,6 @@
|
||||
A93105391F9758EC00605146 /* FileImportController.xib in Resources */ = {isa = PBXBuildFile; fileRef = A93105351F9758EC00605146 /* FileImportController.xib */; };
|
||||
A932C9F3205C268A004E52FE /* QueueScriptCommand.swift in Sources */ = {isa = PBXBuildFile; fileRef = A932C9F2205C268A004E52FE /* QueueScriptCommand.swift */; };
|
||||
A9395E351F8B9ACA004C402B /* MP42FileAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9395E341F8B9ACA004C402B /* MP42FileAdditions.swift */; };
|
||||
A9405AF2275E282500776561 /* Sparkle in Frameworks */ = {isa = PBXBuildFile; productRef = A9405AF1275E282500776561 /* Sparkle */; };
|
||||
A9433A8D1F2F5C3600BB38CA /* ChapterResult.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9433A8C1F2F5C3600BB38CA /* ChapterResult.swift */; };
|
||||
A9433A911F2F5D8A00BB38CA /* ChapterDB.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9433A901F2F5D8A00BB38CA /* ChapterDB.swift */; };
|
||||
A944E5921F498FC4002E43F6 /* PresetPrefsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A944E5911F498FC4002E43F6 /* PresetPrefsViewController.swift */; };
|
||||
@@ -523,7 +522,6 @@
|
||||
8D15AC340486D014006FF6A4 /* Cocoa.framework in Frameworks */,
|
||||
A9F7F8E01837C44B0036AE7E /* IOKit.framework in Frameworks */,
|
||||
A925AA8518378D8A00BE84D4 /* MP42Foundation.framework in Frameworks */,
|
||||
A9405AF2275E282500776561 /* Sparkle in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
@@ -815,9 +813,6 @@
|
||||
A925AA8718378DC400BE84D4 /* PBXTargetDependency */,
|
||||
);
|
||||
name = Subler;
|
||||
packageProductDependencies = (
|
||||
A9405AF1275E282500776561 /* Sparkle */,
|
||||
);
|
||||
productInstallPath = "$(HOME)/Applications";
|
||||
productName = MP4Sub;
|
||||
productReference = 8D15AC370486D014006FF6A4 /* Subler.app */;
|
||||
@@ -830,7 +825,7 @@
|
||||
isa = PBXProject;
|
||||
attributes = {
|
||||
BuildIndependentTargetsInParallel = YES;
|
||||
LastUpgradeCheck = 2700;
|
||||
LastUpgradeCheck = 2720;
|
||||
TargetAttributes = {
|
||||
8D15AC270486D014006FF6A4 = {
|
||||
LastSwiftMigration = 1020;
|
||||
@@ -861,9 +856,6 @@
|
||||
"zh-CN",
|
||||
);
|
||||
mainGroup = 2A37F4AAFDCFA73011CA2CEA /* MP4Sub */;
|
||||
packageReferences = (
|
||||
A9405AF0275E282500776561 /* XCRemoteSwiftPackageReference "Sparkle" */,
|
||||
);
|
||||
projectDirPath = "";
|
||||
projectReferences = (
|
||||
{
|
||||
@@ -1537,7 +1529,7 @@
|
||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
COPY_PHASE_STRIP = NO;
|
||||
CURRENT_PROJECT_VERSION = 1.9.5;
|
||||
CURRENT_PROJECT_VERSION = 1.9.5mkv;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
@@ -1557,7 +1549,8 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.9.5;
|
||||
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
|
||||
MARKETING_VERSION = 1.9.5mkv;
|
||||
OTHER_CFLAGS = "";
|
||||
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
|
||||
OTHER_SWIFT_FLAGS = "";
|
||||
@@ -1583,7 +1576,7 @@
|
||||
CODE_SIGN_IDENTITY = "Mac Developer";
|
||||
"CODE_SIGN_IDENTITY[sdk=macosx*]" = "-";
|
||||
CODE_SIGN_STYLE = Automatic;
|
||||
CURRENT_PROJECT_VERSION = 1.9.5;
|
||||
CURRENT_PROJECT_VERSION = 1.9.5mkv;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
DEVELOPMENT_TEAM = "";
|
||||
@@ -1602,7 +1595,8 @@
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
);
|
||||
MARKETING_VERSION = 1.9.5;
|
||||
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
|
||||
MARKETING_VERSION = 1.9.5mkv;
|
||||
OTHER_CFLAGS = "";
|
||||
OTHER_LDFLAGS = "-Wl,-rpath,@loader_path/../Frameworks";
|
||||
OTHER_SWIFT_FLAGS = "";
|
||||
@@ -1693,11 +1687,12 @@
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = "";
|
||||
LIBRARY_SEARCH_PATHS = "";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
||||
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
|
||||
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "c11 gnu++14";
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_CFLAGS = "";
|
||||
RUN_CLANG_STATIC_ANALYZER = NO;
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||
SWIFT_STRICT_CONCURRENCY = targeted;
|
||||
SWIFT_VERSION = 5.0;
|
||||
};
|
||||
@@ -1750,6 +1745,7 @@
|
||||
CODE_SIGN_IDENTITY = "";
|
||||
COMBINE_HIDPI_IMAGES = YES;
|
||||
DEAD_CODE_STRIPPING = YES;
|
||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||
DEFINES_MODULE = YES;
|
||||
ENABLE_MODULE_VERIFIER = YES;
|
||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||
@@ -1779,10 +1775,12 @@
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
HEADER_SEARCH_PATHS = "";
|
||||
LIBRARY_SEARCH_PATHS = "";
|
||||
MACOSX_DEPLOYMENT_TARGET = 10.13;
|
||||
MACOSX_DEPLOYMENT_TARGET = "$(RECOMMENDED_MACOSX_DEPLOYMENT_TARGET)";
|
||||
MODULE_VERIFIER_SUPPORTED_LANGUAGE_STANDARDS = "c11 gnu++14";
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
OTHER_CFLAGS = "";
|
||||
RUN_CLANG_STATIC_ANALYZER = NO;
|
||||
STRING_CATALOG_GENERATE_SYMBOLS = YES;
|
||||
SWIFT_COMPILATION_MODE = wholemodule;
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-O";
|
||||
SWIFT_STRICT_CONCURRENCY = targeted;
|
||||
@@ -1812,25 +1810,6 @@
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
|
||||
/* Begin XCRemoteSwiftPackageReference section */
|
||||
A9405AF0275E282500776561 /* XCRemoteSwiftPackageReference "Sparkle" */ = {
|
||||
isa = XCRemoteSwiftPackageReference;
|
||||
repositoryURL = "https://github.com/sparkle-project/Sparkle";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = 2.9.6;
|
||||
};
|
||||
};
|
||||
/* End XCRemoteSwiftPackageReference section */
|
||||
|
||||
/* Begin XCSwiftPackageProductDependency section */
|
||||
A9405AF1275E282500776561 /* Sparkle */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
package = A9405AF0275E282500776561 /* XCRemoteSwiftPackageReference "Sparkle" */;
|
||||
productName = Sparkle;
|
||||
};
|
||||
/* End XCSwiftPackageProductDependency section */
|
||||
};
|
||||
rootObject = 2A37F4A9FDCFA73011CA2CEA /* Project object */;
|
||||
}
|
||||
@@ -193,8 +193,6 @@
|
||||
/* Class = "NSMenuItem"; title = "Optimize"; ObjectID = "451"; */
|
||||
"451.title" = "Optimizar";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Check for Updates…"; ObjectID = "529"; */
|
||||
"529.title" = "Buscar actualizaciones…";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Import"; ObjectID = "544"; */
|
||||
"544.title" = "Importar";
|
||||
|
||||
@@ -193,8 +193,6 @@
|
||||
/* Class = "NSMenuItem"; title = "Optimize"; ObjectID = "451"; */
|
||||
"451.title" = "Optimiser";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Check for Updates…"; ObjectID = "529"; */
|
||||
"529.title" = "Vérifier les mises à jour ...";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Import"; ObjectID = "544"; */
|
||||
"544.title" = "Importer";
|
||||
|
||||
@@ -193,8 +193,6 @@
|
||||
/* Class = "NSMenuItem"; title = "Optimize"; ObjectID = "451"; */
|
||||
"451.title" = "Ottimizza";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Check for Updates…"; ObjectID = "529"; */
|
||||
"529.title" = "Ricerca aggiornamenti…";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Import"; ObjectID = "544"; */
|
||||
"544.title" = "Importa";
|
||||
|
||||
@@ -193,8 +193,6 @@
|
||||
/* Class = "NSMenuItem"; title = "Optimize"; ObjectID = "451"; */
|
||||
"451.title" = "Otimizar";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Check for Updates…"; ObjectID = "529"; */
|
||||
"529.title" = "Buscar Atualizações…";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Import"; ObjectID = "544"; */
|
||||
"544.title" = "Importar";
|
||||
|
||||
@@ -193,8 +193,6 @@
|
||||
/* Class = "NSMenuItem"; title = "Optimize"; ObjectID = "451"; */
|
||||
"451.title" = "优化";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Check for Updates…"; ObjectID = "529"; */
|
||||
"529.title" = "检查更新…";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Import"; ObjectID = "544"; */
|
||||
"544.title" = "导入";
|
||||
|
||||
@@ -199,8 +199,6 @@
|
||||
/* Class = "NSMenuItem"; title = "Optimize"; ObjectID = "451"; */
|
||||
"451.title" = "优化";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Check for Updates…"; ObjectID = "529"; */
|
||||
"529.title" = "检查更新…";
|
||||
|
||||
/* Class = "NSMenuItem"; title = "Import"; ObjectID = "544"; */
|
||||
"544.title" = "导入";
|
||||
|
||||
Reference in new issue
Block a user