GNU bug report logs -
#49122
gobject-introspection and not finding cairo
Previous Next
Full log
Message #17 received at 49122 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi John!
> 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))))))
> ```
Or, 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 ''())
`(append
(list
"-Dcairo=true"
(string-append "-Dcairo_libname="
(assoc-ref %build-inputs "cairo")
"/lib/libcairo-gobject.so"))
,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 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.