inkscape: add 0.43
authorKoen Kooi <koen@openembedded.org>
Sun, 19 Feb 2006 10:27:05 +0000 (10:27 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 19 Feb 2006 10:27:05 +0000 (10:27 +0000)
packages/inkscape/files/.mtn2git_empty [new file with mode: 0644]
packages/inkscape/files/no-boehm-version-check.patch [new file with mode: 0644]
packages/inkscape/inkscape_0.43.bb [new file with mode: 0644]

diff --git a/packages/inkscape/files/.mtn2git_empty b/packages/inkscape/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/inkscape/files/no-boehm-version-check.patch b/packages/inkscape/files/no-boehm-version-check.patch
new file mode 100644 (file)
index 0000000..4a9c036
--- /dev/null
@@ -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 (file)
index 0000000..48b4334
--- /dev/null
@@ -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"