diff options
author | Wulf Krueger <philantrop@gentoo.org> | 2007-12-02 00:58:20 +0000 |
---|---|---|
committer | Wulf Krueger <philantrop@gentoo.org> | 2007-12-02 00:58:20 +0000 |
commit | d6356ef792762329acc2cc3191086327d4d36fae (patch) | |
tree | 798ab1056d11982f4b2d269313b8470ae0b9369a /media-gfx/kphotoalbum | |
parent | x11-apps/ati-drivers-extra needs masked x11-drivers/ati-drivers (diff) | |
download | gentoo-2-d6356ef792762329acc2cc3191086327d4d36fae.tar.gz gentoo-2-d6356ef792762329acc2cc3191086327d4d36fae.tar.bz2 gentoo-2-d6356ef792762329acc2cc3191086327d4d36fae.zip |
Version bump as per bug 200378. Removed obsolete versions.
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'media-gfx/kphotoalbum')
-rw-r--r-- | media-gfx/kphotoalbum/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/files/digest-kphotoalbum-2.2 | 3 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/files/digest-kphotoalbum-3.0.1 | 3 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/files/digest-kphotoalbum-3.0.2 | 3 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/files/digest-kphotoalbum-3.1.0 | 3 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/files/kphotoalbum-3.1.0-exiv2.patch | 146 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/kphotoalbum-2.2.ebuild | 47 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/kphotoalbum-3.0.1.ebuild | 60 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/kphotoalbum-3.0.2.ebuild | 60 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/kphotoalbum-3.1.0.ebuild | 92 |
10 files changed, 250 insertions, 177 deletions
diff --git a/media-gfx/kphotoalbum/ChangeLog b/media-gfx/kphotoalbum/ChangeLog index c6a478966696..56557beab8c6 100644 --- a/media-gfx/kphotoalbum/ChangeLog +++ b/media-gfx/kphotoalbum/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for media-gfx/kphotoalbum # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/ChangeLog,v 1.19 2007/06/17 14:26:02 philantrop Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/ChangeLog,v 1.20 2007/12/02 00:58:19 philantrop Exp $ + +*kphotoalbum-3.1.0 (02 Dec 2007) + + 02 Dec 2007; Wulf C. Krueger <philantrop@gentoo.org> + +files/kphotoalbum-3.1.0-exiv2.patch, -kphotoalbum-2.2.ebuild, + -kphotoalbum-3.0.1.ebuild, -kphotoalbum-3.0.2.ebuild, + +kphotoalbum-3.1.0.ebuild: + Version bump as per bug 200378. Removed obsolete versions. *kphotoalbum-3.0.2-r1 (17 Jun 2007) diff --git a/media-gfx/kphotoalbum/files/digest-kphotoalbum-2.2 b/media-gfx/kphotoalbum/files/digest-kphotoalbum-2.2 deleted file mode 100644 index 3d6e0408ffed..000000000000 --- a/media-gfx/kphotoalbum/files/digest-kphotoalbum-2.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 0584b3d5f54d8a2e19cd7bc40967c026 kphotoalbum-2.2.tar.bz2 11724907 -RMD160 c452913487b73834c8bc0e4d66da9008b584f100 kphotoalbum-2.2.tar.bz2 11724907 -SHA256 2ab9a186d1d3823c6fba418560701f37ad7af88d65aea6084b864cebff91e911 kphotoalbum-2.2.tar.bz2 11724907 diff --git a/media-gfx/kphotoalbum/files/digest-kphotoalbum-3.0.1 b/media-gfx/kphotoalbum/files/digest-kphotoalbum-3.0.1 deleted file mode 100644 index 043f27e571d9..000000000000 --- a/media-gfx/kphotoalbum/files/digest-kphotoalbum-3.0.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 ea44852ec73afb2d11adbabb48387067 kphotoalbum-3.0.1.tar.bz2 15485953 -RMD160 d89ce616791df99c684dbb71ee07e559af91ffbf kphotoalbum-3.0.1.tar.bz2 15485953 -SHA256 5e55a8bfbd7b210ff5cab70df41c9b415242baedc0e3adc0fa137b86be725617 kphotoalbum-3.0.1.tar.bz2 15485953 diff --git a/media-gfx/kphotoalbum/files/digest-kphotoalbum-3.0.2 b/media-gfx/kphotoalbum/files/digest-kphotoalbum-3.0.2 deleted file mode 100644 index 80f9152c4f58..000000000000 --- a/media-gfx/kphotoalbum/files/digest-kphotoalbum-3.0.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 decdf031878de8333f030d1e77ea8ae3 kphotoalbum-3.0.2.tar.bz2 15487681 -RMD160 05d986cb7b701730bdd6f93ab8c5fabe1b858ed3 kphotoalbum-3.0.2.tar.bz2 15487681 -SHA256 bdf06c6398666b071ec4fe91cdae10b5fc949299b13b4d5897690161e625f499 kphotoalbum-3.0.2.tar.bz2 15487681 diff --git a/media-gfx/kphotoalbum/files/digest-kphotoalbum-3.1.0 b/media-gfx/kphotoalbum/files/digest-kphotoalbum-3.1.0 new file mode 100644 index 000000000000..e46ba19feef4 --- /dev/null +++ b/media-gfx/kphotoalbum/files/digest-kphotoalbum-3.1.0 @@ -0,0 +1,3 @@ +MD5 c9f5b86a15271ee204e1b0cb513788d3 kphotoalbum-3.1.0.tar.bz2 15501532 +RMD160 68c3a862a1cc2cb8f91c751edf56226b7fc7be08 kphotoalbum-3.1.0.tar.bz2 15501532 +SHA256 1dd56b6f152379d26cad590fc01c6eba4ff001f3309685e07771926335412511 kphotoalbum-3.1.0.tar.bz2 15501532 diff --git a/media-gfx/kphotoalbum/files/kphotoalbum-3.1.0-exiv2.patch b/media-gfx/kphotoalbum/files/kphotoalbum-3.1.0-exiv2.patch new file mode 100644 index 000000000000..f1133c093cd9 --- /dev/null +++ b/media-gfx/kphotoalbum/files/kphotoalbum-3.1.0-exiv2.patch @@ -0,0 +1,146 @@ +--- kphotoalbum/src/Makefile.am 2007/12/01 00:03:03 743451 ++++ kphotoalbum/src/Makefile.am 2007/12/01 00:09:53 743452 +@@ -10,8 +10,6 @@ + if compile_with_exiv2 + EXIF_DIR = Exif + KPHOTOALBUM_EXIV2_LIBS = Exif/libexif.la -lexiv2 +-else +- KPHOTOALBUM_EXIV2_LIBS = Exif/libexif.la + endif + + if compile_with_kexidb +--- kphotoalbum/src/Settings/SettingsDialog.cpp 2007/12/01 00:03:03 743451 ++++ kphotoalbum/src/Settings/SettingsDialog.cpp 2007/12/01 00:09:53 743452 +@@ -57,6 +57,7 @@ + #ifdef HASEXIV2 + # include "Exif/Info.h" + # include "Exif/TreeView.h" ++# include "Exif/SyncWidget.h" + #endif + + #ifdef SQLDB_SUPPORT +@@ -65,7 +66,6 @@ + #endif + + #include "CategoryItem.h" +-#include "Exif/SyncWidget.h" + + Settings::SettingsDialog::SettingsDialog( QWidget* parent, const char* name ) + :KDialogBase( IconList, i18n( "Settings" ), Apply | Ok | Cancel, Ok, parent, name, false ), _currentCategory( QString::null ), _currentGroup( QString::null ) +@@ -435,7 +435,6 @@ + _exifForViewer->setSelected( Settings::SettingsData::instance()->exifForViewer() ); + _exifForDialog->setSelected( Settings::SettingsData::instance()->exifForDialog() ); + _iptcCharset->setCurrentItem( opt->iptcCharset() ); +-#endif + + // Synchronization page + _orientationRead->updatePreferred( Settings::SettingsData::instance()->orientationSyncing( false ) ); +@@ -458,6 +457,7 @@ + _catMulti[ (*it)->name() ]->setCurrentItem( opt->categorySyncingMultiValue( (*it)->name() ) ); + _catAddName[ (*it)->name() ]->setChecked( opt->categorySyncingAddName( (*it)->name() ) ); + } ++#endif + + QString backend = Settings::SettingsData::instance()->backend(); + if (backend == QString::fromLatin1("xml")) +@@ -548,7 +548,6 @@ + opt->setExifForViewer( _exifForViewer->selected() ) ; + opt->setExifForDialog( _exifForDialog->selected() ) ; + opt->setIptcCharset( _iptcCharset->currentItem() ); +-#endif + + // Synchronization + opt->setOrientationSyncing( false, _orientationRead->items() ); +@@ -559,6 +558,7 @@ + opt->setDescriptionSyncing( true, _descriptionWrite->items() ); + opt->setDateSyncing( false, _dateRead->items() ); + opt->setDateSyncing( true, _dateWrite->items() ); ++ + for (QDictIterator<Exif::SyncWidget> it( _catFieldsRead ); it.current(); ++it ) { + opt->setCategorySyncingFields( false, it.currentKey(), it.current()->items() ); + } +@@ -574,6 +574,7 @@ + for (QDictIterator<QCheckBox> it( _catAddName ); it.current(); ++it ) { + opt->setCategorySyncingAddName( it.currentKey(), it.current()->isChecked() ); + } ++#endif + + // SQLDB + #ifdef SQLDB_SUPPORT +@@ -1023,6 +1024,7 @@ + + void Settings::SettingsDialog::createSyncPage() + { ++#ifdef HASEXIV2 + _syncPage = addPage( i18n("Metadata"), i18n("Metadata Synchronization"), + KGlobal::iconLoader()->loadIcon( QString::fromLatin1( "saveas" ), + KIcon::Desktop, 32 ) ); +@@ -1073,6 +1075,7 @@ + slotCategoryAdded( (*it)->name() ); + + _lay->addWidget( _syncTabs ); ++#endif + } + + void Settings::SettingsDialog::slotCategoryAdded( const QString& name ) +@@ -1086,6 +1089,8 @@ + QGrid* box = new QGrid( 2, Horizontal, _syncPage ); + box->setSpacing( 6 ); + ++ ++#ifdef HASEXIV2 + const Settings::SettingsData* opt = Settings::SettingsData::instance(); + + _catFieldsRead.replace( name, new Exif::SyncWidget( i18n("Fields to get value from"), box, +@@ -1107,10 +1112,12 @@ + new QWidget( box ); + _catAddName.replace( name, new QCheckBox( i18n("Include category name in tag value" ), box ) ); + _syncTabs->addTab( box, name ); ++#endif + } + + void Settings::SettingsDialog::slotCategoryRemoved( const QString& name ) + { ++#ifdef HASEXIV2 + for (int i = 0; _syncTabs->page( i ); ++i ) + if ( _syncTabs->label( i ).remove( '&' ) == name ) { + _catFieldsRead.remove( name ); +@@ -1123,6 +1130,9 @@ + delete tab; + return; + } ++#else ++ Q_UNUSED( name ); ++#endif + } + + void Settings::SettingsDialog::slotCategoryRenamed( const QString& oldName, const QString& newName ) +--- kphotoalbum/src/Settings/SettingsDialog.h 2007/12/01 00:03:03 743451 ++++ kphotoalbum/src/Settings/SettingsDialog.h 2007/12/01 00:09:53 743452 +@@ -21,7 +21,11 @@ + #include <kdialogbase.h> + #include "Settings/SettingsData.h" + #include "DB/MemberMap.h" +-#include "Exif/SyncWidget.h" ++ ++#ifdef HASEXIV2 ++# include "Exif/SyncWidget.h" ++#endif ++ + class QListView; + class KColorButton; + class QSpinBox; +@@ -171,11 +175,13 @@ + // Synchronization + QTabWidget* _syncTabs; + QWidget* _syncPage; ++#ifdef HASEXIV2 + Exif::SyncWidget *_labelRead, *_labelWrite, *_descriptionRead, *_descriptionWrite, + *_orientationRead, *_orientationWrite, *_dateRead, *_dateWrite; + QDict<Exif::SyncWidget> _catFieldsRead, _catFieldsWrite; + QDict<KComboBox> _catSuper, _catMulti; + QDict<QCheckBox> _catAddName; ++#endif + + int _backendPageIndex; + QButtonGroup* _backendButtons; diff --git a/media-gfx/kphotoalbum/kphotoalbum-2.2.ebuild b/media-gfx/kphotoalbum/kphotoalbum-2.2.ebuild deleted file mode 100644 index 0cd086e8112d..000000000000 --- a/media-gfx/kphotoalbum/kphotoalbum-2.2.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-2.2.ebuild,v 1.13 2007/07/12 04:08:47 mr_bones_ Exp $ - -inherit kde - -IUSE="exif" -DESCRIPTION="KDE Photo Album is a tool for indexing, searching, and viewing images." -HOMEPAGE="http://www.kphotoalbum.org/" -SRC_URI="http://www.kphotoalbum.org/download/${P}.tar.bz2" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 ppc sparc x86" - -DEPEND="!media-gfx/kimdaba - exif? ( >=media-libs/libkexif-0.2.1 - >=media-gfx/exiv2-0.9.1 ) - >=media-libs/libkipi-0.1 - || ( kde-base/kdegraphics-kfile-plugins kde-base/kdegraphics )" - -need-kde 3.2 - -pkg_setup() -{ - setupok=1 - if use exif ; then - if ! built_with_use =x11-libs/qt-3* sqlite ; then - elog "To enable KPhotoAlbum to search your images" - elog "using EXIF information you also need to have" - elog "Qt installed with SQLite support." - elog - elog "Make sure your Qt is installed with the sqlite USE flag." - setupok=0 - fi - if [ $setupok != 0 ] ; then - slot_rebuild "media-libs/libkipi media-libs/libkexif" - setupok=$? - fi - else - slot_rebuild "media-libs/libkipi" - setupok=$? - fi - if [ $setupok == 0 ] ; then - die - fi -} diff --git a/media-gfx/kphotoalbum/kphotoalbum-3.0.1.ebuild b/media-gfx/kphotoalbum/kphotoalbum-3.0.1.ebuild deleted file mode 100644 index 7da515078b9f..000000000000 --- a/media-gfx/kphotoalbum/kphotoalbum-3.0.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-3.0.1.ebuild,v 1.3 2007/07/12 04:08:47 mr_bones_ Exp $ - -inherit kde - -DESCRIPTION="KDE Photo Album is a tool for indexing, searching, and viewing images." -HOMEPAGE="http://www.kphotoalbum.org/" -SRC_URI="http://www.kphotoalbum.org/download/${P}.tar.bz2" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="arts exif" - -# kde-base/unsermake -DEPEND="!media-gfx/kimdaba - exif? ( >=media-libs/libkexif-0.2.3 - >=media-gfx/exiv2-0.9.1 ) - >=media-libs/libkipi-0.1 - || ( kde-base/kdegraphics-kfile-plugins kde-base/kdegraphics ) - arts? ( kde-base/arts )" - -need-kde 3.2 - -pkg_setup() -{ - setupok=1 - if use exif ; then - if ! built_with_use =x11-libs/qt-3* sqlite ; then - elog "To enable KPhotoAlbum to search your images" - elog "using EXIF information you also need to have" - elog "Qt installed with SQLite support." - elog - elog "Make sure your Qt is installed with the sqlite USE flag." - setupok=0 - fi - if [ $setupok != 0 ] ; then - slot_rebuild "media-libs/libkipi media-libs/libkexif" - setupok=$? - fi - else - slot_rebuild "media-libs/libkipi" - setupok=$? - fi - if [ $setupok == 0 ] ; then - die - fi -} - -src_compile() -{ - if ! use exif; then - elog "NOTICE: You have the exif USE flag disabled. ${CATEGORY}/${PN}" - elog "will be compiled without EXIF support unless you installed" - elog "media-gfx/exiv2 manually." - local myconf="--disable-exiv2" - fi - kde_src_compile -} diff --git a/media-gfx/kphotoalbum/kphotoalbum-3.0.2.ebuild b/media-gfx/kphotoalbum/kphotoalbum-3.0.2.ebuild deleted file mode 100644 index 73bfd6f289c5..000000000000 --- a/media-gfx/kphotoalbum/kphotoalbum-3.0.2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-3.0.2.ebuild,v 1.2 2007/04/30 22:06:34 genone Exp $ - -inherit kde - -DESCRIPTION="KDE Photo Album is a tool for indexing, searching, and viewing images." -HOMEPAGE="http://www.kphotoalbum.org/" -SRC_URI="http://www.kphotoalbum.org/download/${P}.tar.bz2" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~sparc ~x86" -IUSE="arts exif" - -# kde-base/unsermake -DEPEND="!media-gfx/kimdaba - exif? ( >=media-libs/libkexif-0.2.3 - >=media-gfx/exiv2-0.9.1 ) - >=media-libs/libkipi-0.1 - || ( kde-base/kdegraphics-kfile-plugins kde-base/kdegraphics ) - arts? ( kde-base/arts )" - -need-kde 3.2 - -pkg_setup() -{ - setupok=1 - if use exif ; then - if ! built_with_use =x11-libs/qt-3* sqlite ; then - elog "To enable KPhotoAlbum to search your images" - elog "using EXIF information you also need to have" - elog "Qt installed with SQLite support." - elog - elog "Make sure your Qt is installed with the sqlite USE flag." - setupok=0 - fi - if [ $setupok != 0 ] ; then - slot_rebuild "media-libs/libkipi media-libs/libkexif" - setupok=$? - fi - else - slot_rebuild "media-libs/libkipi" - setupok=$? - fi - if [ $setupok == 0 ] ; then - die - fi -} - -src_compile() -{ - if ! use exif; then - elog "NOTICE: You have the exif USE flag disabled. ${CATEGORY}/${PN}" - elog "will be compiled without EXIF support unless you installed" - elog "media-gfx/exiv2 manually." - local myconf="--disable-exiv2" - fi - kde_src_compile -} diff --git a/media-gfx/kphotoalbum/kphotoalbum-3.1.0.ebuild b/media-gfx/kphotoalbum/kphotoalbum-3.1.0.ebuild new file mode 100644 index 000000000000..ecd006fcdb8a --- /dev/null +++ b/media-gfx/kphotoalbum/kphotoalbum-3.1.0.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-3.1.0.ebuild,v 1.1 2007/12/02 00:58:19 philantrop Exp $ + +inherit kde + +DESCRIPTION="KDE Photo Album is a tool for indexing, searching, and viewing images." +HOMEPAGE="http://www.kphotoalbum.org/" +SRC_URI="http://www.kphotoalbum.org/download/${P}.tar.bz2" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="arts exif raw" + +LANGS="ar be br ca cs cy da de el en_GB es et fi fr ga gl hi is it ja ka lt mt +nb nds nl pa pl pt pt_BR ro ru rw sk sr sr@Latn sv ta tr uk vi zh_CN" + +LANGS_DOC="da de es et fr it nl pt sv" + +for lang in ${LANGS}; do + IUSE="${IUSE} linguas_${lang}" +done + +DEPEND="exif? ( >=media-gfx/exiv2-0.15 ) + raw? ( >=media-libs/libkdcraw-0.1.1 ) + >=media-libs/jpeg-6b-r7 + >=media-libs/libkipi-0.1 + || ( kde-base/kdegraphics kde-base/kdegraphics-kfile-plugins ) + arts? ( kde-base/arts )" + +need-kde 3.5 + +PATCHES="${FILESDIR}/${P}-exiv2.patch" + +pkg_setup() { + setupok=1 + if use exif ; then + if ! built_with_use =x11-libs/qt-3* sqlite ; then + elog "To enable KPhotoAlbum to search your images" + elog "using EXIF information you also need to have" + elog "Qt installed with SQLite support." + elog + elog "Make sure your Qt is installed with the sqlite USE flag." + setupok=0 + fi + fi + + slot_rebuild "media-libs/libkipi" + setupok=$? + + if [ $setupok == 0 ] ; then + die + fi +} + +src_unpack() { + kde_src_unpack + + # Adapted from kde.eclass + if [[ -z ${LINGUAS} ]]; then + elog "You can drop some of the translations of the interface and" + elog "documentation by setting the \${LINGUAS} variable to the" + elog "languages you want installed." + elog + elog "Enabling all languages" + else + if [[ -n ${LANGS} ]]; then + MAKE_PO=$(echo $(echo "${LINGUAS} ${LANGS}" | tr ' ' '\n' | sort | uniq -d)) + elog "Enabling translations for: ${MAKE_PO}" + sed -i -e "s:^SUBDIRS=.*:SUBDIRS = ${MAKE_PO}:" "${KDE_S}/translations/Makefile.am" \ + || die "sed for locale failed" + rm -f "${KDE_S}/configure" + fi + + if [[ -n ${LANGS_DOC} ]]; then + MAKE_DOC=$(echo $(echo "${LINGUAS} ${LANGS_DOC}" | tr ' ' '\n' | sort | uniq -d)) + elog "Enabling documentation for: ${MAKE_DOC}" + elog "(If some languages you chose are missing, it's because there's no translation for them.)" + fi + fi +} + +src_compile() { + local myconf="$(use_enable raw kdcraw)" + if ! use exif; then + elog "NOTICE: You have the exif USE flag disabled. ${CATEGORY}/${PN}" + elog "will be compiled without EXIF support." + myconf="${myconf} --disable-exiv2" + fi + kde_src_compile +} |