Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d0c7f5c5e5a178f4fb311cbe2836fd73fb974cf9
commit d0c7f5c5e5a178f4fb311cbe2836fd73fb974cf9 Author: Miklos Vajna <vmik...@frugalware.org> Date: Thu Nov 26 13:08:02 2009 +0100 inkscape-0.47-1-i686 - version bump - all patches are in upstream \o/ diff --git a/source/xapps-extra/inkscape/FrugalBuild b/source/xapps-extra/inkscape/FrugalBuild index 38dff9a..7a90d99 100644 --- a/source/xapps-extra/inkscape/FrugalBuild +++ b/source/xapps-extra/inkscape/FrugalBuild @@ -3,12 +3,12 @@ # Contributor: Shrift <shr...@frugalware.org> pkgname=inkscape -pkgver=0.46 -pkgrel=5 +pkgver=0.47 +pkgrel=1 pkgdesc="A vector illustrator program" depends=('openssl' 'lcms' 'cairomm' 'libgcc' 'atk' 'gtkmm>=2.10.10-3' 'glibmm' 'freetype2' 'libxcb>=1.3-1' \ 'pango>=1.14.3' 'libgc>=7.0' 'glib2' 'gtkspell' 'popt' 'gtk+2>=2.10.7' 'python>=2.6' 'perl' \ - 'poppler-glib' 'imagemagick>=6.5.3_2-1') + 'poppler-glib' 'imagemagick>=6.5.3_2-1' 'gsl') makedepends=('boost>=1.34.1' 'intltool' 'perl-xml-parser') rodepends=('libxml2>=2.6.20' 'pyxml' 'libxslt' 'lxml') groups=('xapps-extra') @@ -16,26 +16,13 @@ archs=('i686' 'x86_64') options=('scriptlet') Finclude sourceforge url="http://www.inkscape.org/" -source=($source perl5.10.patch inkscape-0.46-poppler-0.8.3.patch \ - gtk-2.13.patch inkscape-0.46-gcc44{,_p2}.patch \ - inkscape-0.46-glibc2.10.patch inkscape-0.46-dupe.patch) -sha1sums=('b7c53c6d2bc0de4ff24d4a6bee86359ff11bef27' \ - '4c36b0e825771ffdfe3c548cb6037ac80c10a60c' \ - '16ee2bb1e56d260c3e0b30f8bcaee8a2b0963412' \ - 'd0257245079880c2aef0ffc609598924df999672' \ - '927bd2e39d829e61ac990fc72a2fb2de3952c3ec' \ - 'c20cb7caee6f9e27dac77ec3d0fea595e6ffec1c' \ - 'b9078c7c7c8c6654ec646997436b3e78ffc0927e' \ - 'afb37e80f94e63c8174122e3ea51ce384d74a52c') +sha1sums=('aa39d5f7306edb21be4987651041bf50c13baf75') # TODO: java ?! build() { - Fcd - Fpatchall - Fautoreconf - Fmake \ + Fbuild \ --without-gnome-print \ --with-gnu-ld \ --without-gnome-vfs \ @@ -48,7 +35,6 @@ build() --disable-dependency-tracking ## Debug ## --enable-debug --with-debug - Fmakeinstall } # optimization OK diff --git a/source/xapps-extra/inkscape/gtk-2.13.patch b/source/xapps-extra/inkscape/gtk-2.13.patch deleted file mode 100644 index f916b70..0000000 --- a/source/xapps-extra/inkscape/gtk-2.13.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/src/widgets/sp-xmlview-attr-list.h b/src/widgets/sp-xmlview-attr-list.h -index 7c6f00b..bded318 100644 ---- a/src/widgets/sp-xmlview-attr-list.h -+++ b/src/widgets/sp-xmlview-attr-list.h -@@ -13,7 +13,7 @@ - */ - - #include <stdio.h> --#include <gtk/gtkclist.h> -+#include <gtk/gtk.h> - #include "../xml/repr.h" - - #include <glib.h> diff --git a/source/xapps-extra/inkscape/inkscape-0.46-dupe.patch b/source/xapps-extra/inkscape/inkscape-0.46-dupe.patch deleted file mode 100644 index e3f97e1..0000000 --- a/source/xapps-extra/inkscape/inkscape-0.46-dupe.patch +++ /dev/null @@ -1,22 +0,0 @@ - /bin/install -c -m 644 README default.svg A4_landscape.svg A4.svg black_opaque.svg white_opaque.svg business_card_85x54mm.svg business_card_90x50mm.svg CD_cover_300dpi.svg DVD_cover_regular_300dpi.svg DVD_cover_slim_300dpi.svg DVD_cover_superslim_300dpi.svg DVD_cover_ultraslim_300dpi.svg default.svg default.ca.svg default.cs.svg default.de.svg default.eo.svg default.eu.svg default.es.svg default.fi.svg default.fr.svg default.hu.svg default.it.svg default.lt.svg default.pl.svg default.pt_BR.svg default.sk.svg default_mm.svg default_pt.svg desktop_1024x768.svg desktop_1600x1200.svg desktop_640x480.svg desktop_800x600.svg fontforge_glyph.svg icon_16x16.svg icon_32x32.svg icon_48x48.svg icon_64x64.svg Letter_landscape.svg '/var/tmp/fst/pkg/usr/share/inkscape/templates' -/bin/install: will not overwrite just-created `/var/tmp/fst/pkg/usr/share/inkscape/templates/default.svg' with `default.svg' -make[3]: *** [install-templatesDATA] Error 1 -make[3]: Leaving directory `/var/tmp/fst/src/inkscape-0.46/share/templates' -make[2]: *** [install-am] Error 2 -make[2]: Leaving directory `/var/tmp/fst/src/inkscape-0.46/share/templates' -make[1]: *** [install-recursive] Error 1 -make[1]: Leaving directory `/var/tmp/fst/src/inkscape-0.46/share' -make: *** [install-recursive] Error 1 - -diff --git a/share/templates/Makefile.am b/share/templates/Makefile.am -index 62ee5a1..bbd320c 100644 ---- a/share/templates/Makefile.am -+++ b/share/templates/Makefile.am -@@ -15,7 +15,6 @@ templates_DATA = \ - DVD_cover_slim_300dpi.svg \ - DVD_cover_superslim_300dpi.svg \ - DVD_cover_ultraslim_300dpi.svg \ -- default.svg \ - default.ca.svg \ - default.cs.svg \ - default.de.svg \ diff --git a/source/xapps-extra/inkscape/inkscape-0.46-gcc44.patch b/source/xapps-extra/inkscape/inkscape-0.46-gcc44.patch deleted file mode 100644 index 5a7369c..0000000 --- a/source/xapps-extra/inkscape/inkscape-0.46-gcc44.patch +++ /dev/null @@ -1,188 +0,0 @@ -diff -Naur inkscape-0.46-orig/src/2geom/sbasis-math.cpp inkscape-0.46/src/2geom/sbasis-math.cpp ---- inkscape-0.46-orig/src/2geom/sbasis-math.cpp 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/2geom/sbasis-math.cpp 2009-04-05 18:21:30.000000000 -0400 -@@ -38,11 +38,11 @@ - //#define ZERO 1e-3 - - --namespace Geom { -+#include <math.h> -+#include <cstdio> - -+namespace Geom { - --#include <stdio.h> --#include <math.h> - - //-|x|----------------------------------------------------------------------- - Piecewise<SBasis> abs(SBasis const &f){ -diff -Naur inkscape-0.46-orig/src/2geom/svg-path-parser.h inkscape-0.46/src/2geom/svg-path-parser.h ---- inkscape-0.46-orig/src/2geom/svg-path-parser.h 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/2geom/svg-path-parser.h 2009-04-05 18:21:30.000000000 -0400 -@@ -32,6 +32,7 @@ - #ifndef SEEN_SVG_PATH_PARSER_H - #define SEEN_SVG_PATH_PARSER_H - -+#include <cstdio> - #include <vector> - #include <iterator> - #include <stdexcept> -diff -Naur inkscape-0.46-orig/src/dom/domimpl.cpp inkscape-0.46/src/dom/domimpl.cpp ---- inkscape-0.46-orig/src/dom/domimpl.cpp 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/dom/domimpl.cpp 2009-04-05 18:21:30.000000000 -0400 -@@ -30,6 +30,8 @@ - - #include "domimpl.h" - -+#include <cstdio> -+ - namespace org - { - namespace w3c -diff -Naur inkscape-0.46-orig/src/dom/io/domstream.h inkscape-0.46/src/dom/io/domstream.h ---- inkscape-0.46-orig/src/dom/io/domstream.h 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/dom/io/domstream.h 2009-04-05 18:21:30.000000000 -0400 -@@ -33,6 +33,8 @@ - - #include <dom/dom.h> - -+#include <cstdio> -+ - namespace org - { - namespace w3c -diff -Naur inkscape-0.46-orig/src/dom/io/socket.h inkscape-0.46/src/dom/io/socket.h ---- inkscape-0.46-orig/src/dom/io/socket.h 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/dom/io/socket.h 2009-04-05 18:34:14.000000000 -0400 -@@ -29,6 +29,7 @@ - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -+#include <cstdio> - #include "dom/dom.h" - - #ifdef HAVE_SSL -diff -Naur inkscape-0.46-orig/src/dom/io/stringstream.h inkscape-0.46/src/dom/io/stringstream.h ---- inkscape-0.46-orig/src/dom/io/stringstream.h 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/dom/io/stringstream.h 2009-04-05 18:22:50.000000000 -0400 -@@ -29,7 +29,7 @@ - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -- -+#include <cstdio> - #include "domstream.h" - - -diff -Naur inkscape-0.46-orig/src/dom/svg/svgtypes.h inkscape-0.46/src/dom/svg/svgtypes.h ---- inkscape-0.46-orig/src/dom/svg/svgtypes.h 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/dom/svg/svgtypes.h 2009-04-05 18:21:30.000000000 -0400 -@@ -47,6 +47,7 @@ - #include "dom/smil.h" - - -+#include <cstdio> - #include <math.h> - - -diff -Naur inkscape-0.46-orig/src/dom/xpathtoken.h inkscape-0.46/src/dom/xpathtoken.h ---- inkscape-0.46-orig/src/dom/xpathtoken.h 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/dom/xpathtoken.h 2009-04-05 18:21:30.000000000 -0400 -@@ -35,6 +35,7 @@ - - #include <math.h> - -+#include <cstdio> - #include <vector> - - namespace org -diff -Naur inkscape-0.46-orig/src/io/inkscapestream.h inkscape-0.46/src/io/inkscapestream.h ---- inkscape-0.46-orig/src/io/inkscapestream.h 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/io/inkscapestream.h 2009-04-05 18:21:30.000000000 -0400 -@@ -12,6 +12,7 @@ - */ - - -+#include <cstdio> - #include <glibmm.h> - - namespace Inkscape -diff -Naur inkscape-0.46-orig/src/io/sys.cpp inkscape-0.46/src/io/sys.cpp ---- inkscape-0.46-orig/src/io/sys.cpp 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/io/sys.cpp 2009-04-05 18:21:30.000000000 -0400 -@@ -22,6 +22,8 @@ - #include <glibmm/ustring.h> - #include <gtk/gtkmessagedialog.h> - -+#include <cstdio> -+ - #include "prefs-utils.h" - #include "sys.h" - -diff -Naur inkscape-0.46-orig/src/libavoid/vertices.h inkscape-0.46/src/libavoid/vertices.h ---- inkscape-0.46-orig/src/libavoid/vertices.h 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/libavoid/vertices.h 2009-04-05 18:21:30.000000000 -0400 -@@ -23,6 +23,7 @@ - #ifndef AVOID_VERTICES_H - #define AVOID_VERTICES_H - -+#include <cstdio> - #include <list> - #include <set> - #include <map> -diff -Naur inkscape-0.46-orig/src/libnr/nr-matrix-fns.cpp inkscape-0.46/src/libnr/nr-matrix-fns.cpp ---- inkscape-0.46-orig/src/libnr/nr-matrix-fns.cpp 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/libnr/nr-matrix-fns.cpp 2009-04-05 18:21:30.000000000 -0400 -@@ -1,5 +1,7 @@ - #include <libnr/nr-matrix-fns.h> - -+#include <cstdio> -+ - namespace NR { - - Matrix elliptic_quadratic_form(Matrix const &m) { -diff -Naur inkscape-0.46-orig/src/libnr/nr-matrix.cpp inkscape-0.46/src/libnr/nr-matrix.cpp ---- inkscape-0.46-orig/src/libnr/nr-matrix.cpp 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/libnr/nr-matrix.cpp 2009-04-05 18:21:30.000000000 -0400 -@@ -11,6 +11,7 @@ - * This code is in public domain - */ - -+#include <cstdio> - #include <cstdlib> - #include "nr-matrix.h" - -diff -Naur inkscape-0.46-orig/src/streams-handles.cpp inkscape-0.46/src/streams-handles.cpp ---- inkscape-0.46-orig/src/streams-handles.cpp 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/streams-handles.cpp 2009-04-05 18:21:30.000000000 -0400 -@@ -12,6 +12,7 @@ - #include "streams-handles.h" - #include "uri.h" - -+#include <cstdio> - #include <iostream> - - namespace Inkscape { -diff -Naur inkscape-0.46-orig/src/streams-zlib.cpp inkscape-0.46/src/streams-zlib.cpp ---- inkscape-0.46-orig/src/streams-zlib.cpp 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/streams-zlib.cpp 2009-04-05 18:21:30.000000000 -0400 -@@ -9,6 +9,7 @@ - * Released under GNU LGPL, read the file 'COPYING.LIB' for more information - */ - -+#include <cstdio> - #include <cstring> - #include <string> - #include <string.h> -diff -Naur inkscape-0.46-orig/src/xml/event.cpp inkscape-0.46/src/xml/event.cpp ---- inkscape-0.46-orig/src/xml/event.cpp 2009-04-05 16:47:42.000000000 -0400 -+++ inkscape-0.46/src/xml/event.cpp 2009-04-05 18:21:30.000000000 -0400 -@@ -14,6 +14,7 @@ - */ - - #include <glib.h> // g_assert() -+#include <cstdio> - - #include "event.h" - #include "event-fns.h" - diff --git a/source/xapps-extra/inkscape/inkscape-0.46-gcc44_p2.patch b/source/xapps-extra/inkscape/inkscape-0.46-gcc44_p2.patch deleted file mode 100644 index 0d2fcd4..0000000 --- a/source/xapps-extra/inkscape/inkscape-0.46-gcc44_p2.patch +++ /dev/null @@ -1,29 +0,0 @@ -One more typing fix for GCC 4.4, and fix a NULL dereference on startup. - -Lubomir Rintel <lkund...@v3.sk> - -diff -up inkscape/src/extension/internal/bitmap/imagemagick.cpp.gcc44 inkscape/src/extension/internal/bitmap/imagemagick.cpp ---- inkscape/src/extension/internal/bitmap/imagemagick.cpp.gcc44 2009-01-28 22:12:57.000000000 +0100 -+++ inkscape/src/extension/internal/bitmap/imagemagick.cpp 2009-03-02 17:05:57.000000000 +0100 -@@ -114,7 +114,7 @@ ImageMagickDocCache::readImage(const cha - char *search = (char *) g_strndup(xlink, 30); - if (strstr(search, "base64") != (char*)NULL) { - // 7 = strlen("base64") + strlen(",") -- char* pureBase64 = strstr(xlink, "base64") + 7; -+ const char* pureBase64 = strstr(xlink, "base64") + 7; - Magick::Blob blob; - blob.base64(pureBase64); - image->read(blob); -diff -up inkscape/src/libnr/nr-object.cpp.gcc44 inkscape/src/libnr/nr-object.cpp ---- inkscape/src/libnr/nr-object.cpp.gcc44 2009-03-02 17:06:46.000000000 +0100 -+++ inkscape/src/libnr/nr-object.cpp 2009-03-02 17:06:58.000000000 +0100 -@@ -198,8 +198,8 @@ NRObject *NRObject::alloc(NRType type) - ); - memset(object, 0xf0, c->isize); - -- object->klass = c; - c->cpp_ctor(object); -+ object->klass = c; - nr_class_tree_object_invoke_init (c, object); - - return object; diff --git a/source/xapps-extra/inkscape/inkscape-0.46-glibc2.10.patch b/source/xapps-extra/inkscape/inkscape-0.46-glibc2.10.patch deleted file mode 100644 index 376fe59..0000000 --- a/source/xapps-extra/inkscape/inkscape-0.46-glibc2.10.patch +++ /dev/null @@ -1,177 +0,0 @@ -diff -ru src/dialogs/export.cpp src/dialogs/export.cpp ---- src/dialogs/export.cpp 2009-05-25 02:21:18.067302917 +0300 -+++ src/dialogs/export.cpp 2009-05-25 02:21:17.804059091 +0300 -@@ -20,6 +20,9 @@ - # include "config.h" - #endif - -+// This has to be included prior to anything that includes setjmp.h, it croaks otherwise -+#include <png.h> -+ - #include <gtk/gtk.h> - #include <gtkmm/box.h> - #include <gtkmm/buttonbox.h> -@@ -60,7 +63,6 @@ - #include "io/sys.h" - - #include "helper/png-write.h" --#include <png.h> - - - #define SP_EXPORT_MIN_SIZE 1.0 -@@ -1041,9 +1043,7 @@ - static gchar * - filename_add_extension (const gchar *filename, const gchar *extension) - { -- gchar *dot; -- -- dot = strrchr (filename, '.'); -+ const gchar *dot = strrchr (filename, '.'); - if ( !dot ) - return g_strconcat (filename, ".", extension, NULL); - { -diff -ru src/document.cpp src/document.cpp ---- src/document.cpp 2009-05-25 02:21:18.052299751 +0300 -+++ src/document.cpp 2009-05-25 02:21:17.797058619 +0300 -@@ -746,7 +746,7 @@ - } - - if ( NULL != document_language ) { -- gchar *pos = strchr(document_language, '_'); -+ const char *pos = strchr(document_language, '_'); - if ( NULL != pos ) { - return Glib::ustring(document_language, pos - document_language); - } -diff -ru src/dom/io/domstream.cpp src/dom/io/domstream.cpp ---- src/dom/io/domstream.cpp 2009-05-25 02:21:18.011048623 +0300 -+++ src/dom/io/domstream.cpp 2009-05-25 02:21:17.755301212 +0300 -@@ -34,6 +34,7 @@ - * - */ - -+#include <cstdio> - #include <math.h> - #include <stdarg.h> - -diff -ru src/dom/io/gzipstream.cpp src/dom/io/gzipstream.cpp ---- src/dom/io/gzipstream.cpp 2009-05-25 02:21:18.012048750 +0300 -+++ src/dom/io/gzipstream.cpp 2009-05-25 02:21:17.755301212 +0300 -@@ -29,6 +29,8 @@ - - #include "gzipstream.h" - -+#include <cstdio> -+ - #include "dom/util/ziptool.h" - - -diff -ru src/dom/io/socket.cpp src/dom/io/socket.cpp ---- src/dom/io/socket.cpp 2009-05-25 02:21:18.011048623 +0300 -+++ src/dom/io/socket.cpp 2009-05-25 02:21:17.754336705 +0300 -@@ -35,6 +35,7 @@ - #include <sys/filio.h> // needed on Solaris 8 - #endif - -+#include <cstdio> - #include "socket.h" - #include "dom/util/thread.h" - -diff -ru src/dom/io/uristream.cpp src/dom/io/uristream.cpp ---- src/dom/io/uristream.cpp 2009-05-25 02:21:18.012048750 +0300 -+++ src/dom/io/uristream.cpp 2009-05-25 02:21:17.755301212 +0300 -@@ -41,6 +41,7 @@ - - - #include "uristream.h" -+#include <cstdio> - - - -diff -ru src/dom/lsimpl.cpp src/dom/lsimpl.cpp ---- src/dom/lsimpl.cpp 2009-05-25 02:21:18.014048586 +0300 -+++ src/dom/lsimpl.cpp 2009-05-25 02:21:17.760050211 +0300 -@@ -33,6 +33,7 @@ - #include "lsimpl.h" - - #include <stdarg.h> -+#include <cstdio> - - namespace org - { -diff -ru src/dom/svg/svgparser.cpp src/dom/svg/svgparser.cpp ---- src/dom/svg/svgparser.cpp 2009-05-25 02:21:18.014048586 +0300 -+++ src/dom/svg/svgparser.cpp 2009-05-25 02:21:17.759333709 +0300 -@@ -32,6 +32,7 @@ - #include "dom/cssparser.h" - #include "dom/charclass.h" - -+#include <cstdio> - #include <stdarg.h> - - #define SVG_NAMESPACE "http://www.w3.org/2000/svg" -diff -ru src/main.cpp src/main.cpp ---- src/main.cpp 2009-05-25 02:21:18.069308689 +0300 -+++ src/main.cpp 2009-05-25 02:21:17.810107556 +0300 -@@ -28,6 +28,9 @@ - #endif - #include "path-prefix.h" - -+// This has to be included prior to anything that includes setjmp.h, it croaks otherwise -+#include <png.h> -+ - #include <gtk/gtkmessagedialog.h> - - #ifdef HAVE_IEEEFP_H -@@ -111,7 +114,6 @@ - - #include "main-cmdlineact.h" - --#include <png.h> - #include <errno.h> - - enum { -diff -ru src/prefix.cpp src/prefix.cpp ---- src/prefix.cpp 2009-05-25 02:21:18.037083918 +0300 -+++ src/prefix.cpp 2009-05-25 02:21:17.787058605 +0300 -@@ -355,7 +355,8 @@ - char * - br_extract_dir (const char *path) - { -- char *end, *result; -+ const char *end; -+ char *result; - - br_return_val_if_fail (path != (char*)NULL, (char*)NULL); - -@@ -390,7 +391,8 @@ - char * - br_extract_prefix (const char *path) - { -- char *end, *tmp, *result; -+ const char *end; -+ char *tmp, *result; - - br_return_val_if_fail (path != (char*)NULL, (char*)NULL); - -diff -ru src/sp-image.cpp src/sp-image.cpp ---- src/sp-image.cpp 2009-05-25 02:21:18.023053851 +0300 -+++ src/sp-image.cpp 2009-05-25 02:21:17.777050418 +0300 -@@ -17,6 +17,9 @@ - # include "config.h" - #endif - -+// This has to be included prior to anything that includes setjmp.h, it croaks otherwise -+#include <png.h> -+ - #include <cstring> - #include <string> - #include <libnr/nr-matrix-fns.h> -@@ -41,7 +44,6 @@ - #include "libnr/nr-matrix-fns.h" - - #include "io/sys.h" --#include <png.h> - #if ENABLE_LCMS - #include "color-profile-fns.h" - #include "color-profile.h" - diff --git a/source/xapps-extra/inkscape/inkscape-0.46-poppler-0.8.3.patch b/source/xapps-extra/inkscape/inkscape-0.46-poppler-0.8.3.patch deleted file mode 100644 index 70f9a16..0000000 --- a/source/xapps-extra/inkscape/inkscape-0.46-poppler-0.8.3.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -NrU5 inkscape-0.46.orig/src/extension/internal/pdfinput/pdf-parser.cpp inkscape-0.46/src/extension/internal/pdfinput/pdf-parser.cpp ---- inkscape-0.46.orig/src/extension/internal/pdfinput/pdf-parser.cpp 2008-06-05 00:26:20.000000000 +0200 -+++ inkscape-0.46/src/extension/internal/pdfinput/pdf-parser.cpp 2008-06-05 00:51:47.000000000 +0200 -@@ -2194,11 +2194,11 @@ - void PdfParser::doShowText(GooString *s) { - GfxFont *font; - int wMode; - double riseX, riseY; - CharCode code; -- Unicode u[8]; -+ Unicode *u = NULL; - double x, y, dx, dy, dx2, dy2, curX, curY, tdx, tdy, lineX, lineY; - double originX, originY, tOriginX, tOriginY; - double oldCTM[6], newCTM[6]; - double *mat; - Object charProc; -@@ -2242,11 +2242,11 @@ - oldParser = parser; - p = s->getCString(); - len = s->getLength(); - while (len > 0) { - n = font->getNextChar(p, len, &code, -- u, (int)(sizeof(u) / sizeof(Unicode)), &uLen, -+ &u, &uLen, - &dx, &dy, &originX, &originY); - dx = dx * state->getFontSize() + state->getCharSpace(); - if (n == 1 && *p == ' ') { - dx += state->getWordSpace(); - } -@@ -2291,11 +2291,11 @@ - state->textTransformDelta(0, state->getRise(), &riseX, &riseY); - p = s->getCString(); - len = s->getLength(); - while (len > 0) { - n = font->getNextChar(p, len, &code, -- u, (int)(sizeof(u) / sizeof(Unicode)), &uLen, -+ &u, &uLen, - &dx, &dy, &originX, &originY); - - if (wMode) { - dx *= state->getFontSize(); - dy = dy * state->getFontSize() + state->getCharSpace(); diff --git a/source/xapps-extra/inkscape/perl5.10.patch b/source/xapps-extra/inkscape/perl5.10.patch deleted file mode 100644 index a7042cd..0000000 --- a/source/xapps-extra/inkscape/perl5.10.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -Naur inkscape-0.46/src/Makefile.am inkscape-0.46-p/src/Makefile.am ---- inkscape-0.46/src/Makefile.am 2008-03-11 05:44:31.000000000 +0100 -+++ inkscape-0.46-p/src/Makefile.am 2008-03-14 22:21:53.000000000 +0100 -@@ -25,7 +25,8 @@ - $(POPPLER_GLIB_CFLAGS) \ - -DPOTRACE=\"potrace\" \ - $(INKSCAPE_CFLAGS) \ -- -I$(top_srcdir)/cxxtest -+ -I$(top_srcdir)/cxxtest \ -+ -I$(top_srcdir)/src/extension/script - - include Makefile_insert - include application/Makefile_insert -diff -Naur inkscape-0.46/src/extension/script/inkscape_perl_wrap.cpp inkscape-0.46-p/src/extension/script/inkscape_perl_wrap.cpp ---- inkscape-0.46/src/extension/script/inkscape_perl_wrap.cpp 2008-03-11 05:20:25.000000000 +0100 -+++ inkscape-0.46-p/src/extension/script/inkscape_perl_wrap.cpp 2008-03-14 22:36:24.000000000 +0100 -@@ -724,7 +724,7 @@ - /* #define SWIG_croakf(x...) { SWIG_SetErrorf(x); goto fail; } */ - - --typedef XS(SwigPerlWrapper); -+typedef XSPROTO(SwigPerlWrapper); - typedef SwigPerlWrapper *SwigPerlWrapperPtr; - - /* Structure for command table */ _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git