Date: Fri, 5 Apr 2002 13:46:35 +0900 (JST) From: KANOU Hiroki <kanou@mil.allnet.ne.jp> To: FreeBSD-gnats-submit@FreeBSD.org Cc: kanou@mil.allnet.ne.jp Subject: ports/36776: maintainer update: graphics/autotrace to 0.30 (overrides PR ports/36721) Message-ID: <200204050446.NAA90910@kappa.allnet.ne.jp>
next in thread | raw e-mail | index | archive | help
>Number: 36776 >Category: ports >Synopsis: maintainer update: graphics/autotrace to 0.30 (overrides PR ports/36721) >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: Thu Apr 04 20:50:02 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 update by maintainer. This update overrides previous PR (ports/36721) for better use of configure and normal manpage instllation. >How-To-Repeat: >Fix: removed file: files/patch-aa new file: files/patch-ac diff -uNr autotrace.orig/Makefile autotrace/Makefile --- autotrace.orig/Makefile Wed Mar 13 07:54:12 2002 +++ autotrace/Makefile Fri Apr 5 13:15:17 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} @@ -29,7 +28,11 @@ USE_AUTOCONF= yes GNU_CONFIGURE= yes +CONFIGURE_ENV+= CPPFLAGS="-I/usr/local/include -I/usr/local/include/ming" +CONFIGURE_ENV+= LIBS=-L/usr/local/lib USE_XLIB= yes + +MAN1= autotrace.1 pre-install: @(cd ${WRKSRC} ; perl -p -i.bak -e s/\\@OBJEXT\\@/o/ Makefile) diff -uNr autotrace.orig/distinfo autotrace/distinfo --- autotrace.orig/distinfo Sun Feb 3 09:42:26 2002 +++ autotrace/distinfo Fri Apr 5 13:07:58 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 14:04:32 2001 +++ autotrace/files/patch-aa Thu Jan 1 09:00:00 1970 @@ -1,123 +0,0 @@ ---- 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. ***)), - 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) -- --HAVE_LIBPNG=no --if test "x$HAVE_LIBPNG_STAGE1" = "xyes" ; then -- AC_CHECK_LIB(png, png_read_png, -- HAVE_LIBPNG=yes ,,-lz) -- if test "x$HAVE_LIBPNG" = "xyes" ; then -- LIBPNG_LDFLAGS="-lpng -lz" -- AC_SUBST(LIBPNG_LDFLAGS) -- AC_DEFINE(HAVE_LIBPNG) -- else -- AC_MSG_WARN([*** libpng exists but cannot find png_read_png in the libpng. ***]) -- AC_MSG_WARN([*** libpng might be old. ***]) -- AC_MSG_WARN([*** You need libpng 1.0.6 or higher. ***]) -- AC_MSG_WARN([*** Png input handler is disabled. ***]) -- fi --else -- AC_MSG_WARN([*** Cannot find libpng. ***]) -- 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 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 if test "x$HAVE_LIBPNG" = "xyes" ; then -+dnl LIBPNG_LDFLAGS="-lpng -lz" -+dnl AC_SUBST(LIBPNG_LDFLAGS) -+dnl AC_DEFINE(HAVE_LIBPNG) -+dnl else -+dnl AC_MSG_WARN([*** libpng exists but cannot find png_read_png in the libpng. ***]) -+dnl AC_MSG_WARN([*** libpng might be old. ***]) -+dnl AC_MSG_WARN([*** You need libpng 1.0.6 or higher. ***]) -+dnl AC_MSG_WARN([*** Png input handler is disabled. ***]) -+dnl fi -+dnl else -+dnl AC_MSG_WARN([*** Cannot find libpng. ***]) -+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 HAVE_LIBSWF=no -+dnl -+dnl AC_CHECK_HEADER(ming/ming.h, -+dnl swf_header_found=yes, -+dnl swf_header_found=no) -+dnl if test "${swf_header_found}" = yes ; then -+dnl AC_CHECK_LIB(ming, Ming_init, -+dnl HAVE_LIBSWF=yes,,-lm) -+dnl if test "$HAVE_LIBSWF" = "yes" ; then -+dnl LIBSWF_LDFLAGS="-lming -lm" -+dnl AC_SUBST(LIBSWF_LDFLAGS) -+dnl AC_DEFINE(HAVE_LIBSWF) -+dnl else -+dnl AC_MSG_WARN([*** Cannot find libming. ***]) -+dnl AC_MSG_WARN([*** SWF output is disabled. ***]) -+dnl fi -+dnl else -+dnl AC_MSG_WARN([*** Cannot find ming.h. ***]) -+dnl AC_MSG_WARN([*** SWF output is disabled. ***]) -+dnl fi -+dnl AM_CONDITIONAL(HAVE_LIBSWF, test x$HAVE_LIBSWF = xyes) -+ -+AC_MSG_WARN("************************************") -+AC_MSG_WARN("*** \ \ forcing HAVE_LIBPNG=yes. \ \ \*\*\*") -+HAVE_LIBPNG=yes -+LIBPNG_LDFLAGS="-lpng -lz" -+AC_SUBST(LIBPNG_LDFLAGS) -+AC_DEFINE(HAVE_LIBPNG) -+AM_CONDITIONAL(HAVE_LIBPNG, test x$HAVE_LIBPNG = 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) -+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 Sun Feb 3 09:42:26 2002 +++ autotrace/pkg-plist Fri Apr 5 13:08:19 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?200204050446.NAA90910>