From mboxrd@z Thu Jan 1 00:00:00 1970 From: rennes@openmailbox.org Subject: Re: [PATCH 2/2] gnu: Add gnome-tweak-tool. Date: Sun, 01 May 2016 16:36:45 -0500 Message-ID: <8ccba68d74eb6d537fd2cf9ce8074e38@openmailbox.org> References: <87vb3z3q89.fsf@drakenvlieg.flower> <20160411233524.GA11228@jasmine> <87lh4hs7yx.fsf@drakenvlieg.flower> <20160416013547.GC12389@jasmine> <87vb3gp2uk.fsf@drakenvlieg.flower> <20160417184428.GA21041@jasmine> <87wpnnz22g.fsf@drakenvlieg.flower> <20160424185020.GA7737@jasmine> <87twim7tzd.fsf@drakenvlieg.flower> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awz3J-0006a3-Ee for guix-devel@gnu.org; Sun, 01 May 2016 17:37:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awz37-00067z-IA for guix-devel@gnu.org; Sun, 01 May 2016 17:37:16 -0400 In-Reply-To: <87twim7tzd.fsf@drakenvlieg.flower> 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: Jan Nieuwenhuizen Cc: guix-devel@gnu.org, =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= On 2016-04-27 14:05, Jan Nieuwenhuizen wrote: > Leo Famulari writes: >=20 > Hi! >=20 > Find attached a new version of gnome-tweak-tool. >=20 >>> Sorry, I still don't understand. Can you explain why you want to=20 >>> remove >>> python2 from the propagated inputs? >>=20 >> Propagated-inputs are silently installed into the user's profile >> alongside the package that propagates them. In this case, installing >> gnome-tweak-tool would also install python2 into the user's profile. >>=20 >> Propagation becomes attractive when the software provided by a package >> does not have a good mechanism for finding its dependencies. For >> example, some software may *only* be able to find a dependency by >> looking on PATH. Gnome-tweak-tool, as far as we know, has this >> limitation for python2. >>=20 >> The problem with propagating inputs is that only one version of a=20 >> given >> package may be installed into a user's profile. This is in contrast to >> "regular" inputs, which are not installed into a user's profile.=20 >> Indeed, >> every package that you install into your profile could refer to a >> different version of, say, libfoo, by linking directly to the various >> libfoos' directories in the store. >>=20 >> So, letting gnome-tweak-tool propagate python2 would prevent a Python >> programmer from choosing which version of python2 they want in their >> profile; they'd be forced to choose between gnome-tweak-tool or their >> desired python2. >>=20 >> Does that make sense? >=20 > That makes sense. Thanks for your explanation! Is this documented > somewhere? I think it should be. >=20 >> An alternative to propagated-inputs is to use a wrapper. Actually, all >> of our packages using the python-build-system are wrapped=20 >> automatically >> [0]. The wrapper makes the dependent packages available in the=20 >> run-time >> environment without polluting the user's profile, while introducing a >> reference to the dependencies into the store directory, which makes=20 >> sure >> that the garbage collector works correctly. >>=20 >> Does that make sense? >=20 > Yes. Moved python to inputs, added python wrapper. >=20 >> Hopefully, I've got that all right =E2=80=94 I'll be happy if somebody= =20 >> clarifies >> or corrects me! >>=20 >> [0] If gnome-tweak-tool did not break convention by using the=20 >> Autotools >> to build Python software, this discussion would not be happening ;) >=20 > Hah! ;-) >=20 > Greetings, > Jan Hi, Now this patch works well for me. Thank you