From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MFWYq-0005lR-L8 for garchives@archives.gentoo.org; Sat, 13 Jun 2009 16:58:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F702E0383; Sat, 13 Jun 2009 16:58:31 +0000 (UTC) Received: from swip.net (mailfe01.tele2.it [212.247.154.13]) by pigeon.gentoo.org (Postfix) with ESMTP id 855CBE0383 for ; Sat, 13 Jun 2009 16:58:30 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=alJ_S7iUQ6QA:10 a=xEZzMtKnSsUA:10 a=xe8BsctaAAAA:8 a=fd3qZeYbQt8tWbD9UVsA:9 a=2xwJNEPcKQ0P4ZvDvK8A:7 a=Iitt4YLcM-EtwQEGmtpXdlB0-yoA:4 Received: from [93.149.166.170] (account cxu-8de-gew@tele2.it HELO [192.168.1.29]) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 204117821 for gentoo-dev@lists.gentoo.org; Sat, 13 Jun 2009 18:58:29 +0200 Received-SPF: neutral receiver=mailfe01.swip.net; client-ip=93.149.166.170; envelope-from=mescalinum@gentoo.org Message-ID: <4A33DAB3.3040802@gentoo.org> Date: Sat, 13 Jun 2009 18:58:27 +0200 From: Federico Ferri User-Agent: Thunderbird 2.0.0.21 (X11/20090503) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Policy regarding enabling IUSE defaults application in ebuild References: <200906082212.23847.reavertm@poczta.fm> In-Reply-To: <200906082212.23847.reavertm@poczta.fm> X-Enigmail-Version: 0.95.7 OpenPGP: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 56700eff-d2b6-461f-928f-20e3458c6f09 X-Archives-Hash: 780e72e00617158578fc367942c64072 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Maciej Mrozowski wrote: > Hi > > I'd like to raise your attention on problem of in my opinion overusing IUSE > defaults in various packages. > Currently there seems to be no policy whatsoever at least advising when it's > appropriate to add + and when not, so it's just up to developer's > taste. > While it usually doesn't do any particular harm (but I guess security and > prefix/alt team won't agree on this) - insanely enabling everything by default > is not the best idea in my opinion. > Of course we need an example. Let's have a look at latest stable media- > video/mplayer-1.0_rc2_p20090322 ebuild: > > IUSE="3dnow 3dnowext +a52 +aac aalib +alsa altivec +amrnb +amrwb arts +ass > bidi bindist bl +cddb +cdio cdparanoia -cpudetection -custom-cflags > -custom-cpuopts debug dga +dirac directfb doc +dts +dv dvb +dvd +dvdnav dxr3 > +enca +encode esd +faac +faad fbcon ftp gif ggi -gtk +iconv ipv6 jack > joystick jpeg kernel_linux ladspa libcaca lirc +live lzo mad md5sum +mmx > mmxext mng +mp2 +mp3 musepack nas +nemesi +network openal +opengl oss png pnm > pulseaudio pvr +quicktime radio +rar +real +rtc -samba > +schroedinger sdl +speex sse sse2 ssse3 svga teletext tga +theora +tremor > +truetype +unicode v4l v4l2 vdpau vidix +vorbis -win32codecs +X +x264 xanim > xinerama +xscreensaver +xv +xvid xvmc zoran" moreover, there are certain USE flags that do not make sense in IUSE="+". for example alsa: if I use alsa, I want alsa globally enable in /etc/make.conf if I not use it (e.g. not in my profile) why should I explicitly put - -alsa in $USE? this may lead to an explosion of - flags in $USE. probably this example falls back into the "flag which pulls dependencies" case, but it is one more argument. configure scripts already have default values for the configure switches, and ebuilds should try to follow the defaults by putting + where needed, but with some exceptions (maybe on a flag-by-flag basis, or -more generally- by use-case, like you just wrote) - -- mescalinum@g.o -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoz2rMACgkQV/B5axfzrPs1dACeKIfPZ6XMRlD4Nf6L5s9WyCw5 uukAoKVmF2OMSykUhKwQ7aR5vR4j/+Nz =LuUh -----END PGP SIGNATURE-----