[129923] trunk/dports/graphics/pdf2djvu
nicos at macports.org
nicos at macports.org
Tue Dec 23 00:07:12 PST 2014
Revision: 129923
https://trac.macports.org/changeset/129923
Author: nicos at macports.org
Date: 2014-12-23 00:07:12 -0800 (Tue, 23 Dec 2014)
Log Message:
-----------
pdf2djvu: update to 0.7.18
Modified Paths:
--------------
trunk/dports/graphics/pdf2djvu/Portfile
Removed Paths:
-------------
trunk/dports/graphics/pdf2djvu/files/patch-system-operator.diff
trunk/dports/graphics/pdf2djvu/files/patch-tools-xml2c.diff
Modified: trunk/dports/graphics/pdf2djvu/Portfile
===================================================================
--- trunk/dports/graphics/pdf2djvu/Portfile 2014-12-23 07:47:22 UTC (rev 129922)
+++ trunk/dports/graphics/pdf2djvu/Portfile 2014-12-23 08:07:12 UTC (rev 129923)
@@ -4,8 +4,7 @@
PortSystem 1.0
name pdf2djvu
-version 0.7.17
-revision 6
+version 0.7.18
categories graphics textproc
platforms darwin
license GPL-2
@@ -17,12 +16,12 @@
outline (bookmarks), and metadata.
homepage http://code.google.com/p/pdf2djvu/
-master_sites http://pdf2djvu.googlecode.com/files/
-distname ${name}_${version}
+master_sites https://bitbucket.org/jwilk/pdf2djvu/downloads
worksrcdir ${name}-${version}
+use_xz yes
-checksums rmd160 0bcac530e6d80c7b2e573c8ec883b0dcd1295e64 \
- sha256 fe6d6e2d6df53195f082890d3cb5e50080784510691e708a5e4614b49662f4da
+checksums rmd160 76238cb2e5c381ec767d8c605b03c09b70ec064e \
+ sha256 df933ee6adfd875f7258698b3b8595b16de9b2d37c77f0176bd5f03208054e14
depends_build port:pkgconfig \
port:gsed
@@ -34,10 +33,8 @@
port:libxslt
patchfiles patch-configure.diff \
- patch-i18n.hh.diff \
- patch-tools-xml2c.diff \
- patch-system-operator.diff
-
+ patch-i18n.hh.diff
+
#Openmp is anyway not detected with llvm-gcc or clang, and breaks compilation with
#gcc42 on SL (ticket #38184)
configure.args-append --disable-openmp
@@ -55,5 +52,5 @@
}
livecheck.type regex
-livecheck.url ${homepage}downloads/list
-livecheck.regex ${name}_(\[0-9.\]+)${extract.suffix}
+livecheck.url ${master_sites}
+livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}
Deleted: trunk/dports/graphics/pdf2djvu/files/patch-system-operator.diff
===================================================================
--- trunk/dports/graphics/pdf2djvu/files/patch-system-operator.diff 2014-12-23 07:47:22 UTC (rev 129922)
+++ trunk/dports/graphics/pdf2djvu/files/patch-system-operator.diff 2014-12-23 08:07:12 UTC (rev 129923)
@@ -1,37 +0,0 @@
-Only in .: .DS_Store
-diff -ru ../pdf2djvu-0.7.17.orig/system.cc ./system.cc
---- ../pdf2djvu-0.7.17.orig/system.cc 2013-05-31 05:22:26.000000000 +0900
-+++ ./system.cc 2013-11-24 12:26:27.000000000 +0900
-@@ -275,6 +275,12 @@
- return *this;
- }
-
-+Command &Command::operator <<(const File& arg)
-+{
-+ this->argv.push_back(arg);
-+ return *this;
-+}
-+
- Command &Command::operator <<(int i)
- {
- std::ostringstream stream;
-diff -ru ../pdf2djvu-0.7.17.orig/system.hh ./system.hh
---- ../pdf2djvu-0.7.17.orig/system.hh 2013-05-31 05:22:26.000000000 +0900
-+++ ./system.hh 2013-11-24 12:26:27.000000000 +0900
-@@ -61,6 +61,8 @@
- { };
- };
-
-+class File;
-+
- class Command
- {
- protected:
-@@ -81,6 +83,7 @@
- };
- explicit Command(const std::string& command);
- Command &operator <<(const std::string& arg);
-+ Command &operator <<(const File& arg);
- Command &operator <<(int i);
- void operator()(std::ostream &my_stdout, bool quiet = false);
- void operator()(bool quiet = false);
Deleted: trunk/dports/graphics/pdf2djvu/files/patch-tools-xml2c.diff
===================================================================
--- trunk/dports/graphics/pdf2djvu/files/patch-tools-xml2c.diff 2014-12-23 07:47:22 UTC (rev 129922)
+++ trunk/dports/graphics/pdf2djvu/files/patch-tools-xml2c.diff 2014-12-23 08:07:12 UTC (rev 129923)
@@ -1,11 +0,0 @@
---- tools/xml2c.orig 2010-06-12 15:20:36.000000000 -0500
-+++ tools/xml2c 2010-07-23 05:25:40.000000000 -0500
-@@ -6,7 +6,7 @@
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; version 2 dated June, 1991.
-
--exec sed \
-+exec gsed \
- -e '/<!--# *\(.*\) *#-->/ { s//\1/; b; }' \
- -e '/<!--.*-->/ { s///g; b; }' \
- -e 's/\\\\/\\\\/g' \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141223/64fc3a40/attachment.html>
More information about the macports-changes
mailing list