diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-07 11:03:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-07 11:03:14 +0100 |
commit | 957235cf19a691360c720f7913672adda4258ed0 (patch) | |
tree | 812bba7928f4293ead05a7ee9c1ac39c5ef9f12e /kde-apps | |
parent | 62f67115b5c46134c34f88f4b1cbdacc19384c0a (diff) |
gentoo resync : 07.10.2018
Diffstat (limited to 'kde-apps')
-rw-r--r-- | kde-apps/Manifest.gz | bin | 38530 -> 38533 bytes | |||
-rw-r--r-- | kde-apps/akregator/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/akregator/akregator-18.04.3-r1.ebuild | 60 | ||||
-rw-r--r-- | kde-apps/akregator/files/akregator-18.04.3-syndication.patch | 222 | ||||
-rw-r--r-- | kde-apps/kblog/Manifest | 2 | ||||
-rw-r--r-- | kde-apps/kblog/files/kblog-18.04.3-syndication.patch | 219 | ||||
-rw-r--r-- | kde-apps/kblog/kblog-18.04.3-r1.ebuild | 26 | ||||
-rw-r--r-- | kde-apps/kdepim-meta/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/kdepim-meta/kdepim-meta-18.04.3-r1.ebuild | 67 |
9 files changed, 599 insertions, 0 deletions
diff --git a/kde-apps/Manifest.gz b/kde-apps/Manifest.gz Binary files differindex 0001811e9d89..fc0ede92c14b 100644 --- a/kde-apps/Manifest.gz +++ b/kde-apps/Manifest.gz diff --git a/kde-apps/akregator/Manifest b/kde-apps/akregator/Manifest index 624c9f953260..7b8485e84371 100644 --- a/kde-apps/akregator/Manifest +++ b/kde-apps/akregator/Manifest @@ -1,6 +1,8 @@ AUX akregator-17.12.2-crashfix.patch 383 BLAKE2B c50546f9897bdccf1bddc00e51d6068282fa4eb04a9ea81f8ef8f566158a013c01ff3607504af2a6bcd1f026415fe8f6274b2268b608caf0a48c8d98b51833ea SHA512 df344cde73e4dd1813214bc3dcd4624661bdd53f2174d8dffb5fd222c10133d83f678f0cac68c84dea21dc09888a8f120cd23b3c6d1f34e320b5af51fa0e3dd1 +AUX akregator-18.04.3-syndication.patch 7231 BLAKE2B 1d204766d0d15653fd56db22ca5400537819521dde933f0dd06db3a430b1943e8b8bd94ba8beb5df9b91a0c548ffc1d39431ce639ed707983446b9eeb4a1d2e6 SHA512 d084138db86daf60116252d57fdfc5988fb18f1bc6a75b7898ff73c6c4164e084806c879ce04513293b1c48644a47b74b3a69e867ce7854777e9b9e24cb21fc0 DIST akregator-18.04.3.tar.xz 2251168 BLAKE2B 9c57a3e125e5bf191df4fc60b9eacb471942735f5f2890a74f8812a97bbaacdbbf537b070d58f73ca054dee6eb42a575168c3061717c0809e79316b74f80fc2d SHA512 d9f1385c1105be62a7c209510e66b8152ddf3928a55210bff82c679602ef630486f9b7cbbc36d4d28183b7f7667049a5b474d953af38aed0bbbe3c7b00732930 DIST akregator-18.08.1.tar.xz 2254228 BLAKE2B 23998b34dbd30fecfb144451af41de2cfad0de31f864588c1d974ac5bf7c2ef6c8ebc3066ee1966aeddf43b9315c3d337ebc26b7f7377504908b9135318afc23 SHA512 e8058dede0f67ba1b505374f206cbb29b035208965c267fa47e24875e2a2ac2c36d2e2394b669a116062af5cbd49fec2f927106965a603f1ab5c928cb0fd2d03 +EBUILD akregator-18.04.3-r1.ebuild 1535 BLAKE2B a0e855138d1772db5d993a7d30c8b62eeda5f40927eefa56d82349c0d0ab039a8077e6e1143d79164c57b8409ac2441e456af2e45b63dcff8e70f298663d1d66 SHA512 a9ea79c2de5e68940df9deec8c71897e451abce3736503e8656051011fb5a50f4254f747a27d23c270d54f952bffae0853538ed2a0446fec87ce5e9d0290a094 EBUILD akregator-18.04.3.ebuild 1494 BLAKE2B f61953255f5a9da53b9f4f98f24ec9b9b8150f2248c00223c4edc332fb81b326583c686dc057b2badaa131c78adb04a89b511e7caa210484f1c6cb3596569dc0 SHA512 46e4bcb6178e734884715c85d4369dbfdfee7076a520a995c53d06ad89328b0315d12e81474b61dbcde6b1a7c0a163ef700f0593002999b710c9f1e80c21e3c7 EBUILD akregator-18.08.1.ebuild 1499 BLAKE2B 76a7b2beafdc653da534a410cda6f2119f5e5be1e9d3c14a7505d4da898a74387a2790b12692402a7d8eab955b63ce48000f4c1539517eb67acac7681c849609 SHA512 822f3e15cd1b05dce701cba890bfa484835794397c1045b8b7f8aba7115e3313f7ba55f693d5b4b9c223b4f2bda12b23b8c128f5acb2edda066b4ae66c88df9a MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/kde-apps/akregator/akregator-18.04.3-r1.ebuild b/kde-apps/akregator/akregator-18.04.3-r1.ebuild new file mode 100644 index 000000000000..8f0cffe52efc --- /dev/null +++ b/kde-apps/akregator/akregator-18.04.3-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +inherit kde5 + +DESCRIPTION="News feed aggregator" +HOMEPAGE="https://www.kde.org/applications/internet/akregator" +LICENSE="GPL-2+ handbook? ( FDL-1.2+ )" +KEYWORDS="~amd64 ~x86" + +IUSE="" + +COMMON_DEPEND=" + $(add_frameworks_dep kcmutils) + $(add_frameworks_dep kcodecs) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep kjobwidgets) + $(add_frameworks_dep knotifications) + $(add_frameworks_dep knotifyconfig) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kservice) + $(add_frameworks_dep ktextwidgets) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_frameworks_dep syndication) + $(add_kdeapps_dep grantleetheme) + $(add_kdeapps_dep kontactinterface) + $(add_kdeapps_dep kpimtextedit) + $(add_kdeapps_dep libkdepim) + $(add_kdeapps_dep messagelib) + $(add_kdeapps_dep pimcommon) + $(add_qt_dep qtdbus) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtwebengine) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) +" +DEPEND="${COMMON_DEPEND} + dev-libs/grantlee:5 +" +RDEPEND="${COMMON_DEPEND} + !kde-apps/kdepim-l10n +" + +PATCHES=( + "${FILESDIR}/${PN}-17.12.2-crashfix.patch" + "${FILESDIR}/${P}-syndication.patch" +) diff --git a/kde-apps/akregator/files/akregator-18.04.3-syndication.patch b/kde-apps/akregator/files/akregator-18.04.3-syndication.patch new file mode 100644 index 000000000000..f20f8fffa93e --- /dev/null +++ b/kde-apps/akregator/files/akregator-18.04.3-syndication.patch @@ -0,0 +1,222 @@ +From d2797fe48b6d4429cd30163fd75003118400511f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= <dvratil@kde.org> +Date: Sun, 22 Apr 2018 09:13:45 +0200 +Subject: Port away from remove Syndication API + +--- + src/CMakeLists.txt | 1 + + src/akregator_part.cpp | 10 ------ + src/feed/feed.cpp | 3 +- + src/feed/feedretriever.cpp | 78 ++++++++++++++++++++++++++++++++++++++++++++++ + src/feed/feedretriever.h | 54 ++++++++++++++++++++++++++++++++ + 5 files changed, 135 insertions(+), 11 deletions(-) + create mode 100644 src/feed/feedretriever.cpp + create mode 100644 src/feed/feedretriever.h + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 86af10e..312daee 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -86,6 +86,7 @@ set(akregatorprivate_LIB_SRCS + article.cpp + feed/feed.cpp + feed/feedlist.cpp ++ feed/feedretriever.cpp + treenode.cpp + treenodevisitor.cpp + utils.cpp +diff --git a/src/akregator_part.cpp b/src/akregator_part.cpp +index 74acfab..afde53f 100644 +--- a/src/akregator_part.cpp ++++ b/src/akregator_part.cpp +@@ -259,14 +259,6 @@ Part::Part(QWidget *parentWidget, QObject *parent, const QVariantList &) + connect(m_autosaveTimer, &QTimer::timeout, this, &Part::slotSaveFeedList); + m_autosaveTimer->start(5 * 60 * 1000); // 5 minutes + +- QString useragent = QStringLiteral("Akregator/%1; syndication").arg(QStringLiteral(AKREGATOR_VERSION)); +- +- if (!Settings::customUserAgent().isEmpty()) { +- useragent = Settings::customUserAgent(); +- } +- +- Syndication::FileRetriever::setUserAgent(useragent); +- + loadPlugins(QStringLiteral("extension")); // FIXME: also unload them! + if (mCentralWidget->previousSessionCrashed()) { + mCentralWidget->needToRestoreCrashedSession(); +@@ -361,8 +353,6 @@ void Part::slotSettingsChanged() + m_actionManager->setTrayIcon(nullptr); + } + +- Syndication::FileRetriever::setUseCache(Settings::useHTMLCache()); +- + const QStringList fonts { + Settings::standardFont(), + Settings::fixedFont(), +diff --git a/src/feed/feed.cpp b/src/feed/feed.cpp +index 87ba473..774f506 100644 +--- a/src/feed/feed.cpp ++++ b/src/feed/feed.cpp +@@ -36,6 +36,7 @@ + #include "treenodevisitor.h" + #include "types.h" + #include "utils.h" ++#include "feedretriever.h" + + #include <Syndication/Syndication> + +@@ -681,7 +682,7 @@ void Akregator::Feed::tryFetch() + d->loader = Syndication::Loader::create(this, SLOT(fetchCompleted(Syndication::Loader *, + Syndication::FeedPtr, + Syndication::ErrorCode))); +- d->loader->loadFrom(QUrl(d->xmlUrl)); ++ d->loader->loadFrom(QUrl(d->xmlUrl), new FeedRetriever()); + } + + void Akregator::Feed::slotImageFetched(const QPixmap &image) +diff --git a/src/feed/feedretriever.cpp b/src/feed/feedretriever.cpp +new file mode 100644 +index 0000000..62526c4 +--- /dev/null ++++ b/src/feed/feedretriever.cpp +@@ -0,0 +1,78 @@ ++/* ++ This file is part of Akregator. ++ ++ Copyright (C) 2018 Daniel Vrátil <dvratil@kde.org> ++ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU General Public License as published by ++ the Free Software Foundation; either version 2 of the License, or ++ (at your option) any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU General Public License for more details. ++ ++ You should have received a copy of the GNU General Public License ++ along with this program; if not, write to the Free Software ++ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ++ ++ As a special exception, permission is given to link this program ++ with any edition of Qt, and distribute the resulting executable, ++ without including the source code for Qt in the source distribution. ++*/ ++ ++#include "feedretriever.h" ++#include "akregatorconfig.h" ++#include "akregator-version.h" ++ ++#include <KIO/StoredTransferJob> ++ ++#include <QUrl> ++ ++using namespace Akregator; ++ ++FeedRetriever::FeedRetriever() ++ : Syndication::DataRetriever() ++{ ++} ++ ++void FeedRetriever::retrieveData(const QUrl &url) ++{ ++ QString userAgent = QStringLiteral("Akregator/%1; syndication").arg(QStringLiteral(AKREGATOR_VERSION)); ++ if (!Settings::customUserAgent().isEmpty()) { ++ userAgent = Settings::customUserAgent(); ++ } ++ bool useCache = Settings::useHTMLCache(); ++ ++ auto job = KIO::storedGet(url, KIO::NoReload, KIO::HideProgressInfo); ++ job->addMetaData(QStringLiteral("UserAgent"), userAgent); ++ job->addMetaData(QStringLiteral("cache"), useCache ? QStringLiteral("refresh") : QStringLiteral("reload")); ++ connect(job, &KJob::result, this, &FeedRetriever::getFinished); ++ mJob = job; ++ mJob->start(); ++} ++ ++int FeedRetriever::errorCode() const ++{ ++ return mError; ++} ++ ++void FeedRetriever::abort() ++{ ++ if (mJob) { ++ mJob->kill(); ++ mJob = nullptr; ++ } ++} ++ ++void FeedRetriever::getFinished(KJob *job) ++{ ++ if (job->error()) { ++ mError = job->error(); ++ Q_EMIT dataRetrieved({}, false); ++ return; ++ } ++ ++ Q_EMIT dataRetrieved(static_cast<KIO::StoredTransferJob*>(job)->data(), true); ++} +diff --git a/src/feed/feedretriever.h b/src/feed/feedretriever.h +new file mode 100644 +index 0000000..3a0ff3d +--- /dev/null ++++ b/src/feed/feedretriever.h +@@ -0,0 +1,54 @@ ++/* ++ This file is part of Akregator. ++ ++ Copyright (C) 2018 Daniel Vrátil <dvratil@kde.org> ++ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU General Public License as published by ++ the Free Software Foundation; either version 2 of the License, or ++ (at your option) any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU General Public License for more details. ++ ++ You should have received a copy of the GNU General Public License ++ along with this program; if not, write to the Free Software ++ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ++ ++ As a special exception, permission is given to link this program ++ with any edition of Qt, and distribute the resulting executable, ++ without including the source code for Qt in the source distribution. ++*/ ++ ++#ifndef FEEDRETRIEVER_H_ ++#define FEEDRETRIEVER_H_ ++ ++#include <syndication/dataretriever.h> ++ ++class KJob; ++ ++namespace Akregator { ++ ++class FeedRetriever : public Syndication::DataRetriever ++{ ++ Q_OBJECT ++public: ++ explicit FeedRetriever(); ++ ++ void retrieveData(const QUrl &url) override; ++ void abort() override; ++ int errorCode() const override; ++ ++private Q_SLOTS: ++ void getFinished(KJob *job); ++ ++private: ++ KJob *mJob = nullptr; ++ int mError = 0; ++}; ++ ++} ++ ++#endif +-- +cgit v0.11.2 diff --git a/kde-apps/kblog/Manifest b/kde-apps/kblog/Manifest index f5a36eb4b704..ce0119a149df 100644 --- a/kde-apps/kblog/Manifest +++ b/kde-apps/kblog/Manifest @@ -1,5 +1,7 @@ +AUX kblog-18.04.3-syndication.patch 7655 BLAKE2B a2025972f39d3642eeb9a743f65f9c50865879a54ca3ca9da1a185578343beabb5f09763d96d0bd09ee750f5c925eb141aea2f8aeacd931212815260938c7835 SHA512 867791284a67d41ccdca77c2159a9ea348154455f12e3781138261653e869727aefbb9cc604c246870bd83d85766da1a8dcd134adafb9195001e5a5792a9099e DIST kblog-18.04.3.tar.xz 72472 BLAKE2B e4460ad17033afba4be89f29348d5849d98455f4ab479f626cc59b44243932017ed546b0a3851e4615bb892ab33660018d44d8eff38621b62c6ee66fa36fd136 SHA512 c12df99b010a67a3b653a6a0c79209b37b03195b94df27e2bc805ae939f572df99c29e70a182fcce5aee8c792a7b48446e1e6f032493a420896dd39c207cafae DIST kblog-18.08.1.tar.xz 73056 BLAKE2B d49c4f3a943610d42469eea2ed05d4d8557e5dc7ebb31985d1477dcd150ef95361240759e7998e1a1c18ff34b71d8a1a8d88d4a2dd3628315863211417bb2ab5 SHA512 ff05e23f5a9cedfccc3fbe611471b5261e49ad71b0a194951bb48091667a0290337d8a209d29e9f8780be58a01cd1690de3b619a04f581ac5ebf3e68a22199f6 +EBUILD kblog-18.04.3-r1.ebuild 582 BLAKE2B 8efc7838ddb4619f778da6124b82593a54fcf69a41d0554479841c09c69072a71a621f330335cb1d38419c50ba663260963c079b40cc4d0761a882a34b0051dc SHA512 941ba72dc431a9a878026d65c6cbad2631f8d38c3e90524761763bf70e17f71fb17a0339d1e73220f169e846aa0615a37f0929a26dd6b94f6569af17ec7ed910 EBUILD kblog-18.04.3.ebuild 530 BLAKE2B 2a664bdebe9aed7515df9eb4535c850245632b331a23548c82421b96b592f4ece00334320e731e99ad7bb32e1d44f68e85770efe21805f4525f8989ec197a602 SHA512 cf8f8b2331184ddfd495519c39f2091e87c249c4662a1a0ec1d07bd00ec72b213f6e059821d6f9958545489fdd05764731a9d5aadfd12ed830ec1e2e8f7d3bf4 EBUILD kblog-18.08.1.ebuild 535 BLAKE2B 79b2ba3af7a09595f9b4a6547f24390d6af2bd17c7d79ea1dfd2d22b52b031c3bc4f98eb92fca826b7bbf9fbf54418c4ea31ebe8e0d843a570e7db01dc5aba06 SHA512 8ff909c9ca6601742874de8654ad85d03137ac5f97d8eb504ac36f7b8451622e34afdaeb176a7c0315eb052f89fb3aeb58a1f497a98af4c5074f5cebe4c67fc1 MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/kde-apps/kblog/files/kblog-18.04.3-syndication.patch b/kde-apps/kblog/files/kblog-18.04.3-syndication.patch new file mode 100644 index 000000000000..4771666c0f02 --- /dev/null +++ b/kde-apps/kblog/files/kblog-18.04.3-syndication.patch @@ -0,0 +1,219 @@ +From 85fc601b7c622a04c383331841733d681bfc50f3 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Daniel=20Vr=C3=A1til?= <dvratil@kde.org> +Date: Sun, 22 Apr 2018 15:37:01 +0200 +Subject: Fix build against Syndication + +--- + src/CMakeLists.txt | 1 + + src/feedretriever.cpp | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++ + src/feedretriever.h | 54 ++++++++++++++++++++++++++++++++++++++++ + src/gdata.cpp | 11 +++++---- + 4 files changed, 129 insertions(+), 5 deletions(-) + create mode 100644 src/feedretriever.cpp + create mode 100644 src/feedretriever.h + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 03cef4e..1742abb 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -4,6 +4,7 @@ set(kblog_SRCS + blogcomment.cpp + blogmedia.cpp + blogger1.cpp ++ feedretriever.cpp + gdata.cpp + # livejournal.cpp + metaweblog.cpp +diff --git a/src/feedretriever.cpp b/src/feedretriever.cpp +new file mode 100644 +index 0000000..9d481c6 +--- /dev/null ++++ b/src/feedretriever.cpp +@@ -0,0 +1,68 @@ ++/* ++ This file is part of Akregator. ++ ++ Copyright (C) 2018 Daniel Vrátil <dvratil@kde.org> ++ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU General Public License as published by ++ the Free Software Foundation; either version 2 of the License, or ++ (at your option) any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU General Public License for more details. ++ ++ You should have received a copy of the GNU General Public License ++ along with this program; if not, write to the Free Software ++ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ++ ++ As a special exception, permission is given to link this program ++ with any edition of Qt, and distribute the resulting executable, ++ without including the source code for Qt in the source distribution. ++*/ ++ ++#include "feedretriever.h" ++ ++#include <KIO/StoredTransferJob> ++ ++#include <QUrl> ++ ++using namespace KBlog; ++ ++FeedRetriever::FeedRetriever() ++ : Syndication::DataRetriever() ++{ ++} ++ ++void FeedRetriever::retrieveData(const QUrl &url) ++{ ++ auto job = KIO::storedGet(url, KIO::NoReload, KIO::HideProgressInfo); ++ connect(job, &KJob::result, this, &FeedRetriever::getFinished); ++ mJob = job; ++ mJob->start(); ++} ++ ++int FeedRetriever::errorCode() const ++{ ++ return mError; ++} ++ ++void FeedRetriever::abort() ++{ ++ if (mJob) { ++ mJob->kill(); ++ mJob = nullptr; ++ } ++} ++ ++void FeedRetriever::getFinished(KJob *job) ++{ ++ if (job->error()) { ++ mError = job->error(); ++ Q_EMIT dataRetrieved({}, false); ++ return; ++ } ++ ++ Q_EMIT dataRetrieved(static_cast<KIO::StoredTransferJob*>(job)->data(), true); ++} +diff --git a/src/feedretriever.h b/src/feedretriever.h +new file mode 100644 +index 0000000..fb28020 +--- /dev/null ++++ b/src/feedretriever.h +@@ -0,0 +1,54 @@ ++/* ++ This file is part of Akregator. ++ ++ Copyright (C) 2018 Daniel Vrátil <dvratil@kde.org> ++ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU General Public License as published by ++ the Free Software Foundation; either version 2 of the License, or ++ (at your option) any later version. ++ ++ This program is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++ GNU General Public License for more details. ++ ++ You should have received a copy of the GNU General Public License ++ along with this program; if not, write to the Free Software ++ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ++ ++ As a special exception, permission is given to link this program ++ with any edition of Qt, and distribute the resulting executable, ++ without including the source code for Qt in the source distribution. ++*/ ++ ++#ifndef FEEDRETRIEVER_H_ ++#define FEEDRETRIEVER_H_ ++ ++#include <syndication/dataretriever.h> ++ ++class KJob; ++ ++namespace KBlog { ++ ++class FeedRetriever : public Syndication::DataRetriever ++{ ++ Q_OBJECT ++public: ++ explicit FeedRetriever(); ++ ++ void retrieveData(const QUrl &url) override; ++ void abort() override; ++ int errorCode() const override; ++ ++private Q_SLOTS: ++ void getFinished(KJob *job); ++ ++private: ++ KJob *mJob = nullptr; ++ int mError = 0; ++}; ++ ++} ++ ++#endif +diff --git a/src/gdata.cpp b/src/gdata.cpp +index 9ca5b84..115e0a0 100644 +--- a/src/gdata.cpp ++++ b/src/gdata.cpp +@@ -23,6 +23,7 @@ + #include "gdata_p.h" + #include "blogpost.h" + #include "blogcomment.h" ++#include "feedretriever.h" + + #include <syndication/loader.h> + #include <syndication/item.h> +@@ -103,7 +104,7 @@ void GData::listBlogs() + SIGNAL(loadingComplete(Syndication::Loader*,Syndication::FeedPtr,Syndication::ErrorCode)), + this, + SLOT(slotListBlogs(Syndication::Loader*,Syndication::FeedPtr,Syndication::ErrorCode))); +- loader->loadFrom(QUrl(QStringLiteral("http://www.blogger.com/feeds/%1/blogs").arg(profileId()))); ++ loader->loadFrom(QUrl(QStringLiteral("http://www.blogger.com/feeds/%1/blogs").arg(profileId())), new FeedRetriever); + } + + void GData::listRecentPosts(const QStringList &labels, int number, +@@ -145,7 +146,7 @@ void GData::listRecentPosts(const QStringList &labels, int number, + SIGNAL(loadingComplete(Syndication::Loader*,Syndication::FeedPtr,Syndication::ErrorCode)), + this, + SLOT(slotListRecentPosts(Syndication::Loader*,Syndication::FeedPtr,Syndication::ErrorCode))); +- loader->loadFrom(url); ++ loader->loadFrom(url, new FeedRetriever); + } + + void GData::listRecentPosts(int number) +@@ -165,7 +166,7 @@ void GData::listComments(KBlog::BlogPost *post) + this, + SLOT(slotListComments(Syndication::Loader*,Syndication::FeedPtr,Syndication::ErrorCode))); + loader->loadFrom(QUrl(QStringLiteral("http://www.blogger.com/feeds/") + blogId() + QLatin1Char('/') + +- post->postId() + QStringLiteral("/comments/default"))); ++ post->postId() + QStringLiteral("/comments/default")), new FeedRetriever); + } + + void GData::listAllComments() +@@ -176,7 +177,7 @@ void GData::listAllComments() + SIGNAL(loadingComplete(Syndication::Loader*,Syndication::FeedPtr,Syndication::ErrorCode)), + this, + SLOT(slotListAllComments(Syndication::Loader*,Syndication::FeedPtr,Syndication::ErrorCode))); +- loader->loadFrom(QUrl(QStringLiteral("http://www.blogger.com/feeds/%1/comments/default").arg(blogId()))); ++ loader->loadFrom(QUrl(QStringLiteral("http://www.blogger.com/feeds/%1/comments/default").arg(blogId())), new FeedRetriever); + } + + void GData::fetchPost(KBlog::BlogPost *post) +@@ -196,7 +197,7 @@ void GData::fetchPost(KBlog::BlogPost *post) + SIGNAL(loadingComplete(Syndication::Loader*,Syndication::FeedPtr,Syndication::ErrorCode)), + this, + SLOT(slotFetchPost(Syndication::Loader*,Syndication::FeedPtr,Syndication::ErrorCode))); +- loader->loadFrom(QUrl(QStringLiteral("http://www.blogger.com/feeds/%1/posts/default").arg(blogId()))); ++ loader->loadFrom(QUrl(QStringLiteral("http://www.blogger.com/feeds/%1/posts/default").arg(blogId())), new FeedRetriever); + } + + void GData::modifyPost(KBlog::BlogPost *post) +-- +cgit v0.11.2 diff --git a/kde-apps/kblog/kblog-18.04.3-r1.ebuild b/kde-apps/kblog/kblog-18.04.3-r1.ebuild new file mode 100644 index 000000000000..1deda67b9ff6 --- /dev/null +++ b/kde-apps/kblog/kblog-18.04.3-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_TEST="true" +inherit kde5 + +DESCRIPTION="Library providing client-side support for web application remote blogging APIs" +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=" + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kio) + $(add_frameworks_dep kxmlrpcclient) + $(add_frameworks_dep syndication) + $(add_kdeapps_dep kcalcore) +" +RDEPEND="${DEPEND} + !kde-apps/kdepim-l10n +" + +PATCHES=( "${FILESDIR}/${P}-syndication.patch" ) diff --git a/kde-apps/kdepim-meta/Manifest b/kde-apps/kdepim-meta/Manifest index 9e9d87bc77d6..c8cce196209a 100644 --- a/kde-apps/kdepim-meta/Manifest +++ b/kde-apps/kdepim-meta/Manifest @@ -1,3 +1,4 @@ +EBUILD kdepim-meta-18.04.3-r1.ebuild 2021 BLAKE2B 5ee762a456e91842594829d0432e64df9bbb6078962f1f927ebd04acaed546f418fef713bbb1915bf55fa77e6dedf825910162a3cad7f884eb2489720ef5d57d SHA512 f6e2b281aa68912f159ae0621838060ae495b3f3efe34a3ceeeb2a538a99d41f917243ea1ee079d214d458e0f44637d57351cccb15b85fb8dec4ab018079deb7 EBUILD kdepim-meta-18.04.3.ebuild 2054 BLAKE2B 0859f98049ab023b4b7d9ff3c74c05b3823738572bf9f86444bb5a154894c98a31f4a787bf626bdf771c026922f6297d4b5a3c2f1efc0c093b50227b02b6e19d SHA512 7a810fef22bc3a2f0a1e98ec958676b2aa873b5409f597a95f660d1c31601f7ab6863bdea1513507ef7ba725ca3bc26e46d775198d0c1ecb393b1014f5b32cde EBUILD kdepim-meta-18.08.1.ebuild 2083 BLAKE2B 762711b74c8b8a41c23617373b8fbfc0af2e9cdb4947fd6b599c7b8a93108dbd9c87c6394d428bc1b028059162437733683f3fae1a16da3b80b3b38ee69946a9 SHA512 b0d422da28d42092b5af654c284bc37e9ec7d7f457c74e5e26fcbea00a317212ae42c22faf2ba3410446fc74f16e3a4f03e24c398a6118d9d25042b65e613240 MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/kde-apps/kdepim-meta/kdepim-meta-18.04.3-r1.ebuild b/kde-apps/kdepim-meta/kdepim-meta-18.04.3-r1.ebuild new file mode 100644 index 000000000000..b2ec2973ba6f --- /dev/null +++ b/kde-apps/kdepim-meta/kdepim-meta-18.04.3-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit kde5-meta-pkg + +DESCRIPTION="KDE PIM - merge this to pull in all kdepim-derived packages" +HOMEPAGE="https://www.kde.org/applications/development" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + $(add_kdeapps_dep akonadi) + $(add_kdeapps_dep akonadiconsole) + $(add_kdeapps_dep akonadi-calendar) + $(add_kdeapps_dep akonadi-contacts) + $(add_kdeapps_dep akonadi-import-wizard) + $(add_kdeapps_dep akonadi-mime) + $(add_kdeapps_dep akonadi-notes) + $(add_kdeapps_dep akonadi-search) + $(add_kdeapps_dep akregator) + $(add_kdeapps_dep calendarjanitor) + $(add_kdeapps_dep calendarsupport) + $(add_kdeapps_dep eventviews) + $(add_kdeapps_dep grantlee-editor) + $(add_kdeapps_dep grantleetheme) + $(add_kdeapps_dep incidenceeditor) + $(add_kdeapps_dep kaddressbook) + $(add_kdeapps_dep kalarm) + $(add_kdeapps_dep kalarmcal) + $(add_kdeapps_dep kcalcore) + $(add_kdeapps_dep kcalutils) + $(add_kdeapps_dep kcontacts) + $(add_kdeapps_dep kdepim-addons) + $(add_kdeapps_dep kdepim-apps-libs) + $(add_kdeapps_dep kdepim-runtime) + $(add_kdeapps_dep kidentitymanagement) + $(add_kdeapps_dep kimap) + $(add_kdeapps_dep kldap) + $(add_kdeapps_dep kleopatra) + $(add_kdeapps_dep kmail) + $(add_kdeapps_dep kmail-account-wizard) + $(add_kdeapps_dep kmailtransport) + $(add_kdeapps_dep kmbox) + $(add_kdeapps_dep kmime) + $(add_kdeapps_dep knotes) + $(add_kdeapps_dep konsolekalendar) + $(add_kdeapps_dep kontact) + $(add_kdeapps_dep kontactinterface) + $(add_kdeapps_dep korganizer) + $(add_kdeapps_dep kpimtextedit) + $(add_kdeapps_dep ksmtp) + $(add_kdeapps_dep libgravatar) + $(add_kdeapps_dep libkdepim) + $(add_kdeapps_dep libkgapi) + $(add_kdeapps_dep libkleo) + $(add_kdeapps_dep libksieve) + $(add_kdeapps_dep libktnef) + $(add_kdeapps_dep mailcommon) + $(add_kdeapps_dep mailimporter) + $(add_kdeapps_dep mbox-importer) + $(add_kdeapps_dep messagelib) + $(add_kdeapps_dep pim-data-exporter) + $(add_kdeapps_dep pim-sieve-editor) + $(add_kdeapps_dep pimcommon) +" |