From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#20889: Tkinter moved to separate output Date: Sun, 29 Nov 2015 23:09:15 +0100 Message-ID: <87two4e9v8.fsf__42874.7005215429$1448835020$gmane$org@gnu.org> References: <8def219fd20047742c102943aaf6dea7@openmailbox.org> <87ziyjxtkp.fsf@gnu.org> <87k2picp2z.fsf_-_@gnu.org> <87a8qe85ku.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3AAa-0001J6-VN for bug-guix@gnu.org; Sun, 29 Nov 2015 17:10:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3AAW-0007Vo-7e for bug-guix@gnu.org; Sun, 29 Nov 2015 17:10:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3AAW-0007Vg-4H for bug-guix@gnu.org; Sun, 29 Nov 2015 17:10:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a3AAV-0000SA-G5 for bug-guix@gnu.org; Sun, 29 Nov 2015 17:10:03 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Federico Beffa's message of "Mon, 16 Nov 2015 14:16:54 +0100") 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: Federico Beffa Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Guix-devel , iyzsong@member.fsf.org, 20889@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Federico Beffa skribis: > On Mon, Nov 16, 2015 at 1:57 PM, Ludovic Court=C3=A8s wrot= e: >> Federico Beffa skribis: >>> 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~%"))))) >> >> OTOH I see that Matploblib already depends on GTK+ 3.x and >> python-pygobject, so maybe it=E2=80=99s best to stick to GTK+ by default? > > Unfortunately, the back-ends based on GTK+ are broken and I didn't > manage to find how to fix the problem. > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20888 > > That's why I'm looking forward to get Tkinter :-) Could you or someone else test this patch on current master? Thanks in advance! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 39d0751..76bda96 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3190,6 +3190,7 @@ transcendental functions).") `(("python-pyparsing" ,python-pyparsing) ("python-pygobject" ,python-pygobject) ("gobject-introspection" ,gobject-introspection) + ("python-tkinter" ,python "tk") ;; The 'gtk+' package (and 'gdk-pixbuf', 'atk' and 'pango' propagated ;; from 'gtk+') provides the required 'typelib' files used by ;; 'gobject-introspection'. The location of these files is set with the @@ -3244,7 +3245,7 @@ transcendental functions).") (call-with-output-file "setup.cfg" (lambda (port) (format port "[rc_options]~% -backend = GTK3Agg~%"))))) +backend = TkAgg~%"))))) (alist-cons-after 'install 'install-doc (lambda* (#:key outputs #:allow-other-keys) --=-=-=--