vapier 15/08/06 05:47:07 Modified: sane-backends-1.0.25_pre20150628.ebuild ChangeLog Log: Add USE=nls to control translations, and clean up $LINGUAS processing. (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Revision Changes Path 1.4 media-gfx/sane-backends/sane-backends-1.0.25_pre20150628.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.25_pre20150628.ebuild?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.25_pre20150628.ebuild?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.25_pre20150628.ebuild?r1=1.3&r2=1.4 Index: sane-backends-1.0.25_pre20150628.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.25_pre20150628.ebuild,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sane-backends-1.0.25_pre20150628.ebuild 30 Jul 2015 08:58:23 -0000 1.3 +++ sane-backends-1.0.25_pre20150628.ebuild 6 Aug 2015 05:47:07 -0000 1.4 @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.25_pre20150628.ebuild,v 1.3 2015/07/30 08:58:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.25_pre20150628.ebuild,v 1.4 2015/08/06 05:47:07 vapier Exp $ EAPI="5" @@ -94,7 +94,7 @@ umax_pp xerox_mfp" -IUSE="avahi doc gphoto2 ipv6 threads usb v4l xinetd snmp systemd" +IUSE="avahi doc gphoto2 ipv6 nls snmp systemd threads usb v4l xinetd" for backend in ${IUSE_SANE_BACKENDS}; do case ${backend} in @@ -198,6 +198,13 @@ src_configure() { append-flags -fno-strict-aliasing + # if LINGUAS is set, just use the listed and supported localizations. + if [[ ${LINGUAS+set} == "set" ]]; then + mkdir -p po || die + strip-linguas -u po + printf '%s\n' ${LINGUAS} > po/LINGUAS + fi + multilib-minimal_src_configure } @@ -231,16 +238,6 @@ if ! { use sane_backends_canon_pp || use sane_backends_hpsj5s || use sane_backends_mustek_pp; }; then myconf+=( sane_cv_use_libieee1284=no ) fi - # if LINGUAS is set, just use the listed and supported localizations. - if [ "${LINGUAS-NoLocalesSet}" != NoLocalesSet ]; then - mkdir -p po || die - echo > po/LINGUAS - for lang in ${LINGUAS}; do - if [ -a "${S}"/po/${lang}.po ]; then - echo ${lang} >> po/LINGUAS - fi - done - fi # relative path must be used for tests to work properly ECONF_SOURCE=../${MY_P} \ @@ -252,6 +249,7 @@ $(use_with v4l) \ $(use_enable avahi) \ $(use_enable ipv6) \ + $(use_enable nls translations) \ $(use_enable threads pthread) \ "${myconf[@]}" } 1.277 media-gfx/sane-backends/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sane-backends/ChangeLog?rev=1.277&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sane-backends/ChangeLog?rev=1.277&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sane-backends/ChangeLog?r1=1.276&r2=1.277 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v retrieving revision 1.276 retrieving revision 1.277 diff -u -r1.276 -r1.277 --- ChangeLog 30 Jul 2015 08:58:23 -0000 1.276 +++ ChangeLog 6 Aug 2015 05:47:07 -0000 1.277 @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/sane-backends # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.276 2015/07/30 08:58:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.277 2015/08/06 05:47:07 vapier Exp $ + + 06 Aug 2015; Mike Frysinger <[email protected]> + sane-backends-1.0.25_pre20150628.ebuild: + Add USE=nls to control translations, and clean up $LINGUAS processing. 30 Jul 2015; Mike Frysinger <[email protected]> sane-backends-1.0.25_pre20150628.ebuild:
