Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Mar 2004 00:28:44 +0100
From:      Piotr Smyrak <smyru@smyrak.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63862: [patch] update graphics/potrace to 1.4
Message-ID:  <E1AzlDo-0003RZ-KQ@beth.poprostu.pl>
Resent-Message-ID: <200403062330.i26NU98X056752@freefall.freebsd.org>

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

>Number:         63862
>Category:       ports
>Synopsis:       [patch] update graphics/potrace to 1.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 06 15:30:09 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Piotr Smyrak
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ntbk 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Thu Feb 26 18:55:33 CET 2004     root@ntbk:/usr/obj/usr/src/sys/SMYRU  i386

>Description:
	The patch upgrades graphics/potrace to version 1.4, removes 
obsolete stuff from the Makefile (compress is now included on 
run time instead of compile time), gets rid of pkg-plist with 
PLIST_FILES, sustains ${ECHO} with ${ECHO_MSG} and removes 
PORTDOCS which are not distributed in the tarball anymore.

>How-To-Repeat:
	N/A
>Fix:


--- potrace.patch begins here ---
diff -Naru potrace.orig/Makefile potrace/Makefile
--- potrace.orig/Makefile	Sun Feb  8 22:38:58 2004
+++ potrace/Makefile	Sat Mar  6 23:43:07 2004
@@ -6,53 +6,32 @@
 #
 
 PORTNAME=	potrace
-PORTVERSION=	1.3
-PORTREVISION=	2
+PORTVERSION=	1.4
 CATEGORIES=	graphics
 MASTER_SITES=	http://potrace.sourceforge.net/download/
 
-PATCH_SITES=	${MASTER_SITES}
-PATCHFILES=	${PORTNAME}-${PORTVERSION}-speed.patch
-PATCH_DIST_STRIP=	-p1
-
 MAINTAINER=	smyru@heron.pl
 COMMENT=	Transforms bitmaps into vector graphics
 
 GNU_CONFIGURE=	yes
 
 MAN1=		potrace.1 mkbitmap.1
+PLIST_FILES=	bin/potrace bin/mkbitmap
 
 .if defined(A4)
 CONFIGURE_ARGS+=	--enable-a4
 .endif
 
-.if defined(WITH_LZW) || defined(HAVE_UNISYS_LICENSE) || defined(WITH_GIF_LZW_COMPRESSION)
-CONFIGURE_ARGS+=	--enable-compress
-.else
-CONFIGURE_ARGS+=	--disable-compress
-.endif
-
 .if defined(WITH_METRIC)
 CONFIGURE_ARGS+=	--enable-metric
 .endif
 
-PORTDOCS=	potrace.ps potrace.pdf
-
 pre-everything::
-	@${ECHO} ""
-	@${ECHO} "You may define the following build options:"
-	@${ECHO} ""
-	@${ECHO} "    WITH_LZW         Enable patented external LZW compression"
-	@${ECHO} "    WITH_METRIC      Enable use of metric units (centimeters) as default"
-	@${ECHO} "    A4               Enable use of A4 as the default papersize"
-	@${ECHO} ""
-
-post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
-.endfor
-.endif
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "You may define the following build options:"
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "    WITH_METRIC      Enable use of metric units (centimeters) as default"
+	@${ECHO_MSG} "    A4               Enable use of A4 as the default papersize"
+	@${ECHO_MSG} ""
 
 .include <bsd.port.mk>
diff -Naru potrace.orig/distinfo potrace/distinfo
--- potrace.orig/distinfo	Sun Feb  8 22:38:58 2004
+++ potrace/distinfo	Sat Mar  6 23:16:31 2004
@@ -1,2 +1,2 @@
-MD5 (potrace-1.3.tar.gz) = 726f1e063d3a131504aaf80e653ee053
-MD5 (potrace-1.3-speed.patch) = 119b6cb8980996e4fba793e1f2326174
+MD5 (potrace-1.4.tar.gz) = f24018c4a7d65bf88fb55bbda543204d
+SIZE (potrace-1.4.tar.gz) = 222112
diff -Naru potrace.orig/pkg-descr potrace/pkg-descr
--- potrace.orig/pkg-descr	Sun Feb  8 22:38:58 2004
+++ potrace/pkg-descr	Sat Mar  6 23:49:36 2004
@@ -4,10 +4,10 @@
 It accepts as input a bitmap B/W images (PBM, PGM, PPM 
 and BMP formats), and returns encapsulated PostScript 
 (EPS) as the default output. Other output format are 
-available: PS, SVG and also PGM.
+available: PS, SVG, Xfig, PGM and experimental GimpPath.
 
-You can create scalable image formats from scans, such 
-as logos, hand taken notes, etc. The resulting smooth 
+You can create scalable images from scans, such as 
+logos, hand taken notes, etc. The resulting smooth 
 images can then be rendered at any resolution. 
 
 WWW: http://potrace.sourceforge.net
diff -Naru potrace.orig/pkg-plist potrace/pkg-plist
--- potrace.orig/pkg-plist	Sun Feb  8 22:38:58 2004
+++ potrace/pkg-plist	Thu Jan  1 01:00:00 1970
@@ -1,2 +0,0 @@
-bin/mkbitmap
-bin/potrace
--- potrace.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?E1AzlDo-0003RZ-KQ>