Version bump
authorAndreas Hüttel <dilfridge@gentoo.org>
Sun, 20 Nov 2011 17:58:57 +0000 (17:58 +0000)
committerAndreas Hüttel <dilfridge@gentoo.org>
Sun, 20 Nov 2011 17:58:57 +0000 (17:58 +0000)
Package-Manager: portage-2.1.10.36/cvs/Linux x86_64

app-office/calligra-l10n/ChangeLog
app-office/calligra-l10n/calligra-l10n-2.3.84.ebuild [new file with mode: 0644]
app-office/calligra/ChangeLog
app-office/calligra/calligra-2.3.84.ebuild [new file with mode: 0644]

index b46c6988e2ffb2cacee33db12fb1ff472c24b404..49e64b8f92ff924be3c4c2d8cf2496813faeffde 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-office/calligra-l10n
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/ChangeLog,v 1.4 2011/10/29 17:56:47 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/ChangeLog,v 1.5 2011/11/20 17:58:57 dilfridge Exp $
+
+*calligra-l10n-2.3.84 (20 Nov 2011)
+
+  20 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+  +calligra-l10n-2.3.84.ebuild:
+  Version bump
 
 *calligra-l10n-2.3.83 (29 Oct 2011)
 
diff --git a/app-office/calligra-l10n/calligra-l10n-2.3.84.ebuild b/app-office/calligra-l10n/calligra-l10n-2.3.84.ebuild
new file mode 100644 (file)
index 0000000..e782515
--- /dev/null
@@ -0,0 +1,77 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/calligra-l10n/calligra-l10n-2.3.84.ebuild,v 1.1 2011/11/20 17:58:57 dilfridge Exp $
+
+EAPI=4
+
+inherit kde4-base
+
+DESCRIPTION="Calligra localization package"
+HOMEPAGE="http://www.kde.org/"
+LICENSE="GPL-2"
+
+DEPEND="sys-devel/gettext"
+RDEPEND=""
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc"
+
+MY_LANGS="ca ca@valencia cs da de el en_GB es et fr it kk nb nds nl pl pt pt_BR ru sv uk zh_TW"
+URI_BASE="mirror://kde/unstable/${PN/-l10n/}-${PV}/${PN}/"
+SRC_URI=""
+SLOT="4"
+
+for MY_LANG in ${MY_LANGS} ; do
+       IUSE="${IUSE} linguas_${MY_LANG}"
+       SRC_URI="${SRC_URI} linguas_${MY_LANG}? ( ${URI_BASE}/${PN}-${MY_LANG}-${PV}.tar.bz2 )"
+done
+unset MY_LANG
+
+S="${WORKDIR}"
+
+src_unpack() {
+       local lng dir
+       if [[ -z ${A} ]]; then
+               elog
+               elog "You either have the LINGUAS variable unset, or it only"
+               elog "contains languages not supported by ${P}."
+               elog "You won't have any additional language support."
+               elog
+               elog "${P} supports these language codes:"
+               elog "${MY_LANGS}"
+               elog
+       fi
+
+       [[ -n ${A} ]] && unpack ${A}
+       cd "${S}"
+
+       # add all linguas to cmake
+       if [[ -n ${A} ]]; then
+               for lng in ${MY_LANGS}; do
+                       dir="${PN}-${lng}-${PV}"
+                       if [[ -d "${dir}" ]] ; then
+                               echo "add_subdirectory( ${dir} )" >> "${S}"/CMakeLists.txt
+                       fi
+               done
+       fi
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DBUILD_MESSAGES=ON -DBUILD_DATA=ON
+               $(cmake-utils_use_build doc)
+       )
+       [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_configure
+}
+
+src_compile() {
+       [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_compile
+}
+
+src_test() {
+       [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_test
+}
+
+src_install() {
+       [[ -e "${S}"/CMakeLists.txt ]] && kde4-base_src_install
+}
index 1f7d6d1616f2a43ac209ed839a5a5a787ce1217b..b3a0771c1c57a159705570444e721780704e8318 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-office/calligra
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v 1.13 2011/10/29 17:44:14 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/ChangeLog,v 1.14 2011/11/20 17:54:57 dilfridge Exp $
+
+*calligra-2.3.84 (20 Nov 2011)
+
+  20 Nov 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+  +calligra-2.3.84.ebuild:
+  Version bump
 
 *calligra-2.3.83 (29 Oct 2011)
 
diff --git a/app-office/calligra/calligra-2.3.84.ebuild b/app-office/calligra/calligra-2.3.84.ebuild
new file mode 100644 (file)
index 0000000..5ff085d
--- /dev/null
@@ -0,0 +1,191 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/calligra/calligra-2.3.84.ebuild,v 1.1 2011/11/20 17:54:57 dilfridge Exp $
+
+# note: files that need to be checked for dependencies etc:
+# CMakeLists.txt, kexi/CMakeLists.txt kexi/migration/CMakeLists.txt
+# krita/CMakeLists.txt
+
+EAPI=4
+
+KDE_SCM=git
+KDE_MINIMAL=4.6.4
+OPENGL_REQUIRED=optional
+
+# KDE_HANDBOOK=optional
+# no handbook in 83
+
+KDE_LINGUAS_LIVE_OVERRIDE=true
+inherit kde4-base
+
+DESCRIPTION="KDE Office Suite"
+HOMEPAGE="http://www.calligra-suite.org/"
+[[ ${PV} == 9999 ]] || SRC_URI="mirror://kde/unstable/${P}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="4"
+[[ ${PV} == 9999 ]] || KEYWORDS="~amd64 ~x86"
+IUSE="+crypt +eigen +exif fftw +fontconfig freetds +gif glew +glib +gsf
+gsl +iconv +jpeg jpeg2k +kdcraw kdepim +lcms marble mysql +mso +okular openctl openexr
++pdf postgres +semantic-desktop +ssl sybase test tiff +threads +truetype
++wmf word-perfect xbase +xml +xslt"
+
+# please do not sort here, order is same as in CMakeLists.txt
+CAL_FTS="kexi words flow plan stage tables krita karbon braindump"
+for cal_ft in ${CAL_FTS}; do
+       IUSE+=" calligra_features_${cal_ft}"
+done
+unset cal_ft
+
+REQUIRED_USE="
+       calligra_features_kexi? ( calligra_features_tables )
+       calligra_features_krita? ( eigen exif lcms )
+       calligra_features_plan? ( kdepim )
+       calligra_features_tables? ( eigen )
+       test? ( calligra_features_karbon )
+"
+
+RDEPEND="
+       !app-office/karbon
+       !app-office/koffice-data
+       !app-office/koffice-l10n
+       !app-office/koffice-libs
+       !app-office/koffice-meta
+       !app-office/krita
+       !app-office/kplato
+       !app-office/kpresenter
+       !app-office/kspread
+       !app-office/kword
+       >=dev-db/sqlite-3.7.9:3
+       dev-lang/perl
+       dev-libs/boost
+       dev-libs/libxml2
+       $(add_kdebase_dep knewstuff)
+       media-libs/libpng
+       sys-libs/zlib
+       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 )
+       iconv? ( virtual/libiconv )
+       jpeg? ( virtual/jpeg )
+       jpeg2k? ( media-libs/openjpeg )
+       kdcraw? ( $(add_kdebase_dep libkdcraw) )
+       kdepim? ( $(add_kdebase_dep kdepimlibs) )
+       lcms? ( media-libs/lcms:2 )
+       marble? ( $(add_kdebase_dep marble) )
+       mysql? ( virtual/mysql )
+       okular? ( $(add_kdebase_dep okular) )
+       openctl? ( >=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-3*
+       )
+       semantic-desktop? ( dev-libs/soprano )
+       ssl? ( dev-libs/openssl )
+       sybase? ( dev-db/freetds )
+       tiff? ( media-libs/tiff )
+       truetype? ( media-libs/freetype:2 )
+       word-perfect? (
+               app-text/libwpd
+               app-text/libwps
+               app-text/libwpg
+       )
+       xbase? ( dev-db/xbase )
+       xslt? ( dev-libs/libxslt )
+       calligra_features_kexi? ( >=dev-db/sqlite-3.7.3 )
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       local cal_ft
+
+       # first write out things we want to hard-enable
+       local mycmakeargs=(
+               "-DWITH_Boost=ON"
+               "-DWITH_LibXml2=ON"
+               "-DWITH_PNG=ON"
+               "-DWITH_ZLIB=ON"
+               "-DGHNS=ON"
+               "-DWITH_X11=ON"
+               "-DWITH_Qt4=ON"
+       )
+
+       # default disablers
+       mycmakeargs+=(
+               "-DBUILD_mobile=OFF" # we dont suppor mobile gui, maybe arm could
+               "-DWITH_LCMS=OFF" # we use lcms:2
+               "-DWITH_XBase=OFF" # i am not the one to support this
+               "-DCREATIVEONLY=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
+               "-DWITH_Spnav=OFF"           # NOT PACKAGED: http://spacenav.sourceforge.net/
+       )
+
+       # regular options
+       mycmakeargs+=(
+               $(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 iconv Iconv)
+               $(cmake-utils_use_with jpeg JPEG)
+               $(cmake-utils_use_with jpeg2k OpenJPEG)
+               $(cmake-utils_use_with kdcraw Kdcraw)
+               $(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_with okular Okular)
+               $(cmake-utils_use_with openctl 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_with semantic-desktop Soprano)
+               $(cmake-utils_use semantic-desktop NEPOMUK)
+               $(cmake-utils_use_with ssl OpenSSL)
+               $(cmake-utils_use_with sybase FreeTDS)
+               $(cmake-utils_use_with tiff TIFF)
+               $(cmake-utils_use_with threads Threads)
+               $(cmake-utils_use_with truetype Freetype)
+               $(cmake-utils_use_with word-perfect WPD)
+               $(cmake-utils_use_with word-perfect WPG)
+               $(cmake-utils_use_with xbase XBase)
+               $(cmake-utils_use_with xslt LibXslt)
+               $(cmake-utils_use_build wmf libkowmf)
+               $(cmake-utils_use_build mso libmsooxml)
+       )
+
+       # 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
+}