Subject: pkg/31585: x11/gnome2-terminal needs plural support
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lems@gmx.net>
List: pkgsrc-bugs
Date: 10/14/2005 07:22:00
>Number:         31585
>Category:       pkg
>Synopsis:       x11/gnome2-terminal needs plural support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 14 07:22:00 +0000 2005
>Originator:     Leonard Schmidt
>Release:        2.1_RC5
>Organization:
>Environment:
NetBSD kafka 2.1_RC5 NetBSD 2.1_RC5 (GOLDMUND) #0: Thu Oct 13 13:11:11 GMT 2005  lems@kafka:/usr/src/sys/arch/i386/compile/GOLDMUND i386
>Description:
Yet another package that needs USE_MSGFMT_PLURALS, the usual error (just 
for completeness):

Making all in po
gmake[2]: Entering directory `/usr/pkgsrc/x11/gnome2-terminal/work/gnome-terminal-2.12.0/po'
file=`echo am | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file am.po
am.po:1791: keyword "msgid_plural" unknown
am.po:1790: missing `msgstr' section
am.po:1791: parse error
am.po:2041: keyword "msgid_plural" unknown
am.po:2040: missing `msgstr' section
am.po:2041: parse error
am.po:2392: keyword "msgid_plural" unknown
am.po:2391: missing `msgstr' section
am.po:2392: parse error
found 9 fatal errors
gmake[2]: *** [am.gmo] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/x11/gnome2-terminal/work/gnome-terminal-2.12.0/po'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/x11/gnome2-terminal/work/gnome-terminal-2.12.0'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/gnome2-terminal

>How-To-Repeat:

>Fix:
? work
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/gnome2-terminal/Makefile,v
retrieving revision 1.43
diff -u -b -r1.43 Makefile
--- Makefile	12 Oct 2005 21:58:35 -0000	1.43
+++ Makefile	14 Oct 2005 07:16:27 -0000
@@ -17,6 +17,7 @@
 
 GNU_CONFIGURE=		YES
 USE_DIRS+=		gnome2-1.5
+USE_MSGFMT_PLURALS=	YES
 USE_PKGLOCALEDIR=	YES
 USE_TOOLS+=		gmake perl pkg-config
 USE_LIBTOOL=		YES