Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2002 14:17:15 +0900 (JST)
From:      KANOU Hiroki <kanou@mil.allnet.ne.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kanou@mil.allnet.ne.jp
Subject:   ports/36721: maintainer update: graphics/autotrace to 0.30
Message-ID:  <200204040517.OAA88786@kappa.allnet.ne.jp>

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

>Number:         36721
>Category:       ports
>Synopsis:       maintainer update: graphics/autotrace to 0.30
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 03 21:20:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     KANOU Hiroki
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD tin 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Mar 10 19:41:05 JST 2002 kanou@tin:/usr/src/sys/compile/TIN i386

>Description:

graphics/autotrace port is updated to 0.30 by maintainer.

new file:
	files/patch-ac

>How-To-Repeat:
>Fix:

diff -uNr autotrace.orig/Makefile autotrace/Makefile
--- autotrace.orig/Makefile	Wed Mar 13 10:03:41 2002
+++ autotrace/Makefile	Thu Apr  4 14:03:33 2002
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	autotrace
-PORTVERSION=	0.29
-PORTREVISION=	1
+PORTVERSION=	0.30
 CATEGORIES=	graphics
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE} 
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -30,6 +29,13 @@
 USE_AUTOCONF=	yes
 GNU_CONFIGURE=	yes
 USE_XLIB=	yes
+
+.if defined(NOPORTDOCS)
+INSTALL_TARGET=	install-exec-am install-m4dataDATA install-pkgconfigDATA \
+		install-autotraceincludeHEADERS
+.else
+MAN1=	autotrace.1
+.endif
 
 pre-install:
 	@(cd ${WRKSRC} ; perl -p -i.bak -e s/\\@OBJEXT\\@/o/ Makefile)	
diff -uNr autotrace.orig/distinfo autotrace/distinfo
--- autotrace.orig/distinfo	Thu Feb  7 11:15:19 2002
+++ autotrace/distinfo	Thu Apr  4 08:02:47 2002
@@ -1 +1 @@
-MD5 (autotrace-0.29.tar.gz) = 39ff756fc6d8a8cdd4616e311e1066b8
+MD5 (autotrace-0.30.tar.gz) = 979efa47568d41eb4d804e2658f3cade
diff -uNr autotrace.orig/files/patch-aa autotrace/files/patch-aa
--- autotrace.orig/files/patch-aa	Tue Dec 25 15:55:01 2001
+++ autotrace/files/patch-aa	Thu Apr  4 13:47:58 2002
@@ -1,20 +1,21 @@
---- configure.in.orig	Sat Dec  8 11:28:42 2001
-+++ configure.in	Mon Dec 24 13:12:03 2001
-@@ -84,55 +84,75 @@
- 	                     AC_MSG_WARN(*** ZLIB header files not found: PNG Input will be disabled. ***)),
+--- configure.in.orig	Wed Apr  3 06:26:10 2002
++++ configure.in	Thu Apr  4 13:46:25 2002
+@@ -85,55 +85,70 @@
+ 	                     AC_MSG_WARN(*** ZLIB header files not found: PNG Input will be disabled. ***))],
  	     AC_MSG_WARN(*** ZLIB library files not found: PNG Input will be disabled. ***))
  
 -dnl Test for libpng
 -HAVE_LIBPNG_STAGE1=no
 -AC_CHECK_LIB(png, png_get_image_width,
 -	HAVE_LIBPNG_STAGE1=yes ,,-lz)
--
++dnl commented out by porter.
+ 
 -HAVE_LIBPNG=no
 -if test "x$HAVE_LIBPNG_STAGE1" = "xyes" ; then
 -	AC_CHECK_LIB(png, png_read_png,
--		HAVE_LIBPNG=yes ,,-lz)
+-		HAVE_LIBPNG=yes ,,-lz -lm)
 -	if test "x$HAVE_LIBPNG" = "xyes" ; then
--		LIBPNG_LDFLAGS="-lpng -lz"
+-		LIBPNG_LDFLAGS="-lpng -lz -lm"
 -		AC_SUBST(LIBPNG_LDFLAGS)
 -		AC_DEFINE(HAVE_LIBPNG)
 -	else
@@ -28,42 +29,17 @@
 -	AC_MSG_WARN([*** Png input handler is disabled. ***])
 -fi
 -AM_CONDITIONAL(HAVE_LIBPNG, test x$HAVE_LIBPNG = xyes)
--
- dnl
--dnl LIBMING(LIBSWF)
-+dnl commented out by porter.
- dnl
--HAVE_LIBSWF=no
- 
--AC_CHECK_HEADER(ming.h,
--	        swf_header_found=yes,
--		swf_header_found=no)
--if test "${swf_header_found}" = yes ; then
--	AC_CHECK_LIB(ming, Ming_init, 
--		     HAVE_LIBSWF=yes,,-lm)
--	if test "$HAVE_LIBSWF" = "yes" ; then
--		LIBSWF_LDFLAGS="-lming -lm"
--		AC_SUBST(LIBSWF_LDFLAGS)
--		AC_DEFINE(HAVE_LIBSWF)
--	else
-- 		AC_MSG_WARN([*** Cannot find libming.    ***])
--		AC_MSG_WARN([*** SWF output is disabled. ***])
--	fi
--else
--	AC_MSG_WARN([*** Cannot find ming.h.     ***])
--	AC_MSG_WARN([*** SWF output is disabled. ***])
--fi
 +dnl dnl Test for libpng
 +dnl HAVE_LIBPNG_STAGE1=no
 +dnl AC_CHECK_LIB(png, png_get_image_width,
 +dnl 	HAVE_LIBPNG_STAGE1=yes ,,-lz)
-+
++dnl 
 +dnl HAVE_LIBPNG=no
 +dnl if test "x$HAVE_LIBPNG_STAGE1" = "xyes" ; then
 +dnl 	AC_CHECK_LIB(png, png_read_png,
-+dnl 		HAVE_LIBPNG=yes ,,-lz)
++dnl 		HAVE_LIBPNG=yes ,,-lz -lm)
 +dnl 	if test "x$HAVE_LIBPNG" = "xyes" ; then
-+dnl 		LIBPNG_LDFLAGS="-lpng -lz"
++dnl 		LIBPNG_LDFLAGS="-lpng -lz -lm"
 +dnl 		AC_SUBST(LIBPNG_LDFLAGS)
 +dnl 		AC_DEFINE(HAVE_LIBPNG)
 +dnl 	else
@@ -77,13 +53,14 @@
 +dnl 	AC_MSG_WARN([*** Png input handler is disabled. ***])
 +dnl fi
 +dnl AM_CONDITIONAL(HAVE_LIBPNG, test x$HAVE_LIBPNG = xyes)
-+
-+dnl dnl
-+dnl dnl LIBMING(LIBSWF)
-+dnl dnl
+ 
+-dnl
+ dnl LIBMING(LIBSWF)
+ dnl
+-HAVE_LIBSWF=no
 +dnl HAVE_LIBSWF=no
 +dnl 
-+dnl AC_CHECK_HEADER(ming/ming.h,
++dnl AC_CHECK_HEADER(ming.h,
 +dnl 	        swf_header_found=yes,
 +dnl 		swf_header_found=no)
 +dnl if test "${swf_header_found}" = yes ; then
@@ -105,18 +82,35 @@
 +
 +AC_MSG_WARN("************************************")
 +AC_MSG_WARN("*** \ \ forcing HAVE_LIBPNG=yes. \ \ \*\*\*")
-+HAVE_LIBPNG=yes
-+LIBPNG_LDFLAGS="-lpng -lz"
++LIBPNG_LDFLAGS="-lpng -lz -lm"
 +AC_SUBST(LIBPNG_LDFLAGS)
 +AC_DEFINE(HAVE_LIBPNG)
-+AM_CONDITIONAL(HAVE_LIBPNG, test x$HAVE_LIBPNG = xyes)
-+
++AM_CONDITIONAL(HAVE_LIBPNG, test x = x)
+ 
+-AC_CHECK_HEADER(ming.h,
+-	        swf_header_found=yes,
+-		swf_header_found=no)
+-if test "${swf_header_found}" = yes ; then
+-	AC_CHECK_LIB(ming, Ming_init, 
+-		     HAVE_LIBSWF=yes,,-lm)
+-	if test "$HAVE_LIBSWF" = "yes" ; then
+-		LIBSWF_LDFLAGS="-lming -lm"
+-		AC_SUBST(LIBSWF_LDFLAGS)
+-		AC_DEFINE(HAVE_LIBSWF)
+-	else
+- 		AC_MSG_WARN([*** Cannot find libming.    ***])
+-		AC_MSG_WARN([*** SWF output is disabled. ***])
+-	fi
+-else
+-	AC_MSG_WARN([*** Cannot find ming.h.     ***])
+-	AC_MSG_WARN([*** SWF output is disabled. ***])
+-fi
+-AM_CONDITIONAL(HAVE_LIBSWF, test x$HAVE_LIBSWF = xyes)
 +AC_MSG_WARN("*** \ \ forcing HAVE_LIBSWF=yes. \ \ \*\*\*")
-+HAVE_LIBSWF=yes
 +LIBSWF_LDFLAGS="-lming -lm"
 +AC_SUBST(LIBSWF_LDFLAGS)
 +AC_DEFINE(HAVE_LIBSWF)
- AM_CONDITIONAL(HAVE_LIBSWF, test x$HAVE_LIBSWF = xyes)
++AM_CONDITIONAL(HAVE_LIBSWF, test x = x)
 +AC_MSG_WARN("************************************")
  
  AC_CHECK_HEADERS(malloc.h)
diff -uNr autotrace.orig/files/patch-ac autotrace/files/patch-ac
--- autotrace.orig/files/patch-ac	Thu Jan  1 09:00:00 1970
+++ autotrace/files/patch-ac	Thu Apr  4 11:25:39 2002
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	Wed Apr  3 06:53:06 2002
++++ Makefile.in	Thu Apr  4 11:18:35 2002
+@@ -190,7 +190,7 @@
+ m4datadir = $(datadir)/aclocal
+ m4data_DATA = autotrace.m4
+ 
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = autotrace.pc
+ 
+ bin_SCRIPTS = autotrace-config
diff -uNr autotrace.orig/pkg-plist autotrace/pkg-plist
--- autotrace.orig/pkg-plist	Thu Feb  7 11:15:19 2002
+++ autotrace/pkg-plist	Thu Apr  4 11:28:04 2002
@@ -3,6 +3,10 @@
 bin/autotrace-config
 share/aclocal/autotrace.m4
 @unexec rmdir %D/share/aclocal 2>/dev/null || true
+libdata/pkgconfig/autotrace.pc
+@unexec rmdir %D/libdata/pkgconfig 2>/dev/null || true
 include/autotrace/types.h
 include/autotrace/autotrace.h
+include/autotrace/input.h
+include/autotrace/exception.h
 @dirrm include/autotrace


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204040517.OAA88786>