From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: gobject-introspection typelibs and shared libraries Date: Tue, 13 Jan 2015 21:22:34 +0100 Message-ID: <87zj9m8m7p.fsf@gnu.org> References: <87ppbvkwzj.fsf@gnu.org> <87k322cx77.fsf@gnu.org> <87oardq3n3.fsf@gnu.org> <87k3202k5u.fsf@netris.org> <87fvco2jgl.fsf@netris.org> <871to7q4a2.fsf@gnu.org> <87k31zll2s.fsf@gnu.org> <87h9wumz6f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB7z6-0004p7-Vg for guix-devel@gnu.org; Tue, 13 Jan 2015 15:22:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB7z3-0002N3-Nx for guix-devel@gnu.org; Tue, 13 Jan 2015 15:22:40 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:39026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB7z3-0002M5-Hz for guix-devel@gnu.org; Tue, 13 Jan 2015 15:22:37 -0500 In-Reply-To: (Federico Beffa's message of "Tue, 13 Jan 2015 18:10:03 +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: > The question is: do we want to make a 'cc' symlink to 'gcc' in the > 'gcc' package? So far we=E2=80=99ve resisted the temptation, and it=E2=80=99s rarely been = an issue. :-) > From 355bae94512391434bb6c7e14e8632451654380b Mon Sep 17 00:00:00 2001 > From: Federico Beffa > Date: Tue, 13 Jan 2015 16:25:29 +0100 > Subject: [PATCH] gnu: eudev: Add pre-build phase. > > * gnu/packages/linux.scm (eudev): Add 'pre-build phase to fix compilation= with > 'gobject-introspection' 1.42.0. [...] > + (alist-cons-before > + 'build 'pre-build > + ;; The program 'g-ir-scanner' (part of the package > + ;; 'gobject-introspection'), to generate .gir files, makes some > + ;; library pre-processing. During that phase it looks for the C > + ;; compiler as either 'cc' or as defined by the environment vari= able > + ;; 'CC' (with code in 'giscanner/dumper.py'). > + (lambda* (#:key inputs #:allow-other-keys) > + (let ((gcc (string-append (assoc-ref inputs "gcc") "/bin/gcc")= )) > + (setenv "CC" gcc))) I suspect this may be simplified with just: (setenv "CC" "gcc") Otherwise LGTM. Thanks, Ludo=E2=80=99.