summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Gurr Timo <tgurr@exherbo.org> 2017-09-07 15:06:37 +0200
committerAvatar Timo Gurr <tgurr@exherbo.org> 2017-09-12 18:29:55 +0200
commit0c93b7af01e16b238d477c4e0284ff79f922c4cb (patch)
tree2b2463221cafcc5f8d9fceed0381cb91b553effd
parent813245010f7cfbe8e35609a834cf24b953aa36f1 (diff)
downloadmedia-0c93b7af01e16b238d477c4e0284ff79f922c4cb.tar.gz
media-0c93b7af01e16b238d477c4e0284ff79f922c4cb.tar.xz
inkscape: version bump to 0.92.2
Change-Id: I88a2090dbf24e2e161b608017292420d9a664d01 Reviewed-on: https://galileo.mailstation.de/gerrit/9999 Reviewed-by: Jenkins <wk@mailstation.de> Reviewed-by: Timo Gurr <tgurr@exherbo.org>
-rw-r--r--packages/media-gfx/inkscape/files/inkscape-0.91-configure-Use-PKG_PROG_PKG_CONFIG-macro.patch52
-rw-r--r--packages/media-gfx/inkscape/files/inkscape-0.91-fix-build-with-new-glibmm.patch67
-rw-r--r--packages/media-gfx/inkscape/files/inkscape-0.92.2-Use-CMAKE-INSTALL-DATAROOTDIR-part1.patch82
-rw-r--r--packages/media-gfx/inkscape/files/inkscape-0.92.2-Use-CMAKE-INSTALL-DATAROOTDIR-part2.patch23
-rw-r--r--packages/media-gfx/inkscape/inkscape-0.92.2.exheres-0 (renamed from packages/media-gfx/inkscape/inkscape-0.91-r1.exheres-0)120
5 files changed, 170 insertions, 174 deletions
diff --git a/packages/media-gfx/inkscape/files/inkscape-0.91-configure-Use-PKG_PROG_PKG_CONFIG-macro.patch b/packages/media-gfx/inkscape/files/inkscape-0.91-configure-Use-PKG_PROG_PKG_CONFIG-macro.patch
deleted file mode 100644
index 1d34258..0000000
--- a/packages/media-gfx/inkscape/files/inkscape-0.91-configure-Use-PKG_PROG_PKG_CONFIG-macro.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Upstream: under review
-https://code.launchpad.net/~heirecka/inkscape/use-pkg_prog_pkg_config/+merge/255157
-
-From e2e520ed8179d61269189154569548f7bb5073cc Mon Sep 17 00:00:00 2001
-From: Heiko Becker <heirecka@exherbo.org>
-Date: Fri, 3 Apr 2015 00:54:30 +0200
-Subject: [PATCH] configure: Use PKG_PROG_PKG_CONFIG macro
-
-It has the advantage that it respects the PKG_CONF environment
-variable which comes in handy when you're using a prefixed pkg-config
-(e.g arch-prefix) executable.
----
- configure.ac | 9 +++------
- 1 file changed, 3 insertions(+), 6 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index f27c4f5..ceb0bc2 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -220,10 +220,7 @@ GETTEXT_PACKAGE="AC_PACKAGE_NAME"
- AC_SUBST(GETTEXT_PACKAGE)
- AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Translation domain used])
-
--AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
--if test "x$PKG_CONFIG" = "xno"; then
-- AC_MSG_ERROR(You have to install pkg-config to compile inkscape.)
--fi
-+PKG_PROG_PKG_CONFIG
-
- dnl Find msgfmt. Without this, po/Makefile fails to set MSGFMT on some platforms.
- AC_PATH_PROG(MSGFMT, msgfmt, msgfmt)
-@@ -683,7 +680,7 @@ with_gtkmm_3_0="no"
- if test "x$enable_gtk3" = "xyes"; then
-
- ink_spell_pkg=
-- if pkg-config --exists gtkspell-3.0; 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
-@@ -760,7 +757,7 @@ if test "x$enable_gtk3" = "xyes"; then
- else
-
- ink_spell_pkg=
-- if pkg-config --exists gtkspell-2.0; 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
---
-2.3.3
-
diff --git a/packages/media-gfx/inkscape/files/inkscape-0.91-fix-build-with-new-glibmm.patch b/packages/media-gfx/inkscape/files/inkscape-0.91-fix-build-with-new-glibmm.patch
deleted file mode 100644
index dd53691..0000000
--- a/packages/media-gfx/inkscape/files/inkscape-0.91-fix-build-with-new-glibmm.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-Source: Marc Jeanmougin
-Upstream: Yes, see https://bugs.launchpad.net/inkscape/+bug/1567485
-Reason: Fixes the build with newer glibmm
-
---- a/src/ui/clipboard.cpp 2016-04-02 15:15:43 +0000
-+++ b/src/ui/clipboard.cpp 2016-04-07 16:30:32 +0000
-@@ -146,8 +146,6 @@
- void _setClipboardColor(guint32);
- void _userWarn(SPDesktop *, char const *);
-
-- void _inkscape_wait_for_targets(std::list<Glib::ustring> &);
--
- // private properites
- SPDocument *_clipboardSPDoc; ///< Document that stores the clipboard until someone requests it
- Inkscape::XML::Node *_defs; ///< Reference to the clipboard document's defs node
-@@ -1302,9 +1300,7 @@
- */
- Glib::ustring ClipboardManagerImpl::_getBestTarget()
- {
-- // GTKmm's wait_for_targets() is broken, see the comment in _inkscape_wait_for_targets()
-- std::list<Glib::ustring> targets; // = _clipboard->wait_for_targets();
-- _inkscape_wait_for_targets(targets);
-+ std::list<Glib::ustring> targets = _clipboard->wait_for_targets();
-
- // clipboard target debugging snippet
- /*
-@@ -1456,39 +1452,6 @@
- desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, msg);
- }
-
--
--// GTKMM's clipboard::wait_for_targets is buggy and might return bogus, see
--//
--// https://bugs.launchpad.net/inkscape/+bug/296778
--// http://mail.gnome.org/archives/gtk-devel-list/2009-June/msg00062.html
--//
--// for details. Until this has been fixed upstream we will use our own implementation
--// of this method, as copied from /gtkmm-2.16.0/gtk/gtkmm/clipboard.cc.
--void ClipboardManagerImpl::_inkscape_wait_for_targets(std::list<Glib::ustring> &listTargets)
--{
-- //Get a newly-allocated array of atoms:
-- GdkAtom* targets = NULL;
-- gint n_targets = 0;
-- gboolean test = gtk_clipboard_wait_for_targets( gtk_clipboard_get(GDK_SELECTION_CLIPBOARD), &targets, &n_targets );
-- if (!test || (targets == NULL)) {
-- return;
-- }
--
-- //Add the targets to the C++ container:
-- for (int i = 0; i < n_targets; i++)
-- {
-- //Convert the atom to a string:
-- gchar* const atom_name = gdk_atom_name(targets[i]);
--
-- Glib::ustring target;
-- if (atom_name) {
-- target = Glib::ScopedPtr<char>(atom_name).get(); //This frees the gchar*.
-- }
--
-- listTargets.push_back(target);
-- }
--}
--
- /* #######################################
- ClipboardManager class
- ####################################### */
-
diff --git a/packages/media-gfx/inkscape/files/inkscape-0.92.2-Use-CMAKE-INSTALL-DATAROOTDIR-part1.patch b/packages/media-gfx/inkscape/files/inkscape-0.92.2-Use-CMAKE-INSTALL-DATAROOTDIR-part1.patch
new file mode 100644
index 0000000..b2873b9
--- /dev/null
+++ b/packages/media-gfx/inkscape/files/inkscape-0.92.2-Use-CMAKE-INSTALL-DATAROOTDIR-part1.patch
@@ -0,0 +1,82 @@
+Source: Timo Gurr <tgurr@exherbo.org>
+Upstream: No
+Reason: Use CMAKE_INSTALL_DATAROOTDIR
+
+diff -Naur inkscape-0.92.2/CMakeLists.txt inkscape-0.92.2.new.1/CMakeLists.txt
+--- inkscape-0.92.2/CMakeLists.txt 2017-08-06 22:44:00.000000000 +0200
++++ inkscape-0.92.2.new.1/CMakeLists.txt 2017-09-07 12:57:08.533906679 +0200
+@@ -10,6 +10,9 @@
+ include(CMakeScripts/ConfigEnv.cmake)
+ include(CMakeScripts/ConfigPaths.cmake)
+
++# Use GNUInstallDirs to get canonical paths
++include(GNUInstallDirs)
++
+ # -----------------------------------------------------------------------------
+ # CMake Configuration
+ # -----------------------------------------------------------------------------
+diff -Naur inkscape-0.92.2/CMakeScripts/ConfigPaths.cmake inkscape-0.92.2.new.1/CMakeScripts/ConfigPaths.cmake
+--- inkscape-0.92.2/CMakeScripts/ConfigPaths.cmake 2017-08-06 22:44:00.000000000 +0200
++++ inkscape-0.92.2.new.1/CMakeScripts/ConfigPaths.cmake 2017-09-07 14:43:49.760321880 +0200
+@@ -17,17 +17,17 @@
+ mark_as_advanced(SHARE_INSTALL)
+ else()
+ set(INKSCAPE_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib")
+- set(INKSCAPE_DATADIR "${CMAKE_INSTALL_PREFIX}/share")
++ set(INKSCAPE_DATADIR "${CMAKE_INSTALL_DATAROOTDIR}")
+
+ # TODO: check and change this to correct value:
+ if(NOT PACKAGE_LOCALE_DIR)
+- set(PACKAGE_LOCALE_DIR "${CMAKE_INSTALL_PREFIX}/share/locale") # packagers might overwrite this
++ set(PACKAGE_LOCALE_DIR "${CMAKE_INSTALL_DATAROOTDIR}/locale") # packagers might overwrite this
+ endif(NOT PACKAGE_LOCALE_DIR)
+
+ if(NOT SHARE_INSTALL)
+ set(SHARE_INSTALL "share" CACHE STRING "Data file install path. Must be a relative path (from CMAKE_INSTALL_PREFIX), with no trailing slash.")
+ endif(NOT SHARE_INSTALL)
+- set(INKSCAPE_SHARE_INSTALL "${SHARE_INSTALL}/inkscape")
++ set(INKSCAPE_SHARE_INSTALL "${CMAKE_INSTALL_DATAROOTDIR}/inkscape")
+
+ mark_as_advanced(SHARE_INSTALL)
+-endif()
+\ No newline at end of file
++endif()
+diff -Naur inkscape-0.92.2/CMakeScripts/Pod2man.cmake inkscape-0.92.2.new.1/CMakeScripts/Pod2man.cmake
+--- inkscape-0.92.2/CMakeScripts/Pod2man.cmake 2017-08-06 22:44:00.000000000 +0200
++++ inkscape-0.92.2.new.1/CMakeScripts/Pod2man.cmake 2017-09-07 14:44:21.843401283 +0200
+@@ -48,7 +48,7 @@
+ )
+ install(
+ FILES ${MANFILE_FULL}
+- DESTINATION ${CMAKE_INSTALL_PREFIX}/${SHARE_INSTALL}/man/man${SECTION}
++ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man${SECTION}
+ )
+ endif()
+ endmacro(pod2man PODFILE NAME SECTION CENTER)
+diff -Naur inkscape-0.92.2/po/CMakeLists.txt inkscape-0.92.2.new.1/po/CMakeLists.txt
+--- inkscape-0.92.2/po/CMakeLists.txt 2017-08-06 22:44:00.000000000 +0200
++++ inkscape-0.92.2.new.1/po/CMakeLists.txt 2017-09-07 14:44:43.434454730 +0200
+@@ -3,7 +3,7 @@
+ string(REGEX REPLACE "(.+(\\\\|/))+" "" language ${language})
+ string(REGEX REPLACE "\\.po$" "" language ${language})
+ set(pofile ${CMAKE_CURRENT_SOURCE_DIR}/${language}.po)
+- GETTEXT_PROCESS_PO_FILES(${language} ALL INSTALL_DESTINATION "share/locale/" PO_FILES ${pofile})
++ GETTEXT_PROCESS_PO_FILES(${language} ALL INSTALL_DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/locale/" PO_FILES ${pofile})
+ endforeach(language)
+
+ if(NOT WIN32)
+diff -Naur inkscape-0.92.2/share/icons/application/CMakeLists.txt inkscape-0.92.2.new.1/share/icons/application/CMakeLists.txt
+--- inkscape-0.92.2/share/icons/application/CMakeLists.txt 2017-08-06 22:44:00.000000000 +0200
++++ inkscape-0.92.2.new.1/share/icons/application/CMakeLists.txt 2017-09-07 14:45:47.719613920 +0200
+@@ -2,8 +2,8 @@
+ set(THEME hicolor)
+ foreach(pixmap_size ${PIXMAP_SIZES})
+ FILE(GLOB PIXMAP_FILES ${CMAKE_CURRENT_SOURCE_DIR}/${pixmap_size}/*.png ${CMAKE_CURRENT_SOURCE_DIR}/${pixmap_size}/*.svg)
+- install(FILES ${PIXMAP_FILES} DESTINATION ${SHARE_INSTALL}/icons/${THEME}/${pixmap_size}/apps)
++ install(FILES ${PIXMAP_FILES} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/icons/${THEME}/${pixmap_size}/apps)
+ endforeach(pixmap_size)
+
+ # I hope that this is actually run after installing the files.
+-install(CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${CMAKE_INSTALL_PREFIX}/${SHARE_INSTALL}/icons/${THEME})")
+\ No newline at end of file
++install(CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${CMAKE_INSTALL_DATAROOTDIR}/icons/${THEME})")
diff --git a/packages/media-gfx/inkscape/files/inkscape-0.92.2-Use-CMAKE-INSTALL-DATAROOTDIR-part2.patch b/packages/media-gfx/inkscape/files/inkscape-0.92.2-Use-CMAKE-INSTALL-DATAROOTDIR-part2.patch
new file mode 100644
index 0000000..749ceb4
--- /dev/null
+++ b/packages/media-gfx/inkscape/files/inkscape-0.92.2-Use-CMAKE-INSTALL-DATAROOTDIR-part2.patch
@@ -0,0 +1,23 @@
+Source: Timo Gurr <tgurr@exherbo.org>
+Upstream: No
+Reason: Use CMAKE_INSTALL_DATAROOTDIR
+
+diff -Naur inkscape-0.92.2/CMakeScripts/Install.cmake inkscape-0.92.2.new.2/CMakeScripts/Install.cmake
+--- inkscape-0.92.2/CMakeScripts/Install.cmake 2017-08-06 22:44:00.000000000 +0200
++++ inkscape-0.92.2.new.2/CMakeScripts/Install.cmake 2017-09-07 14:52:42.238641851 +0200
+@@ -2,7 +2,7 @@
+ #The install directive for the binaries and libraries are found in src/CMakeList.txt
+ install(FILES
+ ${CMAKE_BINARY_DIR}/inkscape.desktop
+- DESTINATION ${CMAKE_INSTALL_PREFIX}/${SHARE_INSTALL}/applications)
++ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)
+ endif()
+
+ if(WIN32)
+@@ -225,4 +225,4 @@
+ PATTERN "python/include" EXCLUDE
+ PATTERN "python/libs" EXCLUDE
+ PATTERN "*.pyc" EXCLUDE)
+-endif()
+\ No newline at end of file
++endif()
diff --git a/packages/media-gfx/inkscape/inkscape-0.91-r1.exheres-0 b/packages/media-gfx/inkscape/inkscape-0.92.2.exheres-0
index 7ec408c..fefff07 100644
--- a/packages/media-gfx/inkscape/inkscape-0.91-r1.exheres-0
+++ b/packages/media-gfx/inkscape/inkscape-0.92.2.exheres-0
@@ -2,8 +2,10 @@
# Copyright 2009 Michael Forney <michael@obberon.com>
# Distributed under the terms of the GNU General Public License v2
-require freedesktop-desktop gtk-icon-cache
-require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 1.13 ] ]
+require launchpad [ branch=$(ever range 1-2).x suffix=tar.bz2 ] \
+ cmake [ api=2 ] \
+ freedesktop-desktop \
+ gtk-icon-cache
SUMMARY="Scalable vector graphics editor"
DESCRIPTION="
@@ -14,40 +16,37 @@ Graphics (SVG) file format. Inkscape supports many advanced SVG features
streamlined interface. It is very easy to edit nodes, perform complex path
operations, trace bitmaps and much more.
"
-HOMEPAGE="https://inkscape.org/"
-REMOTE_IDS+=" launchpad:inkscape "
-
-# Thank you Inkscape for this unpredictable URL
-DOWNLOADS="https://inkscape.org/en/gallery/item/3860/download/ -> inkscape-0.91.tar.bz2"
+HOMEPAGE+=" https://inkscape.org"
UPSTREAM_RELEASE_NOTES="http://wiki.inkscape.org/wiki/index.php/Release_notes/${PV}"
-LICENCES="GPL-2 LGPL-2.1"
+LICENCES="GPL-2 GPL-3 LGPL-2.1"
SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
- ( providers:
- graphicsmagick
- imagemagick
- ) [[
+ cdr [[ description = [ Enable support for importing CorelDraw files ] ]]
+ dia [[ description = [ Enable support for importing Dia files ] ]]
+ gnome [[ description = [ Use gnome-vfs for file loading ] ]]
+ lcms [[ description = [ Enable LittleCMS for color management ] ]]
+ openmp [[ description = [ Support for Open Multi-Processing ] ]]
+ pdf [[ description = [ Enable PDF previews using poppler ] ]]
+ postscript [[ description = [ Enable support for importing PostScript files ] ]]
+ visio [[ description = [ Enable support for importing Microsoft Visio files ] ]]
+ wpg [[ description = [ Enable support for importing WordPerfect Graphics files ] ]]
+ ( providers: graphicsmagick imagemagick ) [[
*description = [ Software suites to create, edit, and compose bitmap images ]
number-selected = at-least-one
]]
- cdr [[ description = [ Enable support for importing CorelDraw files ] ]]
- dia [[ description = [ Enable support for importing Dia files ] ]]
- gnome [[ description = [ Use gnome-vfs for file loading ] ]]
- lcms [[ description = [ Enable LittleCMS for color management ] ]]
- pdf [[ description = [ Enable PDF previews using poppler ] ]]
- postscript [[ description = [ Enable support for importing PostScript files ] ]]
- visio [[ description = [ Enable support for importing Microsoft Visio files ] ]]
- wpg [[ description = [ Enable support for importing WordPerfect Graphics files ] ]]
+ ( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
"
+# Tests fail to run (last checked: 0.92.2)
+RESTRICT="test"
+
DEPENDENCIES="
build:
dev-lang/perl:*[>=5.8.1]
- dev-util/intltool[>=0.40.0]
- sys-devel/gettext[>=0.17]
+ sys-devel/gettext[>=0.19]
virtual/pkg-config
build+run:
app-spell/aspell [[ note = [ Automagic dep ] ]]
@@ -61,72 +60,83 @@ DEPENDENCIES="
dev-libs/libxml2:2.0[>=2.6.11]
dev-libs/libxslt[>=1.0.15]
dev-libs/popt
- gnome-bindings/atkmm
+ gnome-bindings/atkmm:1.6
gnome-bindings/glibmm:2.4[>=2.32][-disable-deprecated]
gnome-bindings/gtkmm:2.4[>=2.10.0]
- gnome-bindings/pangomm
+ gnome-bindings/pangomm:1.4
media-libs/fontconfig
media-libs/freetype:2
media-libs/libexif [[ note = [ Automagic dep ] ]]
media-libs/libpng:=[>=1.2]
sci-libs/gsl [[ note = [ Automagic dep ] ]]
sys-libs/zlib [[ note = [ Automagic dep ] ]]
- x11-libs/cairo[>1.10] [[ note = [ Automagic dep ] ]]
- x11-libs/gdk-pixbuf
+ x11-libs/cairo[>=1.10] [[ note = [ Automagic dep ] ]]
+ x11-libs/gdk-pixbuf:2.0
x11-libs/gtk+:2[>=2.24]
x11-libs/libX11 [[ note = [ Automagic dep ] ]]
x11-libs/libXft
x11-libs/pango[>=1.24] [[ note = [ Automagic dep ] ]]
- gnome? ( gnome-platform/gnome-vfs[>=2.0] )
- cdr? (
+ gnome? ( gnome-platform/gnome-vfs[>=2.0] )
+ cdr? (
media-libs/libcdr[>=0.03]
office-libs/librevenge
)
- lcms? ( media-libs/lcms2[>=1.13] )
- pdf? ( app-text/poppler[>=0.12.2][cairo][glib] )
+ lcms? ( media-libs/lcms2[>=1.13] )
+ openmp? ( sys-libs/libgomp:= )
+ pdf? ( app-text/poppler[>=0.20.0][cairo][glib] )
visio? (
media-libs/libvisio[>=0.0.20]
office-libs/librevenge
)
- wpg? (
+ wpg? (
office-libs/libwpg[>=0.3]
office-libs/librevenge
)
providers:graphicsmagick? ( media-gfx/GraphicsMagick[>=1.0.6] )
- providers:imagemagick? ( media-gfx/ImageMagick[>=1.0.6] )
+ providers:ijg-jpeg? ( media-libs/jpeg:= )
+ providers:imagemagick? ( media-gfx/ImageMagick[>=1.0.6] )
+ providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
+ test:
+ dev-cpp/gtest[>=1.8.0][googlemock]
run:
- dia? ( app-diagram/dia )
+ dia? ( app-diagram/dia )
postscript? ( media-gfx/pstoedit )
+ suggestion:
+ dev-python/lxml [[ description = [ Required for using some of the templates ] ]]
"
-# Tests fail to build (last checked: 0.91)
-RESTRICT="test"
-
DEFAULT_SRC_PREPARE_PATCHES=(
- "${FILES}"/${PNV}-configure-Use-PKG_PROG_PKG_CONFIG-macro.patch
- "${FILES}"/${PNV}-fix-build-with-new-glibmm.patch
+ "${FILES}"/${PN}-0.92.2-Use-CMAKE-INSTALL-DATAROOTDIR-part1.patch
+ "${FILES}"/${PN}-0.92.2-Use-CMAKE-INSTALL-DATAROOTDIR-part2.patch
)
-DEFAULT_SRC_CONFIGURE_PARAMS=(
- --enable-dbusapi
- --enable-nls
- --with-xft
- --disable-gtk3-experimental
- --disable-static
- --with-inkjar
- CXXFLAGS="${CXXFLAGS} -std=gnu++11"
+CMAKE_SRC_CONFIGURE_PARAMS=(
+ -DCMAKE_DISABLE_FIND_PACKAGE_Potrace:BOOL=TRUE
+ -DPACKAGE_LOCALE_DIR:PATH=/usr/share/locale
+ -DENABLE_BINRELOC:BOOL=FALSE
+ -DWITH_DBUS:BOOL=TRUE
+ -DWITH_IMAGE_MAGICK:BOOL=TRUE
+ -DWITH_GTK3_EXPERIMENTAL:BOOL=FALSE
+ -DWITH_LPETOOL:BOOL=FALSE
+ -DWITH_NLS:BOOL=TRUE
+ -DWITH_PROFILING:BOOL=FALSE
+ -DWITH_SVG2:BOOL=TRUE
)
-
-DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
- "cdr"
- "lcms"
- "pdf poppler-cairo"
- "visio"
- "wpg"
+CMAKE_SRC_CONFIGURE_OPTION_ENABLES=(
+ 'lcms LCMS'
+ 'pdf POPPLER'
+ 'pdf POPPLER_CAIRO'
+)
+CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
+ 'cdr LIBCDR'
+ 'gnome GNOME_VFS'
+ 'openmp OPENMP'
+ 'visio LIBVISIO'
+ 'wpg LIBWPG'
)
-DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
- "gnome gnome-vfs"
+CMAKE_SRC_CONFIGURE_TESTS=(
+ '-DCMAKE_DISABLE_FIND_PACKAGE_GTest:BOOL=FALSE -DCMAKE_DISABLE_FIND_PACKAGE_GTest:BOOL=TRUE'
)
DEFAULT_SRC_INSTALL_EXTRA_DOCS=( TRANSLATORS )