diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2008-12-11 13:32:30 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2008-12-11 13:32:30 +0000 |
commit | fc309c97e4e65702633dcc835105dc823143452f (patch) | |
tree | 4efb2775e4941c8abd66e31ce81d578dcfc2d9b5 /kde-base/kdelibs | |
parent | Fix building with gcj-jdk. (diff) | |
download | historical-fc309c97e4e65702633dcc835105dc823143452f.tar.gz historical-fc309c97e4e65702633dcc835105dc823143452f.tar.bz2 historical-fc309c97e4e65702633dcc835105dc823143452f.zip |
Fix bug #246568.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.27-gentoo x86_64
Diffstat (limited to 'kde-base/kdelibs')
-rw-r--r-- | kde-base/kdelibs/ChangeLog | 6 | ||||
-rw-r--r-- | kde-base/kdelibs/Manifest | 15 | ||||
-rw-r--r-- | kde-base/kdelibs/files/kdelibs-4.1.3-gcc4.1.patch | 238 | ||||
-rw-r--r-- | kde-base/kdelibs/kdelibs-4.1.3-r1.ebuild | 5 |
4 files changed, 249 insertions, 15 deletions
diff --git a/kde-base/kdelibs/ChangeLog b/kde-base/kdelibs/ChangeLog index fcecea60699f..59eb0c047b72 100644 --- a/kde-base/kdelibs/ChangeLog +++ b/kde-base/kdelibs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/kdelibs # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.549 2008/11/16 05:04:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.550 2008/12/11 13:32:29 scarabeus Exp $ + + 11 Dec 2008; Tomas Chvatal <scarabeus@gentoo.org> + +files/kdelibs-4.1.3-gcc4.1.patch, kdelibs-4.1.3-r1.ebuild: + Fix bug #246568 15 Nov 2008; Mike Frysinger <vapier@gentoo.org> kdelibs-4.1.3.ebuild, kdelibs-4.1.3-r1.ebuild: diff --git a/kde-base/kdelibs/Manifest b/kde-base/kdelibs/Manifest index b3970d0c5ad9..7be380189a81 100644 --- a/kde-base/kdelibs/Manifest +++ b/kde-base/kdelibs/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 4.1.3-cmake-config.patch 2356 RMD160 14f14e29038735ef105893d53cf1b3771e54ee22 SHA1 e69d8449c52df48408401e62b2acba4a6d60bd7f SHA256 06f7513ebb6d9a0507191f81ddf93f7abd47a4c2a300be22756a16425f9f1904 AUX FindXine.cmake 2627 RMD160 e680a4c0998dd0354e429c9e755a00e0ab83c6c0 SHA1 e638a8cf1ab6889c5734cd54879dad808a549d92 SHA256 73c7030144d889d1065fc4bdaf9c640cb04ce40a9a15b8fafeeefbdf1c35e798 AUX e-tempdir.patch 1413 RMD160 f0a369f929c18770d66a54b605dad8c99d03367c SHA1 779714956d94366a3b05514df19e21b4b3434f5c SHA256 1a7e888cd5173b68039717030119e3ab479675fed8f9df4b5e1d98869d89235a @@ -12,6 +9,7 @@ AUX kdelibs-4.0.2-X11-optional.patch 6103 RMD160 ff7c315d65204253cc3ed2fa90e45b5 AUX kdelibs-4.0.2-alsa-optional.patch 1742 RMD160 ea660d1148488fdac27970587535ec29acd3878f SHA1 53a3d7658ca700a7e8b642e7f66b69b8d25774c8 SHA256 b9107dd43916c015a9392ada81bdfebeff91d2c136eeaa01fb1c89ddd89fd914 AUX kdelibs-4.0.3-CVS-2008-1670.patch 739 RMD160 348782a28e75435c4b36548879d2d8d243fc0436 SHA1 c08f374abc2f44cd1ece01881b510ef83241f186 SHA256 41e219e50b652800a2ca892e70baeb40ee6e7cf0f981d098dbdf2ca0926ddf5f AUX kdelibs-4.1.1-cmake-modules.patch 2905 RMD160 d7043d4153927ab655c4d7630389024983c6b95a SHA1 9d232044bf51f98656a48092082a5aafcb9d4699 SHA256 8836e0c8267054b2dedcf1c879e57bde67ff83c1b824337dec81d96a3d69754e +AUX kdelibs-4.1.3-gcc4.1.patch 10046 RMD160 923b2d8d1b88651601d0fababac9251d37e84709 SHA1 86718c9abd5b68494136a83dc2d7bc696cc6612e SHA256 b6779f1bf29272ac160e559ab8315e8f7bad42e4f13a1092284e66849b5cc627 DIST kde-3.5.9-seli-xinerama.tar.bz2 15150 RMD160 09f9dc74e52d1507a73d1140654021d2baedde3a SHA1 cb8eaba630ee7c8f93c634512d52a9d1603d5405 SHA256 769b0135b327b3274aa45d78ae882811073041fdbfd55267106b1a3f42115966 DIST kdelibs-3.5-patchset-14.tar.bz2 23248 RMD160 223ad8aa6d3dab3a6e23a89e00eaf2e90bab399e SHA1 5d50fff6b6a26d8abffa4dda7360b42e0fc29eac SHA256 50d1517fbb3b70890b1858533a77fb0e6e1e72612e155ebe5350e8fea7405273 DIST kdelibs-3.5-patchset-15.tar.bz2 6707 RMD160 55958374bfc4ba27caf573e13337677c35cbe2c0 SHA1 e0a35642adfcf223ce7490b21af1fa2c3d922b93 SHA256 4a25bc340ce2567ea017456b4aa2292b288779d59d0dd012bd50f5189fe739ec @@ -31,14 +29,7 @@ EBUILD kdelibs-3.5.9-r4.ebuild 6370 RMD160 75c38e396b898acf3f90dc1533b500b7698c8 EBUILD kdelibs-3.5.9.ebuild 6042 RMD160 5402e42899c0e55787f8b7f5650143dcbc4410d7 SHA1 721388ab5fa4ee455bdadb189afa021bd336fc16 SHA256 f7acb5abb483ebeeaee7a8636073b85d4ea0b7e9badcd8f8073d5ac8dcd2167b EBUILD kdelibs-4.1.2-r1.ebuild 5738 RMD160 dea4263b9f899fcb0826e6b63cec1c5abe3a65cc SHA1 dac62e0d4604869442578ec94239d4770dd3ed09 SHA256 404cba32600fe4f8efc9b4be8e0a8ce8c5d9ac6859c224ca3002fa91dc289f69 EBUILD kdelibs-4.1.2.ebuild 5478 RMD160 9475a9fc89d56baf527e601df9f07017f74cc7ba SHA1 265cb6d6ffecc9c18e36b4baa127547d4f80d37b SHA256 15cc28b69e3eb8a537340c2e3743b7fc3017a085fdda01bafe49d4729ad4a0c8 -EBUILD kdelibs-4.1.3-r1.ebuild 5912 RMD160 d5925b472832a978bfd6a788d13ec7ff6114b4ab SHA1 f613b31a840a354dd98b4f112112fa6151639b75 SHA256 c2142527c35b3f8cad0476e023b4a0c87201098199bfc958967e22344a43033c +EBUILD kdelibs-4.1.3-r1.ebuild 5948 RMD160 bc3994a3353a460820a04cf4c8deb29eddb6c8e0 SHA1 da6ced7a761ded8440772225a5da65f42777c97e SHA256 d247af41bbad17d475ca063269b333b89949d0c13378f661a6ebe01af77d2253 EBUILD kdelibs-4.1.3.ebuild 5796 RMD160 0e87070ef60c5f5d82051e8f89f4927452477b19 SHA1 e0262c442e17e8ffe54c10d5042679fe8e1548ac SHA256 b7012f3367e902c6a7f599d177504de8911f94a59007c3b8a566f9e8d792d895 -MISC ChangeLog 90432 RMD160 5b1c71c519f56463d1f3ea99822583fcb781224e SHA1 6a1e48589a301783b6da0cfc7f3a4f3153e7e040 SHA256 c0fce8fac4a203db325ec67708722b1ef4aadbdb28d19becdccef67533bd3e49 +MISC ChangeLog 90568 RMD160 2efb09950ff1a3e37e9f3346b6140536b37ceac8 SHA1 66c2914568579e014b65d9e7bb3d948188741dd4 SHA256 096716a6cd9c3fb9f3f4406ea66a5ef953067d45a439988668562fba27cfb3ce MISC metadata.xml 602 RMD160 f3461a81b06ab9dce821783b4e361e0e9696bbf3 SHA1 09bee1c8127363de0066a652d7093759ca36631a SHA256 188f0ca9e181009fd720cbe1fff57f124c80524033c6cb591ea2789d755410e1 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkkfqd0ACgkQ67wieSYcaxef4gCfXjpVq1CsHxeSxonG+XjHUkQ+ -8UIAoJ1KXDUjiTDtiNvOUW19kLBZiOPn -=CXMA ------END PGP SIGNATURE----- diff --git a/kde-base/kdelibs/files/kdelibs-4.1.3-gcc4.1.patch b/kde-base/kdelibs/files/kdelibs-4.1.3-gcc4.1.patch new file mode 100644 index 000000000000..8c374320282d --- /dev/null +++ b/kde-base/kdelibs/files/kdelibs-4.1.3-gcc4.1.patch @@ -0,0 +1,238 @@ +--- trunk/KDE/kdelibs/kio/kio/kdirlister.cpp 2008/10/04 15:04:07 867819 ++++ trunk/KDE/kdelibs/kio/kio/kdirlister.cpp 2008/10/04 15:06:31 867820 +@@ -157,7 +157,7 @@ + + DirItem *itemU = itemsInUse.value(urlStr); + +- DirectoryData& dirData = directoryData[urlStr]; // find or insert ++ KDirListerCacheDirectoryData& dirData = directoryData[urlStr]; // find or insert + + if (dirData.listersCurrentlyListing.isEmpty()) { + // if there is an update running for _url already we get into +@@ -290,7 +290,7 @@ + kdl->addNewItems( items ); + kdl->emitItems(); + +- DirectoryData& dirData = directoryData[urlStr]; ++ KDirListerCacheDirectoryData& dirData = directoryData[urlStr]; + Q_ASSERT(dirData.listersCurrentlyListing.contains(lister)); + + // Emit completed, unless we were told not to, +@@ -345,10 +345,10 @@ + //kDebug(7004) << "lister: " << lister; + bool stopped = false; + +- QHash<QString,DirectoryData>::iterator dirit = directoryData.begin(); +- const QHash<QString,DirectoryData>::iterator dirend = directoryData.end(); ++ QHash<QString,KDirListerCacheDirectoryData>::iterator dirit = directoryData.begin(); ++ const QHash<QString,KDirListerCacheDirectoryData>::iterator dirend = directoryData.end(); + for( ; dirit != dirend ; ++dirit ) { +- DirectoryData& dirData = dirit.value(); ++ KDirListerCacheDirectoryData& dirData = dirit.value(); + if ( dirData.listersCurrentlyListing.removeAll(lister) ) { // contains + removeAll in one go + // lister is listing url + const QString url = dirit.key(); +@@ -388,10 +388,10 @@ + // TODO: consider to stop all the "child jobs" of url as well + kDebug(7004) << lister << " url=" << url; + +- QHash<QString,DirectoryData>::iterator dirit = directoryData.find(urlStr); ++ QHash<QString,KDirListerCacheDirectoryData>::iterator dirit = directoryData.find(urlStr); + if (dirit == directoryData.end()) + return; +- DirectoryData& dirData = dirit.value(); ++ KDirListerCacheDirectoryData& dirData = dirit.value(); + if ( dirData.listersCurrentlyListing.removeAll(lister) ) { // contains + removeAll in one go + + stopLister(lister, urlStr, dirData); +@@ -405,7 +405,7 @@ + } + + // Helper for both stop() methods +-void KDirListerCache::stopLister(KDirLister* lister, const QString& url, DirectoryData& dirData) ++void KDirListerCache::stopLister(KDirLister* lister, const QString& url, KDirListerCacheDirectoryData& dirData) + { + kDebug(7004) << "stopping lister" << lister << url; + KIO::ListJob *job = jobForUrl( url ); +@@ -484,7 +484,7 @@ + DirectoryDataHash::iterator dit = directoryData.find(urlStr); + if (dit == directoryData.end()) + return; +- DirectoryData& dirData = *dit; ++ KDirListerCacheDirectoryData& dirData = *dit; + dirData.listersCurrentlyHolding.removeAll(lister); + + DirItem *item = itemsInUse.value(urlStr); +@@ -573,7 +573,7 @@ + // - only update a directory: the listers are in listersCurrentlyHolding + // - update a currently running listing: the listers are in both + +- DirectoryData& dirData = directoryData[urlStr]; ++ KDirListerCacheDirectoryData& dirData = directoryData[urlStr]; + QList<KDirLister *> listers = dirData.listersCurrentlyListing; + QList<KDirLister *> holders = dirData.listersCurrentlyHolding; + +@@ -990,7 +990,7 @@ + + DirectoryDataHash::iterator dit = directoryData.find(urlStr); + Q_ASSERT(dit != directoryData.end()); +- DirectoryData& dirData = *dit; ++ KDirListerCacheDirectoryData& dirData = *dit; + Q_ASSERT( !dirData.listersCurrentlyListing.isEmpty() ); + + // check if anyone wants the mimetypes immediately +@@ -1050,7 +1050,7 @@ + + DirectoryDataHash::iterator dit = directoryData.find(jobUrlStr); + Q_ASSERT(dit != directoryData.end()); +- DirectoryData& dirData = *dit; ++ KDirListerCacheDirectoryData& dirData = *dit; + Q_ASSERT( !dirData.listersCurrentlyListing.isEmpty() ); + QList<KDirLister *> listers = dirData.listersCurrentlyListing; + +@@ -1137,7 +1137,7 @@ + + DirectoryDataHash::iterator dit = directoryData.find(oldUrlStr); + Q_ASSERT(dit != directoryData.end()); +- DirectoryData oldDirData = *dit; ++ KDirListerCacheDirectoryData oldDirData = *dit; + directoryData.erase(dit); + Q_ASSERT( !oldDirData.listersCurrentlyListing.isEmpty() ); + const QList<KDirLister *> listers = oldDirData.listersCurrentlyListing; +@@ -1172,7 +1172,7 @@ + + // listers of newUrl with oldJob: forget about the oldJob and use the already running one + // which will be converted to an updateJob +- DirectoryData& newDirData = directoryData[newUrlStr]; ++ KDirListerCacheDirectoryData& newDirData = directoryData[newUrlStr]; + + QList<KDirLister *>& curListers = newDirData.listersCurrentlyListing; + if ( !curListers.isEmpty() ) { +@@ -1229,7 +1229,7 @@ + + delete dir; + itemsInUse.insert( newUrlStr, newDir ); +- DirectoryData& newDirData = directoryData[newUrlStr]; ++ KDirListerCacheDirectoryData& newDirData = directoryData[newUrlStr]; + newDirData.listersCurrentlyListing = listers; + newDirData.listersCurrentlyHolding = holders; + +@@ -1248,7 +1248,7 @@ + dir->lstItems.clear(); + dir->redirect( newUrl ); + itemsInUse.insert( newUrlStr, dir ); +- DirectoryData& newDirData = directoryData[newUrlStr]; ++ KDirListerCacheDirectoryData& newDirData = directoryData[newUrlStr]; + newDirData.listersCurrentlyListing = listers; + newDirData.listersCurrentlyHolding = holders; + +@@ -1361,7 +1361,7 @@ + const QList<KDirLister *> listers = (*dit).listersCurrentlyListing; + const QList<KDirLister *> holders = (*dit).listersCurrentlyHolding; + +- DirectoryData& newDirData = directoryData[newUrlStr]; ++ KDirListerCacheDirectoryData& newDirData = directoryData[newUrlStr]; + + // Tell the world that the job listing the old url is dead. + foreach ( KDirLister *kdl, listers ) { +@@ -1427,7 +1427,7 @@ + + kDebug(7004) << "finished update" << jobUrl; + +- DirectoryData& dirData = directoryData[jobUrlStr]; ++ KDirListerCacheDirectoryData& dirData = directoryData[jobUrlStr]; + // Collect the dirlisters which were listing the URL using that ListJob + // plus those that were already holding that URL - they all get updated. + dirData.moveListersWithoutCachedItemsJob(); +@@ -2503,7 +2503,7 @@ + } + } + +-void KDirListerCache::DirectoryData::moveListersWithoutCachedItemsJob() ++void KDirListerCacheDirectoryData::moveListersWithoutCachedItemsJob() + { + // Move dirlisters from listersCurrentlyListing to listersCurrentlyHolding, + // but not those that are still waiting on a CachedItemsJob... +--- trunk/KDE/kdelibs/kio/kio/kdirlister.h 2008/10/04 15:04:07 867819 ++++ trunk/KDE/kdelibs/kio/kio/kdirlister.h 2008/10/04 15:06:31 867820 +@@ -57,6 +57,7 @@ + class KIO_EXPORT KDirLister : public QObject + { + friend class KDirListerCache; ++ friend struct KDirListerCacheDirectoryData; + + Q_OBJECT + Q_PROPERTY( bool autoUpdate READ autoUpdate WRITE setAutoUpdate ) +--- trunk/KDE/kdelibs/kio/kio/kdirlister_p.h 2008/10/04 15:04:07 867819 ++++ trunk/KDE/kdelibs/kio/kio/kdirlister_p.h 2008/10/04 15:06:31 867820 +@@ -36,7 +36,7 @@ + class KDirLister; + namespace KIO { class Job; class ListJob; } + class OrgKdeKDirNotifyInterface; +- ++struct KDirListerCacheDirectoryData; + + class KDirLister::Private + { +@@ -237,8 +237,7 @@ + bool validUrl( const KDirLister *lister, const KUrl& _url ) const; + + // helper for both stop methods +- struct DirectoryData; +- void stopLister(KDirLister* lister, const QString& url, DirectoryData& dirData); ++ void stopLister(KDirLister* lister, const QString& url, KDirListerCacheDirectoryData& dirData); + + KIO::ListJob *jobForUrl( const QString& url, KIO::ListJob *not_job = 0 ); + const KUrl& joburl( KIO::ListJob *job ); +@@ -369,25 +368,7 @@ + QHash<QString /*url*/, DirItem*> itemsInUse; + QCache<QString /*url*/, DirItem> itemsCached; + +- // Data associated with a directory url +- // This could be in DirItem but only in the itemsInUse dict... +- struct DirectoryData +- { +- // A lister can be EITHER in listersCurrentlyListing OR listersCurrentlyHolding +- // but NOT in both at the same time. +- // But both lists can have different listers at the same time; this +- // happens if more listers are requesting url at the same time and +- // one lister was stopped during the listing of files. +- +- // Listers that are currently listing this url +- QList<KDirLister *> listersCurrentlyListing; +- // Listers that are currently holding this url +- QList<KDirLister *> listersCurrentlyHolding; +- +- void moveListersWithoutCachedItemsJob(); +- }; +- +- typedef QHash<QString /*url*/, DirectoryData> DirectoryDataHash; ++ typedef QHash<QString /*url*/, KDirListerCacheDirectoryData> DirectoryDataHash; + DirectoryDataHash directoryData; + + // List of files that we have changed recently +@@ -399,6 +380,24 @@ + OrgKdeKDirNotifyInterface *kdirnotify; + }; + ++// Data associated with a directory url ++// This could be in DirItem but only in the itemsInUse dict... ++struct KDirListerCacheDirectoryData ++{ ++ // A lister can be EITHER in listersCurrentlyListing OR listersCurrentlyHolding ++ // but NOT in both at the same time. ++ // But both lists can have different listers at the same time; this ++ // happens if more listers are requesting url at the same time and ++ // one lister was stopped during the listing of files. ++ ++ // Listers that are currently listing this url ++ QList<KDirLister *> listersCurrentlyListing; ++ // Listers that are currently holding this url ++ QList<KDirLister *> listersCurrentlyHolding; ++ ++ void moveListersWithoutCachedItemsJob(); ++}; ++ + //const unsigned short KDirListerCache::MAX_JOBS_PER_LISTER = 5; + + // This job tells KDirListerCache to emit cached items asynchronously from listDir() diff --git a/kde-base/kdelibs/kdelibs-4.1.3-r1.ebuild b/kde-base/kdelibs/kdelibs-4.1.3-r1.ebuild index f54f12d324f3..dbb3a31b25f5 100644 --- a/kde-base/kdelibs/kdelibs-4.1.3-r1.ebuild +++ b/kde-base/kdelibs/kdelibs-4.1.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-4.1.3-r1.ebuild,v 1.2 2008/11/16 05:04:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-4.1.3-r1.ebuild,v 1.3 2008/12/11 13:32:30 scarabeus Exp $ EAPI="2" @@ -74,7 +74,8 @@ RDEPEND="${COMMONDEPEND} x11-apps/iceauth " -PATCHES=( "${FILESDIR}/${PN}-4.1.1-cmake-modules.patch" "${FILESDIR}/${PV}-cmake-config.patch" ) +PATCHES=( "${FILESDIR}/${PN}-4.1.1-cmake-modules.patch" "${FILESDIR}/${PV}-cmake-config.patch" + "${FILESDIR}/${P}-gcc4.1.patch" ) src_configure() { if use zeroconf; then |