[120962] trunk/dports/graphics/ipe-tools
devans at macports.org
devans at macports.org
Thu Jun 12 13:42:42 PDT 2014
Revision: 120962
https://trac.macports.org/changeset/120962
Author: devans at macports.org
Date: 2014-06-12 13:42:42 -0700 (Thu, 12 Jun 2014)
Log Message:
-----------
ipe-tools: update to version 20140303.
Modified Paths:
--------------
trunk/dports/graphics/ipe-tools/Portfile
trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-python_path.diff
Removed Paths:
-------------
trunk/dports/graphics/ipe-tools/files/patch-pdftoipe-20110916-src-xmloutputdev.cpp.diff
Modified: trunk/dports/graphics/ipe-tools/Portfile
===================================================================
--- trunk/dports/graphics/ipe-tools/Portfile 2014-06-12 18:32:05 UTC (rev 120961)
+++ trunk/dports/graphics/ipe-tools/Portfile 2014-06-12 20:42:42 UTC (rev 120962)
@@ -4,8 +4,7 @@
PortSystem 1.0
name ipe-tools
-version 20110916
-revision 9
+version 20140303
categories graphics
maintainers jacobs-university.de:m.thon gmx.de:Torsten.Maehne openmaintainer
description Tools for the Ipe extensible drawing editor
@@ -20,8 +19,8 @@
homepage http://ipe7.sourceforge.net/
master_sites sourceforge:project/ipe7/tools
platforms darwin
-set svgtoipe-vers 20100608
-set pdftoipe-vers 20110916
+set svgtoipe-vers 20131107
+set pdftoipe-vers 20140303
set figtoipe-vers 20091205
set ipe5toxml-vers 20051114
@@ -31,11 +30,11 @@
ipe5toxml-${ipe5toxml-vers}${extract.suffix}
checksums svgtoipe-${svgtoipe-vers}${extract.suffix} \
- sha1 7c7af21eaa7273f74ac44570bbc659f674e01322 \
- rmd160 7c39ad574e9add8e2b660e29a2e6ed80ebe533b3 \
+ sha1 3a702dcd5bce542e7479d197f7e8b7a71d6a8fec \
+ rmd160 841f690fe3b9f9e6c00139c90606eaaf9f7c67b7 \
pdftoipe-${pdftoipe-vers}-src${extract.suffix} \
- sha1 2cd4f70ebafa0310bbc3a0217f7d6acad2eda10f \
- rmd160 67d27456a1f7e46aa27eb67054c91ad52f51b0c3 \
+ sha1 d6de3d6a2bad7e97cb3c545665dec40d5d9708f0 \
+ rmd160 9744f49d18b7bd72e610122c68d12230e457def5 \
figtoipe-${figtoipe-vers}${extract.suffix} \
sha1 b81f2f0cc568e165bdedb618ced9384ebfcb19a3 \
rmd160 cc1615b55313ab8c151565bdb498fff8ba945029 \
@@ -44,9 +43,9 @@
rmd160 44c22367e3ef3cb4607310d15af51f527b006be0
worksrcdir .
-patchfiles patch-pdftoipe-${pdftoipe-vers}-src-xmloutputdev.cpp.diff \
- patch-svgtoipe-python_path.diff
+patchfiles patch-svgtoipe-python_path.diff
+
depends_build port:pkgconfig
depends_lib port:poppler
@@ -71,34 +70,34 @@
xinstall -m 755 ${workpath}/ipe5toxml/ipe5toxml ${destroot}${prefix}/bin
xinstall -m 755 ${workpath}/pdftoipe-${pdftoipe-vers}-src/pdftoipe ${destroot}${prefix}/bin
xinstall -m 644 ${workpath}/pdftoipe-${pdftoipe-vers}-src/pdftoipe.1 ${destroot}${prefix}/share/man/man1
- xinstall -m 755 ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe ${destroot}${prefix}/bin
+ xinstall -m 755 ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe.py ${destroot}${prefix}/bin
}
variant python24 conflicts python25 python26 python27 description {Use PIL from MacPorts Python 2.4} {
depends_lib-append port:py24-pil
post-patch {
- reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.4|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe
+ reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.4|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe.py
}
}
variant python25 conflicts python24 python26 python27 description {Use PIL from MacPorts Python 2.5} {
depends_lib-append port:py25-pil
post-patch {
- reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.5|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe
+ reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.5|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe.py
}
}
variant python26 conflicts python24 python25 python27 description {Use PIL from MacPorts Python 2.6} {
depends_lib-append port:py26-pil
post-patch {
- reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.6|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe
+ reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.6|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe.py
}
}
variant python27 conflicts python24 python25 python26 description {Use PIL from MacPorts Python 2.7} {
depends_lib-append port:py27-pil
post-patch {
- reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.7|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe
+ reinplace "s|__MP_PYTHON_BIN__|${prefix}/bin/python2.7|" ${workpath}/svgtoipe-${svgtoipe-vers}/svgtoipe.py
}
}
Deleted: trunk/dports/graphics/ipe-tools/files/patch-pdftoipe-20110916-src-xmloutputdev.cpp.diff
===================================================================
--- trunk/dports/graphics/ipe-tools/files/patch-pdftoipe-20110916-src-xmloutputdev.cpp.diff 2014-06-12 18:32:05 UTC (rev 120961)
+++ trunk/dports/graphics/ipe-tools/files/patch-pdftoipe-20110916-src-xmloutputdev.cpp.diff 2014-06-12 20:42:42 UTC (rev 120962)
@@ -1,20 +0,0 @@
---- pdftoipe-20110916-src/xmloutputdev.cpp.orig 2012-07-28 14:38:53.000000000 +0200
-+++ pdftoipe-20110916-src/xmloutputdev.cpp 2012-07-28 14:39:31.000000000 +0200
-@@ -30,7 +30,7 @@
- FILE *f;
-
- if (!(f = fopen(fileName, "wb"))) {
-- error(-1, "Couldn't open output file '%s'", fileName);
-+ fprintf(stderr, "Couldn't open output file '%s'\n", fileName);
- ok = gFalse;
- return;
- }
-@@ -336,7 +336,7 @@
- // dump JPEG stream
- std::vector<char> buffer;
- // initialize stream
-- str = ((DCTStream *)str)->getRawStream();
-+ str = str->getNextStream();
- str->reset();
- // copy the stream
- while ((c = str->getChar()) != EOF)
Modified: trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-python_path.diff
===================================================================
--- trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-python_path.diff 2014-06-12 18:32:05 UTC (rev 120961)
+++ trunk/dports/graphics/ipe-tools/files/patch-svgtoipe-python_path.diff 2014-06-12 20:42:42 UTC (rev 120962)
@@ -1,5 +1,5 @@
---- svgtoipe-20100608/svgtoipe.orig 2011-11-13 14:46:03.000000000 -0800
-+++ svgtoipe-20100608/svgtoipe 2011-11-13 14:47:59.000000000 -0800
+--- svgtoipe-20131107/svgtoipe.py.orig 2014-05-21 06:32:08.000000000 -0700
++++ svgtoipe-20131107/svgtoipe.py 2014-05-21 06:32:33.000000000 -0700
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!__MP_PYTHON_BIN__
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140612/ab96387c/attachment.html>
More information about the macports-changes
mailing list