diff options
author | Johannes Huber <johu@gentoo.org> | 2014-05-13 18:46:53 +0000 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2014-05-13 18:46:53 +0000 |
commit | 6b014861324acbce55db70f56c838d52c9708a9d (patch) | |
tree | deb3c8f7b849f029d142b33aa66b71e01aaea609 /app-office | |
parent | Version bump wrt bug #503544. (diff) | |
download | gentoo-2-6b014861324acbce55db70f56c838d52c9708a9d.tar.gz gentoo-2-6b014861324acbce55db70f56c838d52c9708a9d.tar.bz2 gentoo-2-6b014861324acbce55db70f56c838d52c9708a9d.zip |
Version bump wrt bug #503544. Check required disk space for build, bug #505374. Adapt USE flag changes made in KDE SC 4.13.1, bug #2345990.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/calligra/ChangeLog | 9 | ||||
-rw-r--r-- | app-office/calligra/calligra-2.8.2.ebuild | 249 | ||||
-rw-r--r-- | app-office/calligra/calligra-9999.ebuild | 62 | ||||
-rw-r--r-- | app-office/calligra/metadata.xml | 2 |
4 files changed, 295 insertions, 27 deletions
diff --git a/app-office/calligra/ChangeLog b/app-office/calligra/ChangeLog index f369c69f2178..127ac57ae6a9 100644 --- a/app-office/calligra/ChangeLog +++ b/app-office/calligra/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-office/calligra # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v 1.108 2014/02/09 19:10:58 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v 1.109 2014/05/13 18:46:53 johu Exp $ + +*calligra-2.8.2 (13 May 2014) + + 13 May 2014; Johannes Huber <johu@gentoo.org> +calligra-2.8.2.ebuild, + calligra-9999.ebuild, metadata.xml: + Version bump wrt bug #503544. Check required disk space for build, bug + #505374. Adapt USE flag changes made in KDE SC 4.13.1, bug #2345990. 09 Feb 2014; Michael Palimaka <kensington@gentoo.org> calligra-2.7.5.ebuild, calligra-9999.ebuild: diff --git a/app-office/calligra/calligra-2.8.2.ebuild b/app-office/calligra/calligra-2.8.2.ebuild new file mode 100644 index 000000000000..521f04bde73a --- /dev/null +++ b/app-office/calligra/calligra-2.8.2.ebuild @@ -0,0 +1,249 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-2.8.2.ebuild,v 1.1 2014/05/13 18:46:53 johu Exp $ + +# note: files that need to be checked for dependencies etc: +# CMakeLists.txt, kexi/CMakeLists.txt kexi/migration/CMakeLists.txt +# krita/CMakeLists.txt + +EAPI=5 + +OPENGL_REQUIRED=optional +KDE_HANDBOOK=optional +KDE_LINGUAS_LIVE_OVERRIDE=true +CHECKREQS_DISK_BUILD="4G" +KDE_MINIMAL="4.13.1" +inherit check-reqs kde4-base versionator + +DESCRIPTION="KDE Office Suite" +HOMEPAGE="http://www.calligra.org/" + +case ${PV} in + 2.[456789].[789]?) + # beta or rc releases + SRC_URI="mirror://kde/unstable/${P}/${P}.tar.xz" ;; + 2.[456789].?) + # stable releases + SRC_URI="mirror://kde/stable/${P}/${P}.tar.xz" ;; + 2.[456789].9999) + # stable branch live ebuild + SRC_URI="" ;; + 9999) + # master branch live ebuild + SRC_URI="" ;; +esac + +LICENSE="GPL-2" +SLOT="4" + +# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061 +[[ ${PV} == *9999 ]] || \ +KEYWORDS="~amd64 ~arm ~x86" + +IUSE="attica +crypt +eigen +exif fftw +fontconfig freetds +gif +glew +glib +gsf +gsl import-filter +jpeg jpeg2k +kdcraw kde kdepim +lcms marble mysql nepomuk ++okular opengtl openexr +pdf postgres spacenav +ssl sybase test tiff +threads ++truetype vc xbase +xml +xslt" + +# please do not sort here, order is same as in CMakeLists.txt +CAL_FTS="author kexi words flow plan stage sheets krita karbon braindump" +for cal_ft in ${CAL_FTS}; do + IUSE+=" calligra_features_${cal_ft}" +done +unset cal_ft + +REQUIRED_USE=" + calligra_features_author? ( calligra_features_words ) + calligra_features_kexi? ( calligra_features_sheets ) + calligra_features_words? ( calligra_features_sheets ) + calligra_features_krita? ( eigen exif glew lcms ) + calligra_features_plan? ( kdepim ) + calligra_features_sheets? ( eigen ) + vc? ( calligra_features_krita ) + test? ( calligra_features_karbon ) +" + +RDEPEND=" + !app-office/karbon + !app-office/kexi + !app-office/koffice-data + !app-office/koffice-l10n + !app-office/koffice-libs + !app-office/koffice-meta + !app-office/kplato + !app-office/kpresenter + !app-office/krita + !app-office/kspread + !app-office/kword + $(add_kdebase_dep kdelibs 'nepomuk?') + dev-lang/perl + dev-libs/boost + dev-libs/libxml2 + $(add_kdebase_dep knewstuff) + media-libs/libpng + sys-libs/zlib + >=dev-qt/qtgui-4.8.1-r1:4 + virtual/libiconv + attica? ( dev-libs/libattica ) + crypt? ( app-crypt/qca:2 ) + eigen? ( dev-cpp/eigen:2 ) + exif? ( media-gfx/exiv2:= ) + fftw? ( sci-libs/fftw:3.0 ) + fontconfig? ( media-libs/fontconfig ) + freetds? ( dev-db/freetds ) + gif? ( media-libs/giflib ) + glew? ( media-libs/glew ) + glib? ( dev-libs/glib:2 ) + gsf? ( gnome-extra/libgsf ) + gsl? ( sci-libs/gsl ) + import-filter? ( + app-text/libetonyek + app-text/libodfgen + app-text/libwpd + app-text/libwpg + app-text/libwps + media-libs/libvisio + ) + jpeg? ( virtual/jpeg:0 ) + jpeg2k? ( media-libs/openjpeg:0 ) + kdcraw? ( $(add_kdebase_dep libkdcraw) ) + kde? ( $(add_kdebase_dep kactivities) ) + kdepim? ( $(add_kdebase_dep kdepimlibs) ) + lcms? ( media-libs/lcms:2 ) + marble? ( $(add_kdebase_dep marble) ) + mysql? ( virtual/mysql ) + nepomuk? ( dev-libs/soprano ) + okular? ( $(add_kdebase_dep okular) ) + opengl? ( virtual/glu ) + opengtl? ( >=media-libs/opengtl-0.9.15 ) + openexr? ( media-libs/openexr ) + pdf? ( + app-text/poppler:= + media-gfx/pstoedit + ) + postgres? ( + dev-db/postgresql-base + dev-libs/libpqxx + ) + spacenav? ( dev-libs/libspnav ) + ssl? ( dev-libs/openssl ) + sybase? ( dev-db/freetds ) + tiff? ( media-libs/tiff ) + truetype? ( media-libs/freetype:2 ) + vc? ( dev-libs/vc ) + xbase? ( dev-db/xbase ) + xslt? ( dev-libs/libxslt ) + calligra_features_kexi? ( + >=dev-db/sqlite-3.7.9:3[extensions(+)] + dev-libs/icu:= + ) +" +DEPEND="${RDEPEND}" + +[[ ${PV} == 9999 ]] && LANGVERSION="2.4" || LANGVERSION="$(get_version_component_range 1-2)" +PDEPEND=">=app-office/calligra-l10n-${LANGVERSION}" + +RESTRICT=test +# bug 394273 + +pkg_pretend() { + check-reqs_pkg_pretend +} + +pkg_setup() { + kde4-base_pkg_setup + check-reqs_pkg_setup +} + +src_configure() { + local cal_ft + + # first write out things we want to hard-enable + local mycmakeargs=( + "-DIHAVEPATCHEDQT=ON" + "-DWITH_Boost=ON" + "-DWITH_LibXml2=ON" + "-DWITH_PNG=ON" + "-DWITH_ZLIB=ON" + "-DGHNS=ON" + "-DWITH_X11=ON" + "-DWITH_Qt4=ON" + "-DBUILD_libmsooxml=ON" # only internal code, no deps + "-DWITH_Iconv=ON" # available on all supported arches and many more + ) + + # default disablers + mycmakeargs+=( + "-DBUILD_mobile=OFF" # we dont support mobile gui, maybe arm could + "-DBUILD_active=OFF" # we dont support active gui, maybe arm could + "-DWITH_LCMS=OFF" # we use lcms:2 + "-DCREATIVEONLY=OFF" + "-DPACKAGERS_BUILD=OFF" + "-DWITH_TINY=OFF" + "-DWITH_CreateResources=OFF" # NOT PACKAGED: http://create.freedesktop.org/ + "-DWITH_DCMTK=OFF" # NOT PACKAGED: http://www.dcmtk.org/dcmtk.php.en + "-DQT3SUPPORT=OFF" # Qt5 is on the way! + ) + + # regular options + mycmakeargs+=( + $(cmake-utils_use_with attica LibAttica) + $(cmake-utils_use_with crypt QCA2) + $(cmake-utils_use_with eigen Eigen2) + $(cmake-utils_use_with exif Exiv2) + $(cmake-utils_use_with fftw FFTW3) + $(cmake-utils_use_with fontconfig Fontconfig) + $(cmake-utils_use_with freetds FreeTDS) + $(cmake-utils_use_with gif GIF2) + $(cmake-utils_use_with glew GLEW) + $(cmake-utils_use_with glib GLIB2) + $(cmake-utils_use_with glib GObject) + $(cmake-utils_use_with gsf LIBGSF) + $(cmake-utils_use_with gsl GSL) + $(cmake-utils_use_with import-filter LibEtonyek) + $(cmake-utils_use_with import-filter LibOdfGen) + $(cmake-utils_use_with import-filter LibVisio) + $(cmake-utils_use_with import-filter LibWpd) + $(cmake-utils_use_with import-filter LibWpg) + $(cmake-utils_use_with import-filter LibWps) + $(cmake-utils_use_with jpeg JPEG) + $(cmake-utils_use_with jpeg2k OpenJPEG) + $(cmake-utils_use_with kdcraw Kdcraw) + $(cmake-utils_use_with kde KActivities) + $(cmake-utils_use_with kdepim KdepimLibs) + $(cmake-utils_use_with lcms LCMS2) + $(cmake-utils_use_with marble Marble) + $(cmake-utils_use_with mysql MySQL) + $(cmake-utils_use_build mysql mySQL) + $(cmake-utils_use_with nepomuk Soprano) + $(cmake-utils_use_with okular Okular) + $(cmake-utils_use_with opengtl OpenCTL) + $(cmake-utils_use_with openexr OpenEXR) + $(cmake-utils_use_with opengl OpenGL) + $(cmake-utils_use_with pdf Poppler) + $(cmake-utils_use_with pdf Pstoedit) + $(cmake-utils_use_with postgres PostgreSQL) + $(cmake-utils_use_build postgres pqxx) + $(cmake-utils_use_with spacenav Spnav) + $(cmake-utils_use_with ssl OpenSSL) + $(cmake-utils_use_with sybase FreeTDS) + $(cmake-utils_use_build sybase sybase) + $(cmake-utils_use_with tiff TIFF) + $(cmake-utils_use_with threads Threads) + $(cmake-utils_use_with truetype Freetype) + $(cmake-utils_use_with vc Vc) + $(cmake-utils_use_with xbase XBase) + $(cmake-utils_use_build xbase xbase) + $(cmake-utils_use_with xslt LibXslt) + ) + + # applications + for cal_ft in ${CAL_FTS}; do + mycmakeargs+=( $(cmake-utils_use_build calligra_features_${cal_ft} ${cal_ft}) ) + done + mycmakeargs+=( $(cmake-utils_use_build test cstester) ) + + # filters + + kde4-base_src_configure +} diff --git a/app-office/calligra/calligra-9999.ebuild b/app-office/calligra/calligra-9999.ebuild index 26ad8b2dc827..7962ae97d9b6 100644 --- a/app-office/calligra/calligra-9999.ebuild +++ b/app-office/calligra/calligra-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-9999.ebuild,v 1.44 2014/02/09 19:10:58 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-9999.ebuild,v 1.45 2014/05/13 18:46:53 johu Exp $ # note: files that need to be checked for dependencies etc: # CMakeLists.txt, kexi/CMakeLists.txt kexi/migration/CMakeLists.txt @@ -8,14 +8,12 @@ EAPI=5 -KDE_MINIMAL=4.6.4 -QT_MINIMAL=4.8.1 OPENGL_REQUIRED=optional - KDE_HANDBOOK=optional - KDE_LINGUAS_LIVE_OVERRIDE=true -inherit kde4-base versionator +CHECKREQS_DISK_BUILD="4G" +KDE_MINIMAL="4.13.1" +inherit check-reqs kde4-base versionator DESCRIPTION="KDE Office Suite" HOMEPAGE="http://www.calligra.org/" @@ -40,12 +38,12 @@ SLOT="4" # Don't move KEYWORDS on the previous line or ekeyword won't work # 399061 [[ ${PV} == *9999 ]] || \ -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~arm ~x86" -IUSE="attica +crypt +eigen +exif fftw +fontconfig freetds +gif glew +glib +gsf -gsl +jpeg jpeg2k +kdcraw kde kdepim +lcms marble mysql +okular opengtl openexr -+pdf postgres semantic-desktop spacenav +ssl sybase test tiff +threads -+truetype vc word-perfect xbase +xml +xslt" +IUSE="attica +crypt +eigen +exif fftw +fontconfig freetds +gif +glew +glib +gsf +gsl import-filter +jpeg jpeg2k +kdcraw kde kdepim +lcms marble mysql nepomuk ++okular opengtl openexr +pdf postgres spacenav +ssl sybase test tiff +threads ++truetype vc xbase +xml +xslt" # please do not sort here, order is same as in CMakeLists.txt CAL_FTS="author kexi words flow plan stage sheets krita karbon braindump" @@ -58,10 +56,9 @@ REQUIRED_USE=" calligra_features_author? ( calligra_features_words ) calligra_features_kexi? ( calligra_features_sheets ) calligra_features_words? ( calligra_features_sheets ) - calligra_features_krita? ( eigen exif lcms ) + calligra_features_krita? ( eigen exif glew lcms ) calligra_features_plan? ( kdepim ) calligra_features_sheets? ( eigen ) - kdepim? ( semantic-desktop ) vc? ( calligra_features_krita ) test? ( calligra_features_karbon ) " @@ -78,7 +75,7 @@ RDEPEND=" !app-office/krita !app-office/kspread !app-office/kword - $(add_kdebase_dep kdelibs 'semantic-desktop?') + $(add_kdebase_dep kdelibs 'nepomuk?') dev-lang/perl dev-libs/boost dev-libs/libxml2 @@ -99,6 +96,14 @@ RDEPEND=" glib? ( dev-libs/glib:2 ) gsf? ( gnome-extra/libgsf ) gsl? ( sci-libs/gsl ) + import-filter? ( + app-text/libetonyek + app-text/libodfgen + app-text/libwpd + app-text/libwpg + app-text/libwps + media-libs/libvisio + ) jpeg? ( virtual/jpeg:0 ) jpeg2k? ( media-libs/openjpeg:0 ) kdcraw? ( $(add_kdebase_dep libkdcraw) ) @@ -107,6 +112,7 @@ RDEPEND=" lcms? ( media-libs/lcms:2 ) marble? ( $(add_kdebase_dep marble) ) mysql? ( virtual/mysql ) + nepomuk? ( dev-libs/soprano ) okular? ( $(add_kdebase_dep okular) ) opengl? ( virtual/glu ) opengtl? ( >=media-libs/opengtl-0.9.15 ) @@ -119,20 +125,12 @@ RDEPEND=" dev-db/postgresql-base dev-libs/libpqxx ) - semantic-desktop? ( - dev-libs/soprano - ) spacenav? ( dev-libs/libspnav ) ssl? ( dev-libs/openssl ) sybase? ( dev-db/freetds ) tiff? ( media-libs/tiff ) truetype? ( media-libs/freetype:2 ) vc? ( dev-libs/vc ) - word-perfect? ( - app-text/libwpd - app-text/libwps - app-text/libwpg - ) xbase? ( dev-db/xbase ) xslt? ( dev-libs/libxslt ) calligra_features_kexi? ( @@ -148,6 +146,15 @@ PDEPEND=">=app-office/calligra-l10n-${LANGVERSION}" RESTRICT=test # bug 394273 +pkg_pretend() { + check-reqs_pkg_pretend +} + +pkg_setup() { + kde4-base_pkg_setup + check-reqs_pkg_setup +} + src_configure() { local cal_ft @@ -193,6 +200,12 @@ src_configure() { $(cmake-utils_use_with glib GObject) $(cmake-utils_use_with gsf LIBGSF) $(cmake-utils_use_with gsl GSL) + $(cmake-utils_use_with import-filter LibEtonyek) + $(cmake-utils_use_with import-filter LibOdfGen) + $(cmake-utils_use_with import-filter LibVisio) + $(cmake-utils_use_with import-filter LibWpd) + $(cmake-utils_use_with import-filter LibWpg) + $(cmake-utils_use_with import-filter LibWps) $(cmake-utils_use_with jpeg JPEG) $(cmake-utils_use_with jpeg2k OpenJPEG) $(cmake-utils_use_with kdcraw Kdcraw) @@ -202,6 +215,7 @@ src_configure() { $(cmake-utils_use_with marble Marble) $(cmake-utils_use_with mysql MySQL) $(cmake-utils_use_build mysql mySQL) + $(cmake-utils_use_with nepomuk Soprano) $(cmake-utils_use_with okular Okular) $(cmake-utils_use_with opengtl OpenCTL) $(cmake-utils_use_with openexr OpenEXR) @@ -210,8 +224,6 @@ src_configure() { $(cmake-utils_use_with pdf Pstoedit) $(cmake-utils_use_with postgres PostgreSQL) $(cmake-utils_use_build postgres pqxx) - $(cmake-utils_use semantic-desktop NEPOMUK) - $(cmake-utils_use_with semantic-desktop Soprano) $(cmake-utils_use_with spacenav Spnav) $(cmake-utils_use_with ssl OpenSSL) $(cmake-utils_use_with sybase FreeTDS) @@ -220,8 +232,6 @@ src_configure() { $(cmake-utils_use_with threads Threads) $(cmake-utils_use_with truetype Freetype) $(cmake-utils_use_with vc Vc) - $(cmake-utils_use_with word-perfect WPD) - $(cmake-utils_use_with word-perfect WPG) $(cmake-utils_use_with xbase XBase) $(cmake-utils_use_build xbase xbase) $(cmake-utils_use_with xslt LibXslt) diff --git a/app-office/calligra/metadata.xml b/app-office/calligra/metadata.xml index 136e326a2cfe..6e06adb0917b 100644 --- a/app-office/calligra/metadata.xml +++ b/app-office/calligra/metadata.xml @@ -9,9 +9,11 @@ <flag name="glew">Enable <pkg>media-libs/glew</pkg> opengl extension library support</flag> <flag name="glib">Enable support for C library routines from <pkg>dev-libs/glib</pkg></flag> <flag name="gsf">Enable support for ODT structures extraction via <pkg>gnome-extra/libgsf</pkg></flag> + <flag name="import-filter">Enable support for various import filter file formats like WordPerfect, Visio and Apple Keynote</flag> <flag name="kdcraw">Enable support for KDE image manipulating interface via <pkg>kde-base/libkdcraw</pkg></flag> <flag name="kdepim">Enable support for KDEPIM resources integration</flag> <flag name="marble">Enable displaying of maps using Marble</flag> + <flag name="nepomuk">Enable Nepomuk based semantic desktop support (deprecated)</flag> <flag name="okular">Enable bindings for <pkg>kde-base/okular</pkg></flag> <flag name="opengtl">Enable support for transformation algorithms via <pkg>media-libs/opengtl</pkg></flag> <flag name="spacenav">Enable support for the 3Dconnexion spacenav input device via <pkg>dev-libs/libspnav</pkg></flag> |