From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 4/4] gnu: matplotlib: Add gtk3 backends. Date: Mon, 15 Dec 2014 23:37:34 +0100 Message-ID: <878ui8edzl.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0eGr-000343-Nw for guix-devel@gnu.org; Mon, 15 Dec 2014 17:37:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0eGm-0006bj-Us for guix-devel@gnu.org; Mon, 15 Dec 2014 17:37:41 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:49217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0eGm-0006bc-OA for guix-devel@gnu.org; Mon, 15 Dec 2014 17:37:36 -0500 In-Reply-To: (Federico Beffa's message of "Sun, 14 Dec 2014 20:52:21 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Federico Beffa Cc: Guix-devel Federico Beffa skribis: > This one is problematic: for the package to work the user has to define > > export GI_TYPELIB_PATH=3D~/.guix-profile/lib/girepository-1.0 > > and > > export LD_LIBRARY_PATH=3D~/.guix-profile/lib > > The former is required to instruct 'gobject-introspection' where to > find typelib files and should be fine, but I'm not sure how to display > a message telling this at the end of the installation. One should get a message about GI_TYPELIB_PATH, but only if gobject-introspection is also installed. Not sure if that helps. > The latter is a hack. As discussed on another thread, the typelib > files have references to dynamic libraries and they do not include the > full path. We are looking into a patch to add the full path into the > typelib files, however, the patch only works on newer versions of > 'gobject-introspection' which breaks several other packages. Yes, right. Speaking of which, could you (or Mark?) create a branch with all the updates that you did, so we keep track of it? > From e1e3df22ea06bd7325bc2a1fd389c89f13ccf752 Mon Sep 17 00:00:00 2001 > From: Federico Beffa > Date: Thu, 11 Dec 2014 14:26:13 +0100 > Subject: [PATCH 4/4] gnu: matplotlib: Add gtk3 backends. > > * gnu/packages/python.scm (python-matplotlib, python2-matplotlib): Add > necessary inputs and 'configure-environment' phase. The patch also move python-pyparsing from =E2=80=98inputs=E2=80=99 to =E2=80=98propagated-inputs=E2=80=99, so it would be good to mention it. > + (propagated-inputs > + `(("python-pyparsing" ,python-pyparsing) > + ("python-pygobject" ,python-pygobject) Could you add a comment saying why they=E2=80=99re here? > (native-inputs > `(("pkg-config" ,pkg-config) > ("texlive" ,texlive) > + ("ghostscript" ,ghostscript) This doesn=E2=80=99t sound GTK-related, no? Thanks, Ludo=E2=80=99.