[88573] trunk/dports/aqua/TeXShop
jwa at macports.org
jwa at macports.org
Wed Jan 4 07:44:17 PST 2012
Revision: 88573
http://trac.macports.org/changeset/88573
Author: jwa at macports.org
Date: 2012-01-04 07:44:17 -0800 (Wed, 04 Jan 2012)
Log Message:
-----------
version bump to 2.43, patching code to avoid an error, relocate patching
Modified Paths:
--------------
trunk/dports/aqua/TeXShop/Portfile
Added Paths:
-----------
trunk/dports/aqua/TeXShop/files/patch-TSDocument.m.diff
Modified: trunk/dports/aqua/TeXShop/Portfile
===================================================================
--- trunk/dports/aqua/TeXShop/Portfile 2012-01-04 15:11:37 UTC (rev 88572)
+++ trunk/dports/aqua/TeXShop/Portfile 2012-01-04 15:44:17 UTC (rev 88573)
@@ -5,8 +5,8 @@
PortGroup xcode 1.0
name TeXShop
-version 2.37
-revision 1
+version 2.43
+
categories aqua editors
license GPL-2+
maintainers nomaintainer
@@ -24,9 +24,11 @@
dist_subdir ${name}/${version}_${revision}
worksrcdir texshopsource
-checksums sha1 7f3719b3344abcaf81d77ed0ea2e410bb569c015 \
- rmd160 39cd942a06c75eeeddd18451a4e8b4d1786d4e8a
+checksums sha1 7b09621a0887218946c9772014be3aa78ab055c1 \
+ rmd160 3caecd9a2f380a8ed8efe17a776f288278082157
+depends_build port:unzip
+
# force 32-bit, ticket #20291
supported_archs i386 ppc
post-extract {
@@ -40,9 +42,6 @@
# Tiger chokes on the x86_64
system "cd ${worksrcpath} && lipo -remove x86_64 $sparkle -output $sparkle"
}
-}
-
-patch {
reinplace "s|defaultConfigurationName = Debug|defaultConfigurationName = Release|" ${worksrcpath}/${name}.xcodeproj/project.pbxproj
reinplace "s|GCC_VERSION_i386 = 4\.0|GCC_VERSION_i386 = [lindex [split ${configure.objc} -] 1]|g" ${worksrcpath}/3rdparty/OgreKit/OgreKit.xcodeproj/project.pbxproj
reinplace "s|GCC_VERSION_ppc = 3\.3|GCC_VERSION_ppc = [lindex [split ${configure.objc} -] 1]|g" ${worksrcpath}/3rdparty/OgreKit/OgreKit.xcodeproj/project.pbxproj
@@ -50,6 +49,8 @@
reinplace "s|GCC_VERSION = 4\.0|GCC_VERSION = [lindex [split ${configure.objc} -] 1]|" ${worksrcpath}/3rdparty/TeX-mdimporter/TeX.xcodeproj/project.pbxproj
}
+patchfiles patch-TSDocument.m.diff
+
if {${configure.compiler} == "clang"} {
configure.compiler llvm-gcc-4.2
}
@@ -70,6 +71,11 @@
reinplace s|@@PREFIX@@|${prefix}|g ${destroot}${applications_dir}/${name}.app/Contents/Resources/${name}/Engines/Lilypond.engine
}
+platforms darwin 11 {
+ universal_variant no
+ supported_archs i386
+}
+
notes "If you intend to use the Lilypond engine, please copy ${applications_dir}/${name}.app/Contents/Resources/${name}/Engines/Lilypond.engine to ~/Library/${name}/Engines/Lilypond.engine"
livecheck.type regex
Added: trunk/dports/aqua/TeXShop/files/patch-TSDocument.m.diff
===================================================================
--- trunk/dports/aqua/TeXShop/files/patch-TSDocument.m.diff (rev 0)
+++ trunk/dports/aqua/TeXShop/files/patch-TSDocument.m.diff 2012-01-04 15:44:17 UTC (rev 88573)
@@ -0,0 +1,29 @@
+--- Sources/TSDocument.m 2012-01-04 14:20:33.000000000 +0200
++++ Sources/TSDocument.m 2012-01-04 14:30:23.000000000 +0200
+@@ -1094,7 +1094,8 @@
+ if ([theChecker setLanguage:spellcheckString]) {
+ spellLanguageChanged = YES;
+ if ([theChecker respondsToSelector:@selector(setAutomaticallyIdentifiesLanguages:)])
+- automaticLanguage = [theChecker setAutomaticallyIdentifiesLanguages:NO];
++ automaticLanguage = NO;
++ [theChecker setAutomaticallyIdentifiesLanguages:NO];
+ if (spellLanguage != nil)
+ [spellLanguage release];
+ spellLanguage = [spellcheckString retain];
+@@ -1311,12 +1312,14 @@
+ if (spellLanguage != nil) {
+ [theChecker setLanguage:spellLanguage];
+ if ([theChecker respondsToSelector:@selector(setAutomaticallyIdentifiesLanguages:)])
+- automaticLanguage = [theChecker setAutomaticallyIdentifiesLanguages:NO];
++ automaticLanguage = NO;
++ [theChecker setAutomaticallyIdentifiesLanguages:NO];
+ }
+ else {
+ [theChecker setLanguage:defaultLanguage];
+ if ([theChecker respondsToSelector:@selector(setAutomaticallyIdentifiesLanguages:)])
+- automaticLanguage = [theChecker setAutomaticallyIdentifiesLanguages:automaticLanguage];
++ automaticLanguage = NO;
++ [theChecker setAutomaticallyIdentifiesLanguages:automaticLanguage];
+ }
+ }
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120104/9eca11fc/attachment.html>
More information about the macports-changes
mailing list