all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Cyril Roelandt <tipecaml@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: gobject-introspection .gir search path
Date: Tue, 06 May 2014 10:07:33 +0200	[thread overview]
Message-ID: <87zjiv49fe.fsf@gnu.org> (raw)
In-Reply-To: <536817D0.9020600@gmail.com> (Cyril Roelandt's message of "Tue, 06 May 2014 00:59:28 +0200")

Cyril Roelandt <tipecaml@gmail.com> skribis:

> On 05/06/2014 12:36 AM, Ludovic Courtès wrote:
>> While trying to package librsvg, I stumbled upon this:
>> 
>> --8<---------------cut here---------------start------------->8---
>> Couldn't find include 'GdkPixbuf-2.0.gir' (search path: ['.', 'gir-1.0', '/gnu/store/xdd5ndl01700w23z206nc36nqg96z94v-gobject-introspection-1.38.0/share/gir-1.0', '/usr/share/gir-1.0', '/gnu/store/xdd5ndl01700w23z206nc36nqg96z94v-gobject-introspection-1.38.0/share/gir-1.0'])
>> /gnu/store/xdd5ndl01700w23z206nc36nqg96z94v-gobject-introspection-1.38.0/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'Rsvg-2.0.gir' failed
>> make[2]: *** [Rsvg-2.0.gir] Error 1
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Do you remember if the gobject-introspection “scanner” had a way to
>> specify a search path, like an env. var.?
>> 
>> Otherwise, how can we make sure that the .girs of inputs are visible?
>> 
>
> Look at the 'gir-directory' function in guix/build/gnome.scm. It's used
> in gnu/packages/{gtk,gnome}.scm and does exactly what you need.

Oh right, thanks, that does the job.

It’d be great to submit a patch upstream so that g-ir-compiler &
co. honor a GIR_PATH environment variable or similar.  That seems like
the right thing to do, and definitely helpful for us.

Since it’s written in Python, I thought perhaps you could lend a hand?
:-)

Ludo’.

  reply	other threads:[~2014-05-06  8:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-05 22:36 gobject-introspection .gir search path Ludovic Courtès
2014-05-05 22:59 ` Cyril Roelandt
2014-05-06  8:07   ` Ludovic Courtès [this message]
2014-05-06 18:01     ` Cyril Roelandt
2014-05-06 21:11       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjiv49fe.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=tipecaml@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.