Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2004 13:50:31 +0100
From:      "Franz Klammer" <klammer@webonaut.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/60891: sysutils/gdesklets-sysinfo: make i18n support work
Message-ID:  <1073220621@ds9.webonaut.com>
Resent-Message-ID: <200401041300.i04D0XtK025579@freefall.freebsd.org>

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

>Number:         60891
>Category:       ports
>Synopsis:       sysutils/gdesklets-sysinfo: make i18n support work
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 04 05:00:32 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Franz Klammer
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:


System: FreeBSD ds9.webonaut.com 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Mon Dec 29 15:29:56 CET 2003     root@ds9.webonaut.com:/usr/obj/usr/src/sys/DS9 i386


>Description:


install the local-files with the correct domain-name as defined in the sensor script
bump PORTREVISION


>How-To-Repeat:





>Fix:


--- gdesklets-sysinfo.diff begins here ---
diff -Nur gdesklets-sysinfo.orig/Makefile gdesklets-sysinfo/Makefile
--- gdesklets-sysinfo.orig/Makefile	Sun Jan  4 13:36:41 2004
+++ gdesklets-sysinfo/Makefile	Sun Jan  4 13:37:29 2004
@@ -7,6 +7,7 @@
 
 PORTNAME=	sysinfo
 PORTVERSION=	0.23
+PORTREVISION=	1
 CATEGORIES=	sysutils gnome
 MASTER_SITES=	http://gdesklets.gnomedesktop.org/files/
 PKGNAMEPREFIX=	gdesklets-
@@ -41,8 +42,8 @@
 	@${INSTALL_DATA} ${WRKSRC}/${NAME}/gfx/*.png ${DATADIR}/gdesklets/Sensors/${NAME}/gfx/
 .for ii in ${LANG}
 	@${MKDIR} ${DATADIR}/gdesklets/Sensors/${NAME}/locale/${ii}/LC_MESSAGES
-	@${INSTALL_DATA} ${WRKSRC}/${NAME}/locale/${ii}/LC_MESSAGES/*.mo \
-		${DATADIR}/gdesklets/Sensors/${NAME}/locale/${ii}/LC_MESSAGES/
+	@${INSTALL_DATA} ${WRKSRC}/${NAME}/locale/${ii}/LC_MESSAGES/gdesklets.mo \
+		${DATADIR}/gdesklets/Sensors/${NAME}/locale/${ii}/LC_MESSAGES/sysinfo-sensor.mo
 .endfor
 
 post-install:
diff -Nur gdesklets-sysinfo.orig/pkg-plist gdesklets-sysinfo/pkg-plist
--- gdesklets-sysinfo.orig/pkg-plist	Sun Jan  4 13:36:48 2004
+++ gdesklets-sysinfo/pkg-plist	Sun Jan  4 13:38:00 2004
@@ -17,14 +17,14 @@
 share/gnome/gdesklets/Sensors/SysInfo/gfx/hdd.png
 share/gnome/gdesklets/Sensors/SysInfo/gfx/memory.png
 share/gnome/gdesklets/Sensors/SysInfo/gfx/network.png
-share/gnome/gdesklets/Sensors/SysInfo/locale/de/LC_MESSAGES/gdesklets.mo
-share/gnome/gdesklets/Sensors/SysInfo/locale/es/LC_MESSAGES/gdesklets.mo
-share/gnome/gdesklets/Sensors/SysInfo/locale/fr/LC_MESSAGES/gdesklets.mo
-share/gnome/gdesklets/Sensors/SysInfo/locale/pt/LC_MESSAGES/gdesklets.mo
-share/gnome/gdesklets/Sensors/SysInfo/locale/sq/LC_MESSAGES/gdesklets.mo
-share/gnome/gdesklets/Sensors/SysInfo/locale/sr/LC_MESSAGES/gdesklets.mo
-share/gnome/gdesklets/Sensors/SysInfo/locale/sr@Latn/LC_MESSAGES/gdesklets.mo
-share/gnome/gdesklets/Sensors/SysInfo/locale/sv/LC_MESSAGES/gdesklets.mo
+share/gnome/gdesklets/Sensors/SysInfo/locale/de/LC_MESSAGES/sysinfo-sensor.mo
+share/gnome/gdesklets/Sensors/SysInfo/locale/es/LC_MESSAGES/sysinfo-sensor.mo
+share/gnome/gdesklets/Sensors/SysInfo/locale/fr/LC_MESSAGES/sysinfo-sensor.mo
+share/gnome/gdesklets/Sensors/SysInfo/locale/pt/LC_MESSAGES/sysinfo-sensor.mo
+share/gnome/gdesklets/Sensors/SysInfo/locale/sq/LC_MESSAGES/sysinfo-sensor.mo
+share/gnome/gdesklets/Sensors/SysInfo/locale/sr/LC_MESSAGES/sysinfo-sensor.mo
+share/gnome/gdesklets/Sensors/SysInfo/locale/sr@Latn/LC_MESSAGES/sysinfo-sensor.mo
+share/gnome/gdesklets/Sensors/SysInfo/locale/sv/LC_MESSAGES/sysinfo-sensor.mo
 @dirrm share/gnome/gdesklets/Sensors/SysInfo/gfx
 @dirrm share/gnome/gdesklets/Sensors/SysInfo/locale/de/LC_MESSAGES
 @dirrm share/gnome/gdesklets/Sensors/SysInfo/locale/de
--- gdesklets-sysinfo.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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