Ticket #30540: patch-ipe-7.0.14-to-7.1.1.diff
File patch-ipe-7.0.14-to-7.1.1.diff, 5.1 KB (added by maehne (Torsten Maehne), 13 years ago) |
---|
-
Portfile
diff -r -u ipe_orig/Portfile ipe/Portfile
old new 1 # $Id : Portfile 81638 2011-08-03 08:02:29Z ryandesign@macports.org$1 # $Id$ 2 2 3 3 PortSystem 1.0 4 4 PortGroup qt4 1.0 5 5 6 6 name ipe 7 version 7. 0.147 version 7.1.1 8 8 revision 1 9 9 categories graphics 10 maintainers jacobs-university.de:m.thon 10 maintainers jacobs-university.de:m.thon openmaintainer 11 11 description The Ipe extensible drawing editor 12 12 long_description \ 13 13 Ipe is a drawing editor for creating figures in PDF or \ … … 21 21 distname ${name}-${version}-src 22 22 worksrcdir ${name}-${version}/src 23 23 24 checksums sha1 a9b744120019248a405caab63e88664258242151 \ 25 rmd160 4f819bd7740e875170e66c4fa4431aad6cb4c835 24 checksums md5 0b15be5a0c12274c36e2805c0da94e27 \ 25 sha1 a4e85a50c0488721d68eb10bf3f8c5b3c99d4689 \ 26 rmd160 0dc1cd8204084751f979b941acb3769b9ea52fa5 26 27 27 28 depends_lib-append port:freetype \ 28 29 path:lib/pkgconfig/cairo.pc:cairo \ 29 30 port:lua \ 30 31 port:zlib 31 32 32 patchfiles patch- common.mak.diff \33 patch- config.mak.diff \34 patch-ipe-lua-prefs.lua.diff 33 patchfiles patch-include-ipepswriter.h.diff \ 34 patch-ipe-uilua.cpp.diff 35 35 36 use_configure no 36 37 37 38 build.env CXXFLAGS="${configure.cxx_archflags}" \ 38 39 LDFLAGS="${configure.ld_archflags}" 39 40 40 41 build.args IPEPREFIX=${prefix} \ 42 FREETYPE_CFLAGS="[exec pkg-config --cflags freetype2]" \ 43 CAIRO_CFLAGS="[exec pkg-config --cflags cairo]" \ 44 CAIRO_LIBS="[exec pkg-config --libs cairo]" \ 45 LUA_CFLAGS="[exec pkg-config --cflags lua]" \ 46 LUA_LIBS="[exec pkg-config --libs lua]" \ 47 QT_CFLAGS="[exec pkg-config --cflags QtGui QtCore]" \ 48 QT_LIBS="[exec pkg-config --libs QtGui QtCore]" \ 41 49 MOC=${qt_moc_cmd} \ 42 50 CXX=${configure.cxx} 43 51 -
files/Info.plist.in
diff -r -u ipe_orig/files/Info.plist.in ipe/files/Info.plist.in
old new 2 2 <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> 3 3 <plist version="1.0"> 4 4 <dict> 5 <key>CFBundleDocumentTypes</key> 6 <array> 7 <dict> 8 <key>CFBundleTypeName</key> 9 <string>Ipe figure</string> 10 <key>CFBundleTypeIconFile</key> 11 <string>ipe.icns</string> 12 <key>LSHandlerRank</key> 13 <string>Owner</string> 14 <key>CFBundleTypeRole</key> 15 <string>Editor</string> 16 <key>CFBundleTypeExtensions</key> 17 <array> 18 <string>ipe</string> 19 <string>IPE</string> 20 </array> 21 </dict> 22 <dict> 23 <key>CFBundleTypeName</key> 24 <string>Postscript document</string> 25 <key>CFBundleTypeIconFile</key> 26 <string>ipe.icns</string> 27 <key>LSHandlerRank</key> 28 <string>Alternate</string> 29 <key>CFBundleTypeRole</key> 30 <string>Editor</string> 31 <key>CFBundleTypeExtensions</key> 32 <array> 33 <string>eps</string> 34 <string>EPS</string> 35 </array> 36 </dict> 37 <dict> 38 <key>CFBundleTypeName</key> 39 <string>PDF document</string> 40 <key>CFBundleTypeIconFile</key> 41 <string>ipe.icns</string> 42 <key>LSHandlerRank</key> 43 <string>Alternate</string> 44 <key>CFBundleTypeRole</key> 45 <string>Editor</string> 46 <key>CFBundleTypeExtensions</key> 47 <array> 48 <string>pdf</string> 49 <string>PDF</string> 50 </array> 51 <key>CFBundleTypeMIMETypes</key> 52 <array> 53 <string>application/pdf</string> 54 </array> 55 </dict> 56 </array> 5 57 <key>CFBundleDevelopmentRegion</key> 6 58 <string>English</string> 7 59 <key>CFBundleExecutable</key> … … 19 71 <key>CFBundleShortVersionString</key> 20 72 <string>@VERSION@</string> 21 73 <key>CFBundleSignature</key> 22 <string> ????</string>74 <string>Ipe7</string> 23 75 <key>CFBundleVersion</key> 24 76 <string>@VERSION@</string> 77 <key>NSHumanReadableCopyright</key> 78 <string>Copyright (C) 1993-2011 Otfried Cheong</string> 25 79 </dict> 26 80 </plist> -
files/ipe.in
diff -r -u ipe_orig/files/ipe.in ipe/files/ipe.in
old new 1 1 #!/bin/sh 2 3 PATH="@PREFIX@/bin:$PATH" "@PREFIX@/bin/ipe" 2 PATH="@PREFIX@/bin:${PATH}" 3 if [[ -d /usr/texbin ]]; then 4 PATH="/usr/texbin:${PATH}" 5 fi 6 "@PREFIX@/bin/ipe"