Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 452840

Summary: =net-misc/remmina-1.0.0_p20121004 ignore LINGUAS setting
Product: Gentoo Linux Reporter: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Component: Current packagesAssignee: Diogo Pereira <sir.suriv>
Severity: enhancement CC: bkohler, floppym, hasufell, pinkbyte, proxy-maint
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on: 571026    
Bug Blocks: 405485, 590838    

Description Andreis Vinogradovs ( slepnoga ) 2013-01-18 14:01:46 UTC
after =net-misc/remmina-1.0.0_p20121004  I see all linguas mo files as intalled

list net-misc/remmina|grep .mo|wc -l
 emerge --info
Portage (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.16.0, 3.6.6-gentoo-4 x86_64)
System uname: Linux-3.6.6-gentoo-4-x86_64-Intel-R-_Pentium-R-_CPU_G620_@_2.60GHz-with-gentoo-2.2
Timestamp of tree: Mon, 14 Jan 2013 09:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo my-dev rion
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe -mtune=native -march=native"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -mtune=native -march=native"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fakeroot fixlafiles merge-sync metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR_OVERLAY="/home/slep/slep/portage /home/slep/rion"
USE="X a52 aac acl acpi alsa amd64 ao apache2 attica autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cdr chm cli conntrack consolekit cracklib crypt cups cxx dbus declarative dhclient dia djvu dri dts dvd dvdr emboss encode exif extras fam fax fbcon ffmpeg fftw firefox flac fontconfig fortran freerdp freetds ftp g3dvl gbm gdbm geonames gif git glamor gles gles1 gles2 gmp google google-gadgets gphoto2 gpm gps graphviz gs gstreamer gtk hpijs iconv icu idn imagemagick inotify iproute2 ipv6 jpeg jpeg2k kde kdepim kerberos kipi kontact kvm lcms ldap lensfun libkms libnotify libusb0 lm_sensors lua lzma mad maildir marble mdnsresponder-compat mercurial minizip mmx mng modemmanager modules mp3 mp4 mpeg mudflap multilib multimedia mysql natspec ncurses netlink networkmanager nfs nls nptl nsplugin offensive ogg opengl openipmi openmp openvg osmesa pam pango parport pch pcre pdf phonon plasma pmu png policykit postscript ppds pppd python qt3support qt4 rdesktop readline rfc3779 rle samba sasl scanner sdl semantic-desktop session slp smp sna spell spidermonkey sse sse2 ssl ssse3 startup-notification svg tcpd threads tiff truetype udev udisks unicode unlock-notify upower usb uxa vdpau vnc vorbis webkit wmf wps wxwidgets x264 xa xcb xcomposite xft xinerama xml xorg xpm xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="hde-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog cpu disk email libvirt match_empty_counter match_hashed match_regex match_timediff match_value notify_desktop notify_email routeros rrdcached sensors target_notification target_replace target_scale target_set" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-32 efi-64 emu multiboot pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="account chaos condition delude dhcpmac fuzzy geoip iface ipmark ipp2p ipv4options length2 logmark lscan pknock psd quota2 rawnat steal sysrq tarpit dnetmap echo gradm"
Comment 1 Sergey Popov gentoo-dev 2013-01-18 15:29:38 UTC
Yep, confirm this
Comment 2 Mike Gilbert gentoo-dev 2013-04-01 15:17:52 UTC
*** Bug 464086 has been marked as a duplicate of this bug. ***
Comment 3 Julian Ospald 2013-04-01 15:28:48 UTC
Comment 4 Ben Kohler gentoo-dev 2016-05-31 18:30:19 UTC
FYI this is fixed/merged in upstream git, unfortunately just 2 hours after the 1.2.0_rc13 release was cut.  So it should land in _rc14.
Comment 5 Diogo Pereira 2016-08-02 23:18:59 UTC
Fixed in rc14.
Comment 6 Diogo Pereira 2016-08-02 23:34:57 UTC
Sorry, the upstream fix is in rc14, but it looks like all mo files are still getting installed even with LINGUAS="en". I will have to look into it.
Comment 7 Mike Gilbert gentoo-dev 2016-08-03 01:29:21 UTC
(In reply to Diogo Pereira from comment #6)
> Sorry, the upstream fix is in rc14, but it looks like all mo files are still
> getting installed even with LINGUAS="en". I will have to look into it.

You should either install all languages unconditionally, or convert the ebuild to use the L10N USE_EXPAND instead of LINGUAS.

LINGUAS is being deprecated.
Comment 8 Diogo Pereira 2016-08-18 12:32:15 UTC
My understanding of is that the USE_EXPAND variable LINGUAS is deprecated, but the environment variable LINGUAS is still supposed to control which translations get installed:

"After a transition time for packages to be converted, the LINGUAS
environment variable will maintain the standard gettext behaviour and
will work as expected with all package managers. It controls which
language translations are built and installed."
Comment 9 Diogo Pereira 2016-11-06 21:12:18 UTC
Fixed in 1.2.0_rc16.
Comment 10 Mike Gilbert gentoo-dev 2016-11-06 21:24:43 UTC
(In reply to Diogo Pereira from comment #8)
> "After a transition time for packages to be converted, the LINGUAS
> environment variable will maintain the standard gettext behaviour and
> will work as expected with all package managers. It controls which
> language translations are built and installed."

That text describes the behavior of the gettext autotools macros (po.m4). I doesn't really describe the typical behavior of cmake.