summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2016-01-11 14:17:25 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2016-01-11 14:17:25 +0000
commitf0fb69a1720dc6cfdd1157ddf742e327c8601947 (patch)
treebae988e91ebcce7f8db5cdb7ed057040099e8a86
parentSupport rendering of radial gradients with the 'fr' attribute. New in SVG 2. (diff)
downloadinkscape-f0fb69a1720dc6cfdd1157ddf742e327c8601947.tar.gz
inkscape-f0fb69a1720dc6cfdd1157ddf742e327c8601947.zip
Bump libgc dependency to 7.2 (see bug #1530286)
(bzr r14570)
-rw-r--r--configure.ac14
-rw-r--r--src/inkgc/gc.cpp6
2 files changed, 1 insertions, 19 deletions
diff --git a/configure.ac b/configure.ac
index 30aed6224..f0caea49f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -709,7 +709,7 @@ PKG_CHECK_MODULES(INKSCAPE_CXX_DEPS,
)
PKG_CHECK_MODULES(INKSCAPE,
- bdw-gc >= 7.1
+ bdw-gc >= 7.2
cairo >= 1.10
glib-2.0 >= 2.28
gsl
@@ -721,18 +721,6 @@ PKG_CHECK_MODULES(INKSCAPE,
pangoft2 >= 1.24
)
-dnl See if we are able to use new libgc API. This test should be removed and
-dnl the version number in the INKSCAPE test above should be bumped to >= 7.2
-dnl once all supported platforms have the required library version.
-dnl See bug #1530286.
-PKG_CHECK_MODULES(GC_7_2, bdw-gc >= 7.2, with_gc_7_2=yes, with_gc_7_2=no)
-
-if test "x$with_gc_7_2" = "xyes"; then
- AC_DEFINE(WITH_GC_7_2, 1, [Build with GC 7.2 or higher])
-else
- AC_MSG_WARN([Using an old version of libgc. Please consider upgrading to version 7.2 or newer.])
-fi
-
dnl *********************************
dnl Allow experimental GTK+3 build
dnl *********************************
diff --git a/src/inkgc/gc.cpp b/src/inkgc/gc.cpp
index 9372ac693..ffa94ea2a 100644
--- a/src/inkgc/gc.cpp
+++ b/src/inkgc/gc.cpp
@@ -28,15 +28,9 @@ void display_warning(char *msg, GC_word arg) {
}
void do_init() {
-#if WITH_GC_7_2
GC_set_no_dls(1);
GC_set_all_interior_pointers(1);
GC_set_finalize_on_demand(0);
-#else
- GC_no_dls = 1;
- GC_all_interior_pointers = 1;
- GC_finalize_on_demand = 0;
-#endif
GC_INIT();