From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G8bTf-0001yC-I0 for garchives@archives.gentoo.org; Thu, 03 Aug 2006 11:35:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k73BYB6j017669; Thu, 3 Aug 2006 11:34:11 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k73BWKHc022728 for ; Thu, 3 Aug 2006 11:32:21 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 2B067647C9 for ; Thu, 3 Aug 2006 11:32:20 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13840-18 for ; Thu, 3 Aug 2006 11:32:13 +0000 (UTC) Received: from SRV-EXCHANGE.AUTOonline.local (port-195-158-141-68.static.isionline-dialin.de [195.158.141.68]) by smtp.gentoo.org (Postfix) with ESMTP id 6B50364711 for ; Thu, 3 Aug 2006 11:32:13 +0000 (UTC) Content-class: urn:content-classes:message Subject: [gentoo-dev] Proposal for advanced useflag-syntax Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 3 Aug 2006 13:31:37 +0200 Message-ID: <7B97065F451A23458ED0C63B4CA5A2EA1D2911@SRV-EXCHANGE.AUTOonline.local> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Proposal for advanced useflag-syntax thread-index: Aca28HaF7DA7Z6itRweCu9pQjmYhVQ== From: "Noack, Sebastian" To: X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-0.741 required=5.5 tests=[AWL=1.723, BAYES_00=-2.599, FORGED_RCVD_HELO=0.135] X-Spam-Score: -0.741 X-Spam-Level: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k73BWKHc022728 X-Archives-Salt: 588acb57-1638-47e3-a850-35a9955a4185 X-Archives-Hash: 165109fdb28a2e8c363af0162228030c Hi, following szenario: Somebody installs a kde desktop and because of it is an 80 years old woman ;), she wants to have graphical frontends where ever possible. Today the solution would be to enable the kde, qt, qt3, qt4, gtk, etc. -useflag. But this solution is crappy, because of some ebuilds for example app-office/openoffice have support for multiple widget libraries and because our 80 years old female person has a kde desktop, she would prefer kde-support about gtk+. Today she would have to decide if she wants to make an entry in /etc/portage/package.use for each ebuild that comes with multiple widget library support or if she wants to compile each such ebuild preventive with support for every available widget library, which would be against the sense of useflags. To prevent such szenarios I propose following extended syntax for useflag configuration: (kde || qt4 || qt3 || qt || gtk) (arts || alsa) (asf && win32codecs) This expression would affect that only if a kde-useflag isn't provided the qt4 useflag, becomes used and if this isn't also provided the qt3 useflag becomes used and so on. The same for arts and alsa, where it is nonsense to support both but better to support arts. And the last segment of this expression would affect that win32codecs and asf becomes enabled for each ebuild that supports asf. This would for example be useful in the case of media-libs/xine-lib if you want have asf-support but you want avoid win32codecs as much as possible, because of xine-lib needs win32codecs to support asf. Best Regards Sebasitan Noack -- gentoo-dev@gentoo.org mailing list