From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jul 9 13:20:05 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E1A9106564A for ; Thu, 9 Jul 2009 13:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2EF158FC14 for ; Thu, 9 Jul 2009 13:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n69DK5YG040433 for ; Thu, 9 Jul 2009 13:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n69DK56x040432; Thu, 9 Jul 2009 13:20:05 GMT (envelope-from gnats) Resent-Date: Thu, 9 Jul 2009 13:20:05 GMT Resent-Message-Id: <200907091320.n69DK56x040432@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Frank W. Josellis" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 836EE106567A for ; Thu, 9 Jul 2009 13:18:04 +0000 (UTC) (envelope-from frank@dynamical-systems.org) Received: from mout1.freenet.de (mout1.freenet.de [IPv6:2001:748:100:40::2:3]) by mx1.freebsd.org (Postfix) with ESMTP id D18C68FC16 for ; Thu, 9 Jul 2009 13:18:03 +0000 (UTC) (envelope-from frank@dynamical-systems.org) Received: from [195.4.92.25] (helo=15.mx.freenet.de) by mout1.freenet.de with esmtpa (ID jr-relay@freenet.de) (port 25) (Exim 4.69 #92) id 1MOtVi-0007De-Fw for FreeBSD-gnats-submit@freebsd.org; Thu, 09 Jul 2009 15:18:02 +0200 Received: from p508e8dee.dip0.t-ipconnect.de ([80.142.141.238]:64731 helo=perseus.senax.net) by 15.mx.freenet.de with esmtpsa (ID jr-relay@freenet.de) (TLSv1:AES256-SHA:256) (port 25) (Exim 4.69 #79) id 1MOtVh-0001aw-JT for FreeBSD-gnats-submit@freebsd.org; Thu, 09 Jul 2009 15:18:02 +0200 Received: from perseus.senax.net (localhost [127.0.0.1]) by perseus.senax.net (8.14.3/8.14.3) with ESMTP id n69DHwQ7009549; Thu, 9 Jul 2009 15:17:59 +0200 (CEST) (envelope-from frank@dynamical-systems.org) Received: (from josellis@localhost) by perseus.senax.net (8.14.3/8.14.3/Submit) id n69DHwYr009548; Thu, 9 Jul 2009 15:17:58 +0200 (CEST) (envelope-from frank@dynamical-systems.org) Message-Id: <200907091317.n69DHwYr009548@perseus.senax.net> Date: Thu, 9 Jul 2009 15:17:58 +0200 (CEST) From: "Frank W. Josellis" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/136615: [update] converters/pdf2djvu: update to 0.5.9 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Jul 2009 13:20:05 -0000 >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: