Date: Wed, 19 Aug 2009 21:41:21 +0200 (CEST) From: "Frank W. Josellis" <frank@dynamical-systems.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/137974: [update] converters/pdf2djvu: update + fix configure for pstreams Message-ID: <200908191941.n7JJfLgC058387@perseus.senax.net> Resent-Message-ID: <200908191950.n7JJo1uf095275@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137974 >Category: ports >Synopsis: [update] converters/pdf2djvu: update + fix configure for pstreams >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Wed Aug 19 19:50:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Frank W. Josellis >Release: FreeBSD 6.4-STABLE i386 >Organization: >Environment: >Description: - set CONFIGURE_ENV appropriately to let configure detect pstreams - update 0.5.10 -> 0.5.11 NOTE: On RELENG_6, pdf2djvu-0.5.x may terminate with SIGSEGV when processing certain types of PDF documents. I don't have a fix for this issue, the only thing I can tell is that pdf2djvu-0.4.x turned out to be stable in my tests. RELENG_7 is definitely not affected by this bug. >How-To-Repeat: >Fix: --- pdf2djvu-0.5.11.patch begins here --- diff -Nur pdf2djvu.BAK/Makefile pdf2djvu/Makefile --- pdf2djvu.BAK/Makefile 2009-08-13 15:43:27.000000000 +0200 +++ pdf2djvu/Makefile 2009-08-19 20:33:33.000000000 +0200 @@ -6,7 +6,7 @@ # PORTNAME= pdf2djvu -PORTVERSION= 0.5.10 +PORTVERSION= 0.5.11 CATEGORIES= converters MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} DISTNAME= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFFIX} @@ -19,7 +19,8 @@ LIB_DEPENDS+= djvulibre.22:${PORTSDIR}/graphics/djvulibre-nox11 GNU_CONFIGURE= yes -CONFIGURE_ENV= LIBS=${PTHREAD_LIBS} +CONFIGURE_ENV= LIBS=${PTHREAD_LIBS} \ + CPPFLAGS=-I${LOCALBASE}/include USE_GMAKE= yes PLIST_FILES= bin/pdf2djvu diff -Nur pdf2djvu.BAK/distinfo pdf2djvu/distinfo --- pdf2djvu.BAK/distinfo 2009-08-13 15:43:27.000000000 +0200 +++ pdf2djvu/distinfo 2009-08-19 20:33:33.000000000 +0200 @@ -1,3 +1,3 @@ -MD5 (pdf2djvu_0.5.10.tar.gz) = 83f43a712a7c560d484045c3e791b104 -SHA256 (pdf2djvu_0.5.10.tar.gz) = dde12c8f4af0c7cc78eef28fcc810b055ca1c74761786bce482a307a9b1dce70 -SIZE (pdf2djvu_0.5.10.tar.gz) = 213490 +MD5 (pdf2djvu_0.5.11.tar.gz) = a9f99c1e755c9f3b5136de235c6851ff +SHA256 (pdf2djvu_0.5.11.tar.gz) = 6e57f5be61e2274db2aaa78e2a18dff8ddc0fb5e107287bf87fc1270513f66ab +SIZE (pdf2djvu_0.5.11.tar.gz) = 223827 diff -Nur pdf2djvu.BAK/files/patch-configure pdf2djvu/files/patch-configure --- pdf2djvu.BAK/files/patch-configure 2009-08-08 18:04:27.000000000 +0200 +++ pdf2djvu/files/patch-configure 2009-08-19 20:33:33.000000000 +0200 @@ -1,6 +1,6 @@ ---- configure.orig 2009-07-12 12:59:06.000000000 +0200 -+++ configure 2009-07-26 09:04:22.000000000 +0200 -@@ -2971,9 +2971,9 @@ +--- configure.orig 2009-07-31 17:17:53.000000000 +0200 ++++ configure 2009-08-19 20:28:26.000000000 +0200 +@@ -2993,9 +2993,9 @@ printf 'P1 3 3 0 0 0 0 0 0 0 0 0 0' > conftest.458086.pbm "$djvulibre_bin_path/cjb2" conftest.458086.pbm conftest.458086.p1.djvu "$djvulibre_bin_path/cjb2" conftest.458086.pbm conftest.458086.p2.djvu @@ -13,7 +13,7 @@ printf '(bookmarks ("" ""))' > conftest.458086.outline "$djvulibre_bin_path/djvused" -s -e 'set-outline conftest.458086.outline' conftest.458086.djvu if ! "$djvulibre_bin_path/djvused" -e print-outline conftest.458086.djvu | grep '(bookmarks' > /dev/null -@@ -3173,7 +3173,7 @@ +@@ -3170,7 +3170,7 @@ fi --- pdf2djvu-0.5.11.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908191941.n7JJfLgC058387>