[gentoo-commits] repo/gentoo:master commit in: kde-frameworks/attica/
commit: 0a8cb0123bd86a6e2c53d8029b9ed22bf62249bd Author: WANG Xuerui gentoo org> AuthorDate: Tue Jun 28 04:18:00 2022 + Commit: WANG Xuerui gentoo org> CommitDate: Tue Jun 28 04:18:17 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a8cb012 kde-frameworks/attica: keyword 5.95.0 for ~loong Signed-off-by: WANG Xuerui gentoo.org> kde-frameworks/attica/attica-5.95.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kde-frameworks/attica/attica-5.95.0.ebuild b/kde-frameworks/attica/attica-5.95.0.ebuild index a0eed868ad43..91af26d02dc6 100644 --- a/kde-frameworks/attica/attica-5.95.0.ebuild +++ b/kde-frameworks/attica/attica-5.95.0.ebuild @@ -8,7 +8,7 @@ inherit ecm kde.org DESCRIPTION="Framework providing access to Open Collaboration Services" LICENSE="LGPL-2.1+" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" IUSE="" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: kde-frameworks/attica/
commit: 70762d9bbaf9d325ba28a915b33221244c1cc433 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Oct 2 13:34:01 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Oct 2 13:35:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70762d9b kde-frameworks/attica: Drop 5.86.0 (r0) Package-Manager: Portage-3.0.26, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-frameworks/attica/attica-5.86.0.ebuild | 26 -- 1 file changed, 26 deletions(-) diff --git a/kde-frameworks/attica/attica-5.86.0.ebuild b/kde-frameworks/attica/attica-5.86.0.ebuild deleted file mode 100644 index b126db32d6a..000 --- a/kde-frameworks/attica/attica-5.86.0.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -QTMIN=5.15.2 -inherit ecm kde.org - -DESCRIPTION="Framework providing access to Open Collaboration Services" -LICENSE="LGPL-2.1+" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -IUSE="" - -RDEPEND=" - >=dev-qt/qtnetwork-${QTMIN}:5 -" -DEPEND="${RDEPEND}" - -src_test() { - # requires network access, bug #661230 - local myctestargs=( - -E "(providertest)" - ) - - ecm_src_test -}
[gentoo-commits] repo/gentoo:master commit in: kde-frameworks/attica/files/, kde-frameworks/attica/
commit: f34858a90020db73bf39d7351193d351729735c3 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Oct 2 13:33:29 2021 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Oct 2 13:35:06 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f34858a9 kde-frameworks/attica: Help upstream lower server utilization See also: https://mail.kde.org/pipermail/distributions/2021-October/001054.html https://invent.kde.org/frameworks/attica/-/merge_requests/15 Package-Manager: Portage-3.0.26, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-frameworks/attica/attica-5.86.0-r1.ebuild | 28 + ...ica-5.86.0-fetch-categories.xml-only-once.patch | 68 ++ 2 files changed, 96 insertions(+) diff --git a/kde-frameworks/attica/attica-5.86.0-r1.ebuild b/kde-frameworks/attica/attica-5.86.0-r1.ebuild new file mode 100644 index 000..d920df50fa1 --- /dev/null +++ b/kde-frameworks/attica/attica-5.86.0-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +QTMIN=5.15.2 +inherit ecm kde.org + +DESCRIPTION="Framework providing access to Open Collaboration Services" +LICENSE="LGPL-2.1+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +RDEPEND=" + >=dev-qt/qtnetwork-${QTMIN}:5 +" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${P}-fetch-categories.xml-only-once.patch" ) + +src_test() { + # requires network access, bug #661230 + local myctestargs=( + -E "(providertest)" + ) + + ecm_src_test +} diff --git a/kde-frameworks/attica/files/attica-5.86.0-fetch-categories.xml-only-once.patch b/kde-frameworks/attica/files/attica-5.86.0-fetch-categories.xml-only-once.patch new file mode 100644 index 000..75f7f75b6e9 --- /dev/null +++ b/kde-frameworks/attica/files/attica-5.86.0-fetch-categories.xml-only-once.patch @@ -0,0 +1,68 @@ +commit 7c38c8cf28a4d0d667e23ddfaaf38a955d65bf3e +Author: Aleix Pol +Date: Wed Sep 22 16:19:39 2021 +0200 + +Ensure categories.xml is only fetched once in parallel + +Otherwise we overload the server that is returning them fairly slowly +anyway (2 to 3 seconds?). It seems like it serves these sequentially as +well, which makes Discover startup stuttery. + +diff --git a/src/atticabasejob.cpp b/src/atticabasejob.cpp +index 99acf4f..e65d556 100644 +--- a/src/atticabasejob.cpp b/src/atticabasejob.cpp +@@ -26,6 +26,7 @@ public: + PlatformDependent *m_internals; + QNetworkReply *m_reply; + bool aborted{false}; ++bool started = false; + + Private(PlatformDependent *internals) + : m_internals(internals) +@@ -120,7 +121,10 @@ void BaseJob::dataFinished() + + void BaseJob::start() + { +-QTimer::singleShot(0, this, ::doWork); ++if (!d->started) { ++d->started = true; ++QTimer::singleShot(0, this, ::doWork); ++} + } + + void BaseJob::doWork() +diff --git a/src/provider.cpp b/src/provider.cpp +index 9e4da64..b994ce9 100644 +--- a/src/provider.cpp b/src/provider.cpp +@@ -64,6 +64,7 @@ + #include + #include + #include ++#include + #include + + using namespace Attica; +@@ -1134,8 +1135,18 @@ ListJob *Provider::requestCategories() + return nullptr; + } + +-QUrl url = createUrl(QLatin1String("content/categories")); +-ListJob *job = new ListJob(d->m_internals, createRequest(url)); ++const QUrl url = createUrl(QLatin1String("content/categories")); ++ ++// Thread-local cache of categories requests. They are fairly slow and block startup ++static QThreadStorage *>> reqs; ++ListJob *job = reqs.localData().value(url); ++if (!job) { ++job = new ListJob(d->m_internals, createRequest(url)); ++QObject::connect(job, ::finished, [url] { ++reqs.localData().remove(url); ++}); ++reqs.localData().insert(url, job); ++} + return job; + } + +
[gentoo-commits] repo/gentoo:master commit in: kde-frameworks/attica/
commit: f025d8468665be84eeb8d4c401aa6e6ea6a98fb4 Author: Michael Palimaka gentoo org> AuthorDate: Fri Aug 10 13:54:54 2018 + Commit: Michael Palimaka gentoo org> CommitDate: Fri Aug 10 13:55:22 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f025d846 kde-frameworks/attica: disable test that requires network access Closes: https://bugs.gentoo.org/661230 Package-Manager: Portage-2.3.44, Repoman-2.3.10 kde-frameworks/attica/attica-5.48.0.ebuild | 9 + 1 file changed, 9 insertions(+) diff --git a/kde-frameworks/attica/attica-5.48.0.ebuild b/kde-frameworks/attica/attica-5.48.0.ebuild index d88c4abe8df..14dfce7de97 100644 --- a/kde-frameworks/attica/attica-5.48.0.ebuild +++ b/kde-frameworks/attica/attica-5.48.0.ebuild @@ -14,3 +14,12 @@ RDEPEND=" $(add_qt_dep qtnetwork) " DEPEND="${RDEPEND}" + +src_test() { + # requires network access, bug #661230 + local myctestargs=( + -E "(providertest)" + ) + + kde5_src_test +}
[gentoo-commits] repo/gentoo:master commit in: kde-frameworks/attica/
commit: a571f3e0bf113fdffcdcbdf6e40663ad9c734dd4 Author: Alexis Ballier gentoo org> AuthorDate: Tue Jul 25 18:10:42 2017 + Commit: Alexis Ballier gentoo org> CommitDate: Tue Jul 25 18:13:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a571f3e0 kde-frameworks/attica: keyword ~arm64 Package-Manager: Portage-2.3.6, Repoman-2.3.3 kde-frameworks/attica/attica-5.36.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kde-frameworks/attica/attica-5.36.0.ebuild b/kde-frameworks/attica/attica-5.36.0.ebuild index 2b363a8e56a..053c7610803 100644 --- a/kde-frameworks/attica/attica-5.36.0.ebuild +++ b/kde-frameworks/attica/attica-5.36.0.ebuild @@ -7,7 +7,7 @@ inherit kde5 DESCRIPTION="Framework providing access to Open Collaboration Services" LICENSE="LGPL-2.1+" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: kde-frameworks/attica/
commit: ec7c693d2e8db70f2c36adb7b9de8222cce7d467 Author: Aaron Bauman gentoo org> AuthorDate: Tue Jan 17 19:36:06 2017 + Commit: Aaron Bauman gentoo org> CommitDate: Tue Jan 17 19:49:53 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec7c693d kde-frameworks/attica: amd64 stable Gentoo-bug: 605938 Package-Manager: portage-2.3.0 kde-frameworks/attica/attica-5.29.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kde-frameworks/attica/attica-5.29.0.ebuild b/kde-frameworks/attica/attica-5.29.0.ebuild index f97613d..da3bff8 100644 --- a/kde-frameworks/attica/attica-5.29.0.ebuild +++ b/kde-frameworks/attica/attica-5.29.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -8,7 +8,7 @@ inherit kde5 DESCRIPTION="Framework providing access to Open Collaboration Services" LICENSE="LGPL-2.1+" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="amd64 ~arm ~x86" IUSE="" RDEPEND="