From owner-freebsd-ports Sun Oct 21 10:30:10 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 24FB137B406 for ; Sun, 21 Oct 2001 10:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f9LHU1G43410; Sun, 21 Oct 2001 10:30:01 -0700 (PDT) (envelope-from gnats) Received: from kappa.allnet.ne.jp (kappa.allnet.ne.jp [61.211.150.156]) by hub.freebsd.org (Postfix) with ESMTP id 754BC37B403 for ; Sun, 21 Oct 2001 10:22:30 -0700 (PDT) Received: from localhost (localhost.allnet.ne.jp [127.0.0.1]) by kappa.allnet.ne.jp (8.9.3/8.9.3) with ESMTP id CAA01478; Mon, 22 Oct 2001 02:22:29 +0900 (JST) (envelope-from kanou@kappa.allnet.ne.jp) Message-Id: <200110211722.CAA01478@kappa.allnet.ne.jp> Date: Mon, 22 Oct 2001 02:22:29 +0900 From: KANOU Hiroki Reply-To: KANOU Hiroki To: FreeBSD-gnats-submit@freebsd.org Cc: kanou@mil.allnet.ne.jp X-Send-Pr-Version: 3.113 Subject: ports/31400: Maintainer update: print/pfaedit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31400 >Category: ports >Synopsis: Maintainer update: print/pfaedit >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Oct 21 10:30:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: KANOU Hiroki >Release: FreeBSD 4.4-STABLE i386 >Organization: >Environment: >Description: PfaEdit port updated by maintainer. Unfetchable files are fixed. >How-To-Repeat: 1. Remove two obsolete patches files/patch-aa and files/patch-ab . 2. Expand this shell archive at /usr/ports/print/pfaedit and overwrite existing port. (pkg-plist and pkg-comment are not included because they are not modified) >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: # # Makefile # distinfo # files/patch-encoding.c # files/patch-pfaedit.1 # files/patch-prefs.c # pkg-descr # echo x - Makefile sed 's/^X//' >Makefile << 'END-of-Makefile' X# New ports collection makefile for: pfaedit X# Date created: 25 March 2001 X# Whom: KANOU Hiroki X# X# $FreeBSD: ports/print/pfaedit/Makefile,v 1.3 2001/09/11 02:59:19 ache Exp $ X# X XPORTNAME= pfaedit XPORTVERSION= 20011020 XCATEGORIES= print XMASTER_SITES= http://pfaedit.sourceforge.net/ XDISTFILES= ${PORTNAME}_src-${DIST_VER}.tgz \ X libgunicode-${LIBGUNI_VER}.tgz libgdraw-${LIBGDRAW_VER}.tgz \ X cidmaps.tgz X XMAINTAINER= kanou@mil.allnet.ne.jp X XDIST_VER= 011020 XLIBGDRAW_VER= 011011 XLIBGUNI_VER= 011011 X XLIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \ X jpeg.9:${PORTSDIR}/graphics/jpeg \ X png.5:${PORTSDIR}/graphics/png \ X ungif.5:${PORTSDIR}/graphics/libungif X XUSE_XLIB= yes XGNU_CONFIGURE= yes XCONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ X LDFLAGS="-L${LOCALBASE}/lib" XWRKSRC= ${WRKDIR}/${PORTNAME} XALL_TARGET= pfaedit X XMAN1= pfaedit.1 X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/pfaedit/pfaedit ${PREFIX}/bin X ${MKDIR} ${PREFIX}/share/pfaedit X ${INSTALL_DATA} ${WRKDIR}/*.cidmap ${PREFIX}/share/pfaedit X ${INSTALL_MAN} ${WRKSRC}/pfaedit/pfaedit.1 ${PREFIX}/man/man1 X X.include END-of-Makefile echo x - distinfo sed 's/^X//' >distinfo << 'END-of-distinfo' XMD5 (pfaedit_src-011020.tgz) = 417c65bcc5363510d2097fca1620a5c4 XMD5 (libgunicode-011011.tgz) = 25b7f13d768626599f979429f24f41d6 XMD5 (libgdraw-011011.tgz) = c95137c453f6c62aa3bb9b3dc098a0cb XMD5 (cidmaps.tgz) = b2f5fd18ea3c8205e6923832505bf73b END-of-distinfo echo x - files/patch-encoding.c sed 's/^X//' >files/patch-encoding.c << 'END-of-files/patch-encoding.c' X--- pfaedit/encoding.c.orig Tue Sep 25 09:02:35 2001 X+++ pfaedit/encoding.c Wed Oct 10 14:24:12 2001 X@@ -704,7 +704,7 @@ X if ( file==NULL ) X file = SearchDirForCidMap(getPfaEditShareDir(),registry,ordering,supplement,&maybefile); X if ( file==NULL ) X- file = SearchDirForCidMap("/usr/share/pfaedit",registry,ordering,supplement,&maybefile); X+ file = SearchDirForCidMap("/usr/local/share/pfaedit",registry,ordering,supplement,&maybefile); X X if ( file==NULL && (maybe!=NULL || maybefile!=NULL)) { X if ( maybefile!=NULL ) { X@@ -893,7 +893,7 @@ X FindMapsInDir(&block,SHAREDIR); X #endif X FindMapsInDir(&block,getPfaEditShareDir()); X- FindMapsInDir(&block,"/usr/share/pfaedit"); X+ FindMapsInDir(&block,"/usr/local/share/pfaedit"); X X choices = gcalloc(block.cur+2,sizeof(unichar_t *)); X choices[0] = u_copy(GStringGetResource(_STR_Browse,NULL)); END-of-files/patch-encoding.c echo x - files/patch-pfaedit.1 sed 's/^X//' >files/patch-pfaedit.1 << 'END-of-files/patch-pfaedit.1' X--- pfaedit/pfaedit.1.orig Tue Sep 25 00:16:49 2001 X+++ pfaedit/pfaedit.1 Wed Oct 10 14:24:32 2001 X@@ -50,8 +50,8 @@ X .It Pa ~/.PfaEdit/autosave/ X crash recovery directory X .El X-.Bl -tag -width /usr/share/pfaedit/*.ui -compact X-.It Pa /usr/share/pfaedit/*.ui X+.Bl -tag -width /usr/local/share/pfaedit/*.ui -compact X+.It Pa /usr/local/share/pfaedit/*.ui X translations for the user interface X .El X .Bl -tag -width *.cidmap -compact END-of-files/patch-pfaedit.1 echo x - files/patch-prefs.c sed 's/^X//' >files/patch-prefs.c << 'END-of-files/patch-prefs.c' X--- pfaedit/prefs.c.orig Tue Oct 2 02:24:39 2001 X+++ pfaedit/prefs.c Wed Oct 10 14:23:42 2001 X@@ -123,10 +123,10 @@ X pt = strstr(GResourceProgramDir,"/bin"); X if ( pt==NULL ) X return( NULL ); X- len = (pt-GResourceProgramDir)+strlen("/share/pfaedit")+1; X+ len = (pt-GResourceProgramDir)+strlen("/local/share/pfaedit")+1; X sharedir = galloc(len); X strncpy(sharedir,GResourceProgramDir,pt-GResourceProgramDir); X- strcpy(sharedir+(pt-GResourceProgramDir),"/share/pfaedit"); X+ strcpy(sharedir+(pt-GResourceProgramDir),"/local/share/pfaedit"); X return( sharedir ); X } X X@@ -180,7 +180,7 @@ X !CheckLangDir(full,sizeof(full),SHAREDIR,loc) && X #endif X !CheckLangDir(full,sizeof(full),getPfaEditShareDir(),loc) && X- !CheckLangDir(full,sizeof(full),"/usr/share/pfaedit",loc) ) X+ !CheckLangDir(full,sizeof(full),"/usr/local/share/pfaedit",loc) ) X return; X X GStringSetResourceFile(full); END-of-files/patch-prefs.c echo x - pkg-descr sed 's/^X//' >pkg-descr << 'END-of-pkg-descr' XPfaEdit is a PostScript font editor which can create and modify outline Xfonts in Type 1, TrueType, or OpenType format. It can generate bitmaps Xand save in BDF format. X XIf you have installed 'autotrace', you can generate outlines from Ximported bitmap images. X XFor more Information, see X XWWW: http://PfaEdit.sourceforge.net/ END-of-pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message