Skip to content

Commit

Permalink
TeXShop 4.79: Don't build Sparkle
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamschula committed Oct 31, 2023
1 parent c5c48c9 commit 52331c2
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 1 deletion.
10 changes: 9 additions & 1 deletion aqua/TeXShop/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ platform darwin {

if {${os.major} == 20} {
version 4.79
revision 0
revision 1
checksums rmd160 ba6ff730a0ab391b039bdac315c41404cd99959c \
sha256 dfa9f54b93502a6487c31adf39c47051483a4b4bd1f974d8b35e66a90c6c660d \
size 158553155
Expand All @@ -67,6 +67,14 @@ platform darwin {
distname texshopsource[strsed ${version} {/\.//}]
worksrcdir ${name}-${version}

# Don't build Sparkle
# See: https://trac.macports.org/ticket/66382
patchfiles patch-TeXShop-4.79.xcodeproj-project.pbxproj.diff

post-patch {
delete ${worksrcpath}/Sparkle.framework
}

livecheck.type none
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
--- TeXShop.xcodeproj/project.pbxproj.orig 2022-07-23 05:49:12
+++ TeXShop.xcodeproj/project.pbxproj 2023-10-31 07:58:44
@@ -316,8 +316,6 @@
40B288D11398A373005C921D /* synctex_parser.c in Sources */ = {isa = PBXBuildFile; fileRef = 40B288CF1398A373005C921D /* synctex_parser.c */; settings = {COMPILER_FLAGS = "-fno-objc-arc"; }; };
40B288D21398A373005C921D /* synctex_parser.h in Headers */ = {isa = PBXBuildFile; fileRef = 40B288D01398A373005C921D /* synctex_parser.h */; };
40B288D41398A399005C921D /* libz.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 40B288D31398A399005C921D /* libz.a */; };
- 40B42AED1BBB6CC30007C9FB /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 40B42AEC1BBB6CC30007C9FB /* Sparkle.framework */; };
- 40B42AEF1BBB6D840007C9FB /* Sparkle.framework in CopyFiles */ = {isa = PBXBuildFile; fileRef = 40B42AEC1BBB6CC30007C9FB /* Sparkle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
40B7DEAB057139E2002872F2 /* TSDocumentScripting.h in Headers */ = {isa = PBXBuildFile; fileRef = 40B7DEA9057139E2002872F2 /* TSDocumentScripting.h */; };
40B7DEAC057139E2002872F2 /* TSDocumentScripting.m in Sources */ = {isa = PBXBuildFile; fileRef = 40B7DEAA057139E2002872F2 /* TSDocumentScripting.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
40BB76881795F29E008C2B40 /* Defaults_pTeX_euc.plist in Resources */ = {isa = PBXBuildFile; fileRef = 40BB76801795F29E008C2B40 /* Defaults_pTeX_euc.plist */; };
@@ -393,16 +391,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
- 40C894C306080105000B55B4 /* CopyFiles */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 12;
- dstPath = "";
- dstSubfolderSpec = 10;
- files = (
- 40B42AEF1BBB6D840007C9FB /* Sparkle.framework in CopyFiles */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
522BC4C20A2A007A007CAB82 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
@@ -796,7 +784,6 @@
40B288CF1398A373005C921D /* synctex_parser.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = synctex_parser.c; sourceTree = "<group>"; };
40B288D01398A373005C921D /* synctex_parser.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = synctex_parser.h; sourceTree = "<group>"; };
40B288D31398A399005C921D /* libz.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libz.a; path = Resources/Binaries/libz.a; sourceTree = "<group>"; };
- 40B42AEC1BBB6CC30007C9FB /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Sparkle.framework; sourceTree = "<group>"; };
40B7DEA9057139E2002872F2 /* TSDocumentScripting.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = TSDocumentScripting.h; sourceTree = "<group>"; };
40B7DEAA057139E2002872F2 /* TSDocumentScripting.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = TSDocumentScripting.m; sourceTree = "<group>"; };
40BA4A4704B54E5500000B3B /* split1.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = split1.png; sourceTree = "<group>"; };
@@ -991,7 +978,6 @@
407881920519249A006979EA /* Cocoa.framework in Frameworks */,
407881930519249A006979EA /* Carbon.framework in Frameworks */,
40CD91E307E4D82400DE6448 /* Quartz.framework in Frameworks */,
- 40B42AED1BBB6CC30007C9FB /* Sparkle.framework in Frameworks */,
406AB0B0136A5E03009F4D8F /* OgreKit.framework in Frameworks */,
40B288D41398A399005C921D /* libz.a in Frameworks */,
);
@@ -1101,7 +1087,6 @@
1058C7A8FEA54F5311CA2CBB /* Other Frameworks */ = {
isa = PBXGroup;
children = (
- 40B42AEC1BBB6CC30007C9FB /* Sparkle.framework */,
1058C7A7FEA54F5311CA2CBB /* Cocoa.framework */,
40EC12140C66C4BE00B9A448 /* QTKit.framework */,
F506285400F4F04801000001 /* Carbon.framework */,

0 comments on commit 52331c2

Please sign in to comment.