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-plugins/kipi-plugins | |
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-plugins/kipi-plugins')
10 files changed, 747 insertions, 0 deletions
diff --git a/media-plugins/kipi-plugins/Manifest b/media-plugins/kipi-plugins/Manifest new file mode 100644 index 000000000000..d9b60e0ce7c5 --- /dev/null +++ b/media-plugins/kipi-plugins/Manifest @@ -0,0 +1,4 @@ +DIST digikam-4.10.0.tar.bz2 69413654 SHA256 4207e68b6221307111b66bb69485d3e88150df95dae014a99f6f161a3da0c725 SHA512 a2f1d5f44719409ee45158106cc44541e7226e3c948b722045e104bc398f96233481d60e11dd198e96bfe3028201dac335be403ec74af1ef07e3137c3e9221a4 WHIRLPOOL 5d7997787c549318e5d7d677edc68ee2ebaa95c789b7d5f05e3ea5dea48d56afc23aa7bf3afa33f44353f4189644df7573683580486c0d248352ffb534215f37 +DIST digikam-4.12.0.tar.bz2 69527960 SHA256 15043afb04733e059460165bc3cdf58dc42a67d7a349fbe12c2ebbe1946e3420 SHA512 a5ebe481ef9803475cd2d4d198b0d093753ecb71367662f0e83a151ab34a2ff071139b28c1d9600279463fed96745b025db86d24b059b0794bc4a2b50338df85 WHIRLPOOL cf29c3555ce41a298c9760287996d8edee76ff8a6ec42b503f55059e40b35f91cf56afb054f641e800f6e630d851491c2f77e0bd67020feefe8d6adf36a643f5 +DIST digikam-4.4.0.tar.bz2 68871203 SHA256 5c68a2d200f5b502706128ea64839319aad333fb79548f49ecc92594e280d4e9 SHA512 4992fad1e574fc44eac53f3ac8d4ab78ccbf8e04beb54a211a9afc20af1efb6f8bacedea07e403f490e7f70a74ed5ac02d4f9b939dfaf25f64a4a9bda0a7d94a WHIRLPOOL 7a05ab9926227232a1cf52bf68da45b849b982e840b171f702610acce85a1ce8e59967a02e845a0ef19c316daee835861573aca40dc7b28422cf7d6d56119e2c +DIST digikam-4.7.0-1.tar.bz2 70151058 SHA256 230a5841754107d273c953ad4aeef2b57265c4623decc74a454c437175468002 SHA512 a9e162c83d83b2183a4e8f254b971993b884677e24676b3dd58dcf8e90ca87f1046c099ea33083ee0f58eedd13aee69a242fbc3d1eab70e285956393637f3dd4 WHIRLPOOL e454bd9c95b3aa9a4c9007065c8ee3e1da595b389fc868a6a21cacba761d8101d4be507c299fd7651d8ab0c0ddff5fb4038bf49f73213a8ec2b69bcdce02808b diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-3.0.0-options.patch b/media-plugins/kipi-plugins/files/kipi-plugins-3.0.0-options.patch new file mode 100644 index 000000000000..50e0db071b8e --- /dev/null +++ b/media-plugins/kipi-plugins/files/kipi-plugins-3.0.0-options.patch @@ -0,0 +1,28 @@ +diff -ruN digikam-3.0.0.orig/extra/kipi-plugins/CMakeLists.txt digikam-3.0.0/extra/kipi-plugins/CMakeLists.txt +--- digikam-3.0.0.orig/extra/kipi-plugins/CMakeLists.txt 2013-02-07 00:52:03.000000000 +0100 ++++ digikam-3.0.0/extra/kipi-plugins/CMakeLists.txt 2013-02-09 22:33:55.284100771 +0100 +@@ -424,7 +424,11 @@ + ADD_SUBDIRECTORY(picasawebexport) + ADD_SUBDIRECTORY(smug) + ADD_SUBDIRECTORY(printimages) +- ADD_SUBDIRECTORY(expoblending) ++ ++ IF(ENABLE_expoblending) ++ ADD_SUBDIRECTORY(expoblending) ++ ENDIF(ENABLE_expoblending) ++ + ADD_SUBDIRECTORY(kopete) + ADD_SUBDIRECTORY(batchprocessimages) + ADD_SUBDIRECTORY(rajceexport) +@@ -492,9 +496,9 @@ + ADD_SUBDIRECTORY(mediawiki) + ENDIF(MEDIAWIKI_FOUND) + +- IF(FLEX_FOUND AND BISON_FOUND) ++ IF(FLEX_FOUND AND BISON_FOUND AND ENABLE_panorama) + ADD_SUBDIRECTORY(panorama) +- ENDIF(FLEX_FOUND AND BISON_FOUND) ++ ENDIF(FLEX_FOUND AND BISON_FOUND AND ENABLE_panorama) + + IF(ImageMagick_FOUND AND QTGSTREAMER_FOUND) + ADD_SUBDIRECTORY(videoslideshow) diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-3.4.0-staticar.patch b/media-plugins/kipi-plugins/files/kipi-plugins-3.4.0-staticar.patch new file mode 100644 index 000000000000..7287de7a58b4 --- /dev/null +++ b/media-plugins/kipi-plugins/files/kipi-plugins-3.4.0-staticar.patch @@ -0,0 +1,18 @@ +commit b9c0e87c74956196cf0d5042c8c13e9a381ba4e8 +Author: Gilles Caulier <caulier.gilles@gmail.com> +Date: Thu Oct 10 16:11:18 2013 +0200 + + apply patch #82764 to not install libPropertiesBrowser + BUGS: 319664 + +diff --git a/photolayoutseditor/extra/qtpropertybrowser/CMakeLists.txt b/photolayoutseditor/extra/qtpropertybrowser/CMakeLists.txt +index 03cf1bd..46e158c 100644 +--- a/photolayoutseditor/extra/qtpropertybrowser/CMakeLists.txt ++++ b/photolayoutseditor/extra/qtpropertybrowser/CMakeLists.txt +@@ -119,4 +119,5 @@ ADD_DEFINITIONS(${QT_DEFINITIONS}) + ADD_DEFINITIONS(-DQT_DLL) + ADD_DEFINITIONS(-DQT_PLUGIN) + +-INSTALL( TARGETS PropertyBrowser ARCHIVE DESTINATION lib ${INSTALL_TARGETS_DEFAULT_ARGS} ) ++# Do not install (yet), see https://bugs.kde.org/show_bug.cgi?id=319664 ++# INSTALL( TARGETS PropertyBrowser ARCHIVE DESTINATION lib ${INSTALL_TARGETS_DEFAULT_ARGS} ) diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch b/media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch new file mode 100644 index 000000000000..361059e0e0aa --- /dev/null +++ b/media-plugins/kipi-plugins/files/kipi-plugins-4.10.0-jpeg.patch @@ -0,0 +1,76 @@ +diff -u -r a/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp b/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp +--- a/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp 2014-12-16 09:54:40.000000000 +0200 ++++ b/extra/kipi-plugins/common/libkipiplugins/tools/imageio/kpwriteimage.cpp 2014-12-24 20:46:51.471208340 +0200 +@@ -181,8 +181,8 @@ + cinfo.comp_info[2].v_samp_factor = 1; + + // bug #154273: use 99 compression level instead 100 to reduce output JPEG file size. +- jpeg_set_quality(&cinfo, 99, true); +- jpeg_start_compress(&cinfo, true); ++ jpeg_set_quality(&cinfo, 99, boolean (true)); ++ jpeg_start_compress(&cinfo, boolean(true)); + + // Write ICC color profile. + if (!d->iccProfile.isEmpty()) +diff -u -r a/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp b/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp +--- a/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp 2014-12-16 09:54:40.000000000 +0200 ++++ b/extra/kipi-plugins/jpeglossless/transform/jpegtransform.cpp 2014-12-24 20:53:06.757881558 +0200 +@@ -197,10 +197,10 @@ + JCOPY_OPTION copyoption = JCOPYOPT_ALL; + jpeg_transform_info transformoption; + +- transformoption.perfect = false; +- transformoption.force_grayscale = false; +- transformoption.trim = false; +- transformoption.crop = false; ++ transformoption.perfect = boolean(false); ++ transformoption.force_grayscale = boolean(false); ++ transformoption.trim = boolean(false); ++ transformoption.crop = boolean(false); + + struct jpeg_decompress_struct srcinfo; + struct jpeg_compress_struct dstinfo; +@@ -277,7 +277,7 @@ + kp_jpeg_qiodevice_src(&srcinfo, &input_file); + jcopy_markers_setup(&srcinfo, copyoption); + +- (void) jpeg_read_header(&srcinfo, true); ++ (void) jpeg_read_header(&srcinfo, boolean(true)); + + // First rotate - execute even if rotate is JXFORM_NONE to apply new EXIF settings + transformoption.transform = rotate; +@@ -296,10 +296,10 @@ + kp_jpeg_qiodevice_dest(&dstinfo, &output_file); + + // Do not write a JFIF header if previously the image did not contain it +- dstinfo.write_JFIF_header = false; ++ dstinfo.write_JFIF_header = boolean(false); + + // Start compressor (note no image data is actually written here) +- dstinfo.optimize_coding = true; ++ dstinfo.optimize_coding = boolean(true); + jpeg_write_coefficients(&dstinfo, dst_coef_arrays); + + // Copy to the output file any extra markers that we want to preserve +@@ -349,7 +349,7 @@ + kp_jpeg_qiodevice_src(&srcinfo, &input_file); + jcopy_markers_setup(&srcinfo, copyoption); + +- (void) jpeg_read_header(&srcinfo, true); ++ (void) jpeg_read_header(&srcinfo, boolean(true)); + + transformoption.transform=flip; + jtransform_request_workspace(&srcinfo, &transformoption); +@@ -366,10 +366,10 @@ + kp_jpeg_qiodevice_dest(&dstinfo, &output_file); + + // Do not write a JFIF header if previously the image did not contain it +- dstinfo.write_JFIF_header = false; ++ dstinfo.write_JFIF_header = boolean(false); + + // Start compressor (note no image data is actually written here) +- dstinfo.optimize_coding = true; ++ dstinfo.optimize_coding = boolean(true); + jpeg_write_coefficients(&dstinfo, dst_coef_arrays); + + // Copy to the output file any extra markers that we want to preserve diff --git a/media-plugins/kipi-plugins/files/kipi-plugins-4.6.0-options.patch b/media-plugins/kipi-plugins/files/kipi-plugins-4.6.0-options.patch new file mode 100644 index 000000000000..100e935e9a64 --- /dev/null +++ b/media-plugins/kipi-plugins/files/kipi-plugins-4.6.0-options.patch @@ -0,0 +1,24 @@ +diff -ruN digikam-4.6.0.orig/extra/kipi-plugins/CMakeLists.txt digikam-4.6.0/extra/kipi-plugins/CMakeLists.txt +--- digikam-4.6.0.orig/extra/kipi-plugins/CMakeLists.txt 2014-12-16 08:54:40.000000000 +0100 ++++ digikam-4.6.0/extra/kipi-plugins/CMakeLists.txt 2014-12-21 21:50:39.901188497 +0100 +@@ -370,7 +370,11 @@ + add_subdirectory(picasawebexport) + add_subdirectory(smug) + add_subdirectory(printimages) ++ ++ if(ENABLE_expoblending) + add_subdirectory(expoblending) ++ endif() ++ + add_subdirectory(kopete) + add_subdirectory(batchprocessimages) + add_subdirectory(rajceexport) +@@ -451,7 +455,7 @@ + add_subdirectory(mediawiki) + endif() + +- if(FLEX_FOUND AND BISON_FOUND) ++ if(FLEX_FOUND AND BISON_FOUND AND ENABLE_panorama) + add_subdirectory(panorama) + endif() + diff --git a/media-plugins/kipi-plugins/kipi-plugins-4.10.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-4.10.0.ebuild new file mode 100644 index 000000000000..f8617478f9d5 --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-4.10.0.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# +# TODO: complete packaging of qtsoap and qtkoauth, see dilfridge overlay for work in progress +# + +EAPI=5 + +OPENGL_REQUIRED="optional" + +KDE_MINIMAL="4.10" + +KDE_LINGUAS="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa +fi fo fr fy ga gl ha he hi hr hsb hu id is it ja ka kk km ko ku lb lo lt lv mi +mk mn ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru rw se sk sl sq sr ss sv +ta te tg th tr tt uk uz ven vi wa xh zh_CN zh_HK zh_TW zu" + +KDE_HANDBOOK="optional" + +inherit flag-o-matic kde4-base + +MY_PV=${PV/_/-} +MY_P="digikam-${MY_PV}" + +DESCRIPTION="Plugins for the KDE Image Plugin Interface" +HOMEPAGE="http://www.digikam.org/" +SRC_URI="mirror://kde/stable/digikam/${MY_P}.tar.bz2" + +LICENSE="GPL-2 + handbook? ( FDL-1.2 )" +KEYWORDS="~amd64 ~x86" +SLOT="4" +IUSE="cdr calendar crypt debug expoblending gpssync +imagemagick ipod mediawiki panorama redeyes scanner upnp videoslideshow vkontakte" + +COMMONDEPEND=" + kde-apps/libkipi:4 + kde-apps/libkdcraw:4= + kde-apps/libkexiv2:4= + dev-libs/expat + dev-libs/kqoauth + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/qjson + dev-qt/qtxmlpatterns:4 + gpssync? ( >=media-libs/libkgeomap-4.6.0 ) + media-libs/libpng:0= + media-libs/tiff:0 + virtual/jpeg:0 + calendar? ( $(add_kdebase_dep kdepimlibs) ) + crypt? ( app-crypt/qca:2[qt4(+)] ) + ipod? ( + media-libs/libgpod + x11-libs/gtk+:2 + ) + mediawiki? ( >=net-libs/libmediawiki-3.0.0 ) + opengl? ( + media-libs/phonon[qt4] + x11-libs/libXrandr + ) + redeyes? ( >=media-libs/opencv-2.4.9 ) + scanner? ( + $(add_kdeapps_dep libksane) + media-gfx/sane-backends + ) + upnp? ( media-libs/herqq ) + videoslideshow? ( + >=media-libs/qt-gstreamer-0.9.0[qt4(+)] + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) + ) + vkontakte? ( net-libs/libkvkontakte ) +" +DEPEND="${COMMONDEPEND} + sys-devel/gettext + panorama? ( + sys-devel/bison + sys-devel/flex + ) +" +RDEPEND="${COMMONDEPEND} + cdr? ( app-cdr/k3b ) + expoblending? ( media-gfx/hugin ) + imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) + panorama? ( + media-gfx/enblend + >=media-gfx/hugin-2011.0.0 + ) +" + +S=${WORKDIR}/${MY_P}/extra/${PN} + +RESTRICT=test +# bug 420203 + +PATCHES=( + "${FILESDIR}/${PN}-4.6.0-options.patch" + "${FILESDIR}/${PN}-4.10.0-jpeg.patch" +) + +src_prepare() { + # prepare the handbook + mv "${WORKDIR}/${MY_P}/doc/${PN}" "${WORKDIR}/${MY_P}/extra/${PN}/doc" || die + if use handbook; then + echo "add_subdirectory( doc )" >> CMakeLists.txt + fi + + # prepare the translations + mv "${WORKDIR}/${MY_P}/po" po || die + find po -name "*.po" -and -not -name "kipiplugin*.po" -exec rm {} + + echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt || die + echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die + echo "add_subdirectory( po )" >> CMakeLists.txt + + if ! use redeyes ; then + sed -i -e "/DETECT_OPENCV/d" CMakeLists.txt || die + fi + + kde4-base_src_prepare +} + +src_configure() { + # Remove flags -floop-block -floop-interchange + # -floop-strip-mine due to bug #305443. + filter-flags -floop-block + filter-flags -floop-interchange + filter-flags -floop-strip-mine + + mycmakeargs+=( + $(cmake-utils_use_with ipod GLIB2) + $(cmake-utils_use_with ipod GObject) + $(cmake-utils_use_with ipod Gdk) + $(cmake-utils_use_with ipod Gpod) + $(cmake-utils_use_with calendar KdepimLibs) + $(cmake-utils_use_with gpssync KGeoMap) + $(cmake-utils_use_with mediawiki Mediawiki) + $(cmake-utils_use_find_package redeyes OpenCV) + $(cmake-utils_use_with opengl OpenGL) + $(cmake-utils_use_with crypt QCA2) + $(cmake-utils_use_with scanner KSane) + $(cmake-utils_use_with upnp Hupnp) + $(cmake-utils_use_with vkontakte LibKVkontakte) + $(cmake-utils_use_with videoslideshow QtGStreamer) + $(cmake-utils_use_enable expoblending) + $(cmake-utils_use_enable panorama) + ) + + kde4-base_src_configure +} diff --git a/media-plugins/kipi-plugins/kipi-plugins-4.12.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-4.12.0.ebuild new file mode 100644 index 000000000000..3cec08e41993 --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-4.12.0.ebuild @@ -0,0 +1,145 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# +# TODO: complete packaging of qtsoap and qtkoauth, see dilfridge overlay for work in progress +# + +EAPI=5 + +OPENGL_REQUIRED="optional" +KDE_HANDBOOK="optional" +KDE_LINGUAS="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa +fi fo fr fy ga gl ha he hi hr hsb hu id is it ja ka kk km ko ku lb lo lt lv mi +mk mn ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru rw se sk sl sq sr +sr@Latn ss sv ta te tg th tr tt uk uz uz@cyrillic ven vi wa xh zh_CN zh_HK zh_TW +zu" +inherit flag-o-matic kde4-base + +MY_PV=${PV/_/-} +MY_P="digikam-${MY_PV}" + +DESCRIPTION="Plugins for the KDE Image Plugin Interface" +HOMEPAGE="http://www.digikam.org/" +SRC_URI="mirror://kde/stable/digikam/${MY_P}.tar.bz2" + +LICENSE="GPL-2 + handbook? ( FDL-1.2 )" +KEYWORDS="~amd64 ~x86" +SLOT="4" +IUSE="cdr calendar crypt debug expoblending gpssync +imagemagick ipod mediawiki panorama redeyes scanner upnp videoslideshow vkontakte" + +COMMONDEPEND=" + kde-apps/libkipi:4 + kde-apps/libkdcraw:4= + kde-apps/libkexiv2:4= + dev-libs/expat + dev-libs/kqoauth + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/qjson + dev-qt/qtxmlpatterns:4 + gpssync? ( || ( >=kde-apps/libkgeomap-14.12.0:4 >=media-libs/libkgeomap-4.12.0 ) ) + media-libs/libpng:0= + media-libs/tiff:0 + virtual/jpeg:0 + calendar? ( $(add_kdebase_dep kdepimlibs) ) + crypt? ( app-crypt/qca:2[qt4(+)] ) + ipod? ( + media-libs/libgpod + x11-libs/gtk+:2 + ) + mediawiki? ( >=net-libs/libmediawiki-3.0.0:4 ) + opengl? ( + media-libs/phonon[qt4] + x11-libs/libXrandr + ) + redeyes? ( >=media-libs/opencv-2.4.9 ) + scanner? ( + $(add_kdeapps_dep libksane) + media-gfx/sane-backends + ) + upnp? ( media-libs/herqq ) + videoslideshow? ( + >=media-libs/qt-gstreamer-0.9.0[qt4(+)] + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) + ) + vkontakte? ( >=net-libs/libkvkontakte-4.12.0:4 ) +" +DEPEND="${COMMONDEPEND} + sys-devel/gettext + panorama? ( + sys-devel/bison + sys-devel/flex + ) +" +RDEPEND="${COMMONDEPEND} + cdr? ( app-cdr/k3b ) + expoblending? ( media-gfx/hugin ) + imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) + panorama? ( + media-gfx/enblend + >=media-gfx/hugin-2011.0.0 + ) +" + +S=${WORKDIR}/${MY_P}/extra/${PN} + +RESTRICT=test +# bug 420203 + +PATCHES=( + "${FILESDIR}/${PN}-4.6.0-options.patch" + "${FILESDIR}/${PN}-4.10.0-jpeg.patch" +) + +src_prepare() { + # prepare the handbook + mv "${WORKDIR}/${MY_P}/doc/${PN}" "${WORKDIR}/${MY_P}/extra/${PN}/doc" || die + if use handbook; then + echo "add_subdirectory( doc )" >> CMakeLists.txt + fi + + # prepare the translations + mv "${WORKDIR}/${MY_P}/po" po || die + find po -name "*.po" -and -not -name "kipiplugin*.po" -exec rm {} + + echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt || die + echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die + echo "add_subdirectory( po )" >> CMakeLists.txt + + if ! use redeyes ; then + sed -i -e "/DETECT_OPENCV/d" CMakeLists.txt || die + fi + + kde4-base_src_prepare +} + +src_configure() { + # Remove flags -floop-block -floop-interchange + # -floop-strip-mine due to bug #305443. + filter-flags -floop-block + filter-flags -floop-interchange + filter-flags -floop-strip-mine + + mycmakeargs+=( + $(cmake-utils_use_with ipod GLIB2) + $(cmake-utils_use_with ipod GObject) + $(cmake-utils_use_with ipod Gdk) + $(cmake-utils_use_with ipod Gpod) + $(cmake-utils_use_with calendar KdepimLibs) + $(cmake-utils_use_with gpssync KGeoMap) + $(cmake-utils_use_with mediawiki Mediawiki) + $(cmake-utils_use_find_package redeyes OpenCV) + $(cmake-utils_use_with opengl OpenGL) + $(cmake-utils_use_with crypt QCA2) + $(cmake-utils_use_with scanner KSane) + $(cmake-utils_use_with upnp Hupnp) + $(cmake-utils_use_with vkontakte LibKVkontakte) + $(cmake-utils_use_with videoslideshow QtGStreamer) + $(cmake-utils_use_enable expoblending) + $(cmake-utils_use_enable panorama) + ) + + kde4-base_src_configure +} diff --git a/media-plugins/kipi-plugins/kipi-plugins-4.4.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-4.4.0.ebuild new file mode 100644 index 000000000000..31b15328ded0 --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-4.4.0.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +OPENGL_REQUIRED="optional" + +KDE_MINIMAL="4.10" + +KDE_LINGUAS="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa +fi fo fr fy ga gl ha he hi hr hsb hu id is it ja ka kk km ko ku lb lo lt lv mi +mk mn ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru rw se sk sl sq sr ss sv +ta te tg th tr tt uk uz ven vi wa xh zh_CN zh_HK zh_TW zu" + +KDE_HANDBOOK="optional" + +inherit flag-o-matic kde4-base + +MY_PV=${PV/_/-} +MY_P="digikam-${MY_PV}" + +DESCRIPTION="Plugins for the KDE Image Plugin Interface" +HOMEPAGE="http://www.digikam.org/" +SRC_URI="mirror://kde/stable/digikam/${MY_P}.tar.bz2" + +LICENSE="GPL-2 + handbook? ( FDL-1.2 )" +KEYWORDS="amd64 x86" +SLOT="4" +IUSE="cdr calendar crypt debug expoblending gpssync +imagemagick ipod mediawiki panorama redeyes scanner upnp videoslideshow vkontakte" + +COMMONDEPEND=" + kde-apps/libkipi:4 + kde-apps/libkdcraw:4= + kde-apps/libkexiv2:4= + dev-libs/expat + dev-libs/kqoauth + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/qjson + gpssync? ( >=media-libs/libkgeomap-4.2.0 ) + media-libs/libpng:0= + media-libs/tiff + virtual/jpeg + calendar? ( $(add_kdebase_dep kdepimlibs) ) + crypt? ( app-crypt/qca:2[qt4(+)] ) + ipod? ( + media-libs/libgpod + x11-libs/gtk+:2 + ) + mediawiki? ( >=net-libs/libmediawiki-3.0.0 ) + redeyes? ( >=media-libs/opencv-2.4.9 ) + scanner? ( + $(add_kdeapps_dep libksane) + media-gfx/sane-backends + ) + upnp? ( media-libs/herqq ) + videoslideshow? ( + media-libs/qt-gstreamer[qt4(+)] + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) + ) + vkontakte? ( net-libs/libkvkontakte ) +" +DEPEND="${COMMONDEPEND} + sys-devel/gettext + panorama? ( + sys-devel/bison + sys-devel/flex + ) +" +RDEPEND="${COMMONDEPEND} + cdr? ( app-cdr/k3b ) + expoblending? ( media-gfx/hugin ) + imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) + panorama? ( + media-gfx/enblend + >=media-gfx/hugin-2011.0.0 + ) +" + +S=${WORKDIR}/${MY_P}/extra/${PN} + +RESTRICT=test +# bug 420203 + +PATCHES=( + "${FILESDIR}/${PN}-3.0.0-options.patch" +) + +src_prepare() { + # prepare the handbook + mv "${WORKDIR}/${MY_P}/doc/${PN}" "${WORKDIR}/${MY_P}/extra/${PN}/doc" || die + if use handbook; then + echo "add_subdirectory( doc )" >> CMakeLists.txt + fi + + # prepare the translations + mv "${WORKDIR}/${MY_P}/po" po || die + find po -name "*.po" -and -not -name "kipiplugin*.po" -exec rm {} + + echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt || die + echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die + echo "add_subdirectory( po )" >> CMakeLists.txt + + kde4-base_src_prepare +} + +src_configure() { + # Remove flags -floop-block -floop-interchange + # -floop-strip-mine due to bug #305443. + filter-flags -floop-block + filter-flags -floop-interchange + filter-flags -floop-strip-mine + + mycmakeargs+=( + $(cmake-utils_use_with ipod GLIB2) + $(cmake-utils_use_with ipod GObject) + $(cmake-utils_use_with ipod Gdk) + $(cmake-utils_use_with ipod Gpod) + $(cmake-utils_use_with calendar KdepimLibs) + $(cmake-utils_use_with gpssync KGeoMap) + $(cmake-utils_use_with mediawiki Mediawiki) + $(cmake-utils_use_with redeyes OpenCV) + $(cmake-utils_use_with opengl OpenGL) + $(cmake-utils_use_with crypt QCA2) + $(cmake-utils_use_with scanner KSane) + $(cmake-utils_use_with upnp Hupnp) + $(cmake-utils_use_with videoslideshow QtGStreamer) + $(cmake-utils_use_enable expoblending) + $(cmake-utils_use_enable panorama) + ) + + kde4-base_src_configure +} diff --git a/media-plugins/kipi-plugins/kipi-plugins-4.7.0.ebuild b/media-plugins/kipi-plugins/kipi-plugins-4.7.0.ebuild new file mode 100644 index 000000000000..2e73a284ef30 --- /dev/null +++ b/media-plugins/kipi-plugins/kipi-plugins-4.7.0.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# +# TODO: complete packaging of qtsoap and qtkoauth, see dilfridge overlay for work in progress +# + +EAPI=5 + +OPENGL_REQUIRED="optional" + +KDE_MINIMAL="4.10" + +KDE_LINGUAS="af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa +fi fo fr fy ga gl ha he hi hr hsb hu id is it ja ka kk km ko ku lb lo lt lv mi +mk mn ms mt nb nds ne nl nn nso oc pa pl pt pt_BR ro ru rw se sk sl sq sr ss sv +ta te tg th tr tt uk uz ven vi wa xh zh_CN zh_HK zh_TW zu" + +KDE_HANDBOOK="optional" + +inherit flag-o-matic kde4-base + +MY_PV=${PV/_/-} +MY_P="digikam-${MY_PV}" + +DESCRIPTION="Plugins for the KDE Image Plugin Interface" +HOMEPAGE="http://www.digikam.org/" +SRC_URI="mirror://kde/stable/digikam/${MY_P}-1.tar.bz2" + +LICENSE="GPL-2 + handbook? ( FDL-1.2 )" +KEYWORDS="~amd64 ~x86" +SLOT="4" +IUSE="cdr calendar crypt debug expoblending gpssync +imagemagick ipod mediawiki panorama redeyes scanner upnp videoslideshow vkontakte" + +COMMONDEPEND=" + kde-apps/libkipi:4 + kde-apps/libkdcraw:4= + kde-apps/libkexiv2:4= + dev-libs/expat + dev-libs/kqoauth + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/qjson + dev-qt/qtxmlpatterns:4 + gpssync? ( >=media-libs/libkgeomap-4.6.0 ) + media-libs/libpng:0= + media-libs/tiff + virtual/jpeg + calendar? ( $(add_kdebase_dep kdepimlibs) ) + crypt? ( app-crypt/qca:2[qt4(+)] ) + ipod? ( + media-libs/libgpod + x11-libs/gtk+:2 + ) + mediawiki? ( >=net-libs/libmediawiki-3.0.0 ) + opengl? ( + media-libs/phonon[qt4] + x11-libs/libXrandr + ) + redeyes? ( >=media-libs/opencv-2.4.9 ) + scanner? ( + $(add_kdeapps_dep libksane) + media-gfx/sane-backends + ) + upnp? ( media-libs/herqq ) + videoslideshow? ( + >=media-libs/qt-gstreamer-0.9.0[qt4(+)] + || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) + ) + vkontakte? ( net-libs/libkvkontakte ) +" +DEPEND="${COMMONDEPEND} + sys-devel/gettext + panorama? ( + sys-devel/bison + sys-devel/flex + ) +" +RDEPEND="${COMMONDEPEND} + cdr? ( app-cdr/k3b ) + expoblending? ( media-gfx/hugin ) + imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) + panorama? ( + media-gfx/enblend + >=media-gfx/hugin-2011.0.0 + ) +" + +S=${WORKDIR}/${MY_P}/extra/${PN} + +RESTRICT=test +# bug 420203 + +PATCHES=( + "${FILESDIR}/${PN}-4.6.0-options.patch" +) + +src_prepare() { + # prepare the handbook + mv "${WORKDIR}/${MY_P}/doc/${PN}" "${WORKDIR}/${MY_P}/extra/${PN}/doc" || die + if use handbook; then + echo "add_subdirectory( doc )" >> CMakeLists.txt + fi + + # prepare the translations + mv "${WORKDIR}/${MY_P}/po" po || die + find po -name "*.po" -and -not -name "kipiplugin*.po" -exec rm {} + + echo "find_package(Msgfmt REQUIRED)" >> CMakeLists.txt || die + echo "find_package(Gettext REQUIRED)" >> CMakeLists.txt || die + echo "add_subdirectory( po )" >> CMakeLists.txt + + if ! use redeyes ; then + sed -i -e "/DETECT_OPENCV/d" CMakeLists.txt || die + fi + + kde4-base_src_prepare +} + +src_configure() { + # Remove flags -floop-block -floop-interchange + # -floop-strip-mine due to bug #305443. + filter-flags -floop-block + filter-flags -floop-interchange + filter-flags -floop-strip-mine + + mycmakeargs+=( + $(cmake-utils_use_with ipod GLIB2) + $(cmake-utils_use_with ipod GObject) + $(cmake-utils_use_with ipod Gdk) + $(cmake-utils_use_with ipod Gpod) + $(cmake-utils_use_with calendar KdepimLibs) + $(cmake-utils_use_with gpssync KGeoMap) + $(cmake-utils_use_with mediawiki Mediawiki) + $(cmake-utils_use_find_package redeyes OpenCV) + $(cmake-utils_use_with opengl OpenGL) + $(cmake-utils_use_with crypt QCA2) + $(cmake-utils_use_with scanner KSane) + $(cmake-utils_use_with upnp Hupnp) + $(cmake-utils_use_with vkontakte LibKVkontakte) + $(cmake-utils_use_with videoslideshow QtGStreamer) + $(cmake-utils_use_enable expoblending) + $(cmake-utils_use_enable panorama) + ) + + kde4-base_src_configure +} diff --git a/media-plugins/kipi-plugins/metadata.xml b/media-plugins/kipi-plugins/metadata.xml new file mode 100644 index 000000000000..74966c6ad0d9 --- /dev/null +++ b/media-plugins/kipi-plugins/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> + <maintainer> + <email>dilfridge@gentoo.org</email> + </maintainer> + <use> + <flag name="expoblending">Build the expoblending plugin, which requires media-gfx/hugin</flag> + <flag name="gpssync">Build the gpssync plugin, which requires media-lib/libkgeomap and thereby marble</flag> + <flag name="mediawiki">Build the mediawiki export plugin</flag> + <flag name="panorama">Pull in dependencies needed by panorama plugin</flag> + <flag name="redeyes">Add redeyes removal support</flag> + <flag name="videoslideshow">Build videoslideshow plugin</flag> + <flag name="vkontakte">Build plugin for vkontakte.ru</flag> + <flag name="linguas_ha">Hausa translation</flag> + <flag name="linguas_mi">Maori translation</flag> + <flag name="linguas_tt">?? translation</flag> + <flag name="linguas_ven">Venda translation</flag> + </use> +</pkgmetadata> |