mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 04:20:44 +02:00
gnu: Add Guile-RSVG.
* gnu/packages/gtk.scm (guile-rsvg): New variable. * gnu/packages/patches/guile-rsvg-pkgconfig.patch: New file. * gnu-system.am (dist_patch_DATA): Add it.
This commit is contained in:
parent
821664f115
commit
1a51fe2768
3 changed files with 57 additions and 0 deletions
16
gnu/packages/patches/guile-rsvg-pkgconfig.patch
Normal file
16
gnu/packages/patches/guile-rsvg-pkgconfig.patch
Normal file
|
@ -0,0 +1,16 @@
|
|||
This patch fixes a bug in guile-rsvg's build system, whereby the CFLAGS
|
||||
and LDFLAGS for Guile would not be captured.
|
||||
|
||||
--- guile-rsvg-2.18.1/configure.ac 2015-08-31 22:30:30.578909480 +0200
|
||||
+++ guile-rsvg-2.18.1/configure.ac 2015-08-31 22:32:15.071516084 +0200
|
||||
@@ -39,6 +39,10 @@ AC_SUBST(WARN_CFLAGS)
|
||||
|
||||
GUILE_PKG([2.2 2.0 1.8])
|
||||
|
||||
+dnl The above macro fails to set the 'GUILE_CFLAGS' and 'GUILE_LIBS'
|
||||
+dnl substitution variables, hence this line.
|
||||
+PKG_CHECK_MODULES(GUILE, guile-2.0)
|
||||
+
|
||||
PKG_CHECK_MODULES(GUILE_CAIRO, guile-cairo >= 1.4.0)
|
||||
AC_SUBST(GUILE_CAIRO_LIBS)
|
||||
AC_SUBST(GUILE_CAIRO_CFLAGS)
|
Loading…
Add table
Add a link
Reference in a new issue