Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Sep 1999 10:45:55 +0900 (JST)
From:      mita@jp.FreeBSD.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13629: Let's update japanese/tgif 
Message-ID:  <199909080145.KAA41290@jaga.fujita3.iis.u-tokyo.ac.jp>

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

>Number:         13629
>Category:       ports
>Synopsis:       japanese/tgif is ready to update to the latest version!
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep  7 19:00:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     MITA Yoshio
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
Insttitute of Industrial Science, the University of TOKYO
>Environment:
>Description:
Mr. Fenner informed me that tarball of japanese/tgif cannot be fetched.
The problem is simply solved by updating the port for the latest tgif.
Tgif-4.1.16 (already in ports/tgif) is already internationalized so that
By simply installing X11R6/lib/X11/app-defaults/Tgif, japanese handling
becoms possible.  This port does it.  It is too simple to check and commit ;>
>How-To-Repeat:
>Fix:
diff -ruN japanese/tgif.current.990908/Makefile japanese/tgif/Makefile
--- japanese/tgif.current.990908/Makefile	Wed Aug 25 10:17:39 1999
+++ japanese/tgif/Makefile	Wed Sep  8 10:39:09 1999
@@ -1,41 +1,25 @@
 # New ports collection makefile for:	tgif-j
-# Version required:	3.0.18
+# Version required:	4.0.17
 # Date created:		8 Dec 1995
 # Whom:			Mita Yoshio <mita@jp.FreeBSD.org>
 #
 # $FreeBSD: ports/japanese/tgif/Makefile,v 1.15 1999/08/25 05:27:26 obrien Exp $
 #
 
-DISTNAME=	tgif-3.0.18
-PKGNAME=	ja-tgif-3.0.18
-CATEGORIES=	japanese graphics
-MASTER_SITES=	ftp://bourbon.cs.umd.edu/pub/tgif/ \
-		${MASTER_SITE_XCONTRIB} \
-		${MASTER_SITE_PORTS_JP} \
-		http://www.sunbit.or.jp/users/shin/software/
-MASTER_SITE_SUBDIR=	applications/tgif
-DISTFILES=	tgif-3.0.18.tar.gz tgif-3.0J0.12-p18-PSJISr1.gz
-
-PATCH_SITES=	http://www.venus.dti.ne.jp/~iisaka/
-PATCHFILES=	tgif-3.0J0.12-p18-patch.gz
-PATCH_DIST_STRIP=	-p1
+DISTNAME=	ja-tgif-980222
+PKGNAME=	ja-tgif-4.1.16
+CATEGORIES=	japanese
+MASTER_SITES=	http://home.jp.FreeBSD.org/~mita/LOCAL_PORTS/
 
 MAINTAINER=	mita@jp.FreeBSD.org
 
-RUN_DEPENDS=	giftopnm:${PORTSDIR}/graphics/netpbm \
-		pnmtotiff:${PORTSDIR}/graphics/netpbm \
-		ppmtoxpm:${PORTSDIR}/graphics/netpbm \
-		ppmtogif:${PORTSDIR}/graphics/netpbm \
-		xbmtopbm:${PORTSDIR}/graphics/netpbm \
-		xpmtoppm:${PORTSDIR}/graphics/netpbm
+RUN_DEPENDS=	tgif:${PORTSDIR}/graphics/tgif
 
-USE_IMAKE=	yes
-MAN1=			tgif.1 prtgif.1
-EXTRACT_ONLY=	tgif-3.0.18.tar.gz
-FETCH_CMD=	/usr/bin/fetch -Ab
+NO_BUILD=	yes
+WRKSRC=		${WRKDIR}
+USE_X_PREFIX=	yes
 
-post-patch:
-	 ${SETENV} DISTDIR="${DISTDIR}" GZCAT="${GZCAT}" \
-	 PATCH="${PATCH}" PATCH_DIST_ARGS="${PATCH_DIST_ARGS}" ${SH} ${FILESDIR}/setup.sh
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/Tgif ${PREFIX}/lib/X11/app-defaults/
 
 .include <bsd.port.mk>
diff -ruN japanese/tgif.current.990908/files/md5 japanese/tgif/files/md5
--- japanese/tgif.current.990908/files/md5	Fri Apr 30 22:33:01 1999
+++ japanese/tgif/files/md5	Mon Feb 22 11:32:41 1999
@@ -1,3 +1 @@
-MD5 (tgif-3.0.18.tar.gz) = 75f18a1287efc456ab9605ae13cfebfa
-MD5 (tgif-3.0J0.12-p18-PSJISr1.gz) = 86ee638da52ab52ead31bd5f0a5bcd9d
-MD5 (tgif-3.0J0.12-p18-patch.gz) = 0b4936b4331122fefcc962a9398bf28a
+MD5 (ja-tgif-980222.tar.gz) = 5396974ce204d3514f14cdb408f9baaf
diff -ruN japanese/tgif.current.990908/files/setup.sh japanese/tgif/files/setup.sh
--- japanese/tgif.current.990908/files/setup.sh	Fri Apr 30 19:51:44 1999
+++ japanese/tgif/files/setup.sh	Thu Jan  1 09:00:00 1970
@@ -1,25 +0,0 @@
-#!/bin/sh
-# tgif configuration shell script
-# usage: /bin/sh setup 
-
-if [ X"${BATCH:-no}" = X"no" ] ; then
-/usr/bin/dialog --title "Tgif port setup for Kanji code selection" --radiolist \
-"You can select EUC kanji code (Default) or JIS kanji code. \n \
-EUC kanji code is compatible to former Tgif ports. \n \
-Recently there are many printers which do not understand \n \
-EUC encoded PS files correctly.  In that case choose JIS." -1 -1 2 \
-"EUC" "EUC-JP mode" ON \
-"JIS" "JIS mode" OFF 2>/tmp/TGIF.kanji.selection
-
-if [ X`cat /tmp/TGIF.kanji.selection` = "XJIS" ]
-	then
-	 echo 'JIS is selected'
-	 echo 'Remember to change X resources entry for TgifNihongoFonts'
-	 echo 'If you have already set'
-	 ${GZCAT} ${DISTDIR}/tgif-3.0J0.12-p18-PSJISr1.gz | \
-		${PATCH} ${PATCH_DIST_ARGS}
-	else
- 	 echo 'EUC-JP mode (default) is selected'
-	fi
-fi
-rm -f /tmp/TGIF.kanji.selection
diff -ruN japanese/tgif.current.990908/patches/patch-aa japanese/tgif/patches/patch-aa
--- japanese/tgif.current.990908/patches/patch-aa	Fri Apr 30 22:33:01 1999
+++ japanese/tgif/patches/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,26 +0,0 @@
---- Imakefile.orig	Wed Apr 28 04:22:26 1999
-+++ Imakefile	Wed Apr 28 04:25:29 1999
-@@ -78,7 +78,8 @@
-                   -D_BACKGROUND_DONT_FORK -D_USE_XDRAWPOINT_TO_PUT_A_POINT \@@\
-                   -DRESTRICTED_MOUSE_MOVE \@@\
-                   -DA4PAPER -DUSE_FLUSH_COLORMAP -DUSE_QUICKWARP \@@\
--                  -DKINPUT2_OVERSPOT $(XIMDEFINES)
-+                  -DKINPUT2_OVERSPOT $(XIMDEFINES) \
-+                  -DUSE_XT_INITIALIZE
- 
- XCOMM Things to try to add to the DEFINES line above:
- XCOMM
-@@ -92,10 +93,10 @@
- XCOMM    FreeBSD: 
- XCOMM    SCO:     -D_NO_EXTERN -DPRINT_CMD=\""lp -o raw -o nobanner"\"
- 
--LOCAL_LIBRARIES	= $(XLIB)
--XCOMM LOCAL_LIBRARIES	= $(XMULIB) $(XTOOLLIB) $(XLIB)
-+XCOMM LOCAL_LIBRARIES	= $(XLIB)
-+LOCAL_LIBRARIES	= $(XMULIB) $(XTOOLLIB) $(XLIB)
- DEPLIBS		= $(DEPXLIB)
--SYS_LIBRARIES	= -lm
-+SYS_LIBRARIES	= -lm -lcompat
- 
- XCOMM -D_METRIC_PIX_PER_INCH
- XCOMM    Include the above line if you want to use 127 pixels per inch
diff -ruN japanese/tgif.current.990908/pkg/COMMENT japanese/tgif/pkg/COMMENT
--- japanese/tgif.current.990908/pkg/COMMENT	Sat Jun 26 22:43:31 1999
+++ japanese/tgif/pkg/COMMENT	Mon Feb 22 11:29:03 1999
@@ -1 +1 @@
-2-D drawing facility (Japanese version)
+2-D drawing facility (with Japanese configuration).
diff -ruN japanese/tgif.current.990908/pkg/DESCR japanese/tgif/pkg/DESCR
--- japanese/tgif.current.990908/pkg/DESCR	Sat Aug 30 15:44:46 1997
+++ japanese/tgif/pkg/DESCR	Mon Feb 22 11:29:45 1999
@@ -1,7 +1,2 @@
-tgif-j is  Xlib based interactive 2-D drawing facility under X11.
+tgif is  Xlib based interactive 2-D drawing facility under X11.
 It can put out ps, eps, gif, xbm files.
-Japanese input is also available by means of kinput or kinput2.
-Over-the-spot kana-kanji conversion is available by setting X resource:
-Tgif*PreeditType:               OverTheSpot
-
-see /usr/X11R6/lib/X11/tgif/3.0J0.12-p13/ for more information.
diff -ruN japanese/tgif.current.990908/pkg/PLIST japanese/tgif/pkg/PLIST
--- japanese/tgif.current.990908/pkg/PLIST	Thu Dec 24 23:15:21 1998
+++ japanese/tgif/pkg/PLIST	Mon Feb 22 11:30:11 1999
@@ -1,22 +1 @@
-bin/tgif
-bin/prtgif
-lib/X11/tgif/3.0.18/tgif.Xdefaults
-lib/X11/tgif/3.0.18/tgificon.eps
-lib/X11/tgif/3.0.18/tgificon.obj
-lib/X11/tgif/3.0.18/tgificon.xbm
-lib/X11/tgif/3.0.18/tgificon.xpm
-lib/X11/tgif/3.0.18/tangram.sym
-lib/X11/tgif/3.0.18/keys.obj
-lib/X11/tgif/3.0.18/keys_jpn.obj
-lib/X11/tgif/3.0.18/SCALABLE.ms
-lib/X11/tgif/3.0.18/SCALABLE
-lib/X11/tgif/3.0.18/JAPANESE.ms
-lib/X11/tgif/3.0.18/JAPANESE
-lib/X11/tgif/3.0.18/TO_USERS.ms
-lib/X11/tgif/3.0.18/TO_USERS
-lib/X11/tgif/3.0.18/HISTORY.jp
-lib/X11/tgif/3.0.18/HISTORY-3.0.jp
-lib/X11/tgif/3.0.18/README.jp
-lib/X11/tgif/3.0.18/README-3.0.jp
-@dirrm lib/X11/tgif/3.0.18
-@dirrm lib/X11/tgif
+lib/X11/app-defaults/Tgif

>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?199909080145.KAA41290>