Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452840 - =net-misc/remmina-1.0.0_p20121004 ignore LINGUAS setting
Summary: =net-misc/remmina-1.0.0_p20121004 ignore LINGUAS setting
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Diogo Pereira
URL:
Whiteboard:
Keywords: UPSTREAM
: 464086 (view as bug list)
Depends on: 571026
Blocks: respect_LINGUAS 590838
  Show dependency tree
 
Reported: 2013-01-18 14:01 UTC by Andreis Vinogradovs ( slepnoga )
Modified: 2016-11-06 21:24 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
49
 emerge --info
Portage 2.1.11.38 (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/cmake:           2.8.10.2-r1
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"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mtune=native -march=native"
CHOST="x86_64-pc-linux-gnu"
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"
DISTDIR="/usr/portage/distfiles"
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"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/slep/slep/portage /home/slep/rion"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
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
https://github.com/FreeRDP/Remmina/pull/178
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 https://www.gentoo.org/support/news-items/2016-06-23-l10n-use_expand.html 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.