Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90853 - xine-lib doesn't enable xine use flag
Summary: xine-lib doesn't enable xine use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-29 06:49 UTC by Dick Marinus
Modified: 2005-05-01 06:54 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 Dick Marinus 2005-04-29 06:49:23 UTC
I've got xine-ui and xine-lib installed but the xine use flag isn't automatically enabled (like ie. cups)

Reproducible: Always
Steps to Reproduce:
1. emerge xine-ui xine-lib
2. emerge -vp 
3. These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-sound/amarok-1.2.3  +arts -debug +flac +gstreamer +kde +kdeenablefinal +mad -mysql -noamazon +oggvorbis +opengl +visualization -xine* +xinerama -xmms 0 kB
Actual Results:  
xine use flag is disabled

Expected Results:  
enable the use flag automatically, like cups do.

Portage 2.0.51.20-r5 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11.7-dm0 i686)
=================================================================
System uname: 2.6.11.7-dm0 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.2
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks maketest sandbox sfperms strict
test userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="nl_NL@euro"
LINGUAS="nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-overlay"
SYNC="rsync://routi.marinus/gentoo-portage"
USE="x86 X aalib alsa apm arts avi bash-completion berkdb bitmap-fonts bluetooth
cdparanoia crypt cscope cups curl directfb dvd emboss encode fam flac foomaticdb
fortran gd gdbm gif gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jpeg
junit kde kdeenablefinal ldap libg++ libwww mad mikmod mmx motif mp3 mpeg
ncurses network nls ogg oggvorbis opengl pam pdflib perl plotutils png python qt
quicktime readline samba sdl slang spell sse ssl svg tcltk tcpd tetex tiff
truetype truetype-fonts type1-fonts vorbis xinerama xml2 xv xvid zlib linguas_nl"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-29 06:58:32 UTC
ebuilds never enable use flags, that's your job
Comment 2 Dick Marinus 2005-04-29 07:26:24 UTC
I've searched and I think you are wrong.

When I add "xine media-libs/xine-lib" to /usr/portage/profiles/base/use.defaults it seems to do what I want.

Please excuse me when I'm wrong...
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-29 07:40:09 UTC
No and no. The profiles do not directly relate to ebuilds and everything you change in /usr/portage/ will be reverted with the next `emerge --sync`. We have extensive documentation, please read it.
-> http://www.gentoo.org/doc/en/index.xml?catid=gentoo
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-29 07:41:12 UTC
.
Comment 5 Dick Marinus 2005-04-29 08:00:33 UTC
Then maybe the documentation needs to be updated, from chaper "Inheriting USE-flags" on http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=2

"Some packages don't only listen to USE-flags, but also provide USE-flags. When you install such a package, the USE-flag they provide is added to your USE setting. To view the list of packages that provide a USE-flag, check /etc/make.profile/use.defaults and the use.defaults files of the parent profiles."

That doesn't comply with your reply "ebuilds never enable use flags"

I'll restate my question:

Could someone please add the inherited USE flag for xine-lib?

BTW. this is the last time I will reopen this bug.
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-29 10:38:43 UTC
Please excuse, you're right. A feature that has to die...
Comment 7 Dick Marinus 2005-04-30 03:59:45 UTC
seemant, you've recently altered use.defaults, how do you think about the future of this feature?
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-05-01 06:54:56 UTC
Fixed in cvs, thanks.