Subject: gnome-vfs2 needs USE_MSGFMT_PLURALS
To: None <tech-pkg@NetBSD.org>
From: Leonard Schmidt <lems@gmx.net>
List: tech-pkg
Date: 10/08/2005 13:08:16
--XOIedfhf+7KOe/yw
Content-Type: multipart/mixed; boundary="huq684BweRXVnRxX"
Content-Disposition: inline


--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hello,

This is on NetBSD/i386 2.1_RC5 (patch attached).

[...]
Making all in po
gmake[2]: Entering directory `/usr/pkgsrc/sysutils/gnome-vfs2/work/gnome-vfs-2.12.1.1/po'
file=`echo af | sed 's,.*/,,'`.gmo \
  && rm -f $file && /usr/bin/msgfmt -o $file af.po
  af.po:517: keyword "msgid_plural" unknown
  af.po:516: missing `msgstr' section
  af.po:517: parse error
  found 3 fatal errors
  gmake[2]: *** [af.gmo] Error 1
  gmake[2]: Leaving directory `/usr/pkgsrc/sysutils/gnome-vfs2/work/gnome-vfs-2.12.1.1/po'
  gmake[1]: *** [all-recursive] Error 1
  gmake[1]: Leaving directory `/usr/pkgsrc/sysutils/gnome-vfs2/work/gnome-vfs-2.12.1.1'
  gmake: *** [all] Error 2
  *** Error code 2
[...]

--huq684BweRXVnRxX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="gnome-vfs2_MSGFMT_PLURALS.diff"
Content-Transfer-Encoding: quoted-printable

Index: Makefile.common
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /cvsroot/pkgsrc/sysutils/gnome-vfs2/Makefile.common,v
retrieving revision 1.22
diff -u -b -r1.22 Makefile.common
--- Makefile.common	7 Oct 2005 16:10:44 -0000	1.22
+++ Makefile.common	8 Oct 2005 10:58:39 -0000
@@ -21,6 +21,7 @@
 USE_PKGLOCALEDIR=3D	YES
 USE_TOOLS+=3D		gmake pkg-config
 USE_LIBTOOL=3D		YES
+USE_MSGFMT_PLURALS=3D	YES
 USE_PKGINSTALL=3D		YES
=20
 CONFIGURE_ARGS+=3D	--disable-cdda

--huq684BweRXVnRxX--

--XOIedfhf+7KOe/yw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (NetBSD)

iD8DBQFDR8TAeffumNo0U88RApYXAJwMEj3ASuxr6T9PgMbw/0pO8mHTtgCeNUGK
wUkhxm3AG1f4BKRoeeM9uuU=
=KTIG
-----END PGP SIGNATURE-----

--XOIedfhf+7KOe/yw--