From mboxrd@z Thu Jan 1 00:00:00 1970 From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) Subject: Re: [PATCH 1/5] gnu: gtk+: Add "bin" output. Date: Sun, 14 Aug 2016 14:21:21 +0800 Message-ID: <87vaz327mm.fsf@member.fsf.org> References: <20160806104616.13089-1-iyzsong@gmail.com> <20160814022153.GC28609@jasmine> <20160813215107.70e34fb5@openmailbox.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYone-0008Ad-Cx for guix-devel@gnu.org; Sun, 14 Aug 2016 02:21:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYona-0008Tr-7D for guix-devel@gnu.org; Sun, 14 Aug 2016 02:21:33 -0400 Received: from mail2.openmailbox.org ([62.4.1.33]:48263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYona-0008Tn-13 for guix-devel@gnu.org; Sun, 14 Aug 2016 02:21:30 -0400 In-Reply-To: <20160813215107.70e34fb5@openmailbox.org> (Eric Bavier's message of "Sat, 13 Aug 2016 21:51:07 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Eric Bavier Cc: guix-devel@gnu.org Eric Bavier writes: > On Sat, 13 Aug 2016 22:21:53 -0400 > Leo Famulari wrote: > >> On Sat, Aug 06, 2016 at 06:46:12PM +0800, =E5=AE=8B=E6=96=87=E6=AD=A6 wr= ote: >> > * gnu/packages/gtk.scm (gtk+)[outputs]: New field. >> > --- >> > gnu/packages/gtk.scm | 1 + >> > 1 file changed, 1 insertion(+) >> >=20 >> > diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm >> > index 21365b9..5c42053 100644 >> > --- a/gnu/packages/gtk.scm >> > +++ b/gnu/packages/gtk.scm >> > @@ -624,6 +624,7 @@ application suites.") >> > (base32 >> > "157nh9gg0p2avw765hrnkvr8lsh2w811397yxgjv6q5j4fzz6d1q")) >> > (patches (search-patches "gtk3-respect-GUIX_GTK3_PATH.pat= ch")))) >> > + (outputs '("out" "bin" "doc")) >> > (propagated-inputs >> > `(("at-spi2-atk" ,at-spi2-atk) >> > ("atk" ,atk)=20=20 >>=20 >> What effect does this have? >>=20 >> Does Guix know to put something into the 'bin' output? > > Yes, the gnu-build-system will automatically pass '--bindir' to > 'configure' if a "bin" output is present. Yes, this will put 'gtk-update-icon-cache', 'gtk-encode-symbolic-svg', 'gtk3-dome', etc in the "bin" output. > > However, should these outputs not instead be added to the 'gtk+-2' > package that 'gtk+' inherits from? Yeah, but do it to 'gtk+-2' will fail with cycle references between its "bin" and "out". So I just leave it untouched.