From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: bug#20889: Tkinter moved to separate output Date: Mon, 16 Nov 2015 12:44:53 +0100 Message-ID: References: <8def219fd20047742c102943aaf6dea7@openmailbox.org> <87ziyjxtkp.fsf@gnu.org> <87k2picp2z.fsf_-_@gnu.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]:48839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyIEX-0000ly-Df for bug-guix@gnu.org; Mon, 16 Nov 2015 06:46:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyIEU-0005s1-7Q for bug-guix@gnu.org; Mon, 16 Nov 2015 06:46:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:49837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyIEU-0005rw-4c for bug-guix@gnu.org; Mon, 16 Nov 2015 06:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZyIET-0001cK-NE for bug-guix@gnu.org; Mon, 16 Nov 2015 06:46:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87k2picp2z.fsf_-_@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Guix-devel , iyzsong@member.fsf.org, 20889@debbugs.gnu.org On Mon, Nov 16, 2015 at 9:42 AM, Ludovic Court=C3=A8s wrote: > In =E2=80=98tk-update=E2=80=99 the =E2=80=98python=E2=80=99 packages now = have a separate =E2=80=98tk=E2=80=99 output for > Tkinter (adding ~50 MiB to the closure of Python.) I=E2=80=99ve tested i= t along > these lines, for 2.x and 3.x: > > guix environment --ad-hoc python python:tk --pure -- python > > import Tkinter > > root =3D Tkinter.Tk() > > One thing I haven=E2=80=99t checked is whether some packages need to have= an > additional python:tk input. Matplotlib maybe? Federico? Yes, given that the back-end currently used by matploblib doesn't work, I would change that by using 'Tkinter'. Since you are at it, I would also change the default back-end by changing 'GTK3Agg' to 'TkAgg' in the following snippet: (lambda (port) (format port "[rc_options]~% backend =3D GTK3Agg~%"))))) I'm not convinced that having 2 versions of packages (a "normal" and a "minimal" one) is a good idea. The reason is that you often end up downloading both instead of just one. As one example, I just downloaded 'vlc' and I noticed that it downloaded both 'cups' and 'cups-minimal'. Similarly, for python, anyone needing 'Tkinter' will end up with 2 versions in the store. Regards, Fede