Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2001 21:40:47 +0900 (JST)
From:      KANOU Hiroki <kanou@mil.allnet.ne.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        kanou@mil.allnet.ne.jp
Subject:   ports/26514: New port: graphics/autotrace
Message-ID:  <200104121240.VAA09546@kappa.allnet.ne.jp>

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

>Number:         26514
>Category:       ports
>Synopsis:       New port for AutoTrace, automatic outline/midline tracer.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 12 05:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     KANOU Hiroki <kanou@mil.allnet.ne.jp>
>Release:        FreeBSD 4.3-RC i386
>Organization:
>Environment:
System: FreeBSD tin 4.3-RC FreeBSD 4.3-RC #0: Wed Apr 11 20:24:04 JST 2001 kanou@tin:/usr/src/sys/compile/TIN i386

Patches in PR ports/26512 are applied to port graphics/ming, in order to
enable swf output.

>Description:

AutoTrace is an automatic outline/midline tracer. It generates vector 
graphic files from bitmap files.

>How-To-Repeat:
>Fix:

# 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:
#
#	autotrace/
#	autotrace/files
#	autotrace/files/patch-aa
#	autotrace/files/patch-ab
#	autotrace/distinfo
#	autotrace/Makefile
#	autotrace/pkg-plist
#	autotrace/pkg-descr
#	autotrace/pkg-comment
#
echo c - autotrace/
mkdir -p autotrace/ > /dev/null 2>&1
echo c - autotrace/files
mkdir -p autotrace/files > /dev/null 2>&1
echo x - autotrace/files/patch-aa
sed 's/^X//' >autotrace/files/patch-aa << 'END-of-autotrace/files/patch-aa'
X--- configure.in.orig	Sun Mar 25 03:57:10 2001
X+++ configure.in	Thu Apr 12 11:31:07 2001
X@@ -107,7 +107,7 @@
X dnl
X HAVE_LIBSWF=no
X 
X-AC_CHECK_HEADER(ming.h,
X+AC_CHECK_HEADER(ming/ming.h,
X 	        swf_header_found=yes,
X 		swf_header_found=no)
X if test "${swf_header_found}" = yes ; then
END-of-autotrace/files/patch-aa
echo x - autotrace/files/patch-ab
sed 's/^X//' >autotrace/files/patch-ab << 'END-of-autotrace/files/patch-ab'
X--- output-swf.h.orig	Thu Mar  8 09:27:39 2001
X+++ output-swf.h	Thu Apr 12 11:48:40 2001
X@@ -9,7 +9,7 @@
X #include <stdio.h>
X #include "types.h"
X #include "spline.h"
X-#include <ming.h>
X+#include <ming/ming.h>
X 
X int output_swf_writer(FILE* file, string name,
X 		      int llx, int lly, int urx, int ury,
END-of-autotrace/files/patch-ab
echo x - autotrace/distinfo
sed 's/^X//' >autotrace/distinfo << 'END-of-autotrace/distinfo'
XMD5 (autotrace-0.27a.tar.gz) = cb656a5d76170ab64d95ed81642d0233
END-of-autotrace/distinfo
echo x - autotrace/Makefile
sed 's/^X//' >autotrace/Makefile << 'END-of-autotrace/Makefile'
X# New ports collection makefile for:	autotrace
X# Date created:		12 April 2001
X# Whom:			KANOU Hiroki <kanou@mil.allnet.ne.jp>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	autotrace
XPORTVERSION?=	0.27a
XCATEGORIES=	graphics
XMASTER_SITES=	ftp://ftp.sourceforge.net/pub/sourceforge/autotrace/ \
X		http://homepage.go.com/~martweb/ 
X
XLIB_DEPENDS=	jbig.1:${PORTSDIR}/graphics/jbigkit \
X		df.1:${PORTSDIR}/graphics/hdf \
X		tiff.4:${PORTSDIR}/graphics/tiff \
X		freetype.6:${PORTSDIR}/print/freetype2 \
X		jpeg.9:${PORTSDIR}/graphics/jpeg \
X		png.4:${PORTSDIR}/graphics/png \
X		bz2.1:${PORTSDIR}/archivers/bzip2 \
X		ming.2:${PORTSDIR}/graphics/ming \
X		wmf.1:${PORTSDIR}/graphics/libwmf \
X		Magick.5:${PORTSDIR}/graphics/ImageMagick
X
XMAINTAINER=	kanou@mil.allnet.ne.jp
X
XUSE_AUTOCONF=	yes
XGNU_CONFIGURE=	yes
XUSE_AUTOMAKE=	yes
XUSE_XLIB=	yes
X
Xpre-configure:
X	@(cd ${WRKSRC} ; ${AUTOCONF})
X
Xdo-configure:
X	@(cd ${WRKSRC}/ ; set CPPFLAGS="-I${PREFIX}/include" ; \
X	  set CFLAGS="-I${PREFIX}/include -L${PREFIX}/lib" ; ./configure )
X
X.include <bsd.port.mk>
END-of-autotrace/Makefile
echo x - autotrace/pkg-plist
sed 's/^X//' >autotrace/pkg-plist << 'END-of-autotrace/pkg-plist'
Xlib/libautotrace.a
Xbin/autotrace
Xbin/autotrace-config
Xshare/aclocal/autotrace.m4
X@dirrm share/aclocal
Xinclude/autotrace/types.h
Xinclude/autotrace/autotrace.h
X@dirrm include/autotrace
END-of-autotrace/pkg-plist
echo x - autotrace/pkg-descr
sed 's/^X//' >autotrace/pkg-descr << 'END-of-autotrace/pkg-descr'
XAutotrace converts bitmaps to vector graphics and 
END-of-autotrace/pkg-descr
echo x - autotrace/pkg-comment
sed 's/^X//' >autotrace/pkg-comment << 'END-of-autotrace/pkg-comment'
Xconvert bitmap to vector graphics
END-of-autotrace/pkg-comment
exit

>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?200104121240.VAA09546>