Hi! On Sat, 2009-11-21 at 04:27:38 -0600, Yuri Vasilevski wrote: > As pointed out by guillem in: > http://lists.debian.org/debian-dpkg/2009/11/msg00071.html > > Gentoo has an obsolete patch for nls support. > I changed that patch so now users can configure LINGUAS environment > variable to choose which locals and translations to install. > > This is common practice in Gentoo so that users can select which > locales they want installed by the many ebuilds that support this > feature respect.
Right, and it's already supported for the rest of the translations by way of configure. > The patch for this is fairly trivial and I hope will get accepted :-) > diff -Naurp dpkg-1.15.5.2.orig/man/Makefile.am dpkg-1.15.5.2/man/Makefile.am > --- dpkg-1.15.5.2.orig/man/Makefile.am 2009-11-18 07:28:44.000000000 > +0000 > +++ dpkg-1.15.5.2/man/Makefile.am 2009-11-21 07:14:37.000000000 +0000 > @@ -36,7 +36,7 @@ update-po: > $(PO4A) $(PO4A_BUILD_OPTS) --force po/po4a.cfg > > # Extract the list of languages from the po4a config file. > -LINGUAS = `sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' $(srcdir)/po/po4a.cfg` > +LINGUAS := `sed -ne 's/^.*\[po4a_langs\] \(.*\)$$/\1/p' > $(srcdir)/po/po4a.cfg` > > install-data-local: install-data-loc...@use_po4a@ Although I don't see how this could work, as the environment variables is not going to be able to override either assignment type. I've used ?= instead, and taken care of not changing behaviour on “make dist”. <http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=4f4f2cbd> This is being uploaded as dpkg 1.15.6, but targetting the Debian experimental suite, so you might want to wait until it hits unstable instead. thanks, guillem -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

