GNU bug report logs - #49122
gobject-introspection and not finding cairo

Previous Next

Package: guix;

Reported by: John Kehayias <john.kehayias <at> protonmail.com>

Date: Sun, 20 Jun 2021 00:25:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Raghav Gururajan <rg <at> raghavgururajan.name>
To: 49122 <at> debbugs.gnu.org
Subject: bug#49122: gobject-introspection and not finding cairo
Date: Tue, 7 Sep 2021 19:06:42 -0400
[Message part 1 (text/plain, inline)]
Hi John!

You could try creating a gobject-introspection variant with cairo 
enabled and use that variant as native-input for your packages.

Something like this:

```
(define-public gobject-introspection+cairo
  (hidden-package
   (package
     (inherit gobject-introspection)
     (arguments
      (substitute-keyword-arguments (package-arguments 
gobject-introspection)
        ((#:configure-flags flags ''())
         `(cons* "-Dcairo=true" ,flags))))
     (inputs
      `(("cairo" ,cairo)
        ,@(package-inputs gobject-introspection))))))
```

Regards,
RG.
[OpenPGP_0x5F5816647F8BE551.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

This bug report was last modified 1 year and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.