From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 0/2] Add libpeas. Date: Thu, 17 Oct 2013 13:36:07 +0200 Message-ID: <87siw0i0yg.fsf@gnu.org> References: <1381796013-32146-1-git-send-email-tipecaml@gmail.com> <87txgijnti.fsf@gnu.org> <20131017004258.GA16206@gmail.com> 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]:34717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWlsH-0005g6-63 for guix-devel@gnu.org; Thu, 17 Oct 2013 07:36:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VWls9-0005bR-Qk for guix-devel@gnu.org; Thu, 17 Oct 2013 07:36:17 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:40562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VWls9-0005bI-KZ for guix-devel@gnu.org; Thu, 17 Oct 2013 07:36:09 -0400 In-Reply-To: <20131017004258.GA16206@gmail.com> (Cyril Roelandt's message of "Thu, 17 Oct 2013 02:42:58 +0200") 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: Cyril Roelandt Cc: guix-devel@gnu.org Cyril Roelandt skribis: > On Tue, Oct 15, 2013 at 10:12:25PM +0200, Ludovic Court=C3=A8s wrote: >> Cyril Roelandt skribis: >>=20 >> > These two patches add libpeas. The first one enables the introspection= feature >> > for a few GNOME packages; the second adds libpeas. >>=20 >> Nice! >>=20 >> > + ;; The scanner will use the CC environment variable. >> > + (setenv "CC" "gcc") >>=20 >> Before we copy/paste these two lines in a dozen packages ;-), what about >> patching the damn scanner directly in gobject-introspection? > > Indeed, this makes sense :) > >>=20 >> IIUC it=E2=80=99d be just about patching =E2=80=98giscanner/sourcescanne= r.py=E2=80=99 to default >> to /nix/store/.../bin/gcc instead of cc. >>=20 >> WDYT? > > I patched it so that it first tries to use $CC, then 'cc', then > /nix/store/.../bin/gcc. This way, if the user set $CC or has a 'cc' symli= nk, > there will be no surprises. Even better. Thanks, Ludo=E2=80=99.