Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2000 00:53:37 +0900
From:      Akinori MUSHA aka knu <knu@idaemons.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16298: net/gnome-icu: a patch for installing message catalogs
Message-ID:  <8666wm6r26.wl@localhost.local.idaemons.org>

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

>Number:         16298
>Category:       ports
>Synopsis:       net/gnome-icu: a patch for installing message catalogs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 22 08:00:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Akinori MUSHA aka knu
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
A.I.D.
>Environment:

	FreeBSD 3.4-STABLE i386 + ports-current

>Description:

	The current port does not install message catalogs. Include my
patch and they will be installed properly.

-- 
Akinori MUSHA aka knu <knu@idaemons.org> (ICQ number:1684809)
(The maintainer of japanese/gnome-icu)

>How-To-Repeat:

	Apply the attached patch against the current port.

>Fix:

diff -ruN gnome-icu.orig/patches/patch-af gnome-icu/patches/patch-af
--- gnome-icu.orig/patches/patch-af	Thu Jan  1 09:00:00 1970
+++ gnome-icu/patches/patch-af	Sun Jan 23 00:22:54 2000
@@ -0,0 +1,25 @@
+--- po/Makefile.in.in~	Thu Jan 13 14:57:43 2000
++++ po/Makefile.in.in	Sat Jan 22 02:53:16 2000
+@@ -52,8 +52,10 @@
+ POTFILES = \
+ 
+ CATALOGS = @CATALOGS@
+-CATOBJEXT = @CATOBJEXT@
+-INSTOBJEXT = @INSTOBJEXT@
++#CATOBJEXT = @CATOBJEXT@
++CATOBJEXT= .gmo
++#INSTOBJEXT = @INSTOBJEXT@
++INSTOBJEXT= .mo
+ 
+ .SUFFIXES:
+ .SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat
+@@ -116,8 +118,7 @@
+ 	  $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir); \
+ 	fi
+ 	@catalogs='$(CATALOGS)'; \
+-	for cat in $$catalogs; do \
+-	  cat=`basename $$cat`; \
++	for cat in *.gmo; do \
+ 	  case "$$cat" in \
+ 	    *.gmo) destdir=$(gnulocaledir);; \
+ 	    *)     destdir=$(localedir);; \
diff -ruN gnome-icu.orig/pkg/PLIST gnome-icu/pkg/PLIST
--- gnome-icu.orig/pkg/PLIST	Mon Jan 17 08:23:03 2000
+++ gnome-icu/pkg/PLIST	Sun Jan 23 00:29:30 2000
@@ -40,3 +40,16 @@
 @dirrm share/gnome/pixmaps/gnomeicu
 @dirrm share/gnome/help/gnomeicu/C
 @dirrm share/gnome/help/gnomeicu
+share/locale/da/LC_MESSAGES/gnomeicu.mo
+share/locale/de/LC_MESSAGES/gnomeicu.mo
+share/locale/es/LC_MESSAGES/gnomeicu.mo
+share/locale/fr/LC_MESSAGES/gnomeicu.mo
+share/locale/it/LC_MESSAGES/gnomeicu.mo
+share/locale/ja/LC_MESSAGES/gnomeicu.mo
+share/locale/ko/LC_MESSAGES/gnomeicu.mo
+share/locale/no/LC_MESSAGES/gnomeicu.mo
+share/locale/pl/LC_MESSAGES/gnomeicu.mo
+share/locale/pt_BR/LC_MESSAGES/gnomeicu.mo
+share/locale/sv/LC_MESSAGES/gnomeicu.mo
+share/locale/uk/LC_MESSAGES/gnomeicu.mo
+share/locale/tr/LC_MESSAGES/gnomeicu.mo

>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?8666wm6r26.wl>