summaryrefslogtreecommitdiff
path: root/packages/inkscape
diff options
context:
space:
mode:
Diffstat (limited to 'packages/inkscape')
-rw-r--r--packages/inkscape/files/.mtn2git_empty0
-rw-r--r--packages/inkscape/files/no-boehm-version-check.patch28
-rw-r--r--packages/inkscape/inkscape_0.43.bb17
3 files changed, 45 insertions, 0 deletions
diff --git a/packages/inkscape/files/.mtn2git_empty b/packages/inkscape/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/inkscape/files/.mtn2git_empty
diff --git a/packages/inkscape/files/no-boehm-version-check.patch b/packages/inkscape/files/no-boehm-version-check.patch
new file mode 100644
index 0000000000..4a9c036142
--- /dev/null
+++ b/packages/inkscape/files/no-boehm-version-check.patch
@@ -0,0 +1,28 @@
+--- /tmp/configure.ac 2006-02-19 10:43:44.525208784 +0100
++++ inkscape-0.43/configure.ac 2006-02-19 10:43:55.582527816 +0100
+@@ -133,24 +133,7 @@
+ [gc_ok=no])
+ if test "x$gc_ok" = "xyes"; then
+ AC_MSG_CHECKING([libgc version 6.4+])
+- AC_RUN_IFELSE(
+- [AC_LANG_SOURCE([[
+- #ifdef HAVE_GC_GC_H
+- # include <gc/gc.h>
+- #else
+- # include <gc.h>
+- #endif
+- #include <stdio.h>
+- extern unsigned GC_version;
+- int main(void){
+- unsigned min = ((6 << 16) | (4 << 8) | 0);
+- printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF);
+- if (GC_version>=min) return 0;
+- return 1;
+- }]])],
+- [gc_ok=yes],
+- [gc_ok=no]
+- )
++ [gc_ok=yes]
+ AC_MSG_RESULT([$gc_ok])
+ fi
+ if test "x$gc_ok" != "xyes"; then
diff --git a/packages/inkscape/inkscape_0.43.bb b/packages/inkscape/inkscape_0.43.bb
new file mode 100644
index 0000000000..48b4334291
--- /dev/null
+++ b/packages/inkscape/inkscape_0.43.bb
@@ -0,0 +1,17 @@
+SECTION = "x11/utils"
+DESCRIPTION = "Inkscape is an SVG-based graphics editor featuring alpha \
+blending, node editing, SVG to PNG export, and more. Its goal is for features \
+similar to Illustrator, CorelDraw, Visio, etc."
+MAINTAINER = "Koen Kooi <koen@handhelds.org>"
+DEPENDS = "libgc intltool-native gtk+ gtkmm glibmm libart-lgpl libxslt librsvg libxml2 libsigc++-1.2 popt"
+LICENSE = "GPL"
+
+#we know that GC version is 6.5, so we patch out the version check, since gc_open was already detected
+SRC_URI = "${SOURCEFORGE_MIRROR}/inkscape/inkscape-${PV}.tar.bz2 \
+ file://no-boehm-version-check.patch;patch=1"
+
+S = "${WORKDIR}/inkscape-${PV}"
+
+inherit autotools gettext
+
+EXTRA_OECONF = "--disable-mmx"