Date: Sat, 27 Sep 1997 14:53:07 +0200 (CEST) From: Yoshio.Mita@isen.fr To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/4640: transfig-3.2 internationalization Message-ID: <199709271253.OAA14060@pcmita.isen.fr> Resent-Message-ID: <199709271300.GAA22257@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4640 >Category: ports >Synopsis: Enabled I18n code of transfig-3.2 with no confliction. >Confidential: no >Severity: non-critical >Priority: high >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 27 06:00:00 PDT 1997 >Last-Modified: >Originator: MITA Yoshio >Organization: Centre National de la Recherche Scientifique >Release: FreeBSD 2.2.1-RELEASE i386 >Environment: FreeBSD 2.2.1-RELEASE + XFree86 3.2 >Description: 1. I18n code is already included to original transfig.3.2 distribuition. This change makes enable to use I18n support. And this change makes no trouble in using non-i18ned xfig-3.2. 2. RUN_DEPENDS on english ghostscript is removed because: A: transfig is basically independent of gs. B: this dependency causes lots of troubles in using gs in other languages e.g.ja-*ghostscript. >How-To-Repeat: >Fix: diff -rcN print/transfig.orig/Makefile print/transfig/Makefile *** print/transfig.orig/Makefile Thu Aug 28 06:59:10 1997 --- print/transfig/Makefile Sat Sep 27 13:49:34 1997 *************** *** 9,24 **** DISTNAME= transfig.3.2 PKGNAME= transfig-3.2 CATEGORIES= print ! MASTER_SITES= ${MASTER_SITE_XCONTRIB} MASTER_SITE_SUBDIR= applications/drawing_tools/transfig MAINTAINER= chuckr@freebsd.org LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \ jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg - RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 - USE_IMAKE= yes .include <bsd.port.mk> --- 9,29 ---- DISTNAME= transfig.3.2 PKGNAME= transfig-3.2 CATEGORIES= print ! MASTER_SITES= ${MASTER_SITE_XCONTRIB} ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= applications/drawing_tools/transfig + DISTFILES= transfig.3.2.tar.gz transfig.3.2.ja_JP.EUC.ps.gz MAINTAINER= chuckr@freebsd.org LIB_DEPENDS= Xpm\\.4\\.:${PORTSDIR}/graphics/xpm \ jpeg\\.7\\.:${PORTSDIR}/graphics/jpeg USE_IMAKE= yes + EXTRACT_ONLY= transfig.3.2.tar.gz + + post-install: + @${MKDIR} ${PREFIX}/lib/X11/fig2dev + @${GZCAT} ${DISTDIR}/transfig.3.2.ja_JP.EUC.ps.gz \ + > ${PREFIX}/lib/X11/fig2dev/ja_JP.EUC.ps .include <bsd.port.mk> diff -rcN print/transfig.orig/files/md5 print/transfig/files/md5 *** print/transfig.orig/files/md5 Thu Aug 28 06:59:10 1997 --- print/transfig/files/md5 Thu Sep 25 16:19:56 1997 *************** *** 1 **** --- 1,2 ---- MD5 (transfig.3.2.tar.gz) = d5ded82f303c75a92bbf4bec568e7853 + MD5 (transfig.3.2.ja_JP.EUC.ps.gz) = c608af518c15cf44d57a6abe3ce86b2f diff -rcN print/transfig.orig/patches/patch-ac print/transfig/patches/patch-ac *** print/transfig.orig/patches/patch-ac Thu Aug 28 06:59:10 1997 --- print/transfig/patches/patch-ac Sat Sep 27 14:36:46 1997 *************** *** 1,5 **** ! --- fig2dev/Imakefile.orig Mon Aug 25 20:51:04 1997 ! +++ fig2dev/Imakefile Mon Aug 25 20:54:14 1997 @@ -37,7 +37,7 @@ XCOMM inline functions. With the "INLINE" keyword, you should notice that XCOMM the display will be a bit faster in complex figures --- 1,5 ---- ! --- fig2dev/Imakefile.orig Fri Aug 22 23:33:55 1997 ! +++ fig2dev/Imakefile Sat Sep 27 14:35:49 1997 @@ -37,7 +37,7 @@ XCOMM inline functions. With the "INLINE" keyword, you should notice that XCOMM the display will be a bit faster in complex figures *************** *** 20,26 **** XCOMM For Linux machines or any machines that have a separate library for XCOMM the database management routines, uncomment the following line ! @@ -138,7 +138,7 @@ #ifdef USEINSTALLEDJPEG JPEGLIBDIR = /usr/local/lib --- 20,36 ---- XCOMM For Linux machines or any machines that have a separate library for XCOMM the database management routines, uncomment the following line ! @@ -116,7 +116,8 @@ ! ! XCOMM Uncomment the next line if you want use Japanese (i18n) on xfig. ! ! -XCOMM I18N_DEFS = -DI18N -DFIG2DEV_LIBDIR='\"/usr/local/lib/fig2dev\"' ! +I18N_DEFS = -DI18N ! +I18N_DEV_DEFS = $(I18N_DEFS) -DFIG2DEV_LIBDIR='\"$(PREFIX)/lib/X11/fig2dev\"' ! ! DEFINES = $(NEED_STRERROR) $(HAVE_NO_STRCASECMP) $(HAVE_NO_STRNCASECMP) $(USEINLINE) \ ! $(I18N_DEFS) ! @@ -138,7 +139,7 @@ #ifdef USEINSTALLEDJPEG JPEGLIBDIR = /usr/local/lib *************** *** 29,35 **** JPEGLIB = -L$(JPEGLIBDIR) -ljpeg #else JPEGLIBDIR = ../../jpeg ! @@ -175,10 +175,10 @@ INCLUDES = -I.. -I$(JPEGINCDIR) LOCAL_LIBRARIES = $(LIBTRANSFIG) $(JPEGLIB) --- 39,54 ---- JPEGLIB = -L$(JPEGLIBDIR) -ljpeg #else JPEGLIBDIR = ../../jpeg ! @@ -161,7 +162,7 @@ ! #endif ! ! DEVDEFINES = $(DUSEJPEG) $(DUSEXPM) $(XPMINC) $(XPMDBM) \ ! - $(DDNFSS) $(DDEPSF) $(DDA4) $(DDIBMGEC) $(DDDVIPS) $(I18N_DEFS) ! + $(DDNFSS) $(DDEPSF) $(DDA4) $(DDIBMGEC) $(DDDVIPS) $(I18N_DEV_DEFS) ! ! #define IHaveSubdirs ! #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' ! @@ -175,10 +176,10 @@ INCLUDES = -I.. -I$(JPEGINCDIR) LOCAL_LIBRARIES = $(LIBTRANSFIG) $(JPEGLIB) diff -rcN print/transfig.orig/pkg/DESCR print/transfig/pkg/DESCR *** print/transfig.orig/pkg/DESCR Sat Aug 10 03:10:40 1996 --- print/transfig/pkg/DESCR Thu Sep 25 16:16:15 1997 *************** *** 1,6 **** TransFig is a set of tools for creating TeX documents with graphics which are portable, in the sense that they can be printed in a wide ! variety of environments. This is version 3.1.2. Drivers currently exist for the following graphics langauges: (E)EPIC macros, LaTeX picture environment, PIC, PiCTeX, PostScript, and --- 1,6 ---- TransFig is a set of tools for creating TeX documents with graphics which are portable, in the sense that they can be printed in a wide ! variety of environments. Drivers currently exist for the following graphics langauges: (E)EPIC macros, LaTeX picture environment, PIC, PiCTeX, PostScript, and diff -rcN print/transfig.orig/pkg/PLIST print/transfig/pkg/PLIST *** print/transfig.orig/pkg/PLIST Mon Nov 18 14:12:49 1996 --- print/transfig/pkg/PLIST Tue Sep 23 12:00:38 1997 *************** *** 3,9 **** --- 3,11 ---- bin/fig2ps2tex bin/fig2ps2tex.sh bin/pic2tpic + lib/X11/fig2dev/ja_JP.EUC.ps man/man1/transfig.1.gz man/man1/fig2ps2tex.1.gz man/man1/pic2tpic.1.gz man/man1/fig2dev.1.gz + @dirrm lib/X11/fig2dev >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709271253.OAA14060>