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

Bug 406413

Summary: media-sound/audacity-1.3.14 does not respect LINGUAS settings
Product: Gentoo Linux Reporter: Piotr Szymaniak <bugzie>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: RESOLVED FIXED    
Severity: normal CC: boxcars, flash3001, fordfrog, nikoli, richard
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 405485    

Description Piotr Szymaniak 2012-03-01 11:59:51 UTC
When package is emerged, it dumps LC_MESSAGES for many languages, whereas I have the line 'LINGUAS="en"' in make.conf.

Actual Results:
LC_MESSAGES contains unwanted files

Expected Results:
LC_MESSAGES should contain only files for selected LINGUAS


/usr/share/locale/af/LC_MESSAGES/audacity.mo
/usr/share/locale/ar/LC_MESSAGES/audacity.mo
/usr/share/locale/be/LC_MESSAGES/audacity.mo
/usr/share/locale/bg/LC_MESSAGES/audacity.mo
/usr/share/locale/bn/LC_MESSAGES/audacity.mo
/usr/share/locale/bs/LC_MESSAGES/audacity.mo
/usr/share/locale/ca/LC_MESSAGES/audacity.mo
/usr/share/locale/ca@valencia/LC_MESSAGES/audacity.mo
/usr/share/locale/cs/LC_MESSAGES/audacity.mo
/usr/share/locale/cy/LC_MESSAGES/audacity.mo
/usr/share/locale/da/LC_MESSAGES/audacity.mo
/usr/share/locale/de/LC_MESSAGES/audacity.mo
/usr/share/locale/el/LC_MESSAGES/audacity.mo
/usr/share/locale/es/LC_MESSAGES/audacity.mo
/usr/share/locale/eu/LC_MESSAGES/audacity.mo
/usr/share/locale/fa/LC_MESSAGES/audacity.mo
/usr/share/locale/fi/LC_MESSAGES/audacity.mo
/usr/share/locale/fr/LC_MESSAGES/audacity.mo
/usr/share/locale/ga/LC_MESSAGES/audacity.mo
/usr/share/locale/gl/LC_MESSAGES/audacity.mo
/usr/share/locale/he/LC_MESSAGES/audacity.mo
/usr/share/locale/hi/LC_MESSAGES/audacity.mo
/usr/share/locale/hu/LC_MESSAGES/audacity.mo
/usr/share/locale/id/LC_MESSAGES/audacity.mo
/usr/share/locale/it/LC_MESSAGES/audacity.mo
/usr/share/locale/ja/LC_MESSAGES/audacity.mo
/usr/share/locale/ka/LC_MESSAGES/audacity.mo
/usr/share/locale/km/LC_MESSAGES/audacity.mo
/usr/share/locale/ko/LC_MESSAGES/audacity.mo
/usr/share/locale/lt/LC_MESSAGES/audacity.mo
/usr/share/locale/mk/LC_MESSAGES/audacity.mo
/usr/share/locale/my/LC_MESSAGES/audacity.mo
/usr/share/locale/nb/LC_MESSAGES/audacity.mo
/usr/share/locale/nl/LC_MESSAGES/audacity.mo
/usr/share/locale/oc/LC_MESSAGES/audacity.mo
/usr/share/locale/pl/LC_MESSAGES/audacity.mo
/usr/share/locale/pt/LC_MESSAGES/audacity.mo
/usr/share/locale/pt_BR/LC_MESSAGES/audacity.mo
/usr/share/locale/ro/LC_MESSAGES/audacity.mo
/usr/share/locale/ru/LC_MESSAGES/audacity.mo
/usr/share/locale/sk/LC_MESSAGES/audacity.mo
/usr/share/locale/sl/LC_MESSAGES/audacity.mo
/usr/share/locale/sr_RS/LC_MESSAGES/audacity.mo
/usr/share/locale/sv/LC_MESSAGES/audacity.mo
/usr/share/locale/tg/LC_MESSAGES/audacity.mo
/usr/share/locale/tr/LC_MESSAGES/audacity.mo
/usr/share/locale/uk/LC_MESSAGES/audacity.mo
/usr/share/locale/vi/LC_MESSAGES/audacity.mo
/usr/share/locale/zh/LC_MESSAGES/audacity.mo
/usr/share/locale/zh_TW/LC_MESSAGES/audacity.mo
Comment 1 Richard Ash 2012-03-03 19:19:18 UTC
Absolutely correct. If a suitable patch is produced, it's a very good candidate for inclusion in the next release after Audacity 2.0.0.

As per
http://www.gnu.org/software/gettext/manual/html_node/Installers.html
it looks like the configure script needs to be taught to check the LINGUAS variable and put the right value into the Makefile, whilst retaining the default of installing all available languages.
Comment 2 Agostino Sarubbo gentoo-dev 2012-05-25 14:08:05 UTC
(In reply to comment #1)
> Absolutely correct. If a suitable patch is produced, it's a very good
> candidate for inclusion in the next release after Audacity 2.0.0.

Audacity-1.3-14 will be removed ASAP, just to be sure, can you reproduce this bug with latest stable 2.0.0?
Comment 3 Richard Ash 2012-05-26 20:57:31 UTC
(In reply to comment #2)
> Audacity-1.3-14 will be removed ASAP, just to be sure, can you reproduce
> this bug with latest stable 2.0.0?

No patch received.

However I'm not less why this doesn't work, because the offending Makefile is driven by a space-separated list of languages in a variable called LINGUAS, which is set in the Makefile. Problem with how the variable is set in the Makefile vs. the value from the environment?
Comment 4 Michael Perlov 2017-12-11 08:17:50 UTC
Not reproducible with 2.2.1.

L10N="en ru"


--- /usr/share/locale/
--- /usr/share/locale/ru/
--- /usr/share/locale/ru/LC_MESSAGES/
>>> /usr/share/locale/ru/LC_MESSAGES/audacity.mo