From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5AEA8138010 for ; Fri, 31 Aug 2012 21:59:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06344E0698; Fri, 31 Aug 2012 21:59:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9866CE064C for ; Fri, 31 Aug 2012 21:58:51 +0000 (UTC) Received: from [192.168.26.5] (ip98-164-193-252.oc.oc.cox.net [98.164.193.252]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id E339933D939 for ; Fri, 31 Aug 2012 21:58:50 +0000 (UTC) Message-ID: <50413399.4030000@gentoo.org> Date: Fri, 31 Aug 2012 14:58:49 -0700 From: Zac Medico User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:14.0) Gecko/20120802 Thunderbird/14.0 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] HDEPEND (host dependencies for cross-compilation) for EAPI 5? References: <50411874.4060204@gentoo.org> <20120831214611.088b3f50@googlemail.com> <5041288A.6030802@gentoo.org> In-Reply-To: X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 5d1a4da8-4b7a-45a0-a0e7-c8c75dba3338 X-Archives-Hash: b29e0cc0f743af3c2dab258febc2062a On 08/31/2012 02:40 PM, Fabio Erculiani wrote: > I like this as well. > However, since we're going to introduce a *DEPEND split, how about > splitting PDEPEND as well? > > As far as I've seen, PDEPEND has two (or more?) different meanings: > - advisory (for instance, informing users about plugins) > - cycle-breaking to help the dependency solver > > Would it be possible to add support for ODEPEND (as in "optional" > dependencies -- I don't really care about the variable name) as well? > This would be quite beneficial under certain circumstances. One of > these is when ebuilds are shipped with PDEPENDs which are not required > at runtime nor for cycle-breaking... > > Another scenario in where ODEPEND would be nice to have is with > systemd init files pulled in by USE=systemd (and generally use? ( > sys-apps/systemd ) in *DEPEND). Providing full systemd support for all > the packages without forcing users to have it installed, given that > openrc is the de-facto standard init system in Gentoo (and we don't > have any openrc? ( sys-apps/openrc )), would be a nice features for > binpkg repos. Users could then choose to enable or disable ODEPEND > during dependencies calculation via make.conf or argv. > > I don't want to diverge too much from the HDEPEND discussion, but I > think that if we're going to split *DEPEND, it might be a good > opportunity to do it right _once_ and _for all_. For optional dependencies, I'm pretty happy with the "runtime-switchable USE flags" proposal: https://gist.github.com/2945569 -- Thanks, Zac