diff options
author | Andreas Hüttel <dilfridge@gentoo.org> | 2011-02-27 13:54:03 +0000 |
---|---|---|
committer | Andreas Hüttel <dilfridge@gentoo.org> | 2011-02-27 13:54:03 +0000 |
commit | 6c797b65a7f44fc6db153bc7ac1925f43a3632e9 (patch) | |
tree | a2f3cd5327062c14fd72cc0f13adf5b8dd0d68db /media-gfx/kphotoalbum | |
parent | Delete obsolete comment. (diff) | |
download | historical-6c797b65a7f44fc6db153bc7ac1925f43a3632e9.tar.gz historical-6c797b65a7f44fc6db153bc7ac1925f43a3632e9.tar.bz2 historical-6c797b65a7f44fc6db153bc7ac1925f43a3632e9.zip |
Added upstream patch to fix compilation with exiv2-0.21, bug 349535
Package-Manager: portage-2.1.9.41/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/kphotoalbum')
-rw-r--r-- | media-gfx/kphotoalbum/ChangeLog | 9 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/Manifest | 26 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/files/kphotoalbum-4.1.1-exiv2.patch | 47 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/kphotoalbum-4.1.1-r1.ebuild | 46 | ||||
-rw-r--r-- | media-gfx/kphotoalbum/kphotoalbum-4.1.1.ebuild | 5 |
5 files changed, 128 insertions, 5 deletions
diff --git a/media-gfx/kphotoalbum/ChangeLog b/media-gfx/kphotoalbum/ChangeLog index 705ccef8cdec..12781c7af53f 100644 --- a/media-gfx/kphotoalbum/ChangeLog +++ b/media-gfx/kphotoalbum/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-gfx/kphotoalbum # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/ChangeLog,v 1.49 2011/02/26 18:15:20 signals Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/ChangeLog,v 1.50 2011/02/27 13:54:03 dilfridge Exp $ + +*kphotoalbum-4.1.1-r1 (27 Feb 2011) + + 27 Feb 2011; Andreas K. Huettel <dilfridge@gentoo.org> + kphotoalbum-4.1.1.ebuild, +kphotoalbum-4.1.1-r1.ebuild, + +files/kphotoalbum-4.1.1-exiv2.patch: + Added upstream patch to fix compilation with exiv2-0.21, bug 349535 26 Feb 2011; Kevin McCarthy <signals@gentoo.org> kphotoalbum-4.1.1.ebuild: Updated depends from media-libs/jpeg to virtual/jpeg diff --git a/media-gfx/kphotoalbum/Manifest b/media-gfx/kphotoalbum/Manifest index b97bdd9c6857..e78f615e6bd4 100644 --- a/media-gfx/kphotoalbum/Manifest +++ b/media-gfx/kphotoalbum/Manifest @@ -1,5 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX kphotoalbum-4.1.1-docbook_fix.patch 9256 RMD160 8e1bdf3f31d796f3de4cb0a1130422ae50952b5e SHA1 adf5734f415b0bb09ab54382e458f75559e150d1 SHA256 0d9f875573abb4c5517309e6531254cea47d5a817bbe2fa9e484511349ffe54c +AUX kphotoalbum-4.1.1-exiv2.patch 1517 RMD160 0ff5ebfbe29e1eafb099961418c2848df3411d16 SHA1 2810b28f7d400a057710c652a3e9b13e4e88bbde SHA256 7c529890d226c3cb7ec6bb8f6f7b8633efce41b512f0ba24b4b186c22e277395 DIST kphotoalbum-4.1.1.tar.bz2 8158759 RMD160 dc34fe0c2ce75b8aa036b60e4b99689bb946323e SHA1 14b9374e0c18a5ada225e6cc059eda54ec0ee49e SHA256 9338a7438f72f9599b41b35081c15a2c03e31341e6cdd8abf4f3d1e396331b0c -EBUILD kphotoalbum-4.1.1.ebuild 1437 RMD160 c1506c6f9fbe5616ff7f00c6b4596e42c4262447 SHA1 b677b8712df77b12b30fce7da0a306721ef9b5ea SHA256 e6d71fabb525cf5a53783048b9e5d86c9ccfbab1a5407395297d5e92cbcb4d8e -MISC ChangeLog 8537 RMD160 5c5fd3e51d21184d4a52f9d3e9f9f5652d9ff8f7 SHA1 8545f7d43059b056c098b6cf63ee9ac79ab99afa SHA256 f2973c22b0b422a0168c40f6cd7a2a4053634791406914d25f433543516f541d +EBUILD kphotoalbum-4.1.1-r1.ebuild 1452 RMD160 278cac9a48f2016a934260f24bed87b501e53d45 SHA1 848ae02151818933ec4e68ece27591cec109a085 SHA256 3b2af15f61a27222b16dcc0a7d3532f1a2fadb10a492285270ddd68b3945600c +EBUILD kphotoalbum-4.1.1.ebuild 1464 RMD160 98fd69564b61fd2a432078c63a1d8eda4648317e SHA1 545b437de5bff78f121b096567870d7b0dc3d1ae SHA256 95e0e5cb5dc747cf33a0325c55344c36852143d13477796c221e8c21d07bbf00 +MISC ChangeLog 8802 RMD160 233a2b8616878a5e89442298ae8e88ddda57833f SHA1 33ac65814801f63d22a154fa318b30850e5102cf SHA256 e37abab3b74b7d418f45ddbd0790f497f10046b9fc0c8ce7d0f18e8ce31c405e MISC metadata.xml 314 RMD160 86c8be7f3bb3eb91e01f247d2afca6b3acb264c2 SHA1 241cadfe8e56936304177ac60fcc31c6f83c3dec SHA256 356aa0127738afc738c007b41abf84e5f93730741eb05176f7f525e04c36e73c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.17 (GNU/Linux) + +iQIcBAEBAgAGBQJNalfEAAoJENwGBM22xffensUP/0I9u/NNs942xkgCms9eBlax +xZi9IZ69zpCB27r6z8CqQZn1NGjUzUqfxeUiMiQrhP01p+kVr5ic5DESsoMoiCBB +14OW9LEJ+d0pgs44+urSgKPOFMXDbXiHuD9CcmBIv7VIBvQxyK8kAvKbF+eOkkWL +2Qf9Ohy1KSEpx307LB21yC6QNgmeABas/fx62qxDHunpwoA0R2zRjyPabcrsVfZR +a9PyZGG846raX82Ke7T9LNfq3tYSztA1sPUEta9czhXfLZterG+YOzeXvNlqjqma +5vuNkE/pPftkmsEEf6P+vaFD4U5I4wDNuvuhv57PB7mD7kug/VxbHL4UOjvxhCR2 +5VkHbDp0O+aF7/47JFF/W14+uf9hFbqEPLqqs9Rh1WV+dGGg4uLxJ/UrvpU5WdoW +3jAFPVdeV/DZ8yn7Qo2otUzJEZmv4yo+fEKgmULbZDA2JAfvStIp3WnkWGh4AFEb +JObMDMcEPeATuUmGfWEVaQ4pi0ZzAz9uk2M8dLX4I647VbnQNSGhZqT8knd6O5j0 +PemP3m56RWnz1cI8tRtN1lozAsfxYvc2QBdfypYHOycpnGmQZA3g8/KWOdha/mCu +fMrkhJmQYJnyv8Ks6xT6M02m2B54u5pn+wMHT2SqvRA+SHzze2hj2fdVAscRVRzM +6TS0sEAdSg+ekT1kFi8K +=l+Mp +-----END PGP SIGNATURE----- diff --git a/media-gfx/kphotoalbum/files/kphotoalbum-4.1.1-exiv2.patch b/media-gfx/kphotoalbum/files/kphotoalbum-4.1.1-exiv2.patch new file mode 100644 index 000000000000..89283fd3f509 --- /dev/null +++ b/media-gfx/kphotoalbum/files/kphotoalbum-4.1.1-exiv2.patch @@ -0,0 +1,47 @@ +--- trunk/extragear/graphics/kphotoalbum/Exif/Info.cpp 2011/01/09 06:47:21 1213127 ++++ trunk/extragear/graphics/kphotoalbum/Exif/Info.cpp 2011/01/09 06:50:40 1213128 +@@ -106,6 +106,28 @@ + return res; + + QList<const Exiv2::TagInfo*> tags; ++ std::ostringstream s; ++ ++#if (EXIV2_TEST_VERSION(0,21,0)) ++ const Exiv2::GroupInfo* gi = Exiv2::ExifTags::groupList(); ++ while (gi->tagList_ != 0) { ++ Exiv2::TagListFct tl = gi->tagList_; ++ const Exiv2::TagInfo* ti = tl(); ++ ++ while (ti->tag_ != 0xFFFF) { ++ tags << ti; ++ ++ti; ++ } ++ ++gi; ++ } ++ ++ for (QList<const Exiv2::TagInfo*>::iterator it = tags.begin(); it != tags.end(); ++it) { ++ while ( (*it)->tag_ != 0xffff ) { ++ res.insert(QString::fromLatin1(Exiv2::ExifKey(**it).key().c_str())); ++ ++(*it); ++ } ++ } ++#else + tags << + Exiv2::ExifTags::ifdTagList() << + Exiv2::ExifTags::exifTagList() << +@@ -121,7 +143,6 @@ + // Now the ugly part -- exiv2 doesn't have any way to get a list of + // MakerNote tags in a reasonable form, so we have to parse it from strings + +- std::ostringstream s; + for ( Exiv2::IfdId kind = Exiv2::canonIfdId; kind < Exiv2::lastIfdId; + kind = static_cast<Exiv2::IfdId>( kind + 1 ) ) { + #if EXIV2_TEST_VERSION(0,17,0) +@@ -130,6 +151,7 @@ + Exiv2::ExifTags::makerTaglist( s, kind ); + #endif + } ++#endif + + // IPTC tags use yet another format... + Exiv2::IptcDataSets::dataSetList( s ); diff --git a/media-gfx/kphotoalbum/kphotoalbum-4.1.1-r1.ebuild b/media-gfx/kphotoalbum/kphotoalbum-4.1.1-r1.ebuild new file mode 100644 index 000000000000..5b53deea378b --- /dev/null +++ b/media-gfx/kphotoalbum/kphotoalbum-4.1.1-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-4.1.1-r1.ebuild,v 1.1 2011/02/27 13:54:02 dilfridge Exp $ + +EAPI=3 +KDE_LINGUAS="ar be bg ca cs da de el en_GB eo es et fi fr ga gl hi hne is it ja +km lt nb nds nl nn pa pl pt pt_BR ro se sk sv tr uk vi zh_CN zh_TW" +inherit kde4-base + +DESCRIPTION="KDE Photo Album is a tool for indexing, searching, and viewing images." +HOMEPAGE="http://www.kphotoalbum.org/" +SRC_URI="http://www.kphotoalbum.org/data/download/${P}.tar.bz2" + +LICENSE="GPL-2 FDL-1.2" +KEYWORDS="~amd64 ~x86" +SLOT="4" +IUSE="debug +exif +geolocation +kipi +raw +semantic-desktop" + +DEPEND=" + $(add_kdebase_dep kdelibs 'semantic-desktop?') + virtual/jpeg + >=x11-libs/qt-sql-4.4:4[sqlite] + exif? ( >=media-gfx/exiv2-0.17 ) + geolocation? ( $(add_kdebase_dep marble) ) + kipi? ( $(add_kdebase_dep libkipi) ) + raw? ( $(add_kdebase_dep libkdcraw) ) +" +RDEPEND="${DEPEND} + semantic-desktop? ( $(add_kdebase_dep nepomuk) ) +" +src_configure() { + mycmakeargs=( + $(cmake-utils_use_with exif Exiv2) + $(cmake-utils_use_with raw Kdcraw) + $(cmake-utils_use_with kipi) + $(cmake-utils_use_with geolocation Marble) + $(cmake-utils_use_with semantic-desktop Nepomuk) + $(cmake-utils_use_with semantic-desktop Soprano) + ) + + kde4-base_src_configure +} + +DOCS="ChangeLog README TODO" + +PATCHES=( "${FILESDIR}/${P}"-{docbook_fix,exiv2}.patch ) diff --git a/media-gfx/kphotoalbum/kphotoalbum-4.1.1.ebuild b/media-gfx/kphotoalbum/kphotoalbum-4.1.1.ebuild index 01e4501a268b..f5903ffdd0d1 100644 --- a/media-gfx/kphotoalbum/kphotoalbum-4.1.1.ebuild +++ b/media-gfx/kphotoalbum/kphotoalbum-4.1.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-4.1.1.ebuild,v 1.6 2011/02/26 18:15:20 signals Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/kphotoalbum/kphotoalbum-4.1.1.ebuild,v 1.7 2011/02/27 13:54:03 dilfridge Exp $ EAPI=3 KDE_LINGUAS="ar be bg ca cs da de el en_GB eo es et fi fr ga gl hi hne is it ja @@ -20,7 +20,8 @@ DEPEND=" $(add_kdebase_dep kdelibs 'semantic-desktop?') virtual/jpeg >=x11-libs/qt-sql-4.4:4[sqlite] - exif? ( >=media-gfx/exiv2-0.17 ) + exif? ( >=media-gfx/exiv2-0.17 + <media-gfx/exiv2-0.21 ) geolocation? ( $(add_kdebase_dep marble) ) kipi? ( $(add_kdebase_dep libkipi) ) raw? ( $(add_kdebase_dep libkdcraw) ) |