From unknown Sun Jun 22 11:33:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#20889 <20889@debbugs.gnu.org> To: bug#20889 <20889@debbugs.gnu.org> Subject: Status: python Tkinter Reply-To: bug#20889 <20889@debbugs.gnu.org> Date: Sun, 22 Jun 2025 18:33:10 +0000 retitle 20889 python Tkinter reassign 20889 guix submitter 20889 Federico Beffa severity 20889 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 24 03:14:23 2015 Received: (at submit) by debbugs.gnu.org; 24 Jun 2015 07:14:23 +0000 Received: from localhost ([127.0.0.1]:55757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7et5-0006NR-9E for submit@debbugs.gnu.org; Wed, 24 Jun 2015 03:14:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50660) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z7et3-0006ND-GY for submit@debbugs.gnu.org; Wed, 24 Jun 2015 03:14:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7esx-0001o6-HX for submit@debbugs.gnu.org; Wed, 24 Jun 2015 03:14:16 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,BODY_URI_ONLY, FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7esx-0001o2-FK for submit@debbugs.gnu.org; Wed, 24 Jun 2015 03:14:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7esw-0003cP-JW for bug-guix@gnu.org; Wed, 24 Jun 2015 03:14:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7esv-0001nY-9N for bug-guix@gnu.org; Wed, 24 Jun 2015 03:14:14 -0400 Received: from mail-ig0-x234.google.com ([2607:f8b0:4001:c05::234]:33789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7esv-0001nJ-4J for bug-guix@gnu.org; Wed, 24 Jun 2015 03:14:13 -0400 Received: by igbqq3 with SMTP id qq3so107479352igb.0 for ; Wed, 24 Jun 2015 00:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=VyQ8ZCork+CLnCXmuK9uQlBf2PX2YXm/vE7rpBXHAv4=; b=O8gOTxRRIYU3qSovP+SxWoSfehSKurdZJUIsJ52JTp1xwKoMCNRls97Ps+wP4RGBM5 gRC9i4Cor2cnydLHsegEZ2cmNs+fZPhbnP5EzYwWsmEQFq7uux5Uwu21T5YhQbnBV8ba ftquVuv8LTLurrY/7iwi7QHixIE+eHpJKlrwWcD867kpgNT0K7CAi98MstnkMXQCrq6k +aEMSgBg3YsVGsa6HPH1MKCeIe1jlCIj7uuJEG5sR1/a6n9xOIT2ICzQuTcju2frHowh /Va9w6VDuAwHULBn3nlpb61q6Tw6t6CfigcZ7xJnI9UqBSnlYzONpMz45ytR2btWIVQo FJuA== MIME-Version: 1.0 X-Received: by 10.42.48.9 with SMTP id q9mr37015969icf.21.1435130052483; Wed, 24 Jun 2015 00:14:12 -0700 (PDT) Received: by 10.79.77.196 with HTTP; Wed, 24 Jun 2015 00:14:12 -0700 (PDT) Date: Wed, 24 Jun 2015 09:14:12 +0200 X-Google-Sender-Auth: 5VO2FC7mQDPYotmLtquH99EKX7k Message-ID: Subject: python Tkinter From: Federico Beffa To: bug-guix@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.3 (/) The python package does not provide Tkinter which is part of the Python Standard Library https://docs.python.org/3/library/tkinter.html?highlight=tkinter#module-tkinter From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 03 20:34:28 2015 Received: (at 20889) by debbugs.gnu.org; 4 Jul 2015 00:34:29 +0000 Received: from localhost ([127.0.0.1]:39065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBBPX-0005Ma-Ud for submit@debbugs.gnu.org; Fri, 03 Jul 2015 20:34:28 -0400 Received: from mail-wg0-f52.google.com ([74.125.82.52]:36564) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBBPV-0005MK-Fb for 20889@debbugs.gnu.org; Fri, 03 Jul 2015 20:34:26 -0400 Received: by wguu7 with SMTP id u7so98627839wgu.3 for <20889@debbugs.gnu.org>; Fri, 03 Jul 2015 17:34:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=extgfVyPmwfkqaM9H2U3JLswuY7afejsiQCub6hM2nY=; b=FHqaZpDXFa63VIt+Wjx/QVpkI1iX8S9dLZz24N9S9w2HrexLtkWhzF0wXMEV741knn 0AyNd9TSmkCnQ3ymViAdwPIvNYojEbXvEe3jvyKccK2xEXta9lZh9BaaAzfuZNMYF4h6 LmudzqQhFsspb6xB9zbT7z3fcv/WD8kr1C/OaWoonIDxlD2idic5Ymh/pTBpL+TSKO0T U3X12vfFUKA1ylSTnX7HWiwWufpfuhiRGvEUT5TYl2RTFduDz1GR4KyAZ24csMeuVHwK Ir2nfAIhv2az6ziQihAcP3ylixmiBbzgPquoUXfIKmN9+MDGQ1tFTq5NRAtQXOt27bvs WxXQ== X-Received: by 10.180.84.202 with SMTP id b10mr32051711wiz.23.1435970059752; Fri, 03 Jul 2015 17:34:19 -0700 (PDT) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by mx.google.com with ESMTPSA id ej3sm34800314wib.24.2015.07.03.17.34.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Jul 2015 17:34:18 -0700 (PDT) Message-ID: <55972A09.9020508@gmail.com> Date: Sat, 04 Jul 2015 02:34:17 +0200 From: Cyril Roelandt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Federico Beffa , 20889@debbugs.gnu.org Subject: Re: bug#20889: python Tkinter References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20889 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 06/24/2015 09:14 AM, Federico Beffa wrote: > The python package does not provide Tkinter which is part of the > Python Standard Library > https://docs.python.org/3/library/tkinter.html?highlight=tkinter#module-tkinter > I think we need to add tcl and tk to the inputs, and add the corresponding "-I" and "-L" flags to the configure flags. The issue is that tk depends on Python (through libx11, which depends on libxcb, which depends on Python), so we end up with a circular dependency leading to what I reported in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20967 . I think we should: - rename the Python package to "python-without-tkinter" or "python-minimal" and use that as a dependency in xorg.scm; - define a "python" package that would inherit the "minimal Python" package and add the dependency on tcl/tk to it. WDYT ? From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 06:16:52 2015 Received: (at 20889) by debbugs.gnu.org; 5 Jul 2015 10:16:52 +0000 Received: from localhost ([127.0.0.1]:40147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBgyi-0008HO-0i for submit@debbugs.gnu.org; Sun, 05 Jul 2015 06:16:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54000) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBgyg-0008HA-Ny for 20889@debbugs.gnu.org; Sun, 05 Jul 2015 06:16:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZBgyY-0007Sy-6s for 20889@debbugs.gnu.org; Sun, 05 Jul 2015 06:16:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZBgyY-0007Ss-37; Sun, 05 Jul 2015 06:16:42 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:34888 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZBgyX-0005xv-8A; Sun, 05 Jul 2015 06:16:41 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Cyril Roelandt Subject: Re: bug#20889: python Tkinter References: <55972A09.9020508@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Messidor an 223 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sun, 05 Jul 2015 12:16:39 +0200 In-Reply-To: <55972A09.9020508@gmail.com> (Cyril Roelandt's message of "Sat, 04 Jul 2015 02:34:17 +0200") Message-ID: <87fv52rjso.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 20889 Cc: 20889@debbugs.gnu.org, Federico Beffa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) Cyril Roelandt skribis: > On 06/24/2015 09:14 AM, Federico Beffa wrote: >> The python package does not provide Tkinter which is part of the >> Python Standard Library >> https://docs.python.org/3/library/tkinter.html?highlight=3Dtkinter#modul= e-tkinter >>=20 > > I think we need to add tcl and tk to the inputs, and add the > corresponding "-I" and "-L" flags to the configure flags. The issue is > that tk depends on Python (through libx11, which depends on libxcb, > which depends on Python), so we end up with a circular dependency > leading to what I reported in > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20967 . > > I think we should: > - rename the Python package to "python-without-tkinter" or > "python-minimal" and use that as a dependency in xorg.scm; > - define a "python" package that would inherit the "minimal Python" > package and add the dependency on tcl/tk to it. How frequently do Python packages rely on the availability of Tkinter? I=E2=80=99m asking because it might be that we could keep the default Python without Tk, and only use the Tk-enabled Python for the few packages that need it, if it=E2=80=99s rare enough. WDYT? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 05 18:39:35 2015 Received: (at 20889) by debbugs.gnu.org; 5 Jul 2015 22:39:35 +0000 Received: from localhost ([127.0.0.1]:41186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBsZT-0006Vx-74 for submit@debbugs.gnu.org; Sun, 05 Jul 2015 18:39:35 -0400 Received: from mail-wg0-f42.google.com ([74.125.82.42]:36116) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZBsZR-0006Vj-8l for 20889@debbugs.gnu.org; Sun, 05 Jul 2015 18:39:33 -0400 Received: by wguu7 with SMTP id u7so125755933wgu.3 for <20889@debbugs.gnu.org>; Sun, 05 Jul 2015 15:39:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=mA15tEAi4zb+cgkChMfx+gSKJlERXitDZyDU9RYqAOc=; b=W/DfovXaxcAarDlVMcVu4k6scQE6+584Os/nqxF5QA37wOULnlg+GAsvcjUCX+TFBO sQUfXMl4q4A+Mr45NDDHp8RYlXyI8T0nPXSmpYHd6H59/7MnSOjltH3OKkh0xyzD+YkF BnWray/qCZhu8Z7F8P2a+eiv3lh1TVy+QInRsOsTcucaRagvNd3YyxJxv4rQOc23JZPK TXF/XlE7dd3FMupkanhmdgr5oINZ676LNS+5z5afo9Qg7AIedOuta2sKQ4Grcba4yVzP 2IZn2LIatSL2jChmoVk97S/VbL78+FD5uA3Z3zAKbscb5FZ4vp8wxYldlk4r+NZXNBVQ dXNA== X-Received: by 10.194.158.42 with SMTP id wr10mr87346179wjb.81.1436135967604; Sun, 05 Jul 2015 15:39:27 -0700 (PDT) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by mx.google.com with ESMTPSA id m4sm24790624wjb.37.2015.07.05.15.39.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Jul 2015 15:39:26 -0700 (PDT) Message-ID: <5599B21D.60008@gmail.com> Date: Mon, 06 Jul 2015 00:39:25 +0200 From: Cyril Roelandt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: =?UTF-8?B?THVkb3ZpYyBDb3VydMOocw==?= Subject: Re: bug#20889: python Tkinter References: <55972A09.9020508@gmail.com> <87fv52rjso.fsf@gnu.org> In-Reply-To: <87fv52rjso.fsf@gnu.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20889 Cc: 20889@debbugs.gnu.org, Federico Beffa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 07/05/2015 12:16 PM, Ludovic Courtès wrote: > I’m asking because it might be that we could keep the default Python > without Tk, and only use the Tk-enabled Python for the few packages that > need it, if it’s rare enough. No, we do not want that. Users who install Python expect to be able to import tkinter, since it is part of the standard library. Cyril. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 06 03:27:32 2015 Received: (at 20889) by debbugs.gnu.org; 6 Jul 2015 07:27:32 +0000 Received: from localhost ([127.0.0.1]:41410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC0oN-0007lz-KE for submit@debbugs.gnu.org; Mon, 06 Jul 2015 03:27:31 -0400 Received: from mail-ie0-f175.google.com ([209.85.223.175]:34604) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC0oM-0007lk-Cw for 20889@debbugs.gnu.org; Mon, 06 Jul 2015 03:27:31 -0400 Received: by iebmu5 with SMTP id mu5so107593930ieb.1 for <20889@debbugs.gnu.org>; Mon, 06 Jul 2015 00:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=x4kgLZeFdTV4fFQvGi4Gw7X9PhR7W5u9Mdz9tKzYJUs=; b=WHVI7Fa6ySt1TEJIVqqDN1bEPy50qrFiDBokkdM+DhcmUm2OzglIxkLxFAo1n+XRht F6PQm8mJw4Ioos4Ip7MhLLRKE5iPXRnJOPQ8spkIrvZdG2sHFx/fLovYABok+btC9Gfj zTpe/cUcbuKycSii+II0BxPPFFP3PrUXi8PuShurX3j1DPPp6QHe25yyWJB2sG8DwUU9 IVjnVVR3n5Md+AkTQRvUSjZz87MNeynihnDJvw0lwnZQZdOeReWH1qjao3hzSZVrxYU4 VKxu82K8WBBHyLjCjYuRb7d4/JjXqlu96C5gjbEWbJXmirL/yi3gBFlKTlDPnJ5+bWq6 /1Rw== MIME-Version: 1.0 X-Received: by 10.107.130.153 with SMTP id m25mr66305434ioi.92.1436167644601; Mon, 06 Jul 2015 00:27:24 -0700 (PDT) Received: by 10.79.15.13 with HTTP; Mon, 6 Jul 2015 00:27:24 -0700 (PDT) In-Reply-To: <5599B21D.60008@gmail.com> References: <55972A09.9020508@gmail.com> <87fv52rjso.fsf@gnu.org> <5599B21D.60008@gmail.com> Date: Mon, 6 Jul 2015 09:27:24 +0200 X-Google-Sender-Auth: YAYapXnQ__3u0FrQLL8XiHvig8s Message-ID: Subject: Re: bug#20889: python Tkinter From: Federico Beffa To: Cyril Roelandt Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20889 Cc: =?UTF-8?Q?Ludovic_Court=C3=A8s?= , 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, Jul 6, 2015 at 12:39 AM, Cyril Roelandt wrote: > On 07/05/2015 12:16 PM, Ludovic Court=C3=A8s wrote: >> I=E2=80=99m asking because it might be that we could keep the default Py= thon >> without Tk, and only use the Tk-enabled Python for the few packages that >> need it, if it=E2=80=99s rare enough. > > No, we do not want that. Users who install Python expect to be able to > import tkinter, since it is part of the standard library. I agree with Cyril. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 06 06:21:28 2015 Received: (at 20889) by debbugs.gnu.org; 6 Jul 2015 10:21:28 +0000 Received: from localhost ([127.0.0.1]:41485 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC3Wh-00043U-R6 for submit@debbugs.gnu.org; Mon, 06 Jul 2015 06:21:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53207) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC3Wf-00043F-DO for 20889@debbugs.gnu.org; Mon, 06 Jul 2015 06:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZC3WU-0003Mo-8P for 20889@debbugs.gnu.org; Mon, 06 Jul 2015 06:21:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZC3WU-0003Mc-4y; Mon, 06 Jul 2015 06:21:14 -0400 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:33269 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZC3WT-0007JU-FI; Mon, 06 Jul 2015 06:21:13 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Federico Beffa Subject: Re: bug#20889: python Tkinter References: <55972A09.9020508@gmail.com> <87fv52rjso.fsf@gnu.org> <5599B21D.60008@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Messidor an 223 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 06 Jul 2015 12:21:11 +0200 In-Reply-To: (Federico Beffa's message of "Mon, 6 Jul 2015 09:27:24 +0200") Message-ID: <87wpyd4meg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 20889 Cc: 20889@debbugs.gnu.org, Cyril Roelandt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) Federico Beffa skribis: > On Mon, Jul 6, 2015 at 12:39 AM, Cyril Roelandt wrot= e: >> On 07/05/2015 12:16 PM, Ludovic Court=C3=A8s wrote: >>> I=E2=80=99m asking because it might be that we could keep the default P= ython >>> without Tk, and only use the Tk-enabled Python for the few packages that >>> need it, if it=E2=80=99s rare enough. >> >> No, we do not want that. Users who install Python expect to be able to >> import tkinter, since it is part of the standard library. > > I agree with Cyril. OK. Then we effectively need to proceed as you suggest: Build python-minimal (which does not depend on Tk), build Tk, and then build python. But we should make sure that python-minimal is not retained, if possible. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 06 07:17:50 2015 Received: (at 20889) by debbugs.gnu.org; 6 Jul 2015 11:17:51 +0000 Received: from localhost ([127.0.0.1]:41593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC4PG-0005hf-JY for submit@debbugs.gnu.org; Mon, 06 Jul 2015 07:17:50 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:63616) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZC4PD-0005hF-TP for 20889@debbugs.gnu.org; Mon, 06 Jul 2015 07:17:49 -0400 Received: from debian ([147.210.245.180]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MNtut-1Z5DZu2e6N-007RwT; Mon, 06 Jul 2015 13:17:41 +0200 Date: Mon, 6 Jul 2015 13:17:39 +0200 From: Andreas Enge To: Ludovic =?iso-8859-15?Q?Court=E8s?= Subject: Re: bug#20889: python Tkinter Message-ID: <20150706111739.GA2969@debian> References: <55972A09.9020508@gmail.com> <87fv52rjso.fsf@gnu.org> <5599B21D.60008@gmail.com> <87wpyd4meg.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87wpyd4meg.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Provags-ID: V03:K0:wwNz1U1yOQMC9hkm/i0nc42R7I7f4gI7oApZ+GwnxkMKjL34VCI /aMxaAlVWZ6rOLVVyTnE+PkC3BvX4XMyeH9JY89QTJLoZttcScm2wuOsvssfsIAJbh9du+i JATGrTJo0pjpXbuUq9BXMs6QXx+zVgtJukhQlrPznTJGFIcUrr6aRwo0iJFO15ZmbdDR18s ixhrweDPT9sKeJhLBhYfQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:SC8PI/0BIPs=:3ucjUCByTtXjPdtKu8ExIn 6JYik9AmE/tmMFXHlqrlchkyzS94HknIF0U5rqHUrlABWbxN0QjiEyrYhSUlbT374zKu5VeGZ 8tDGZCs3A2uc1I/uuwUPXltGeGTGBrajXFLazieQ0dcNrjHitDSREnMFzRG/ETrIUVdz82kNZ BHi28elvcuwDdjmnvDSRYpGKevGYpcMcamSV4Adj/wwjoAOklvic81auXMBhAMNP/h6cDEQJ7 A5g78yJt0knVnKYxezdKK4pxeAjq0RfOgFxzFRdhwFr+wTLl0WFpbgWye8Phs/rCEpA+bGMlz fwdqG9srMOM3GcKFIIs2LAQ7JBIV9PWrEtQDBrA91IfJvw59FW/MljnWS0/nhdwgXZEhl9IXR 7Ts6W1S3+jiG66Xp+yifKRhnrnfcV1GLBE43BJ1FDmRu+8WGWp6RhC/OycoOIEBOp8OvMluOL 2MdrlucYu4NsjGLUfRzvmOouAaP8j/UCmrQeIE/tqCtxvwnevZyiFfqoBcw4fhZGz/h0dLEX5 5wAgs1E3axpXNId2WOcQRwClXiFVS4qCSkzoF7KHR8gFAtHFP7kwgwmpuzvBx22X9jZcfedes OYSUHKe5m8pk6vV862blMe11sg19DWnN61118AAuKXw5qWyk8aVIxvIiDE3zvHiLVdQXGG66T SaCrshgkQOzqRuw0JlWLcOF59 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20889 Cc: 20889@debbugs.gnu.org, Federico Beffa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) On Mon, Jul 06, 2015 at 12:21:11PM +0200, Ludovic Courtès wrote: > OK. Then we effectively need to proceed as you suggest: Build > python-minimal (which does not depend on Tk), build Tk, and then build > python. And maybe this python-minimal could be smaller than the current python, in the sense of "minimal"? Andreas From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 07 18:20:06 2015 Received: (at 20889-done) by debbugs.gnu.org; 7 Oct 2015 22:20:06 +0000 Received: from localhost ([127.0.0.1]:59381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zjx48-0006E6-Ed for submit@debbugs.gnu.org; Wed, 07 Oct 2015 18:20:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47098) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zjx45-0006Dk-Lx for 20889-done@debbugs.gnu.org; Wed, 07 Oct 2015 18:20:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zjx44-0001nr-QZ for 20889-done@debbugs.gnu.org; Wed, 07 Oct 2015 18:20:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zjx40-0001mV-7Q; Wed, 07 Oct 2015 18:19:56 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:42656 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Zjx3z-0006wI-Bu; Wed, 07 Oct 2015 18:19:55 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Federico Beffa Subject: Re: bug#20889: python Tkinter In-Reply-To: <87wpyd4meg.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 06 Jul 2015 12:21:11 +0200") References: <55972A09.9020508@gmail.com> <87fv52rjso.fsf@gnu.org> <5599B21D.60008@gmail.com> <87wpyd4meg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Date: Thu, 08 Oct 2015 00:19:53 +0200 Message-ID: <87egh61fue.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20889-done Cc: 20889-done@debbugs.gnu.org, Cyril Roelandt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > OK. Then we effectively need to proceed as you suggest: Build > python-minimal (which does not depend on Tk), build Tk, and then build > python. Done in commits 95288fc and afa181f. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 07 18:20:15 2015 Received: (at 20889-done) by debbugs.gnu.org; 7 Oct 2015 22:20:15 +0000 Received: from localhost ([127.0.0.1]:59384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zjx4I-0006EV-Qw for submit@debbugs.gnu.org; Wed, 07 Oct 2015 18:20:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47226) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zjx4G-0006EM-Ml for 20889-done@debbugs.gnu.org; Wed, 07 Oct 2015 18:20:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zjx4G-0001wD-3g for 20889-done@debbugs.gnu.org; Wed, 07 Oct 2015 18:20:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zjx4B-0001ug-Li; Wed, 07 Oct 2015 18:20:07 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:42654 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Zjx2m-0006rV-4t; Wed, 07 Oct 2015 18:20:07 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Federico Beffa Subject: Re: bug#20889: python Tkinter References: <55972A09.9020508@gmail.com> <87fv52rjso.fsf@gnu.org> <5599B21D.60008@gmail.com> <87wpyd4meg.fsf@gnu.org> Date: Thu, 08 Oct 2015 00:18:38 +0200 In-Reply-To: <87wpyd4meg.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 06 Jul 2015 12:21:11 +0200") Message-ID: <87fv1m1fwh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20889-done Cc: 20889-done@debbugs.gnu.org, Cyril Roelandt X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > OK. Then we effectively need to proceed as you suggest: Build > python-minimal (which does not depend on Tk), build Tk, and then build > python. Done in commits 95288fc and afa181f. Thanks, Ludo=E2=80=99. From unknown Sun Jun 22 11:33:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Nov 2015 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 09 04:38:11 2015 Received: (at control) by debbugs.gnu.org; 9 Nov 2015 09:38:11 +0000 Received: from localhost ([127.0.0.1]:58213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zvitu-0006qM-Q4 for submit@debbugs.gnu.org; Mon, 09 Nov 2015 04:38:11 -0500 Received: from mail-yk0-f170.google.com ([209.85.160.170]:34246) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zvits-0006qC-Eo for control@debbugs.gnu.org; Mon, 09 Nov 2015 04:38:08 -0500 Received: by ykfs79 with SMTP id s79so26157253ykf.1 for ; Mon, 09 Nov 2015 01:38:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=PYtYQAt1QvIKgnEC6E7Voo8cjGvpfGxRLo5Zwys3nXQ=; b=vz80Tc5zM3dwIfQbNkc6JWRgEeubL76TzZxwG3iiOkjXRGEYEILlVleQu+9AfpH9no SDFwMbBLCmTNPXhY/j9gFC9gdKz3VKg2TFjFBPRwhTRTsXRuZIGR4wTCqBG0R/YUJdY6 NMUJ7Ifp7/56li5asrSaNsuYbfhniRsJb1lPEQ4Q/df+dNhJeRkQXGaVRrsbrTPqTJc8 707z38bwJX9n7OeTWRSvbM5cJ2+lY82lTR+xkfUgA2QC0LqLSeWmJuG5tHGOEl++EFsj +OXCfFmI6xyEvAgjuLHoNNBwUCnU4mFsynIadmx2hf+SE1mRLAxu93OPVLAep/x4DKQH E7Hg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee_org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=PYtYQAt1QvIKgnEC6E7Voo8cjGvpfGxRLo5Zwys3nXQ=; b=ZJwmIGtHIkys9uNudP3jRcv+XChY9j+xnmyDKSMCAAUFzgFVYnrHPLQs5UVVnO071Z 4kJFgMnITGhr5g9qEZkO7eDKdrz0CRoCJLpl74t1D1J2OjXoKyqw5mrFNjV/GsoUdFui RQ6/9oHyXRar3zUZdQiMQpZwragQRp4v7WSFTK/llIkeLl4HYDSa7V9xS/PxJ+8JLEM4 K1R/BsPaxUI/6Llibxwr2p6shdc9VqQ/ojbCx0d1YQ5Vi6R2uyE6SCRjtZkC2JTcM18l VfHyQ8mlJZv2Aormg9l0huMvOGsI6emLjS/iUA3m8j8CdTZtkcFij5u2U71FWoy7abwS 5FVw== MIME-Version: 1.0 X-Received: by 10.129.85.84 with SMTP id j81mr22898626ywb.194.1447061887933; Mon, 09 Nov 2015 01:38:07 -0800 (PST) Received: by 10.103.106.132 with HTTP; Mon, 9 Nov 2015 01:38:07 -0800 (PST) Date: Mon, 9 Nov 2015 10:38:07 +0100 X-Google-Sender-Auth: bWJwFjOgszKyo_OpKXpkTjseQpM Message-ID: Subject: unarchive 20889 From: Federico Beffa To: control@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) unarchive 20889 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 09 04:43:00 2015 Received: (at 20889) by debbugs.gnu.org; 9 Nov 2015 09:43:01 +0000 Received: from localhost ([127.0.0.1]:58219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zviya-0006xm-FJ for submit@debbugs.gnu.org; Mon, 09 Nov 2015 04:43:00 -0500 Received: from mail-yk0-f170.google.com ([209.85.160.170]:35022) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZviyG-0006xJ-7v for 20889@debbugs.gnu.org; Mon, 09 Nov 2015 04:42:58 -0500 Received: by ykek133 with SMTP id k133so255358602yke.2 for <20889@debbugs.gnu.org>; Mon, 09 Nov 2015 01:42:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=Ev+QuC2GR10tnBAkLPlenxpBQiS2WjQnnqCAmxvuAfc=; b=1HrAzr3Zu1e7L5IdUJxkxiMd8a+XX6ZvOWtElYo4Q+jyxF4AhAehBIu6OWiIeneWNS eqq1pegK0xdczLK+2afiviEHdp+9TWasEJEZ9pTm4CTV4J8nqV94Q+ilexR5cQ42E8sb Y7MLkx+n2nYwS6eg92khzaK51sjQOl5gg5EtqD4T2laCk5jYHqWFL+qBPhMkF6TxLYCJ luGP3sJ8YRfnxah/zA0lWG4IvPPshao7NTIDL85baL+xoJluX3QQaZLS0MEyXJt5FM5m +nLzKUtCBpNbWgjBbcf11xXNF/PJc0Ce0rrt3wqxk3iLYBPMuuVaMrQYz+et4iYSs2qr rxjA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee_org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=Ev+QuC2GR10tnBAkLPlenxpBQiS2WjQnnqCAmxvuAfc=; b=dUJy9inNcwIRKAQQPltnSIRRg6Fr8ng2+TPVo/DDVIAMgRZ570lWrKvLDJnznBYTeZ Hz4A/YTh9oobxniamQHalS5GQWwZtHBBCPvJS4duOMj7uuLZF3LcVSZwKPN68mMy4/5X rOxh9yYSc3ypJBz1gJ79PZT6KEHw5ID8qGoyYjehyjoj+v7R+UhKamvPWerutIXxi+Qm anHPpxSnBhzA4I0tZXqzqXTnDw1rCilm1WgVRa5bNkWljsOR+FQUXR37T6r6Z6jcUAl4 bQHp0Kd5SfLESl2onSzrTGPJPAw1cF6Gl4UT9valT49tDvjG5r+mqPRin/9AXCZmN1Yx LWdw== MIME-Version: 1.0 X-Received: by 10.129.27.12 with SMTP id b12mr13142773ywb.140.1447062159821; Mon, 09 Nov 2015 01:42:39 -0800 (PST) Received: by 10.103.106.132 with HTTP; Mon, 9 Nov 2015 01:42:39 -0800 (PST) Date: Mon, 9 Nov 2015 10:42:39 +0100 X-Google-Sender-Auth: 3Qn8LVac6KVnJPePH1wW6cYyQd8 Message-ID: Subject: Re: bug#20889: python Tkinter From: Federico Beffa To: 20889@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 20889 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) If I start python3 and do: ------------------------------------------------------- $ python3 Python 3.4.3 (default, Oct 9 2015, 22:53:58) [GCC 4.9.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tkinter >>> root = tkinter.Tk() Traceback (most recent call last): File "", line 1, in File "/gnu/store/y5x6c38fzrbfl80jxrgjd6py2k88x12a-python-3.4.3/lib/python3.4/tkinter/__init__.py", line 1851, in __init__ self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use) _tkinter.TclError: Can't find a usable tk.tcl in the following directories: /gnu/store/sd4fcdk9yzh1s0230fjx1yfwk9pl71bf-tcl-8.6.4/lib/tcl8.6/tk8.6 /gnu/store/sd4fcdk9yzh1s0230fjx1yfwk9pl71bf-tcl-8.6.4/lib/tk8.6 /gnu/store/y5x6c38fzrbfl80jxrgjd6py2k88x12a-python-3.4.3/lib/tk8.6 /gnu/store/lib/tk8.6 /gnu/store/y5x6c38fzrbfl80jxrgjd6py2k88x12a-python-3.4.3/library This probably means that tk wasn't installed properly. ------------------------------------------------------- Did you successfully test it? Regards, Fede From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 09 05:37:09 2015 Received: (at 20889) by debbugs.gnu.org; 9 Nov 2015 10:37:10 +0000 Received: from localhost ([127.0.0.1]:58242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zvjoz-0001O5-Jy for submit@debbugs.gnu.org; Mon, 09 Nov 2015 05:37:09 -0500 Received: from mail-yk0-f182.google.com ([209.85.160.182]:34464) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zvjof-0001NO-Ga for 20889@debbugs.gnu.org; Mon, 09 Nov 2015 05:37:08 -0500 Received: by ykfs79 with SMTP id s79so28062590ykf.1 for <20889@debbugs.gnu.org>; Mon, 09 Nov 2015 02:36:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=/NaOpE15+IObbwMxrh0By2gWMAGIllgR+6Cak+PtK7A=; b=NVVbEXa7l8tmTWWtdr1oIgAAqgzn80KQaU6MSrVyNPf0k5mXD5gd5yxzcSHevmf9lh IqtGg8OTB8uwH3pSdRrzmux/y8R+FAts/HPUHU8UCnw89REhXVoC3XhhGat+s2vAFn6P +UNupVFTSYENFE+GJC+Y/Pw2Mytheg0p/WURReP88nIQ9BhrEKV5ODd8rhYmyWuZO4LA s+QyADKy+SzlWevaN38zBkiWTKXAP0Uv/WYBrM9dYoeHYoYbB2m36UmT2EB1e03WgDu+ AL4NooH+6QQ3V82XfdonqM++K0tbbFlGmRGnmOqlCBLKtsn/8SqCE/2k8G5+K28+fC2Z 4vrQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee_org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=/NaOpE15+IObbwMxrh0By2gWMAGIllgR+6Cak+PtK7A=; b=vvo5p10hwrTaRGPq81flhDZJwixX+AIpWAD5mnSKJ2VDa15ugPU7KpeGmcbUML3L18 9Mddr0DxMgkcFSMfShVxzTYEglbeksYn6sx68JlIXDfSoHN3V2Lpiub8Z8w+ChyopX6G cKJOHo8qbEn/uoijWUcTWAB7eL2DFhUuYHbbBC9hxtiPTAtXtyUbNF4KzbOx5VuCiS1/ ni9rzKHhRLL51cIbbxNGW+I4hnAGy/DmE4WlaAJWLrsQAmxx+hVioMqQ3gaib1jzDuPV pmavPnFzfjOq8W5MqGiU01X7O5a9a1u7ijq+C4AM3HbzV3ZuytCNGAgn4NZnBSd7kYkE ixYA== MIME-Version: 1.0 X-Received: by 10.13.252.196 with SMTP id m187mr22979965ywf.136.1447065408772; Mon, 09 Nov 2015 02:36:48 -0800 (PST) Received: by 10.103.106.132 with HTTP; Mon, 9 Nov 2015 02:36:48 -0800 (PST) Date: Mon, 9 Nov 2015 11:36:48 +0100 X-Google-Sender-Auth: rJf4qztrmnzHlw6aCpY-ePpnYn8 Message-ID: Subject: Re: bug#20889: python Tkinter From: Federico Beffa To: 20889@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20889 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) with: $TCLLIBPATH=/gnu/store/c4rpx4050d0qkccwbzggabag403b31l3-tk-8.6.4/lib python3 it works. So I guess that 'tcl' needs a search-path-specification. Regards, Fede From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 09 06:00:13 2015 Received: (at 20889) by debbugs.gnu.org; 9 Nov 2015 11:00:14 +0000 Received: from localhost ([127.0.0.1]:58265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZvkBE-0001vv-G5 for submit@debbugs.gnu.org; Mon, 09 Nov 2015 06:00:12 -0500 Received: from mail-yk0-f179.google.com ([209.85.160.179]:34361) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZvkAp-0001uQ-MY for 20889@debbugs.gnu.org; Mon, 09 Nov 2015 06:00:04 -0500 Received: by ykfs79 with SMTP id s79so28791734ykf.1 for <20889@debbugs.gnu.org>; Mon, 09 Nov 2015 02:59:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=dyZs6DmoI1ugisjFVTaORRyYPVF3BZjfD50UJsYdUms=; b=z0nAvq5/PrR/LrPAZzAf87Sqbtbg3qQkBlnNC8z8Y0DG42WLxCY6JuCCDh5Ba4xLlE la2LZSWqPCW/tseCnV/YR/Kib164Im8bQa2lJ7LYWBGEnhkDW1O8X3AK9a0zYlDNE6Ou qzZipzfkz1E2RjnZxyfOFzMTFa5kRHwfT4J6Zw1rxZU/VYCiKyU/4105tD+5eJJfgKMH bIMS1xKlthA8gT03+d/2CeyUJdYwerEkoA9qfbRbl8Qsp541S3X/Vgxkf1sxTJGmEqFx h4fEkYuP6nMes9RxbPUXPRtaPhd0QQTQT7VUG/0OG3T0TyZ2p4RgA6Aygu0zM3s1gm8l Fh7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee_org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=dyZs6DmoI1ugisjFVTaORRyYPVF3BZjfD50UJsYdUms=; b=M2zNhWSTK/Dh+cH5m9y1MoPFMATvspZYB11wlPN7q9Q/QSztgPtJrnrtb0Y0lT0fZF 5kFV7kkDTv3VTIoVVVz6E0jJ85L+oee3rBDINBZbHg/jYb8w/5+qoB8lZr4Vp/BhtX6c U+VOFZDBJIOK3cFnQQxmNKz+vRge2cdmUad8bv0OkgBxb2+AofXbmMyi6IvqbIsvNFqG n0rrPqDIl1Od+MGG3cdLJIba1+D0RI0inD76TpqPpDIuHL6ecXeELaTHuI3WPQ7vR757 PSuOjhabxArgTmuTJk9yvj0kYlbh8Mt5AHPY6DfDmn1+ftt09o2RNwqOVqVKRcGgyMw7 Os2g== MIME-Version: 1.0 X-Received: by 10.13.252.196 with SMTP id m187mr23053214ywf.136.1447066783149; Mon, 09 Nov 2015 02:59:43 -0800 (PST) Received: by 10.103.106.132 with HTTP; Mon, 9 Nov 2015 02:59:43 -0800 (PST) Date: Mon, 9 Nov 2015 11:59:43 +0100 X-Google-Sender-Auth: ogIcFXi1l4b3IpysrBmcR4IYaU4 Message-ID: Subject: Re: bug#20889: python Tkinter From: Federico Beffa To: 20889@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20889 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) ... and the configure script for Python defines the flag '--with-tcltk-libs'. Maybe that would help... Regards, Fede From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 11 16:45:12 2015 Received: (at 20889) by debbugs.gnu.org; 11 Nov 2015 21:45:12 +0000 Received: from localhost ([127.0.0.1]:33661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwdCZ-0003Fu-WE for submit@debbugs.gnu.org; Wed, 11 Nov 2015 16:45:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37877) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwdCF-0003Ep-7s for 20889@debbugs.gnu.org; Wed, 11 Nov 2015 16:45:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwdCB-0004Cd-Pc for 20889@debbugs.gnu.org; Wed, 11 Nov 2015 16:44:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, URIBL_BLACK autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwdCB-0004CY-MB; Wed, 11 Nov 2015 16:44:47 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:35760 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZwdCB-00006Z-5V; Wed, 11 Nov 2015 16:44:47 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Federico Beffa Subject: Re: bug#20889: python Tkinter References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 21 Brumaire an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Wed, 11 Nov 2015 22:44:42 +0100 In-Reply-To: (Federico Beffa's message of "Mon, 9 Nov 2015 10:42:39 +0100") Message-ID: <87io589po5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -3.6 (---) X-Debbugs-Envelope-To: 20889 Cc: 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.6 (---) Federico Beffa skribis: > >>> root =3D tkinter.Tk() > Traceback (most recent call last): > File "", line 1, in > File "/gnu/store/y5x6c38fzrbfl80jxrgjd6py2k88x12a-python-3.4.3/lib/pyth= on3.4/tkinter/__init__.py", > line 1851, in __init__ > self.tk =3D _tkinter.create(screenName, baseName, className, > interactive, wantobjects, useTk, sync, use) > _tkinter.TclError: Can't find a usable tk.tcl in the following directorie= s: > /gnu/store/sd4fcdk9yzh1s0230fjx1yfwk9pl71bf-tcl-8.6.4/lib/tcl8.6/tk8.6 > /gnu/store/sd4fcdk9yzh1s0230fjx1yfwk9pl71bf-tcl-8.6.4/lib/tk8.6 > /gnu/store/y5x6c38fzrbfl80jxrgjd6py2k88x12a-python-3.4.3/lib/tk8.6 > /gnu/store/lib/tk8.6 > /gnu/store/y5x6c38fzrbfl80jxrgjd6py2k88x12a-python-3.4.3/library This error message comes from Tcl, in file =E2=80=98auto.tcl=E2=80=99, proc= edure =E2=80=98tcl_findLibrary=E2=80=99. We=E2=80=99d need to find where the call comes from and hard-code a search = path in there maybe? > Did you successfully test it? I just did =E2=80=9Cimport tkinter.=E2=80=9D > with: > > $TCLLIBPATH=3D/gnu/store/c4rpx4050d0qkccwbzggabag403b31l3-tk-8.6.4/lib py= thon3 > > it works. So I guess that 'tcl' needs a search-path-specification. Yes. That wouldn=E2=80=99t help for Python though, where we need to hard-c= ode the search path somehow. > ... and the configure script for Python defines the flag > '--with-tcltk-libs'. Maybe that would help... I don=E2=80=99t think it would help because Python finds Tcl and Tk anyway. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 12 07:59:13 2015 Received: (at 20889) by debbugs.gnu.org; 12 Nov 2015 12:59:13 +0000 Received: from localhost ([127.0.0.1]:34168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwrT7-0000cq-JC for submit@debbugs.gnu.org; Thu, 12 Nov 2015 07:59:13 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44114) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZwrSn-0000c7-Lx for 20889@debbugs.gnu.org; Thu, 12 Nov 2015 07:59:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwrSj-00017j-Bt for 20889@debbugs.gnu.org; Thu, 12 Nov 2015 07:58:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:51269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwrSj-00017f-9A; Thu, 12 Nov 2015 07:58:49 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:55730 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZwrSi-0004Sl-K7; Thu, 12 Nov 2015 07:58:48 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?B?5a6L5paH5q2m?= Subject: Re: [PATCH] tk: Hardcode path to TK_LIBRARY. References: <8def219fd20047742c102943aaf6dea7@openmailbox.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 Brumaire an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 12 Nov 2015 13:58:46 +0100 In-Reply-To: <8def219fd20047742c102943aaf6dea7@openmailbox.org> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Thu, 12 Nov 2015 13:50:17 +0800") Message-ID: <87ziyjxtkp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: 20889 Cc: guix-devel@gnu.org, iyzsong@member.fsf.org, 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.4 (-----) =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > From 6c9ea521e88d36bd1ce990a561477ec0e2950017 Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?=3DE5=3DAE=3D8B=3DE6=3D96=3D87=3DE6=3DAD=3DA6?=3D > Date: Thu, 12 Nov 2015 13:31:19 +0800 > Subject: [PATCH] tk: Hardcode path to TK_LIBRARY. > > Fixes . > > * gnu/packages/patches/tk-find-library.patch: New patch. > * gnu-system.am (dist_patch_DATA): Add it. > * gnu/packages/tcl.scm (tk)[source]: Add patch. [...] > +++ b/gnu/packages/patches/tk-find-library.patch > @@ -0,0 +1,30 @@ > +This patch hardcode where Tk found its script library during package ^^ ^^^^ =E2=80=9CThis patch hard-codes the Tk library directory during package initialization.=E2=80=9D OK with this change. Thanks for providing a quick fix! :-) Could you commit it in a new =E2=80=98tk-update=E2=80=99 branch? At the same time, I think we should move tkinter*.so to a separate output of the Python packages; I think it=E2=80=99s a matter of moving the = .so to a separate output, literally. Would you like to give it a try? Thanks! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 13 06:55:46 2015 Received: (at 20889) by debbugs.gnu.org; 13 Nov 2015 11:55:46 +0000 Received: from localhost ([127.0.0.1]:36672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZxCxF-0005hz-OJ for submit@debbugs.gnu.org; Fri, 13 Nov 2015 06:55:46 -0500 Received: from m50-138.163.com ([123.125.50.138]:51744) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZxCwu-0005hV-LG for 20889@debbugs.gnu.org; Fri, 13 Nov 2015 06:55:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=sJADY qcvp5ggiCRRsTq2dsbneD+o95ogxgMKTsepXNc=; b=I2045mOwCu4e9bz5TwsfC dDR/vOUNybmPNud6NHu8fHHxjp+4xrdc/zj0MsRXNNG1DTAupeGIE8HbjDQPZuYe 9xC0MXkK7hiKvYHdP4z2X2vGbviEWrB1Xe6Eo1v3KWg1NmgrIyKzaAkOJVoHHwx9 zwsv8CVzLsvpOFBe4+gRNg= Received: from localhost (unknown [123.118.31.28]) by smtp1 (Coremail) with SMTP id C9GowAAXCuWkz0VWtrgvBg--.1451S3; Fri, 13 Nov 2015 19:55:17 +0800 (CST) From: iyzsong@member.fsf.org (=?utf-8?B?5a6L5paH5q2m?=) To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] tk: Hardcode path to TK_LIBRARY. References: <8def219fd20047742c102943aaf6dea7@openmailbox.org> <87ziyjxtkp.fsf@gnu.org> Date: Fri, 13 Nov 2015 19:55:16 +0800 In-Reply-To: <87ziyjxtkp.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Thu, 12 Nov 2015 13:58:46 +0100") Message-ID: <877flmnmfv.fsf@member.fsf.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-CM-TRANSID: C9GowAAXCuWkz0VWtrgvBg--.1451S3 X-Coremail-Antispam: 1Uf129KBjvJXoWrZw48XF4rAr1xKF13Jr18Krg_yoW8Jr1rpF W7J3W5Z3y8Gr1rtr4xu3yIkFyrWFZ5CFn8J3s8Wr98KryUuF17JFZ7tr4jkFsrCr1rK3W2 qa1j9w4fXFyrAaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07bcBMNUUUUU= X-Originating-IP: [123.118.31.28] X-CM-SenderInfo: 5l1220lqj6il2tof0z/xtbBzQexV1O-xA1iawAAsA X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 20889 Cc: guix-devel@gnu.org, 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) ludo@gnu.org (Ludovic Court=C3=A8s) writes: > =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > >> From 6c9ea521e88d36bd1ce990a561477ec0e2950017 Mon Sep 17 00:00:00 2001 >> From: =3D?UTF-8?q?=3DE5=3DAE=3D8B=3DE6=3D96=3D87=3DE6=3DAD=3DA6?=3D >> Date: Thu, 12 Nov 2015 13:31:19 +0800 >> Subject: [PATCH] tk: Hardcode path to TK_LIBRARY. >> >> Fixes . >> >> * gnu/packages/patches/tk-find-library.patch: New patch. >> * gnu-system.am (dist_patch_DATA): Add it. >> * gnu/packages/tcl.scm (tk)[source]: Add patch. > > [...] > >> +++ b/gnu/packages/patches/tk-find-library.patch >> @@ -0,0 +1,30 @@ >> +This patch hardcode where Tk found its script library during package > ^^ ^^^^ > =E2=80=9CThis patch hard-codes the Tk library directory during package > initialization.=E2=80=9D > > OK with this change. Thanks for providing a quick fix! :-) > > Could you commit it in a new =E2=80=98tk-update=E2=80=99 branch? Done. > > At the same time, I think we should move tkinter*.so to a separate > output of the Python packages; I think it=E2=80=99s a matter of moving th= e .so > to a separate output, literally. Would you like to give it a try? I don't know much about python, so I'd like to leave it for others :-) From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 16 03:43:12 2015 Received: (at 20889) by debbugs.gnu.org; 16 Nov 2015 08:43:13 +0000 Received: from localhost ([127.0.0.1]:39489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyFNY-00053Z-Jf for submit@debbugs.gnu.org; Mon, 16 Nov 2015 03:43:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48963) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyFNE-00052r-Tv for 20889@debbugs.gnu.org; Mon, 16 Nov 2015 03:43:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyFND-0001gI-TY for 20889@debbugs.gnu.org; Mon, 16 Nov 2015 03:42:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyFN9-0001fv-UI; Mon, 16 Nov 2015 03:42:47 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:35516 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZyFN9-0003xh-6W; Mon, 16 Nov 2015 03:42:47 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?B?5a6L5paH5q2m?= Subject: Tkinter moved to separate output References: <8def219fd20047742c102943aaf6dea7@openmailbox.org> <87ziyjxtkp.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Brumaire an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 16 Nov 2015 09:42:44 +0100 In-Reply-To: <87ziyjxtkp.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 12 Nov 2015 13:58:46 +0100") Message-ID: <87k2picp2z.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 20889 Cc: guix-devel@gnu.org, iyzsong@member.fsf.org, 20889@debbugs.gnu.org, Federico Beffa X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) In =E2=80=98tk-update=E2=80=99 the =E2=80=98python=E2=80=99 packages now ha= ve a separate =E2=80=98tk=E2=80=99 output for Tkinter (adding ~50=C2=A0MiB to the closure of Python.) I=E2=80=99ve teste= d it along these lines, for 2.x and 3.x: guix environment --ad-hoc python python:tk --pure -- python > import Tkinter > root =3D Tkinter.Tk() =20=20 One thing I haven=E2=80=99t checked is whether some packages need to have an additional python:tk input. Matplotlib maybe? Federico? I plan to have Hydra build that branch once we=E2=80=99ve checked that. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 16 06:45:16 2015 Received: (at 20889) by debbugs.gnu.org; 16 Nov 2015 11:45:16 +0000 Received: from localhost ([127.0.0.1]:39545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyIDj-0001bC-79 for submit@debbugs.gnu.org; Mon, 16 Nov 2015 06:45:15 -0500 Received: from mail-yk0-f181.google.com ([209.85.160.181]:36082) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyIDO-0001aC-AY for 20889@debbugs.gnu.org; Mon, 16 Nov 2015 06:45:13 -0500 Received: by ykdr82 with SMTP id r82so233101031ykd.3 for <20889@debbugs.gnu.org>; Mon, 16 Nov 2015 03:44:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=H58UDxZawtdGWV3PF9k8VFBNYHviq8BJI21y6dG4YIA=; b=bD6MC0ok9iJKRkdmyC2gSdrmJRCcd+xrMMfIz5PnNpNscP1L+YwYdKPQJu1feJnBrD bnbVlGHW0mlI2YsASqZO0zzkn3GhpwLUNEYsQ+/gLzSzE4FF7wDIHzFbZNcKRK9AjUwc xvaVJW2+fPw/wz00OD4ibkRHCvILdz2FU2vWz/4+8sPZCcIPMdH5jGLy0X1Q6vM3r00N Hr6BuBQEMoXsDsu9TTOuvQQOvb6vkCcTMYdFmSZ0M/ihE8L9eR5MBtR3PpxaOYtpM1F1 Kaen9fEBuQAGPgMlNndMyPBUAk4ZNJTqdVcMU5MEojIMNNhfULeE6gVRhwfLoB6RDiJo 0I+Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee_org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=H58UDxZawtdGWV3PF9k8VFBNYHviq8BJI21y6dG4YIA=; b=eZHedLAt8TLYefcOWron60muW3fnrS7ddk3ketWmP2Zwhm+r4u+Sy+QtP/d/ODDxjE tI8Ykk/YYZHxC9ONEqasqDj1XXN6b1scxWgELu5ZJ0qfBCNnbpD4dgn13NdZYheP+NEj l6S/kGP1jns/2MdwmSpuAmEzEDcpoNN/QcKiVG/vc2pqeRO8Aigzm1yHp49QahseLGv1 7gTvAGkaKrUwlZthQDG7AoF/TQda4xDicjOiuYd7yPAAvuWfcCeFaXnAw1hAbi08ZDgq Xj+xhneXL1146vMMAlOrlM3WRhHmd0dIllb1yfWBT/dvXaGOok0hqecCZWSlQ2Krp/Ph fJ1Q== MIME-Version: 1.0 X-Received: by 10.13.252.196 with SMTP id m187mr35322793ywf.136.1447674293575; Mon, 16 Nov 2015 03:44:53 -0800 (PST) Received: by 10.103.106.199 with HTTP; Mon, 16 Nov 2015 03:44:53 -0800 (PST) In-Reply-To: <87k2picp2z.fsf_-_@gnu.org> References: <8def219fd20047742c102943aaf6dea7@openmailbox.org> <87ziyjxtkp.fsf@gnu.org> <87k2picp2z.fsf_-_@gnu.org> Date: Mon, 16 Nov 2015 12:44:53 +0100 X-Google-Sender-Auth: NfaifZP2CdBi5ykFeagEr3LIPcM Message-ID: Subject: Re: Tkinter moved to separate output From: Federico Beffa To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20889 Cc: =?UTF-8?B?5a6L5paH5q2m?= , Guix-devel , iyzsong@member.fsf.org, 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 16 07:58:05 2015 Received: (at 20889) by debbugs.gnu.org; 16 Nov 2015 12:58:05 +0000 Received: from localhost ([127.0.0.1]:39582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyJMD-00057v-3D for submit@debbugs.gnu.org; Mon, 16 Nov 2015 07:58:05 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59029) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyJLt-00056r-JF for 20889@debbugs.gnu.org; Mon, 16 Nov 2015 07:58:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyJLo-0000LL-J8 for 20889@debbugs.gnu.org; Mon, 16 Nov 2015 07:57:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyJLo-0000LH-Ft; Mon, 16 Nov 2015 07:57:40 -0500 Received: from pluto.bordeaux.inria.fr ([193.50.110.57]:43880 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZyJLn-0005oS-Q7; Mon, 16 Nov 2015 07:57:40 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Federico Beffa Subject: Re: Tkinter moved to separate output References: <8def219fd20047742c102943aaf6dea7@openmailbox.org> <87ziyjxtkp.fsf@gnu.org> <87k2picp2z.fsf_-_@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Brumaire an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 16 Nov 2015 13:57:37 +0100 In-Reply-To: (Federico Beffa's message of "Mon, 16 Nov 2015 12:44:53 +0100") Message-ID: <87a8qe85ku.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.8 (-----) X-Debbugs-Envelope-To: 20889 Cc: =?utf-8?B?5a6L5paH5q2m?= , Guix-devel , iyzsong@member.fsf.org, 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.8 (-----) Federico Beffa skribis: > On Mon, Nov 16, 2015 at 9:42 AM, Ludovic Court=C3=A8s wrot= e: >> 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 = it 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 hav= e 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~%"))))) 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? > 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. The =E2=80=98minimal=E2=80=99 variants are there to break cyclic dependenci= es most of the time. This is the case for cups/cups-filters and Python/Tk. At run time, cups indeed depends on cups-filters, which depends on cups-minimal. In that case, as you say, we end up downloading those two variants. But there=E2=80=99s not much of a choice, as was discussed durin= g the initial review: https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00057.html Conversely, python does not depend on python-minimal. So python-minimal is here just to break the cycle with Tk/libxcb, as noted in python.scm and discussed in: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20889 As for Tkinter, it is in a separate =E2=80=9Ctk=E2=80=9D output, which user= s can choose to install or not. The =E2=80=9Ctk=E2=80=9D output contains a single file,= but it pulls in Tcl/Tk. I hope this clarifies things. Thanks for your feedback, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 16 08:17:15 2015 Received: (at 20889) by debbugs.gnu.org; 16 Nov 2015 13:17:15 +0000 Received: from localhost ([127.0.0.1]:39607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyJek-0005fB-WC for submit@debbugs.gnu.org; Mon, 16 Nov 2015 08:17:15 -0500 Received: from mail-yk0-f175.google.com ([209.85.160.175]:36545) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZyJeQ-0005eN-NU for 20889@debbugs.gnu.org; Mon, 16 Nov 2015 08:17:13 -0500 Received: by ykdr82 with SMTP id r82so236771346ykd.3 for <20889@debbugs.gnu.org>; Mon, 16 Nov 2015 05:16:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=VBIjXt5v5WlXvFlLdSnQPY5EdN+takXGgYEkQr4KIpA=; b=LpPtuHK5NieNckHO2hVB/IsmDks/BPCk+Oecp8KFSAS8Ts7MdRdcK/2jM5aZ5gO7+h rPgNLBA+rhgpTkuaIMtrnOpE5+EHbnILIRo7GXaBnCrhdcSFn7SPorkQKEvCagW72l1D Kf/bTznTlrRFXIPkF8LfmNboPxiZPDKEW5Cyd/5aUCDS+UDOXTgw8LUzcKz82v7FPoAb hZXBcEi8PY4SU1C7Rc59uRCYiIlaPn42Iwg+YciSm4JKpT1ihgHqthrgh58urS24ay3+ L6HWxW5licGrgDKxpG3WBxGxVvXYjCqyJpqSsZzvetsaEi07n9TLrjjP+Tgy9IqesDKn 8s5Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee_org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=VBIjXt5v5WlXvFlLdSnQPY5EdN+takXGgYEkQr4KIpA=; b=odHYSCIsY1QCN9MaO9TGCfGJreNWTY16hv/uJoEIMw/o5OqIPnhYB/yqnjked4Age/ rLF74qy6ZCMKjKLYjubiHrtCA8CRHPzbuM2ffnPX9j7LrFhU5MzY/ElxHU+QQd8z067e VP38p3VxJqrAIVOHZ8Wcb8qneMR88V1YO7o7Ujw1EvSYc/LX0wEvRXNF9xSvRkFASlu9 FypkrE2bYNreA7vTTIQXaEQurZff6m/grQ+i2nIavF/wsRlKLuvYYUmb0owamaDfsHVS 7abjUlptHKU8dvPbXp/q2i09yeg1HEBJgRnNtF9Ou+fkvk8MpH8TTF+tZdVWRGLUSYBj 6+wg== MIME-Version: 1.0 X-Received: by 10.13.247.68 with SMTP id h65mr37072437ywf.83.1447679814334; Mon, 16 Nov 2015 05:16:54 -0800 (PST) Received: by 10.103.106.199 with HTTP; Mon, 16 Nov 2015 05:16:54 -0800 (PST) In-Reply-To: <87a8qe85ku.fsf@gnu.org> References: <8def219fd20047742c102943aaf6dea7@openmailbox.org> <87ziyjxtkp.fsf@gnu.org> <87k2picp2z.fsf_-_@gnu.org> <87a8qe85ku.fsf@gnu.org> Date: Mon, 16 Nov 2015 14:16:54 +0100 X-Google-Sender-Auth: KOjTqhZfFuwF_gyfvwZj6gM-eCU Message-ID: Subject: Re: Tkinter moved to separate output From: Federico Beffa To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20889 Cc: =?UTF-8?B?5a6L5paH5q2m?= , Guix-devel , iyzsong@member.fsf.org, 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, Nov 16, 2015 at 1:57 PM, Ludovic Court=C3=A8s wrote: > 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 :-) >> 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. > > The =E2=80=98minimal=E2=80=99 variants are there to break cyclic dependen= cies most of > the time. This is the case for cups/cups-filters and Python/Tk. > > At run time, cups indeed depends on cups-filters, which depends on > cups-minimal. In that case, as you say, we end up downloading those two > variants. But there=E2=80=99s not much of a choice, as was discussed dur= ing the > initial review: > > https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00057.html > > Conversely, python does not depend on python-minimal. So python-minimal > is here just to break the cycle with Tk/libxcb, as noted in python.scm > and discussed in: > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20889 > > As for Tkinter, it is in a separate =E2=80=9Ctk=E2=80=9D output, which us= ers can choose > to install or not. The =E2=80=9Ctk=E2=80=9D output contains a single fil= e, but it pulls > in Tcl/Tk. OK. Thanks for the explanation! Regards, Fede From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 17:09:43 2015 Received: (at 20889) by debbugs.gnu.org; 29 Nov 2015 22:09:43 +0000 Received: from localhost ([127.0.0.1]:59869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3AAB-0000RT-Bv for submit@debbugs.gnu.org; Sun, 29 Nov 2015 17:09:43 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36276) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3A9r-0000R2-QH for 20889@debbugs.gnu.org; Sun, 29 Nov 2015 17:09:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3A9m-0007Ls-Ut for 20889@debbugs.gnu.org; Sun, 29 Nov 2015 17:09:23 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3A9m-0007Lo-RU; Sun, 29 Nov 2015 17:09:18 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:54702 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a3A9l-0006Az-PR; Sun, 29 Nov 2015 17:09:18 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Federico Beffa Subject: Re: Tkinter moved to separate output References: <8def219fd20047742c102943aaf6dea7@openmailbox.org> <87ziyjxtkp.fsf@gnu.org> <87k2picp2z.fsf_-_@gnu.org> <87a8qe85ku.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 Frimaire an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sun, 29 Nov 2015 23:09:15 +0100 In-Reply-To: (Federico Beffa's message of "Mon, 16 Nov 2015 14:16:54 +0100") Message-ID: <87two4e9v8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20889 Cc: =?utf-8?B?5a6L5paH5q2m?= , Guix-devel , iyzsong@member.fsf.org, 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= 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) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 30 11:46:20 2015 Received: (at 20889) by debbugs.gnu.org; 30 Nov 2015 16:46:20 +0000 Received: from localhost ([127.0.0.1]:33072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3Ral-0004zw-Lt for submit@debbugs.gnu.org; Mon, 30 Nov 2015 11:46:20 -0500 Received: from mail-vk0-f47.google.com ([209.85.213.47]:32851) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3RaR-0004ep-AH for 20889@debbugs.gnu.org; Mon, 30 Nov 2015 11:46:18 -0500 Received: by vkca188 with SMTP id a188so50142033vkc.0 for <20889@debbugs.gnu.org>; Mon, 30 Nov 2015 08:45:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=UmjWfS/Kkv69DsIXnhXjyvnEjwMy2N2X2rpYYCZ+qQs=; b=kr5dyLnGQ9WFAV15053NLb7ri/0d5zL3SEQcGcTmuZY3ObJUy+iX8SvqOS2OKqm3GU +E0gZwjiy87JQzqTpkEoNpSn4yCrjF9g7WKtnnMfRFWPYosSdviXTCzb4Z8unqUvZWPm PD22ZT0pYFtU67oArkJ7B7wCfsAJoL3u6z2+VXiHtPoRvjC4uSwToMeAx5hXFhD+xWyB txMdT/6/MdTIr8CZwI8jzbwGQf7RBK+LiNWzBOW1IBk+mKG6tyF5pPPRzqx/eaYWy6Gs YKjMY3nTTYJgwtoFnlJWGct9UpTwN7JjIbJErdQFGe+9OrhEhfxyr6YoYbBlT/J/PNGr 2ofQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee-org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=UmjWfS/Kkv69DsIXnhXjyvnEjwMy2N2X2rpYYCZ+qQs=; b=rPdVyguqh5KyNUhC4/I9FavnYx2enJ7I8GxoK6mMGGLGeybVht+fuFjzV3UA1fhsQc QTiDlGHrXvjIDLXuaI946aBPEGx1w9WFo/VmAp4e0TLFvxj/d89LwJ0eDIu4J1poCAos CJiOUG2e3iB9Hz1jng1O+etiWwC4jFyaZ9lA3rBiiUfxjCJM5sCybYGF6YWJb+Lq+Wab oVEb/+itECPA6ubIyR0ecxH4Ry+HKcc/DVk4ulbHha1Xu3PS11iXMvajasjC/aYANlfm dSmy4i9/i7IDoVVrweGb2peadvTfdIo7ONfAsGnTialmy0UAtdC2oJvxqgS3nLRTHBau Ng5Q== MIME-Version: 1.0 X-Received: by 10.31.47.130 with SMTP id v124mr54557541vkv.117.1448901958708; Mon, 30 Nov 2015 08:45:58 -0800 (PST) Received: by 10.103.106.199 with HTTP; Mon, 30 Nov 2015 08:45:58 -0800 (PST) In-Reply-To: <87two4e9v8.fsf@gnu.org> References: <8def219fd20047742c102943aaf6dea7@openmailbox.org> <87ziyjxtkp.fsf@gnu.org> <87k2picp2z.fsf_-_@gnu.org> <87a8qe85ku.fsf@gnu.org> <87two4e9v8.fsf@gnu.org> Date: Mon, 30 Nov 2015 17:45:58 +0100 X-Google-Sender-Auth: jT-jZBAQkC4XgGfUcXJ3S1N-3Yo Message-ID: Subject: Re: Tkinter moved to separate output From: Federico Beffa To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: multipart/mixed; boundary=001a1143122a9111430525c4c663 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20889 Cc: =?UTF-8?B?5a6L5paH5q2m?= , Guix-devel , iyzsong@member.fsf.org, 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a1143122a9111430525c4c663 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sun, Nov 29, 2015 at 11:09 PM, Ludovic Court=C3=A8s wrote= : > Federico Beffa skribis: > >> On Mon, Nov 16, 2015 at 1:57 PM, Ludovic Court=C3=A8s wro= te: >>> 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 defaul= t? >> >> 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? It does not work. It can't find the tcl/tk header files: ... tkagg: no [The C/C++ header for Tk (tk.h) could not be found. You may need to install the development package.] ... With the attached patch it does find the headers, but then it fails at link time. ... g++ -pthread -shared -Wl,-rpath=3D/gnu/store/cxrqlhbr6xqgi08x3amd0lvl6m7sxx57-python-3.4.3/lib build/temp.linux-x86_64-3.4/src/agg_py_transforms.o build/temp.linux-x86_64-3.4/src/_tkagg.o build/temp.linux-x86_64-3.4/extern/agg24/src/agg_bezier_arc.o build/temp.linux-x86_64-3.4/extern/agg24/src/agg_curves.o build/temp.linux-x86_64-3.4/extern/agg24/src/agg_image_filters.o build/temp.linux-x86_64-3.4/extern/agg24/src/agg_trans_affine.o build/temp.linux-x86_64-3.4/extern/agg24/src/agg_vcgen_contour.o build/temp.linux-x86_64-3.4/extern/agg24/src/agg_vcgen_dash.o build/temp.linux-x86_64-3.4/extern/agg24/src/agg_vcgen_stroke.o build/temp.linux-x86_64-3.4/extern/agg24/src/agg_vpgen_segmentator.o build/temp.linux-x86_64-3.4/extern/CXX/IndirectPythonInterface.o build/temp.linux-x86_64-3.4/extern/CXX/cxxsupport.o build/temp.linux-x86_64-3.4/extern/CXX/cxx_extensions.o build/temp.linux-x86_64-3.4/extern/CXX/cxxextensions.o -L/gnu/store/ipsq9hlk6k0w1qfiw0y0a03bxkp2clhl-tcl-8.6.4/lib -L/gnu/store/my9wgryzpfvksng6k7h87xz9rphdwddw-tk-8.6.4/lib -L/usr/local/lib -L/usr/local/lib -L/gnu/store/cxrqlhbr6xqgi08x3amd0lvl6m7sxx57-python-3.4.3/lib -ltcl -ltk -lstdc++ -lm -lpython3.4m -o build/lib.linux-x86_64-3.4/matplotlib/backends/_tkagg.cpython-34m.so ld: cannot find -ltcl ld: cannot find -ltk collect2: error: ld returned 1 exit status error: command 'g++' failed with exit status 1 phase `build' failed after 94.8 seconds ... Looking into the failed build directory, it seems that PKG_CONFIG_PATH is set correctly. Still, it doesn't get the correct flags. Regards, Fede --001a1143122a9111430525c4c663 Content-Type: text/x-diff; charset=US-ASCII; name="mpl.patch" Content-Disposition: attachment; filename="mpl.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ihm2v6ug1 ZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9weXRob24uc2NtIGIvZ251L3BhY2thZ2VzL3B5dGhv bi5zY20KaW5kZXggMzlkMDc1MS4uNGRmZTU1NyAxMDA2NDQKLS0tIGEvZ251L3BhY2thZ2VzL3B5 dGhvbi5zY20KKysrIGIvZ251L3BhY2thZ2VzL3B5dGhvbi5zY20KQEAgLTMxOTAsNiArMzE5MCw3 IEBAIHRyYW5zY2VuZGVudGFsIGZ1bmN0aW9ucykuIikKICAgICAgYCgoInB5dGhvbi1weXBhcnNp bmciICxweXRob24tcHlwYXJzaW5nKQogICAgICAgICgicHl0aG9uLXB5Z29iamVjdCIgLHB5dGhv bi1weWdvYmplY3QpCiAgICAgICAgKCJnb2JqZWN0LWludHJvc3BlY3Rpb24iICxnb2JqZWN0LWlu dHJvc3BlY3Rpb24pCisgICAgICAgKCJweXRob24tdGtpbnRlciIgLHB5dGhvbiAidGsiKQogICAg ICAgIDs7IFRoZSAnZ3RrKycgcGFja2FnZSAoYW5kICdnZGstcGl4YnVmJywgJ2F0aycgYW5kICdw YW5nbycgcHJvcGFnYXRlZAogICAgICAgIDs7IGZyb20gJ2d0aysnKSBwcm92aWRlcyB0aGUgcmVx dWlyZWQgJ3R5cGVsaWInIGZpbGVzIHVzZWQgYnkKICAgICAgICA7OyAnZ29iamVjdC1pbnRyb3Nw ZWN0aW9uJy4gVGhlIGxvY2F0aW9uIG9mIHRoZXNlIGZpbGVzIGlzIHNldCB3aXRoIHRoZQpAQCAt MzIyNCw3ICszMjI1LDggQEAgdHJhbnNjZW5kZW50YWwgZnVuY3Rpb25zKS4iKQogICAgICAgIDs7 IEZJWE1FOiBBZGQgYmFja2VuZHMgd2hlbiBhdmFpbGFibGUuCiAgICAgICAgOygicHl0aG9uLXd4 cHl0aG9uIiAscHl0aG9uLXd4cHl0aG9uKQogICAgICAgIDsoInB5dGhvbi1weXF0IiAscHl0aG9u LXB5cXQpCi0gICAgICAgKSkKKyAgICAgICAoInRjbCIgLHRjbCkKKyAgICAgICAoInRrIiAsdGsp KSkKICAgICAobmF0aXZlLWlucHV0cwogICAgICBgKCgicGtnLWNvbmZpZyIgLHBrZy1jb25maWcp CiAgICAgICAgKCJ0ZXhsaXZlIiAsdGV4bGl2ZSkKQEAgLTMyNDMsOCArMzI0NSwxMyBAQCB0cmFu c2NlbmRlbnRhbCBmdW5jdGlvbnMpLiIpCiAgICAgICAgICAgICAoc2V0ZW52ICJIT01FIiAoZ2V0 Y3dkKSkKICAgICAgICAgICAgIChjYWxsLXdpdGgtb3V0cHV0LWZpbGUgInNldHVwLmNmZyIKICAg ICAgICAgICAgICAgKGxhbWJkYSAocG9ydCkKLSAgICAgICAgICAgICAgICAoZm9ybWF0IHBvcnQg IltyY19vcHRpb25zXX4lCi1iYWNrZW5kID0gR1RLM0FnZ34lIikpKSkpCisgICAgICAgICAgICAg ICAgKGZvcm1hdCBwb3J0ICJbZGlyZWN0b3JpZXNdfiUKK2Jhc2VkaXJsaXN0ID0gfmEsfmF+JQor fiUKK1tyY19vcHRpb25zXX4lCitiYWNrZW5kID0gVGtBZ2d+JSIKKyAgICAgICAgICAgICAgICAg ICAgICAgIChhc3NvYy1yZWYgaW5wdXRzICJ0Y2wiKQorICAgICAgICAgICAgICAgICAgICAgICAg KGFzc29jLXJlZiBpbnB1dHMgInRrIikpKSkpKQogICAgICAgICAoYWxpc3QtY29ucy1hZnRlcgog ICAgICAgICAgJ2luc3RhbGwgJ2luc3RhbGwtZG9jCiAgICAgICAgICAobGFtYmRhKiAoIzprZXkg b3V0cHV0cyAjOmFsbG93LW90aGVyLWtleXMpCg== --001a1143122a9111430525c4c663-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 01 15:19:18 2015 Received: (at 20889) by debbugs.gnu.org; 1 Dec 2015 20:19:18 +0000 Received: from localhost ([127.0.0.1]:35393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3rOP-0000FY-HI for submit@debbugs.gnu.org; Tue, 01 Dec 2015 15:19:18 -0500 Received: from mail-vk0-f45.google.com ([209.85.213.45]:33315) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3rOM-0000FP-NC for 20889@debbugs.gnu.org; Tue, 01 Dec 2015 15:19:15 -0500 Received: by vkca188 with SMTP id a188so11764330vkc.0 for <20889@debbugs.gnu.org>; Tue, 01 Dec 2015 12:19:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=56cEqzl8KnQ50jeuDNvBsz9Rzgk3NomLNAsjwC7LYy8=; b=QrDhJLbvKSaIUS9Ue2d3l0lKrm8CsEfN3KO1iAwcYQvUMHeM70XkklpxecBEeuNu2Q 3JRZldKqRq3MpnBNff+07H00nK4gojg4dyn0B/JdaGVJJhGBTH6H7P4Kd0WJ5zr5WXfk 71kQvufqeeAFqYWAD/WtNbs1u1lmtGtHC0NqVtq13y5aQVkDx/aqdqHteoUiy1IRSUoy SxarGuQ3kYq+zkzud/D/pETar7pAfC0OImUphbIEyiPx4gPFliJAE0KWBXw59DPFuVpW O6DSCj8qQFZx2pvpQUKdzbWGEYGBs+ry/zH8UmODhxbpuqi/mWEuKr1In6CDB7IsNOGS EX0g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee-org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:date:message-id:subject:from:to:cc:content-type; bh=56cEqzl8KnQ50jeuDNvBsz9Rzgk3NomLNAsjwC7LYy8=; b=2Gt09wZpukGj9M/mGYHXKfWZunS/Rl6MXDYhdnRPEBsucCP6f6Od6DLBSjyvcng6go 4AlYQ/+4BU0HLCh4BgI6WxLxUrjpWZi0qBiBebcZEVpuu+0Mt61DKloOSpXLRM3PYpPz LPdKI+UNd2elBtzNSBep21z7NfzW/h7DbBNqCEha/MPW57iCODlyk9hGsk3zyx5H/38D H2nl+prqyIy4w/1iVXZMHrCzNsXTqvrZrX+x6cxihp2glxAto+JAAMJFDdzp1MKJOB3q o+wdVRhJweeUzGjMyoOsR/mrbwN/fvw7AwraYJQgVIa8uaFX+WyKkl+Wgut5DFhsX1nK tRFQ== MIME-Version: 1.0 X-Received: by 10.31.13.205 with SMTP id 196mr59428077vkn.37.1449001154128; Tue, 01 Dec 2015 12:19:14 -0800 (PST) Received: by 10.103.106.199 with HTTP; Tue, 1 Dec 2015 12:19:14 -0800 (PST) Date: Tue, 1 Dec 2015 21:19:14 +0100 X-Google-Sender-Auth: tP65u2b4aIY_K_TIDb56QSy1j7A Message-ID: Subject: Re: Tkinter moved to separate output From: Federico Beffa To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: multipart/mixed; boundary=001a11458aea129c330525dbdf75 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20889 Cc: =?UTF-8?B?5a6L5paH5q2m?= , Guix-devel , iyzsong@member.fsf.org, 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11458aea129c330525dbdf75 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Federico Beffa writes: > On Sun, Nov 29, 2015 at 11:09 PM, Ludovic Court=C3=A8s wro= te: >> Federico Beffa skribis: > Looking into the failed build directory, it seems that PKG_CONFIG_PATH > is set correctly. Still, it doesn't get the correct flags. The attached patch fixes the problem and I can now plot with TkAgg :-) Thanks for making Tkinter available! Fede --001a11458aea129c330525dbdf75 Content-Type: text/x-diff; charset=US-ASCII; name="0001-gnu-python-matplotlib-Add-TkAgg-backend-and-update-t.patch" Content-Disposition: attachment; filename="0001-gnu-python-matplotlib-Add-TkAgg-backend-and-update-t.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ihntsdaj0 RnJvbSBiNDBjZjU1MjJiY2MxNTE2NmNhMDdkZmJhZTUwMTY3MjAzZDI5ZTJkIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBGZWRlcmljbyBCZWZmYSA8YmVmZmFAZmJlbmdpbmVlcmluZy5j aD4KRGF0ZTogVHVlLCAxIERlYyAyMDE1IDE3OjIwOjU5ICswMTAwClN1YmplY3Q6IFtQQVRDSCAx LzJdIGdudTogcHl0aG9uLW1hdHBsb3RsaWI6IEFkZCAnVGtBZ2cnIGJhY2tlbmQgYW5kIHVwZGF0 ZSB0bwogdmVyc2lvbiAnMS40LjMnLgoKKiBnbnUvcGFja2FnZXMvcHl0aG9uLnNjbSAocHl0aG9u LW1hdHBsb3RsaWIpOiBEbyBpdC4KKiBnbnUvcGFja2FnZXMvcGF0Y2hlcy9tYXRwbG90bGliLXNl dHVwZXh0LXRrLnBhdGNoOiBOZXcgZmlsZS4KLS0tCiBnbnUvcGFja2FnZXMvcGF0Y2hlcy9tYXRw bG90bGliLXNldHVwZXh0LXRrLnBhdGNoIHwgMzAgKysrKysrKysrKysrKysrKysrKysrKysKIGdu dS9wYWNrYWdlcy9weXRob24uc2NtICAgICAgICAgICAgICAgICAgICAgICAgICAgfCAxNyArKysr KysrKystLS0tCiAyIGZpbGVzIGNoYW5nZWQsIDQyIGluc2VydGlvbnMoKyksIDUgZGVsZXRpb25z KC0pCiBjcmVhdGUgbW9kZSAxMDA2NDQgZ251L3BhY2thZ2VzL3BhdGNoZXMvbWF0cGxvdGxpYi1z ZXR1cGV4dC10ay5wYXRjaAoKZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9wYXRjaGVzL21hdHBs b3RsaWItc2V0dXBleHQtdGsucGF0Y2ggYi9nbnUvcGFja2FnZXMvcGF0Y2hlcy9tYXRwbG90bGli LXNldHVwZXh0LXRrLnBhdGNoCm5ldyBmaWxlIG1vZGUgMTAwNjQ0CmluZGV4IDAwMDAwMDAuLmNk MDMzMmUKLS0tIC9kZXYvbnVsbAorKysgYi9nbnUvcGFja2FnZXMvcGF0Y2hlcy9tYXRwbG90bGli LXNldHVwZXh0LXRrLnBhdGNoCkBAIC0wLDAgKzEsMzAgQEAKK1VzZSAncGtnLWNvbmZpZycgaW5z dGVhZCBvZiBoZXVyaXN0aWNzIHRvIGZpbmQgJ3RrJyBmbGFncy4KKworLS0tIG1hdHBsb3RsaWIt MS40LjMvc2V0dXBleHQucHkub3JpZwkyMDE1LTEyLTAxIDE0OjIxOjE5LjU1NDQxNzQ1MyArMDEw MAorKysrIG1hdHBsb3RsaWItMS40LjMvc2V0dXBleHQucHkJMjAxNS0xMi0wMSAxNDozNTo1MS45 OTk5Mjg3OTcgKzAxMDAKK0BAIC0xNDU3LDcgKzE0NTcsNyBAQAorICAgICAgICAgICAgIHAgPSBz dWJwcm9jZXNzLlBvcGVuKAorICAgICAgICAgICAgICAgICAnLiAlcyA7IGV2YWwgZWNobyAkeyVz fScgJSAoZmlsZSwgdmFybmFtZSksCisgICAgICAgICAgICAgICAgIHNoZWxsPVRydWUsCistICAg ICAgICAgICAgICAgIGV4ZWN1dGFibGU9Ii9iaW4vc2giLAorKyAgICAgICAgICAgICAgICBleGVj dXRhYmxlPSJzaCIsCisgICAgICAgICAgICAgICAgIHN0ZG91dD1zdWJwcm9jZXNzLlBJUEUpCisg ICAgICAgICAgICAgcmVzdWx0ID0gcC5jb21tdW5pY2F0ZSgpWzBdCisgICAgICAgICAgICAgcmV0 dXJuIHJlc3VsdC5kZWNvZGUoJ2FzY2lpJykKK0BAIC0xNjAxLDggKzE2MDEsMTUgQEAKKyAgICAg ICAgICAgICAjICAgICAgb2YgZGlzdHJvcy4KKyAKKyAgICAgICAgICAgICAjIFF1ZXJ5IFRjbC9U ayBzeXN0ZW0gZm9yIGxpYnJhcnkgcGF0aHMgYW5kIHZlcnNpb24gc3RyaW5nCisrICAgICAgICAg ICAgZGVmIGdldG91dHB1dChzKToKKysgICAgICAgICAgICAgICAgcmV0ID0gb3MucG9wZW4ocyku cmVhZCgpLnN0cmlwKCkKKysgICAgICAgICAgICAgICAgcmV0dXJuIHJldAorICAgICAgICAgICAg IHRyeToKKy0gICAgICAgICAgICAgICAgdGNsX2xpYl9kaXIsIHRrX2xpYl9kaXIsIHRrX3ZlciA9 IHNlbGYucXVlcnlfdGNsdGsoKQorKyAgICAgICAgICAgICAgICAjdGNsX2xpYl9kaXIsIHRrX2xp Yl9kaXIsIHRrX3ZlciA9IHNlbGYucXVlcnlfdGNsdGsoKQorKyAgICAgICAgICAgICAgICBwa2df Y29uZmlnX3JlcyA9IGdldG91dHB1dCgncGtnLWNvbmZpZyAtLWxpYnMgdGsnKS5zcGxpdCgpCisr ICAgICAgICAgICAgICAgIHRrX3ZlciA9IHBrZ19jb25maWdfcmVzWy0xXVstMzpdCisrICAgICAg ICAgICAgICAgIHRjbF9saWJfZGlyID0gcGtnX2NvbmZpZ19yZXNbMF1bMjpdICsgJy90Y2wnICsg dGtfdmVyCisrICAgICAgICAgICAgICAgIHRrX2xpYl9kaXIgPSBwa2dfY29uZmlnX3Jlc1sxXVsy Ol0gKyAnL3RrJyArIHRrX3ZlcgorICAgICAgICAgICAgIGV4Y2VwdDoKKyAgICAgICAgICAgICAg ICAgdGtfdmVyID0gJycKKyAgICAgICAgICAgICAgICAgcmVzdWx0ID0gc2VsZi5oYXJkY29kZWRf dGNsX2NvbmZpZygpCmRpZmYgLS1naXQgYS9nbnUvcGFja2FnZXMvcHl0aG9uLnNjbSBiL2dudS9w YWNrYWdlcy9weXRob24uc2NtCmluZGV4IDM5ZDA3NTEuLjVlMjNiYWIgMTAwNjQ0Ci0tLSBhL2du dS9wYWNrYWdlcy9weXRob24uc2NtCisrKyBiL2dudS9wYWNrYWdlcy9weXRob24uc2NtCkBAIC0z MTc1LDcgKzMxNzUsNyBAQCB0cmFuc2NlbmRlbnRhbCBmdW5jdGlvbnMpLiIpCiAoZGVmaW5lLXB1 YmxpYyBweXRob24tbWF0cGxvdGxpYgogICAocGFja2FnZQogICAgIChuYW1lICJweXRob24tbWF0 cGxvdGxpYiIpCi0gICAgKHZlcnNpb24gIjEuNC4yIikKKyAgICAodmVyc2lvbiAiMS40LjMiKQog ICAgIChzb3VyY2UKICAgICAgKG9yaWdpbgogICAgICAgIChtZXRob2QgdXJsLWZldGNoKQpAQCAt MzE4MywxMyArMzE4MywxNSBAQCB0cmFuc2NlbmRlbnRhbCBmdW5jdGlvbnMpLiIpCiAgICAgICAg ICAgICAgICAgICAgICAgICAgICAiL21hdHBsb3RsaWItIiB2ZXJzaW9uICIudGFyLmd6IikpCiAg ICAgICAgKHNoYTI1NgogICAgICAgICAoYmFzZTMyCi0gICAgICAgICAiMG02djlud2RsZGx3azIy Z2NkMzM5emc2bW55NW0zMDFmeGdrczd6OHNiOG05d2F3ZzhxcCIpKSkpCisgICAgICAgICAiMWRu MDVjdmQwZzk4NGx6aGg3MndhMHo5M3BzZ3dzaGJiZzkzZmthYjZzbHg1bTNsOTVhdiIpKQorICAg ICAgIChwYXRjaGVzIChsaXN0IChzZWFyY2gtcGF0Y2ggIm1hdHBsb3RsaWItc2V0dXBleHQtdGsu cGF0Y2giKSkpKSkKICAgICAoYnVpbGQtc3lzdGVtIHB5dGhvbi1idWlsZC1zeXN0ZW0pCiAgICAg KG91dHB1dHMgJygib3V0IiAiZG9jIikpCiAgICAgKHByb3BhZ2F0ZWQtaW5wdXRzIDsgdGhlIGZv bGxvd2luZyBwYWNrYWdlcyBhcmUgYWxsIG5lZWRlZCBhdCBydW4gdGltZQogICAgICBgKCgicHl0 aG9uLXB5cGFyc2luZyIgLHB5dGhvbi1weXBhcnNpbmcpCiAgICAgICAgKCJweXRob24tcHlnb2Jq ZWN0IiAscHl0aG9uLXB5Z29iamVjdCkKICAgICAgICAoImdvYmplY3QtaW50cm9zcGVjdGlvbiIg LGdvYmplY3QtaW50cm9zcGVjdGlvbikKKyAgICAgICAoInB5dGhvbiIgLHB5dGhvbiAidGsiKQog ICAgICAgIDs7IFRoZSAnZ3RrKycgcGFja2FnZSAoYW5kICdnZGstcGl4YnVmJywgJ2F0aycgYW5k ICdwYW5nbycgcHJvcGFnYXRlZAogICAgICAgIDs7IGZyb20gJ2d0aysnKSBwcm92aWRlcyB0aGUg cmVxdWlyZWQgJ3R5cGVsaWInIGZpbGVzIHVzZWQgYnkKICAgICAgICA7OyAnZ29iamVjdC1pbnRy b3NwZWN0aW9uJy4gVGhlIGxvY2F0aW9uIG9mIHRoZXNlIGZpbGVzIGlzIHNldCB3aXRoIHRoZQpA QCAtMzIyNCw3ICszMjI2LDggQEAgdHJhbnNjZW5kZW50YWwgZnVuY3Rpb25zKS4iKQogICAgICAg IDs7IEZJWE1FOiBBZGQgYmFja2VuZHMgd2hlbiBhdmFpbGFibGUuCiAgICAgICAgOygicHl0aG9u LXd4cHl0aG9uIiAscHl0aG9uLXd4cHl0aG9uKQogICAgICAgIDsoInB5dGhvbi1weXF0IiAscHl0 aG9uLXB5cXQpCi0gICAgICAgKSkKKyAgICAgICAoInRjbCIgLHRjbCkKKyAgICAgICAoInRrIiAs dGspKSkKICAgICAobmF0aXZlLWlucHV0cwogICAgICBgKCgicGtnLWNvbmZpZyIgLHBrZy1jb25m aWcpCiAgICAgICAgKCJ0ZXhsaXZlIiAsdGV4bGl2ZSkKQEAgLTMyNDMsOCArMzI0NiwxMiBAQCB0 cmFuc2NlbmRlbnRhbCBmdW5jdGlvbnMpLiIpCiAgICAgICAgICAgICAoc2V0ZW52ICJIT01FIiAo Z2V0Y3dkKSkKICAgICAgICAgICAgIChjYWxsLXdpdGgtb3V0cHV0LWZpbGUgInNldHVwLmNmZyIK ICAgICAgICAgICAgICAgKGxhbWJkYSAocG9ydCkKLSAgICAgICAgICAgICAgICAoZm9ybWF0IHBv cnQgIltyY19vcHRpb25zXX4lCi1iYWNrZW5kID0gR1RLM0FnZ34lIikpKSkpCisgICAgICAgICAg ICAgICAgKGZvcm1hdCBwb3J0ICJbZGlyZWN0b3JpZXNdfiUKK2Jhc2VkaXJsaXN0ID0gfmEsfmF+ JQorW3JjX29wdGlvbnNdfiUKK2JhY2tlbmQgPSBUa0FnZ34lIgorICAgICAgICAgICAgICAgICAg ICAgICAgKGFzc29jLXJlZiBpbnB1dHMgInRjbCIpCisgICAgICAgICAgICAgICAgICAgICAgICAo YXNzb2MtcmVmIGlucHV0cyAidGsiKSkpKSkpCiAgICAgICAgIChhbGlzdC1jb25zLWFmdGVyCiAg ICAgICAgICAnaW5zdGFsbCAnaW5zdGFsbC1kb2MKICAgICAgICAgIChsYW1iZGEqICgjOmtleSBv dXRwdXRzICM6YWxsb3ctb3RoZXIta2V5cykKLS0gCjIuNC4zCgo= --001a11458aea129c330525dbdf75-- From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 01 17:01:08 2015 Received: (at 20889) by debbugs.gnu.org; 1 Dec 2015 22:01:08 +0000 Received: from localhost ([127.0.0.1]:35443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3syx-0002h7-Uf for submit@debbugs.gnu.org; Tue, 01 Dec 2015 17:01:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57231) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3syd-0002gJ-RV for 20889@debbugs.gnu.org; Tue, 01 Dec 2015 17:01:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3sya-00077G-Jv for 20889@debbugs.gnu.org; Tue, 01 Dec 2015 17:00:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48943) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3sya-00076z-EC; Tue, 01 Dec 2015 17:00:44 -0500 Received: from athedsl-350819.home.otenet.gr ([85.72.226.1]:55652 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1a3syZ-0003qg-LZ; Tue, 01 Dec 2015 17:00:44 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Federico Beffa Subject: Re: Tkinter moved to separate output References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 Frimaire an 224 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 01 Dec 2015 23:00:39 +0100 In-Reply-To: (Federico Beffa's message of "Tue, 1 Dec 2015 21:19:14 +0100") Message-ID: <87y4dd3k3c.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20889 Cc: =?utf-8?B?5a6L5paH5q2m?= , Guix-devel , iyzsong@member.fsf.org, 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Federico Beffa skribis: > The attached patch fixes the problem and I can now plot with TkAgg :-) > > Thanks for making Tkinter available! > Fede > > From b40cf5522bcc15166ca07dfbae50167203d29e2d Mon Sep 17 00:00:00 2001 > From: Federico Beffa > Date: Tue, 1 Dec 2015 17:20:59 +0100 > Subject: [PATCH 1/2] gnu: python-matplotlib: Add 'TkAgg' backend and upda= te to > version '1.4.3'. > > * gnu/packages/python.scm (python-matplotlib): Do it. > * gnu/packages/patches/matplotlib-setupext-tk.patch: New file. Nice! Please make sure to add the patch to gnu-system.am, but otherwise looks great! Thanks for fixing it! I gather this addresses http://bugs.gnu.org/20888, right? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 02 12:28:57 2015 Received: (at 20889) by debbugs.gnu.org; 2 Dec 2015 17:28:57 +0000 Received: from localhost ([127.0.0.1]:36426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4BD6-0001ev-Ut for submit@debbugs.gnu.org; Wed, 02 Dec 2015 12:28:57 -0500 Received: from mail-vk0-f52.google.com ([209.85.213.52]:36194) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a4BD4-0001eZ-94 for 20889@debbugs.gnu.org; Wed, 02 Dec 2015 12:28:54 -0500 Received: by vkay187 with SMTP id y187so29130917vka.3 for <20889@debbugs.gnu.org>; Wed, 02 Dec 2015 09:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=3+YQfM4Mt3YUzf3vEEW39UBki4Va0EbvZWGRaKPVkPA=; b=rK3D+8a5MKxDCz1NAaVuaMuRRqIDAyEXdrKZ38wMZQJRG7mUBJNx9AvyVWplLacJB3 nh08nnw5q3vjIJIPRD/5eE85xK9YBfbtCP3hXfPFccHJaeHmHK20IO3u+CsaonL7j8cQ ybxit5lK3EGjuHvXJQ4jvfjeN8uB4FNeC7FVIbNwoZaRz13JdQ4uMiNRD7JLdZj8JCDx FVgxxtjvbbkfMUl4HcnJNzb9q66GAdVFi4RNrO1MH+XheOIBX8/skMKfRDJmXx7Xd1vj S8aLzUeIHROpq6FH5Bxe+mBzVac6vLSLBu7qJ7sMHNicoLXemnWdKAhrHB1zNUwkzlWE W7oA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee-org.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=3+YQfM4Mt3YUzf3vEEW39UBki4Va0EbvZWGRaKPVkPA=; b=XbsDEblKZRd8Kv2RVHHfBTaa0HBKrBeuSGb5dJSrpllB8BhARgWIyKw7nncTVh19YP yRuDAeaYpepDvYbxqrADGq7kUeDpOL7Dpcx8/LqlJKMVvBewkTCYuWMDYKP4mUswJQkI Mqufyt+9ht3G3Cwe7oI/g2Blpczc9ZX2N31LZul/tmWTySrFBNeiVDu/7oLAN3/Nt61G CE1sBTgSfutmGv1pJAG7LtEnUAM70lYoqyDvZ2c/yFgSCS0ZNei/fRLZRVGub+J4vP+Q VlOpCWqXWwz/6jKLAEiFeed5WYwEWYKVAqf3uQVS1nxxuHJ3ZpOg1NEYRGavXRIM1DHO 7UyQ== MIME-Version: 1.0 X-Received: by 10.31.134.3 with SMTP id i3mr2976502vkd.14.1449077328528; Wed, 02 Dec 2015 09:28:48 -0800 (PST) Received: by 10.103.106.199 with HTTP; Wed, 2 Dec 2015 09:28:48 -0800 (PST) In-Reply-To: <87y4dd3k3c.fsf@gnu.org> References: <87y4dd3k3c.fsf@gnu.org> Date: Wed, 2 Dec 2015 18:28:48 +0100 X-Google-Sender-Auth: zVpx_4vWlmUp6geltNaGLVp61VA Message-ID: Subject: Re: Tkinter moved to separate output From: Federico Beffa To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20889 Cc: =?UTF-8?B?5a6L5paH5q2m?= , Guix-devel , iyzsong@member.fsf.org, 20889@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Tue, Dec 1, 2015 at 11:00 PM, Ludovic Court=C3=A8s wrote: > I gather this addresses http://bugs.gnu.org/20888, right? Well, it partially solves it: Now there is a working backend suitable for interactive plotting which is enabled by default. However, the 'GTK3Agg' backend is still there and still not working. At some point it would be nice to have it working as well. Regards, Fede From unknown Sun Jun 22 11:33:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 31 Dec 2015 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator