Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2012 20:17:02 GMT
From:      nemysis <nemysis@gmx.ch>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/167534: [PATCH] net-im/pidgin-privacy-please to install in /usr/local/share/locale
Message-ID:  <201205022017.q42KH2TK032238@red.freebsd.org>
Resent-Message-ID: <201205022020.q42KK54K029447@freefall.freebsd.org>

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

>Number:         167534
>Category:       ports
>Synopsis:       [PATCH] net-im/pidgin-privacy-please to install in /usr/local/share/locale
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 02 20:20:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     nemysis
>Release:        FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
FreeBSD 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
net-im/pidgin-privacy-please install locale in

/usr/local/lib/locale


Have added a patch to correct this to install locale in

/usr/local/share/locale

po/Makefile.in.in

-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
+itlocaledir = $(datarootdir)/locale


Now is gettext conditional.


>How-To-Repeat:

>Fix:
This patch fix problem

diff -ruN --exclude=CVS  /usr/ports/net-im/pidgin-privacy-please/ ./pidgin-privacy-please/ > pidgin-privacy-please.diff

Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pidgin-privacy-please.diff
#
echo x - pidgin-privacy-please.diff
sed 's/^X//' >pidgin-privacy-please.diff << 'afb2b717b6733f15870bc34cf0df07c4'
Xdiff -ruN --exclude=CVS /usr/ports/net-im/pidgin-privacy-please/Makefile ./net-im/pidgin-privacy-please/Makefile
X--- /usr/ports/net-im/pidgin-privacy-please/Makefile	2011-08-29 12:21:10.000000000 +0200
X+++ ./net-im/pidgin-privacy-please/Makefile	2012-05-02 21:05:40.000000000 +0200
X@@ -21,8 +21,19 @@
X 
X GNU_CONFIGURE=	yes
X USE_GMAKE=	yes
X-USE_GETTEXT=	yes
X USE_GNOME=	gtk20
X USE_LDCONFIG=	${PREFIX}/lib/pidgin
X 
X+OPTIONS=	NLS		"Enable gettext support" on
X+
X+.include <bsd.port.options.mk>
X+
X+.if defined(WITHOUT_NLS)
X+CONFIGURE_ARGS+=	--disable-nls
X+PLIST_SUB+=	NLS="@comment "
X+.else
X+USE_GETTEXT=	yes
X+PLIST_SUB+=	NLS=""
X+.endif
X+
X .include <bsd.port.mk>
Xdiff -ruN --exclude=CVS /usr/ports/net-im/pidgin-privacy-please/files/patch-po-Makefile.in.in ./net-im/pidgin-privacy-please/files/patch-po-Makefile.in.in
X--- /usr/ports/net-im/pidgin-privacy-please/files/patch-po-Makefile.in.in	1970-01-01 01:00:00.000000000 +0100
X+++ ./net-im/pidgin-privacy-please/files/patch-po-Makefile.in.in	2012-05-02 21:01:54.000000000 +0200
X@@ -0,0 +1,11 @@
X+--- po/Makefile.in.in.orig	2011-08-13 04:58:38.000000000 +0200
X++++ po/Makefile.in.in	2012-05-02 20:59:29.000000000 +0200
X+@@ -34,7 +34,7 @@
X+ datarootdir = @datarootdir@
X+ libdir = @libdir@
X+ DATADIRNAME = @DATADIRNAME@
X+-itlocaledir = $(prefix)/$(DATADIRNAME)/locale
X++itlocaledir = $(datarootdir)/locale
X+ subdir = po
X+ install_sh = @install_sh@
X+ # Automake >= 1.8 provides @mkdir_p@.
Xdiff -ruN --exclude=CVS /usr/ports/net-im/pidgin-privacy-please/pkg-plist ./net-im/pidgin-privacy-please/pkg-plist
X--- /usr/ports/net-im/pidgin-privacy-please/pkg-plist	2011-08-29 12:21:10.000000000 +0200
X+++ ./net-im/pidgin-privacy-please/pkg-plist	2012-05-02 21:12:33.000000000 +0200
X@@ -1,12 +1,4 @@
X-lib/locale/de/LC_MESSAGES/pidgin-privacy-please.mo
X-lib/locale/pl/LC_MESSAGES/pidgin-privacy-please.mo
X-lib/locale/ru/LC_MESSAGES/pidgin-privacy-please.mo
X-lib/pidgin/libpidgin_pp.la
X-lib/pidgin/libpidgin_pp.so
X-@dirrmtry lib/locale/de/LC_MESSAGES
X-@dirrmtry lib/locale/pl/LC_MESSAGES
X-@dirrmtry lib/locale/ru/LC_MESSAGES
X-@dirrmtry lib/locale/de
X-@dirrmtry lib/locale/pl
X-@dirrmtry lib/locale/ru
X-@dirrmtry lib/locale
X+libdata/ldconfig/pidgin-privacy-please
X+%%NLS%%share/locale/de/LC_MESSAGES/pidgin-privacy-please.mo
X+%%NLS%%share/locale/pl/LC_MESSAGES/pidgin-privacy-please.mo
X+%%NLS%%share/locale/ru/LC_MESSAGES/pidgin-privacy-please.mo
afb2b717b6733f15870bc34cf0df07c4
exit



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



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