diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/inkscape/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/inkscape/files')
12 files changed, 441 insertions, 0 deletions
diff --git a/media-gfx/inkscape/files/inkscape-0.48.0-spell.patch b/media-gfx/inkscape/files/inkscape-0.48.0-spell.patch new file mode 100644 index 000000000000..946222276b72 --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.48.0-spell.patch @@ -0,0 +1,45 @@ +--- inkscape-0.48.0/configure.ac.orig 2010-10-26 21:22:06.000000000 +0200 ++++ inkscape-0.48.0/configure.ac 2010-10-26 21:33:39.000000000 +0200 +@@ -433,10 +433,15 @@ + fi + AM_CONDITIONAL(INKJAR, test "$with_ij" = "yes") + ++AC_ARG_WITH([gtkspell], ++ AS_HELP_STRING([--without-gtkspell], [disable gtk spelling widget]),[with_gtkspell=$withval], [with_gtkspell=yes]) ++ + ink_spell_pkg= +-if pkg-config --exists gtkspell-2.0; then +- ink_spell_pkg=gtkspell-2.0 +- AC_DEFINE(WITH_GTKSPELL, 1, [enable gtk spelling widget]) ++if test "x$with_gtkspell" = "xyes"; then ++ if pkg-config --exists gtkspell-2.0; then ++ ink_spell_pkg=gtkspell-2.0 ++ AC_DEFINE(WITH_GTKSPELL, 1, [enable gtk spelling widget]) ++ fi + fi + + dnl ****************************** +@@ -758,12 +763,17 @@ + dnl ************************** + dnl Check for aspell + dnl ****************************** +-AC_CHECK_LIB(aspell, new_aspell_config, [AC_CHECK_HEADER(aspell.h, aspell_ok=yes, aspell_ok=no)], aspell_ok=no, -lz -lm) +-if test "x$aspell_ok" = "xyes"; then +- AC_DEFINE(HAVE_ASPELL, 1, [Use aspell for built-in spellchecker]) +- INKSCAPE_LIBS="$INKSCAPE_LIBS -laspell" +-else +- AC_MSG_CHECKING([Aspell not found, spell checker will be disabled]) ++AC_ARG_WITH([aspell], ++ AS_HELP_STRING([--without-aspell], [disable aspell spell checker]),[with_aspell=$withval], [with_aspell=yes]) ++ ++if test "x$with_aspell" = "xyes"; then ++ AC_CHECK_LIB(aspell, new_aspell_config, [AC_CHECK_HEADER(aspell.h, aspell_ok=yes, aspell_ok=no)], aspell_ok=no, -lz -lm) ++ if test "x$aspell_ok" = "xyes"; then ++ AC_DEFINE(HAVE_ASPELL, 1, [Use aspell for built-in spellchecker]) ++ INKSCAPE_LIBS="$INKSCAPE_LIBS -laspell" ++ else ++ AC_MSG_CHECKING([Aspell not found, spell checker will be disabled]) ++ fi + fi + + dnl Check for bind_textdomain_codeset, including -lintl if GLib brings it in. diff --git a/media-gfx/inkscape/files/inkscape-0.48.2-libwpg.patch b/media-gfx/inkscape/files/inkscape-0.48.2-libwpg.patch new file mode 100644 index 000000000000..998ce41ab3ab --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.48.2-libwpg.patch @@ -0,0 +1,25 @@ +--- inkscape-0.48.2/configure.ac.orig ++++ inkscape-0.48.2/configure.ac +@@ -713,14 +713,14 @@ + + with_libwpg=no + +-PKG_CHECK_MODULES(LIBWPG01, libwpg-0.1 libwpg-stream-0.1, with_libwpg01=yes, with_libwpg01=no) +-if test "x$with_libwpg01" = "xyes"; then +- AC_DEFINE(WITH_LIBWPG01,1,[Build in libwpg 0.1.x]) +- with_libwpg=yes +- AC_SUBST(LIBWPG_LIBS, $LIBWPG01_LIBS) +- AC_SUBST(LIBWPG_CFLAGS, $LIBWPG01_CFLAGS) +-fi +-AM_CONDITIONAL(WITH_LIBWPG01, test "x$with_libwpg01" = "xyes") ++#PKG_CHECK_MODULES(LIBWPG01, libwpg-0.1 libwpg-stream-0.1, with_libwpg01=yes, with_libwpg01=no) ++#if test "x$with_libwpg01" = "xyes"; then ++# AC_DEFINE(WITH_LIBWPG01,1,[Build in libwpg 0.1.x]) ++# with_libwpg=yes ++# AC_SUBST(LIBWPG_LIBS, $LIBWPG01_LIBS) ++# AC_SUBST(LIBWPG_CFLAGS, $LIBWPG01_CFLAGS) ++#fi ++#AM_CONDITIONAL(WITH_LIBWPG01, test "x$with_libwpg01" = "xyes") + + PKG_CHECK_MODULES(LIBWPG02, libwpg-0.2 libwpd-0.9 libwpd-stream-0.9, with_libwpg02=yes, with_libwpg02=no) + if test "x$with_libwpg02" = "xyes"; then diff --git a/media-gfx/inkscape/files/inkscape-0.48.3.1-desktop.patch b/media-gfx/inkscape/files/inkscape-0.48.3.1-desktop.patch new file mode 100644 index 000000000000..ea5f214cafc4 --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.48.3.1-desktop.patch @@ -0,0 +1,11 @@ +--- inkscape-0.48.3.1/inkscape.desktop.in ++++ inkscape-0.48.3.1/inkscape.desktop.in +@@ -5,7 +5,7 @@ + _X-GNOME-FullName=Inkscape Vector Graphics Editor + _Comment=Create and edit Scalable Vector Graphics images + Type=Application +-Categories=Graphics;VectorGraphics;GTK; ++Categories=Graphics;2DGraphics;VectorGraphics;GTK; + MimeType=image/svg+xml;image/svg+xml-compressed;application/vnd.corel-draw;application/pdf;application/postscript;image/x-eps;application/illustrator; + Exec=inkscape %F + TryExec=inkscape diff --git a/media-gfx/inkscape/files/inkscape-0.48.4-automake-1.13.patch b/media-gfx/inkscape/files/inkscape-0.48.4-automake-1.13.patch new file mode 100644 index 000000000000..6d649da99dea --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.48.4-automake-1.13.patch @@ -0,0 +1,21 @@ +From: Julian Ospald <hasufell@gentoo.org> +Date: Thu Apr 25 15:06:01 UTC 2013 +Subject: fix building with automake-1.3 + +--- inkscape-0.48.4/configure.ac ++++ inkscape-0.48.4/configure.ac +@@ -21,12 +21,12 @@ + export CC CXX + ]) + +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + + AC_LANG(C++) + AC_ISC_POSIX + AC_PROG_CXX +-AM_PROG_CC_STDC ++AC_PROG_CC + AM_PROG_AS + AC_PROG_RANLIB + AC_PROG_INTLTOOL(0.22) diff --git a/media-gfx/inkscape/files/inkscape-0.48.4-epython.patch b/media-gfx/inkscape/files/inkscape-0.48.4-epython.patch new file mode 100644 index 000000000000..2e2483c1b1e3 --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.48.4-epython.patch @@ -0,0 +1,11 @@ +--- inkscape-0.48.4/src/extension/implementation/script.cpp ++++ inkscape-0.48.4/src/extension/implementation/script.cpp +@@ -89,7 +89,7 @@ + #ifdef WIN32 + {"python", "python-interpreter", "pythonw" }, + #else +- {"python", "python-interpreter", "python" }, ++ {"python", "python-interpreter", "@EPYTHON@" }, + #endif + {"ruby", "ruby-interpreter", "ruby" }, + {"shell", "shell-interpreter", "sh" }, diff --git a/media-gfx/inkscape/files/inkscape-0.48.4-gc74-configure.patch b/media-gfx/inkscape/files/inkscape-0.48.4-gc74-configure.patch new file mode 100644 index 000000000000..3ef7ce2c98b6 --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.48.4-gc74-configure.patch @@ -0,0 +1,15 @@ +--- inkscape-0.48.4/configure.ac 2013-12-31 00:38:18.592732496 +0400 ++++ inkscape-0.48.4/configure.ac 2013-12-31 00:39:13.558730872 +0400 +@@ -263,7 +263,11 @@ + # include <gc.h> + #endif + #include <stdio.h> +- extern unsigned GC_version; ++ #if (GC_VERSION_MAJOR >= 7 && GC_VERSION_MINOR >= 4) ++ unsigned GC_version = GC_get_version(); ++ #else ++ extern unsigned GC_version; ++ #endif + int main(void){ + unsigned min = ((6 << 16) | (4 << 8) | 0); + printf("%d.%d.%d ",GC_version >> 16, (GC_version >> 8) & 0xFF, GC_version & 0xFF); diff --git a/media-gfx/inkscape/files/inkscape-0.48.4-poppler-0.29.0.patch b/media-gfx/inkscape/files/inkscape-0.48.4-poppler-0.29.0.patch new file mode 100644 index 000000000000..bcfea9b77adb --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.48.4-poppler-0.29.0.patch @@ -0,0 +1,98 @@ + configure.ac | 5 ++++ + src/extension/internal/pdfinput/pdf-parser.cpp | 32 +++++++++++++++++++++----- + 2 files changed, 31 insertions(+), 6 deletions(-) + +diff --git a/configure.ac b/configure.ac +index c8e1ae2..d62c989 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -593,6 +593,11 @@ if test "x$popplernewercolorspaceapi" = "xyes"; then + AC_DEFINE(POPPLER_EVEN_NEWER_COLOR_SPACE_API, 1, [Use even newer color space API from Poppler >= 0.26.0]) + fi + ++PKG_CHECK_MODULES(POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API, poppler >= 0.29.0, popplernewernewcolorspaceapi=yes, popplernewernewcolorspaceapi=no) ++if test "x$popplernewernewcolorspaceapi" = "xyes"; then ++ AC_DEFINE(POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API, 1, [Use even newer new color space API from Poppler >= 0.29.0]) ++fi ++ + # Poppler's b604a008 commit changes this + AC_MSG_CHECKING([whether Poppler's GfxPatch no longer uses GfxColor]) + popplergfxcolor="no" +diff --git a/src/extension/internal/pdfinput/pdf-parser.cpp b/src/extension/internal/pdfinput/pdf-parser.cpp +index b6edbfb..3fbf237 100644 +--- a/src/extension/internal/pdfinput/pdf-parser.cpp ++++ b/src/extension/internal/pdfinput/pdf-parser.cpp +@@ -860,7 +860,9 @@ void PdfParser::opSetExtGState(Object args[], int numArgs) { + blendingColorSpace = NULL; + isolated = knockout = gFalse; + if (!obj4.dictLookup(const_cast<char*>("CS"), &obj5)->isNull()) { +-#if defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) ++#if defined(POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API) ++ blendingColorSpace = GfxColorSpace::parse(NULL, &obj5, NULL, NULL); ++#elif defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) + blendingColorSpace = GfxColorSpace::parse(&obj5, NULL, NULL); + #elif defined(POPPLER_NEW_COLOR_SPACE_API) || defined(POPPLER_NEW_ERRORAPI) + blendingColorSpace = GfxColorSpace::parse(&obj5, NULL); +@@ -1085,7 +1087,13 @@ void PdfParser::opSetFillColorSpace(Object args[], int numArgs) { + + state->setFillPattern(NULL); + res->lookupColorSpace(args[0].getName(), &obj); +-#if defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) ++#if defined(POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API) ++ if (obj.isNull()) { ++ colorSpace = GfxColorSpace::parse(NULL, &args[0], NULL, NULL); ++ } else { ++ colorSpace = GfxColorSpace::parse(NULL, &obj, NULL, NULL); ++ } ++#elif defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) + if (obj.isNull()) { + colorSpace = GfxColorSpace::parse(&args[0], NULL, NULL); + } else { +@@ -1126,7 +1134,13 @@ void PdfParser::opSetStrokeColorSpace(Object args[], int numArgs) { + + state->setStrokePattern(NULL); + res->lookupColorSpace(args[0].getName(), &obj); +-#if defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) ++#if defined(POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API) ++ if (obj.isNull()) { ++ colorSpace = GfxColorSpace::parse(NULL, &args[0], NULL, NULL); ++ } else { ++ colorSpace = GfxColorSpace::parse(NULL, &obj, NULL, NULL); ++ } ++#elif defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) + if (obj.isNull()) { + colorSpace = GfxColorSpace::parse(&args[0], NULL, NULL); + } else { +@@ -2756,7 +2770,9 @@ void PdfParser::doImage(Object *ref, Stream *str, GBool inlineImg) { + } + } + if (!obj1.isNull()) { +-#if defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) ++#if defined(POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API) ++ colorSpace = GfxColorSpace::parse(NULL, &obj1, NULL, NULL); ++#elif defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) + colorSpace = GfxColorSpace::parse(&obj1, NULL, NULL); + #elif defined(POPPLER_NEW_COLOR_SPACE_API) || defined(POPPLER_NEW_ERRORAPI) + colorSpace = GfxColorSpace::parse(&obj1, NULL); +@@ -2847,7 +2863,9 @@ void PdfParser::doImage(Object *ref, Stream *str, GBool inlineImg) { + obj2.free(); + } + } +-#if defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) ++#if defined(POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API) ++ GfxColorSpace *maskColorSpace = GfxColorSpace::parse(NULL, &obj1, NULL, NULL); ++#elif defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) + GfxColorSpace *maskColorSpace = GfxColorSpace::parse(&obj1, NULL, NULL); + #elif defined(POPPLER_NEW_COLOR_SPACE_API) || defined(POPPLER_NEW_ERRORAPI) + maskColorSpace = GfxColorSpace::parse(&obj1, NULL); +@@ -3040,7 +3058,9 @@ void PdfParser::doForm(Object *str) { + if (obj1.dictLookup(const_cast<char*>("S"), &obj2)->isName(const_cast<char*>("Transparency"))) { + transpGroup = gTrue; + if (!obj1.dictLookup(const_cast<char*>("CS"), &obj3)->isNull()) { +-#if defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) ++#if defined(POPPLER_EVEN_NEWER_NEW_COLOR_SPACE_API) ++ blendingColorSpace = GfxColorSpace::parse(NULL, &obj3, NULL, NULL); ++#elif defined(POPPLER_EVEN_NEWER_COLOR_SPACE_API) + blendingColorSpace = GfxColorSpace::parse(&obj3, NULL, NULL); + #elif defined(POPPLER_NEW_COLOR_SPACE_API) || defined(POPPLER_NEW_ERRORAPI) + blendingColorSpace = GfxColorSpace::parse(&obj3, NULL); diff --git a/media-gfx/inkscape/files/inkscape-0.91_pre3-automagic.patch b/media-gfx/inkscape/files/inkscape-0.91_pre3-automagic.patch new file mode 100644 index 000000000000..e29b7e9f787e --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.91_pre3-automagic.patch @@ -0,0 +1,154 @@ +Respect configure option for openmp and add configure options for aspell, +gtkspell, imagemagick, jpeg, and exif. + +--- inkscape-0.91pre3/configure.ac ++++ inkscape-0.91pre3/configure.ac +@@ -233,19 +233,28 @@ + dnl Check for OpenMP + dnl ****************************** + AC_OPENMP +-if test "x$ac_cv_prog_cxx_openmp" != "xunsupported"; then +- openmp_ok=yes +- dnl We have it, now set up the flags +- CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS" +- AC_DEFINE(HAVE_OPENMP, 1, [Use OpenMP]) ++openmp_ok="no" ++if test "x$enable_openmp" = "xyes"; then ++ if test "x$ac_cv_prog_cxx_openmp" != "xunsupported"; then ++ openmp_ok=yes ++ dnl We have it, now set up the flags ++ CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS" ++ AC_DEFINE(HAVE_OPENMP, 1, [Use OpenMP]) ++ fi + fi + + dnl ****************************** + dnl Check for libexif + dnl ****************************** +-PKG_CHECK_MODULES(EXIF, libexif, exif_ok=yes, exif_ok=no) +-if test "x$exif_ok" = "xyes"; then +- AC_DEFINE(HAVE_EXIF, 1, [Use libexif]) ++AC_ARG_ENABLE(exif, ++ AS_HELP_STRING([--enable-exif], [compile with EXIF support]), ++ enable_exif=$enableval,enable_exif=no) ++ ++if test "x$enable_exif" = "xyes"; then ++ PKG_CHECK_MODULES(EXIF, libexif, exif_ok=yes, exif_ok=no) ++ if test "x$exif_ok" = "xyes"; then ++ AC_DEFINE(HAVE_EXIF, 1, [Use libexif]) ++ fi + fi + AC_SUBST(EXIF_LIBS) + AC_SUBST(EXIF_CFLAGS) +@@ -253,10 +262,16 @@ + dnl ****************************** + dnl Check for libjpeg + dnl ****************************** +-AC_CHECK_LIB(jpeg, jpeg_CreateDecompress, [AC_CHECK_HEADER(jpeglib.h, jpeg_ok=yes, jpeg_ok=no)], jpeg_ok=no) +-if test "x$jpeg_ok" = "xyes"; then +- LIBS="-ljpeg $LIBS" +- AC_DEFINE(HAVE_JPEG, 1, [Use libjpeg]) ++AC_ARG_ENABLE(jpeg, ++ AS_HELP_STRING([--enable-jpeg], [compile with JPEG support]), ++ enable_jpeg=$enableval,enable_jpeg=no) ++ ++if test "x$enable_jpeg" = "xyes"; then ++ AC_CHECK_LIB(jpeg, jpeg_CreateDecompress, [AC_CHECK_HEADER(jpeglib.h, jpeg_ok=yes, jpeg_ok=no)], jpeg_ok=no) ++ if test "x$jpeg_ok" = "xyes"; then ++ LIBS="-ljpeg $LIBS" ++ AC_DEFINE(HAVE_JPEG, 1, [Use libjpeg]) ++ fi + fi + + dnl This check is to get a FIONREAD definition on Solaris 8 +@@ -675,9 +690,16 @@ + dnl Check for ImageMagick Magick++ + dnl ****************************** + +-PKG_CHECK_MODULES(IMAGEMAGICK, ImageMagick++, magick_ok=yes, magick_ok=no) +-if test "x$magick_ok" = "xyes"; then +- AC_DEFINE(WITH_IMAGE_MAGICK,1,[Image Magick++ support for bitmap effects]) ++AC_ARG_ENABLE(magick, ++ AS_HELP_STRING([--enable-magick], [compile with Image Magick++ support for bitmap effects]), ++ enable_magick=$enableval,enable_magick=no) ++ ++magick_ok="no" ++if test "x$enable_magick" = "xyes"; then ++ PKG_CHECK_MODULES(IMAGEMAGICK, ImageMagick++, magick_ok=yes, magick_ok=no) ++ if test "x$magick_ok" = "xyes"; then ++ AC_DEFINE(WITH_IMAGE_MAGICK,1,[Image Magick++ support for bitmap effects]) ++ fi + fi + AM_CONDITIONAL(USE_IMAGE_MAGICK, test "x$magick_ok" = "xyes") + +@@ -712,6 +734,10 @@ + AC_DEFINE(WITH_GLIBMM_2_32,1,[Build with Glibmm 2.32 or higher]) + fi + ++ ++AC_ARG_WITH([gtkspell], ++ AS_HELP_STRING([--without-gtkspell], [disable gtk spelling widget]),[with_gtkspell=$withval], [with_gtkspell=yes]) ++ + dnl ********************************* + dnl Allow experimental GTK+3 build + dnl ********************************* +@@ -723,11 +749,13 @@ + if test "x$enable_gtk3" = "xyes"; then + + ink_spell_pkg= +- if pkg-config --exists gtkspell-3.0; then +- ink_spell_pkg=gtkspell-3.0 +- AC_DEFINE(WITH_GTKSPELL, 1, [enable gtk spelling widget]) ++ if test "x$with_gtkspell" = "xyes"; then ++ if pkg-config --exists gtkspell-3.0; then ++ ink_spell_pkg=gtkspell-3.0 ++ AC_DEFINE(WITH_GTKSPELL, 1, [enable gtk spelling widget]) ++ fi + fi +- ++ + PKG_CHECK_MODULES(GTK, + gtkmm-3.0 >= 3.2 + gdkmm-3.0 >= 3.2 +@@ -800,11 +828,13 @@ + else + + ink_spell_pkg= +- if pkg-config --exists gtkspell-2.0; then +- ink_spell_pkg=gtkspell-2.0 +- AC_DEFINE(WITH_GTKSPELL, 1, [enable gtk spelling widget]) ++ if test "x$with_gtkspell" = "xyes"; then ++ if pkg-config --exists gtkspell-2.0; then ++ ink_spell_pkg=gtkspell-2.0 ++ AC_DEFINE(WITH_GTKSPELL, 1, [enable gtk spelling widget]) ++ fi + fi +- ++ + PKG_CHECK_MODULES(GTK, + gtk+-2.0 >= 2.24 + $ink_spell_pkg +@@ -928,12 +958,17 @@ + dnl ************************** + dnl Check for aspell + dnl ****************************** +-AC_CHECK_LIB(aspell, new_aspell_config, [AC_CHECK_HEADER(aspell.h, aspell_ok=yes, aspell_ok=no)], aspell_ok=no, -lz -lm) +-if test "x$aspell_ok" = "xyes"; then +- AC_DEFINE(HAVE_ASPELL, 1, [Use aspell for built-in spellchecker]) +- INKSCAPE_LIBS="$INKSCAPE_LIBS -laspell" +-else +- AC_MSG_CHECKING([Aspell not found, spell checker will be disabled]) ++AC_ARG_WITH([aspell], ++ AS_HELP_STRING([--without-aspell], [disable aspell spell checker]),[with_aspell=$withval], [with_aspell=yes]) ++ ++if test "x$with_aspell" = "xyes"; then ++ AC_CHECK_LIB(aspell, new_aspell_config, [AC_CHECK_HEADER(aspell.h, aspell_ok=yes, aspell_ok=no)], aspell_ok=no, -lz -lm) ++ if test "x$aspell_ok" = "xyes"; then ++ AC_DEFINE(HAVE_ASPELL, 1, [Use aspell for built-in spellchecker]) ++ INKSCAPE_LIBS="$INKSCAPE_LIBS -laspell" ++ else ++ AC_MSG_CHECKING([Aspell not found, spell checker will be disabled]) ++ fi + fi + + dnl Check for bind_textdomain_codeset, including -lintl if GLib brings it in. diff --git a/media-gfx/inkscape/files/inkscape-0.91_pre3-cppflags.patch b/media-gfx/inkscape/files/inkscape-0.91_pre3-cppflags.patch new file mode 100644 index 000000000000..94dbf881de0c --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.91_pre3-cppflags.patch @@ -0,0 +1,14 @@ +Gentoo enables _FORTIFY_SOURCE by default so this avoids redefined warnings. + +--- inkscape-0.91pre3/configure.ac ++++ inkscape-0.91pre3/configure.ac +@@ -72,9 +72,6 @@ + #### + # Generic cpp flags... + +- # What is just plain "-W" ? +- # Fortify source requires -O2 or higher, which is handled with newer autoconf +- CPPFLAGS="-W -D_FORTIFY_SOURCE=2 $CPPFLAGS" + # Enable format and format security warnings + CPPFLAGS="-Wformat -Wformat-security $CPPFLAGS" + # Enable all default warnings diff --git a/media-gfx/inkscape/files/inkscape-0.91_pre3-desktop.patch b/media-gfx/inkscape/files/inkscape-0.91_pre3-desktop.patch new file mode 100644 index 000000000000..f02fa1a8aca5 --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.91_pre3-desktop.patch @@ -0,0 +1,20 @@ +--- inkscape-0.91pre3/inkscape.desktop.in ++++ inkscape-0.91pre3/inkscape.desktop.in +@@ -5,7 +5,7 @@ + _X-GNOME-FullName=Inkscape Vector Graphics Editor + _Comment=Create and edit Scalable Vector Graphics images + Type=Application +-Categories=Graphics;VectorGraphics;GTK; ++Categories=Graphics;2DGraphics;VectorGraphics;GTK; + MimeType=image/svg+xml;image/svg+xml-compressed;application/vnd.corel-draw;application/pdf;application/postscript;image/x-eps;application/illustrator; + Exec=inkscape %F + TryExec=inkscape +@@ -14,7 +14,7 @@ + Icon=inkscape + X-Ayatana-Desktop-Shortcuts=Drawing + +-[Drawing Shortcut Group] ++[X-Drawing Shortcut Group] + _Name=New Drawing + Exec=inkscape + TargetEnvironment=Unity diff --git a/media-gfx/inkscape/files/inkscape-0.91_pre3-exif.patch b/media-gfx/inkscape/files/inkscape-0.91_pre3-exif.patch new file mode 100644 index 000000000000..4180fd4d2ef0 --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.91_pre3-exif.patch @@ -0,0 +1,12 @@ +Actually try to use EXIF support if it's enabled. + +--- inkscape-0.91pre3/src/extension/internal/image-resolution.cpp ++++ inkscape-0.91pre3/src/extension/internal/image-resolution.cpp +@@ -18,6 +18,7 @@ + #include <png.h> + + #ifdef HAVE_EXIF ++#define IR_TRY_EXIF 1 + #include <math.h> + #include <libexif/exif-data.h> + #endif diff --git a/media-gfx/inkscape/files/inkscape-0.91_pre3-sk-man.patch b/media-gfx/inkscape/files/inkscape-0.91_pre3-sk-man.patch new file mode 100644 index 000000000000..f14e7d152e19 --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.91_pre3-sk-man.patch @@ -0,0 +1,15 @@ +Install sk man page to the right directory. + +https://bugs.gentoo.org/show_bug.cgi?id=481276 + +--- inkscape-0.91pre3/Makefile.am ++++ inkscape-0.91pre3/Makefile.am +@@ -561,7 +561,7 @@ + manja_DATA = inkscape.ja.1 + manjadir = $(mandir)/ja/man1 + +-mansk_DATA = inkscape.ja.1 ++mansk_DATA = inkscape.sk.1 + manskdir = $(mandir)/sk/man1 + + manzhtw_DATA = inkscape.zh_TW.1 |