Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184050 - media-video/mplayer missing $LINGUAS in IUSE
Summary: media-video/mplayer missing $LINGUAS in IUSE
Status: RESOLVED DUPLICATE of bug 158493
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 184052 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-03 00:58 UTC by Alex Kinnane
Modified: 2007-07-03 07:14 UTC (History)
1 user (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 Alex Kinnane 2007-07-03 00:58:04 UTC
When building mplayer with a $LINGUAS variable set mplayer will build a localized version but this will not be displayed by 'emerge -vp mplayer'


ACTUAL RESULT



It should behave in the same way as other packages that build localized versions like Open Office.

EXPECT RESULT

[ebuild   R   ] app-office/openoffice-2.2.1  USE="cairo cups dbus firefox gnome gstreamer gtk java pam -binfilter -branding -debug -eds -kde -ldap -mono -odk -seamonkey -sound -webdav" LINGUAS="en_GB* -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk* -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB 


I found this by enabling LINGUAS="uk" and then mplayer was built with the ukraine local which was not mentioned in the description before I installed.



Reproducible: Always

Steps to Reproduce:
1.set LINGUAS="uk"
2.emerge -va mplayer
3.NO indication of language usage appears in the emerge description
4. mplayer is built localized

Actual Results:  
x7@Room5 ~ $ emerge -pv mplayer

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-video/mplayer-1.0.20070622-r1  USE="3dnow 3dnowext X a52 aac alsa cdparanoia dvd encode gif gtk iconv jpeg mad mmx mmxext mp3 opengl png quicktime real rtc samba sdl sse sse2 ssse3 theora truetype unicode vorbis x264 xv xvid xvmc -aalib (-altivec) -amrnb -amrwb -arts -bidi -bindist -bl -cddb -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb -dvdnav -enca -esd -fbcon -ftp -ggi -ipv6 -ivtv -jack -joystick -libcaca -lirc -live -livecd -lzo -md5sum -mp2 -musepack -nas -openal -oss -pnm -radio -rar -speex -srt (-svga) -tga -tivo -v4l -v4l2 (-vidix) (-win32codecs) -xanim -xinerama -zoran" VIDEO_CARDS="-mga -s3virge -tdfx -vesa" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB


mplayer is then build localized.

Expected Results:  
x7@Room5 ~ $ emerge -pv openoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-office/openoffice-2.2.1  USE="cairo cups dbus firefox gnome gstreamer gtk java pam -binfilter -branding -debug -eds -kde -ldap -mono -odk -seamonkey -sound -webdav" LINGUAS="en_GB* -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk* -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB


Here the openoffice build displays the LINGUAS values it responds to.
Comment 1 Dawid Węgliński (RETIRED) gentoo-dev 2007-07-03 01:27:36 UTC
Of course i would love -v output then:

* media-video/mplayer-1.0.20070622-r1 {:0} [R] -3dnow -3dnowext X -a52 aac -aalib alsa (-altivec) -amrnb -amrwb -arts -bidi -bindist -bl -cddb -cdparanoia -cpudetection -custom-cflags -debug -dga -directfb -doc -dts -dv -dvb dvd -dvdnav -enca encode esd -fbcon -ftp -ggi gif -gtk iconv ipv6 -ivtv -jack -joystick jpeg -libcaca -lirc -live -livecd -lzo mad -md5sum -mmx -mmxext -mp2 mp3 -musepack -nas -openal opengl oss png -pnm quicktime -radio -rar -real -rtc -samba sdl -speex -srt -sse -sse2 -ssse3 -svga -tga -theora -tivo truetype unicode -v4l -v4l2 -vidix vorbis win32codecs -x264 -xanim -xinerama xv -xvid -xvmc -zoran video_cards: -mga -s3virge -tdfx -vesa linguas: -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN pl -pt -pt_BR -ru -rw -sh_YU -sk -sl -sr_CS -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu

But fortunately i know what $LINGUAS i've set.
Comment 2 Dawid Węgliński (RETIRED) gentoo-dev 2007-07-03 01:28:16 UTC
*** Bug 184052 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-07-03 07:14:31 UTC
That's intended, read the ChangeLog. mplayer doesn't respect LINGUAS properly.

*mplayer-1.0_rc2_pre20070321-r4 (25 Mar 2007)

  25 Mar 2007; Steve Dibb <beandog@gentoo.org>
  +mplayer-1.0_rc2_pre20070321-r4.ebuild:
  - Remove dependency on media-libs/a52dec
  - Fix tdfx use flag (bug 172170)
  - Remove LINGUAS use flags, rely on variable from make.conf to set languages,
  add notice of special ordering
  - Fix CPU optimization use flags ( bug 155232 )
  - Remove -j1 from MAKEOPTS ( bug 86245 )


*** This bug has been marked as a duplicate of bug 158493 ***