From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 19 13:00:01 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0C1A11DF for ; Mon, 19 Aug 2013 13:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DE17F2CD2 for ; Mon, 19 Aug 2013 13:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7JD00P1030083 for ; Mon, 19 Aug 2013 13:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7JD00Uf030082; Mon, 19 Aug 2013 13:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 19 Aug 2013 13:00:00 GMT Resent-Message-Id: <201308191300.r7JD00Uf030082@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, Oliver Brandmüller Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3CDA5118 for ; Mon, 19 Aug 2013 12:52:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 281952C8D for ; Mon, 19 Aug 2013 12:52:55 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7JCqs1j014232 for ; Mon, 19 Aug 2013 12:52:54 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7JCqsNW014228; Mon, 19 Aug 2013 12:52:54 GMT (envelope-from nobody) Message-Id: <201308191252.r7JCqsNW014228@oldred.freebsd.org> Date: Mon, 19 Aug 2013 12:52:54 GMT From: Oliver Brandmüller To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181399: Update pdf2djvu port to 0.7.17 and unbreak X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Aug 2013 13:00:01 -0000 >Number: 181399 >Category: ports >Synopsis: Update pdf2djvu port to 0.7.17 and unbreak >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: Mon Aug 19 13:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Oliver Brandmüller >Release: 9.2-PRERELEASE >Organization: >Environment: FreeBSD silver 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #44 r254414: Fri Aug 16 17:27:27 CEST 2013 root@silver:/usr/obj/usr/src/sys/BLACK amd64 >Description: The pdf2djvu port was BROKEN and an old version for a long time. This contains an update and unbreaks the port. Tested on 9-STABLE amd64. Please review and update. >How-To-Repeat: cd /usr/ports/converters/pdf2djvu make install >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./pkg-descr # ./files # ./files/patch-tools-xml2c # ./Makefile # ./distinfo # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5' Xpdf2djvu creates DjVu files from PDF files. It's able to extract: Xgraphics, text layer, hyperlinks, document outline (bookmarks), and Xmetadata. X XWWW: http://code.google.com/p/pdf2djvu/ 0e313719ff012ceaf97a028d51caa8f5 echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/patch-tools-xml2c sed 's/^X//' >./files/patch-tools-xml2c << 'ff62aa4c5056ca6b0bbcfe586999b9ca' X*** tools/xml2c.bsdsed Wed Aug 7 13:01:33 2013 X--- tools/xml2c Wed Aug 7 13:01:49 2013 X*************** X*** 6,12 **** X # it under the terms of the GNU General Public License as published by X # the Free Software Foundation; version 2 dated June, 1991. X X! exec sed \ X -e '// { s//\1/; b; }' \ X -e '// { s///g; b; }' \ X -e 's/\\\\/\\\\/g' \ X--- 6,12 ---- X # it under the terms of the GNU General Public License as published by X # the Free Software Foundation; version 2 dated June, 1991. X X! exec gsed \ X -e '// { s//\1/; b; }' \ X -e '// { s///g; b; }' \ X -e 's/\\\\/\\\\/g' \ ff62aa4c5056ca6b0bbcfe586999b9ca echo x - ./Makefile sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19' X# Created by: Denise H. G. X# $FreeBSD: converters/pdf2djvu/Makefile 316310 2013-04-23 06:34:47Z bapt $ X XPORTNAME= pdf2djvu XPORTVERSION= 0.7.17 XCATEGORIES= converters XMASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} XDISTNAME= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFFIX} X XMAINTAINER= darcsis@gmail.com XCOMMENT= Pdf2djvu creates DjVu files from PDF files X XBUILD_DEPENDS= ${LOCALBASE}/include/pstreams/pstream.h:${PORTSDIR}/devel/pstreams XBUILD_DEPENDS+= ${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed XLIB_DEPENDS= poppler:${PORTSDIR}/graphics/poppler XLIB_DEPENDS+= djvulibre:${PORTSDIR}/graphics/djvulibre X XGNU_CONFIGURE= yes XCONFIGURE_ENV= LIBS=-pthread XCPPFLAGS+= -I${LOCALBASE}/include XUSES= pkgconfig XUSE_GMAKE= yes XUSE_GCC= 4.6+ X XPLIST_FILES= bin/pdf2djvu XMAN1= pdf2djvu.1 XMANCOMPRESSED= no X XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin X ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MANPREFIX}/man/man1 X X.include 464ef7c6571951809b23e262cbe26e19 echo x - ./distinfo sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2' XSHA256 (pdf2djvu_0.7.17.tar.gz) = fe6d6e2d6df53195f082890d3cb5e50080784510691e708a5e4614b49662f4da XSIZE (pdf2djvu_0.7.17.tar.gz) = 320923 aec8793adfd5b7c3f00e62ae41a09ac2 exit >Release-Note: >Audit-Trail: >Unformatted: