Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jul 1997 18:37:12 +0900 (JST)
From:      mita@jp.FreeBSD.org
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/4144: port xcalendar-4.0 is I18N'ed
Message-ID:  <199707220937.SAA02667@datsu.fujita3.iis.u-tokyo.ac.jp>
Resent-Message-ID: <199707220950.CAA19831@hub.freebsd.org>

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

>Number:         4144
>Category:       ports
>Synopsis:       port xcalendar-4.0 is updated to the internationarized version.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          support
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 22 02:50:01 PDT 1997
>Last-Modified:
>Originator:     MITA Yoshio
>Organization:
IIS, the University of Tokyo, JAPAN
>Release:        FreeBSD 2.2.1-RELEASE i386
>Environment:

2.2.1-RELEASE + current bsd.port* /etc/mtree/*

>Description:

	I18N patch is applied to the xcalendar-4.0 port.

>How-To-Repeat:

>Fix:
	

diff -rcN xcalendar.orig/Makefile xcalendar/Makefile
*** xcalendar.orig/Makefile	Mon Nov 11 05:50:21 1996
--- xcalendar/Makefile	Tue Jul 22 18:22:40 1997
***************
*** 11,18 ****
--- 11,24 ----
  CATEGORIES=	misc
  MASTER_SITES=	ftp://ftp.tut.ac.jp/X11/X11R6/contrib/programs/
  
+ PATCH_SITES=	ftp://ports.jp.FreeBSD.org/pub/incoming/sonota/xcalender/
+ PATCHFILES=	xcalendar-4.0+i18n.patch.gz
+ 
  MAINTAINER=	mita@jp.FreeBSD.org
  
  USE_IMAKE=	yes
+ 
+ post-extract:
+ 	@(cd ${WRKSRC} ; uudecode XCal-uj.uu)
  
  .include <bsd.port.mk>
diff -rcN xcalendar.orig/files/md5 xcalendar/files/md5
*** xcalendar.orig/files/md5	Wed Jul 10 21:18:34 1996
--- xcalendar/files/md5	Sat Jan 11 11:31:29 1997
***************
*** 1 ****
--- 1,2 ----
  MD5 (xcalendar.tar.gz) = 581e5e6a387fb781bf3bd8f77dd498a8
+ MD5 (xcalendar-4.0+i18n.patch.gz) = 7d1586420168adea6504e1ba94dedeba
diff -rcN xcalendar.orig/patches/patch-aa xcalendar/patches/patch-aa
*** xcalendar.orig/patches/patch-aa	Thu Jan  1 09:00:00 1970
--- xcalendar/patches/patch-aa	Sat Jan 11 11:31:29 1997
***************
*** 0 ****
--- 1,31 ----
+ *** Imakefile.orig	Thu Jan  9 14:43:21 1997
+ --- Imakefile	Thu Jan  9 14:45:05 1997
+ ***************
+ *** 1,7 ****
+   XCALENDAR_LIBDIR = $(LIBDIR)/xcalendar
+           LIBFILES = larrow.xbm qmark.xbm quit.xbm rarrow.xbm xcalendar.hlp
+   # Comment out the following two lines for the Motif version
+ ! LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
+     EXTRA_DEFINES = -DATHENA
+   # Uncomment the following two lines for the Motif version
+   # LOCAL_LIBRARIES = -L/usr/local/Motif/lib -lXm $(XMULIB) $(XTOOLLIB) $(XLIB)
+ --- 1,7 ----
+   XCALENDAR_LIBDIR = $(LIBDIR)/xcalendar
+           LIBFILES = larrow.xbm qmark.xbm quit.xbm rarrow.xbm xcalendar.hlp
+   # Comment out the following two lines for the Motif version
+ ! LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) -lxpg4
+     EXTRA_DEFINES = -DATHENA
+   # Uncomment the following two lines for the Motif version
+   # LOCAL_LIBRARIES = -L/usr/local/Motif/lib -lXm $(XMULIB) $(XTOOLLIB) $(XLIB)
+ ***************
+ *** 46,54 ****
+   install:: XCal-uj.ad
+   	MakeDir($(LIBDIR)/ja_JP.EUC/app-defaults)
+   	$(INSTALL) -c $(INSTAPPFLAGS) XCal-uj.ad $(LIBDIR)/ja_JP.EUC/app-defaults/XCalendar
+ - 
+ - #	MakeDir($(LIBDIR)/ja_JP.ujis/app-defaults)
+ - #	$(INSTALL) -c $(INSTAPPFLAGS) XCal-uj.ad $(LIBDIR)/ja_JP.ujis/app-defaults/XCalendar
+   
+   clean::
+   	$(RM) XCal-uj.ad
+ --- 46,51 ----
diff -rcN xcalendar.orig/pkg/COMMENT xcalendar/pkg/COMMENT
*** xcalendar.orig/pkg/COMMENT	Wed Jul 10 21:18:34 1996
--- xcalendar/pkg/COMMENT	Tue Jul 22 18:33:33 1997
***************
*** 1 ****
! calendar with a notebook for X11
--- 1 ----
! A calendar with a notebook for X11 (internationarized version)
diff -rcN xcalendar.orig/pkg/DESCR xcalendar/pkg/DESCR
*** xcalendar.orig/pkg/DESCR	Wed Jul 10 21:18:34 1996
--- xcalendar/pkg/DESCR	Sat Jan 11 11:31:30 1997
***************
*** 4,7 ****
  Just type `xcalendar [month [year]]' on command line.
  If month and year are not provided on the command line they are 
  assumed to be current.
! 					MITA Yoshio <mita@jp.FreeBSD.org>
--- 4,10 ----
  Just type `xcalendar [month [year]]' on command line.
  If month and year are not provided on the command line they are 
  assumed to be current.
! 
! Note: This program is internationarized but only 
! app-defaults files for English (C) and Japanese (ja_JP.EUC) are included.
! Let's add another locales!
diff -rcN xcalendar.orig/pkg/PLIST xcalendar/pkg/PLIST
*** xcalendar.orig/pkg/PLIST	Wed Jul 10 21:18:34 1996
--- xcalendar/pkg/PLIST	Sat Jan 11 11:31:30 1997
***************
*** 1,4 ****
--- 1,5 ----
  bin/xcalendar
+ lib/X11/ja_JP.EUC/app-defaults/XCalendar
  lib/X11/app-defaults/XCalendar
  lib/X11/xcalendar/larrow.xbm
  lib/X11/xcalendar/qmark.xbm
----
MITA Yoshio
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707220937.SAA02667>