Date: Mon, 24 Dec 2001 23:25:25 +0900 From: KANOU Hiroki <kanou@mil.allnet.ne.jp> To: FreeBSD-gnats-submit@freebsd.org Cc: KANOU Hiroki <kanou@mil.allnet.ne.jp> Subject: ports/33148: maintainer update: graphics/autotrace Message-ID: <200112241425.XAA00996@kappa.allnet.ne.jp>
next in thread | raw e-mail | index | archive | help
>Number: 33148 >Category: ports >Synopsis: maintainer update: graphics/autotrace >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: Mon Dec 24 06:30:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: KANOU Hiroki <kanou@mil.allnet.ne.jp> >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: >Environment: System: FreeBSD zinc 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #1: Sat Dec 22 17:22:48 JST 2001 kanou@zinc:/usr/src/sys/compile/ZINC i386 >Description: AutoTrace port updated to the newest version. Unreachable MASTER_SITE was removed. Older port failed to recognize libpng and libming under /usr/local/lib in configure stage. This port skips tests and forcedly define them. >How-To-Repeat: Apply the patch and install. >Fix: diff -uNr autotrace.orig/Makefile autotrace/Makefile --- autotrace.orig/Makefile Tue Sep 25 02:30:13 2001 +++ autotrace/Makefile Mon Dec 24 22:04:25 2001 @@ -6,11 +6,9 @@ # PORTNAME= autotrace -PORTVERSION= 0.27a -PORTREVISION= 1 +PORTVERSION= 0.28 CATEGORIES= graphics -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ - http://homepage.go.com/~martweb/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= kanou@mil.allnet.ne.jp @@ -30,14 +28,9 @@ USE_AUTOCONF= yes GNU_CONFIGURE= yes -USE_AUTOMAKE= yes USE_XLIB= yes -pre-configure: - @(cd ${WRKSRC} ; ${AUTOCONF}) - -do-configure: - @(cd ${WRKSRC}/ ; set CPPFLAGS="-I${PREFIX}/include" ; \ - set CFLAGS="-I${PREFIX}/include -L${PREFIX}/lib" ; ./configure ) +pre-install: + @(cd ${WRKSRC} ; perl -p -i.bak -e s/\\@OBJEXT\\@/o/ Makefile) .include <bsd.port.mk> diff -uNr autotrace.orig/distinfo autotrace/distinfo --- autotrace.orig/distinfo Sun May 20 00:29:54 2001 +++ autotrace/distinfo Mon Dec 24 21:35:46 2001 @@ -1 +1 @@ -MD5 (autotrace-0.27a.tar.gz) = cb656a5d76170ab64d95ed81642d0233 +MD5 (autotrace-0.28.tar.gz) = 2bda3449b5924f45ec31661a2a2f2890 diff -uNr autotrace.orig/files/patch-aa autotrace/files/patch-aa --- autotrace.orig/files/patch-aa Sun May 20 00:29:55 2001 +++ autotrace/files/patch-aa Mon Dec 24 21:35:05 2001 @@ -1,11 +1,123 @@ ---- configure.in.orig Sun Mar 25 03:57:10 2001 -+++ configure.in Thu Apr 12 11:31:07 2001 -@@ -107,7 +107,7 @@ +--- 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 +-HAVE_LIBSWF=no -AC_CHECK_HEADER(ming.h, -+AC_CHECK_HEADER(ming/ming.h, - swf_header_found=yes, - swf_header_found=no) - if test "${swf_header_found}" = yes ; then +- 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/pkg-descr autotrace/pkg-descr --- autotrace.orig/pkg-descr Sun May 20 00:29:54 2001 +++ autotrace/pkg-descr Mon Dec 24 23:18:46 2001 @@ -1 +1,4 @@ AutoTrace is a utility that converts bitmap to vector graphics. + +For more information, see +WWW: http://AutoTrace.sourceforge.net/ . >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?200112241425.XAA00996>