From nobody@FreeBSD.org  Mon Aug 19 12:52:55 2013
Return-Path: <nobody@FreeBSD.org>
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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 Brandmller <ob@e-gitt.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update pdf2djvu port to 0.7.17 and unbreak
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: darcsis@gmail.com

>Number:         181399
>Category:       ports
>Synopsis:       Update converters/pdf2djvu port to 0.7.17 and unbreak
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 19 13:00:00 UTC 2013
>Closed-Date:    Mon Nov 11 01:20:38 UTC 2013
>Last-Modified:  Mon Nov 11 01:20:38 UTC 2013
>Originator:     Oliver Brandmller
>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. <darcsis@gmail.com>
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 <bsd.port.mk>
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:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Aug 20 00:49:07 UTC 2013 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181399 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: darcsis@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/181399: Update converters/pdf2djvu port to 0.7.17 and unbreak
Date: Tue, 20 Aug 2013 00:49:07 UT

 Maintainer of converters/pdf2djvu,
 
 Please note that PR ports/181399 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181399
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Oliver Brandmueller <ob@e-Gitt.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/181399: Update converters/pdf2djvu port to 0.7.17 and unbreak
Date: Thu, 07 Nov 2013 14:55:18 +0100

 Can be closed, as it was superseded by
 
 
   ports/183133
 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Nov 11 01:20:17 UTC 2013 
State-Changed-Why:  
Superseded by ports/183133. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=181399 
>Unformatted:
