diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-08-31 22:46:32 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-08-31 23:02:29 +0200 |
commit | 1a51fe2768e7be1fd5eace4ef1b6d6f0b51e2e50 (patch) | |
tree | 731fa2f32ea712f79f09bd6b3e98fa7194319d1d /gnu/packages/patches/guile-rsvg-pkgconfig.patch | |
parent | 821664f115ca736b527851e39edbef2a04115644 (diff) | |
download | guix-1a51fe2768e7be1fd5eace4ef1b6d6f0b51e2e50.tar guix-1a51fe2768e7be1fd5eace4ef1b6d6f0b51e2e50.tar.gz |
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.
Diffstat (limited to 'gnu/packages/patches/guile-rsvg-pkgconfig.patch')
-rw-r--r-- | gnu/packages/patches/guile-rsvg-pkgconfig.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/guile-rsvg-pkgconfig.patch b/gnu/packages/patches/guile-rsvg-pkgconfig.patch new file mode 100644 index 0000000000..2272b4e1cd --- /dev/null +++ b/gnu/packages/patches/guile-rsvg-pkgconfig.patch @@ -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) |