[gimp] plug-ins: link file-svg against GEGL, it uses it indirectly
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: link file-svg against GEGL, it uses it indirectly
- Date: Sun, 18 Aug 2019 21:47:24 +0000 (UTC)
commit 1e49befef3cc0aea5c3715c96f2cb9d07216715e
Author: Michael Natterer <mitch gimp org>
Date: Sun Aug 18 23:19:09 2019 +0200
plug-ins: link file-svg against GEGL, it uses it indirectly
plug-ins/common/Makefile.am | 1 +
plug-ins/common/file-svg.c | 1 +
plug-ins/common/plugin-defs.pl | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/plug-ins/common/Makefile.am b/plug-ins/common/Makefile.am
index d68e2b8e7f..299be07e19 100644
--- a/plug-ins/common/Makefile.am
+++ b/plug-ins/common/Makefile.am
@@ -1064,6 +1064,7 @@ file_svg_LDADD = \
$(libgimpcolor) \
$(libgimpbase) \
$(GTK_LIBS) \
+ $(GEGL_LIBS) \
$(SVG_LIBS) \
$(RT_LIBS) \
$(INTLLIBS) \
diff --git a/plug-ins/common/file-svg.c b/plug-ins/common/file-svg.c
index f2a16943d6..d09f31de70 100644
--- a/plug-ins/common/file-svg.c
+++ b/plug-ins/common/file-svg.c
@@ -177,6 +177,7 @@ run (const gchar *name,
GError *error = NULL;
INIT_I18N ();
+ gegl_init (NULL, NULL);
run_mode = param[0].data.d_int32;
diff --git a/plug-ins/common/plugin-defs.pl b/plug-ins/common/plugin-defs.pl
index f6810fad09..c7893e1bfe 100644
--- a/plug-ins/common/plugin-defs.pl
+++ b/plug-ins/common/plugin-defs.pl
@@ -44,7 +44,7 @@
'file-psp' => { ui => 1, gegl => 1, libs => 'Z_LIBS' },
'file-raw-data' => { ui => 1, gegl => 1 },
'file-sunras' => { ui => 1, gegl => 1 },
- 'file-svg' => { ui => 1, libs => 'SVG_LIBS', cflags => 'SVG_CFLAGS' },
+ 'file-svg' => { ui => 1, gegl => 1, libs => 'SVG_LIBS', cflags => 'SVG_CFLAGS' },
'file-tga' => { ui => 1, gegl => 1 },
'file-wmf' => { ui => 1, gegl => 1, optional => 1, libs => 'WMF_LIBS', cflags => 'WMF_CFLAGS' },
'file-xbm' => { ui => 1, gegl => 1 },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]