[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] Add libpeas.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 0/2] Add libpeas. |
Date: |
Thu, 17 Oct 2013 13:36:07 +0200 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
Cyril Roelandt <address@hidden> skribis:
> On Tue, Oct 15, 2013 at 10:12:25PM +0200, Ludovic Courtès wrote:
>> Cyril Roelandt <address@hidden> skribis:
>>
>> > These two patches add libpeas. The first one enables the introspection
>> > feature
>> > for a few GNOME packages; the second adds libpeas.
>>
>> Nice!
>>
>> > + ;; The scanner will use the CC environment variable.
>> > + (setenv "CC" "gcc")
>>
>> 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 :)
>
>>
>> IIUC it’d be just about patching ‘giscanner/sourcescanner.py’ to default
>> to /nix/store/.../bin/gcc instead of cc.
>>
>> 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' symlink,
> there will be no surprises.
Even better.
Thanks,
Ludo’.