Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2009 15:17:58 +0200 (CEST)
From:      "Frank W. Josellis" <frank@dynamical-systems.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/136615: [update] converters/pdf2djvu: update to 0.5.9
Message-ID:  <200907091317.n69DHwYr009548@perseus.senax.net>
Resent-Message-ID: <200907091320.n69DK56x040432@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         136615
>Category:       ports
>Synopsis:       [update] converters/pdf2djvu: update to 0.5.9
>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:   Thu Jul 09 13:20:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Frank W. Josellis
>Release:        FreeBSD 6.4-STABLE i386
>Organization:
>Environment:

	
>Description:
Update 0.4.12 -> 0.5.9

Added files:
files/patch-configure

NOTE: This version optionally uses GraphicsMagick for foreground color
reduction, see the pdf2djvu manpage. I didn't care about this, I leave
it to the maintainer to decide whether GraphicsMagick should be included
as an optional dependency for pdf2djvu. 


>How-To-Repeat:
	
>Fix:

	

--- pdf2djvu.patch begins here ---
diff -Nur pdf2djvu.BAK/Makefile pdf2djvu/Makefile
--- pdf2djvu.BAK/Makefile	2009-07-08 14:15:04.000000000 +0200
+++ pdf2djvu/Makefile	2009-07-09 14:26:50.000000000 +0200
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	pdf2djvu
-PORTVERSION=	0.4.12
-PORTREVISION=	3
+PORTVERSION=	0.5.9
 CATEGORIES=	converters
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 DISTNAME=	${PORTNAME}_${PORTVERSION}${EXTRACT_SUFFIX}
@@ -17,14 +16,14 @@
 
 BUILD_DEPENDS=	${LOCALBASE}/include/pstreams/pstream.h:${PORTSDIR}/devel/pstreams
 LIB_DEPENDS=	poppler.4:${PORTSDIR}/graphics/poppler
+LIB_DEPENDS+=	djvulibre.22:${PORTSDIR}/graphics/djvulibre-nox11
 
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	LIBS=${PTHREAD_LIBS}
 USE_GMAKE=	yes
-PLIST_FILES=	bin/pdf2djvu
 
-LIB_DEPENDS+=	djvulibre.22:${PORTSDIR}/graphics/djvulibre-nox11
-
-MAKE_ENV=	LDLIBS="${LDFLAGS} ${PTHREAD_LIBS}"
-MAN1=	pdf2djvu.1
+PLIST_FILES=	bin/pdf2djvu
+MAN1=		pdf2djvu.1
 MANCOMPRESSED=	no
 
 WRKSRC=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
diff -Nur pdf2djvu.BAK/distinfo pdf2djvu/distinfo
--- pdf2djvu.BAK/distinfo	2008-09-22 11:59:29.000000000 +0200
+++ pdf2djvu/distinfo	2009-07-09 14:26:50.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (pdf2djvu_0.4.12.tar.gz) = af325766614f58e7373c26c6d45f04e4
-SHA256 (pdf2djvu_0.4.12.tar.gz) = 819b1427a74d90ebda8971b670a9f03d6fd5d8a9ae03dbf48c91ebaf5a769a19
-SIZE (pdf2djvu_0.4.12.tar.gz) = 55798
+MD5 (pdf2djvu_0.5.9.tar.gz) = 2ef80c2c1b2578b8b59640d72c2bd6df
+SHA256 (pdf2djvu_0.5.9.tar.gz) = 51813b5d401dd62f080f230769f24caf218949b2248bdaeb10fca73fb18a7c55
+SIZE (pdf2djvu_0.5.9.tar.gz) = 196651
diff -Nur pdf2djvu.BAK/files/patch-configure pdf2djvu/files/patch-configure
--- pdf2djvu.BAK/files/patch-configure	1970-01-01 01:00:00.000000000 +0100
+++ pdf2djvu/files/patch-configure	2009-07-09 14:26:50.000000000 +0200
@@ -0,0 +1,15 @@
+--- configure.orig	2009-06-18 23:20:41.000000000 +0200
++++ configure	2009-07-09 14:05:41.000000000 +0200
+@@ -2971,9 +2971,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
+-printf 'AT&TFORM\0\0\0\x35DJVMDIRM\0\0\0\x29\x01\0\x02\xff\xff\xc6\xbf\x8a' > conftest.458086.djvu
+-printf '\x1f\xeb\x4b\xff\x40\x8e\x37\x86\x3f\x6c\xbe\x78\x02\x3c\x93\x9b' >> conftest.458086.djvu
+-printf '\x17\x57\x16\x67\x1d\x7a\xeb\x57\xf8\xf3\x7e\x64\x32\x42\x88\xd2\x4f' >> conftest.458086.djvu
++printf 'AT&TFORM\0\0\0\065DJVMDIRM\0\0\0\051\001\0\002\377\377\306\277\212' > conftest.458086.djvu
++printf '\037\353\113\377\100\216\067\206\077\154\276\170\002\074\223\233' >> conftest.458086.djvu
++printf '\027\127\026\147\035\172\353\127\370\363\176\144\062\102\210\322\117' >> conftest.458086.djvu
+ 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
--- pdf2djvu.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?200907091317.n69DHwYr009548>