[arch-commits] Commit in sink/repos/community-staging-x86_64 (3 files)

Antonio Rojas arojas at archlinux.org
Wed Feb 19 17:46:19 UTC 2020


    Date: Wednesday, February 19, 2020 @ 17:46:18
  Author: arojas
Revision: 576726

archrelease: copy trunk to community-staging-x86_64

Added:
  sink/repos/community-staging-x86_64/PKGBUILD
    (from rev 576725, sink/trunk/PKGBUILD)
Deleted:
  sink/repos/community-staging-x86_64/PKGBUILD
  sink/repos/community-staging-x86_64/sink-kdav2-0.3.patch

----------------------+
 PKGBUILD             |   58 ++++++++++++++++++++++++-------------------------
 sink-kdav2-0.3.patch |   57 ------------------------------------------------
 2 files changed, 29 insertions(+), 86 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-19 17:46:08 UTC (rev 576725)
+++ PKGBUILD	2020-02-19 17:46:18 UTC (rev 576726)
@@ -1,29 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-
-pkgname=sink
-pkgver=0.8.0
-pkgrel=2
-pkgdesc="An offline-caching, synchronization and indexing system for PIM data"
-arch=(x86_64)
-url="https://community.kde.org/KDE_PIM"
-license=(LGPL)
-depends=(kcontacts kcalendarcore kasync kimap2 kdav2 lmdb libgit2 xapian-core curl)
-makedepends=(extra-cmake-modules flatbuffers)
-source=("https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
-sha256sums=('d75f825167433d577cf500bfb7a3f664288c7805640859de2f873611a9226ff4')
-
-prepare() {
-  mkdir -p build
-  find -name CMakeLists.txt | xargs sed -e '/add_subdirectory(tests)/d' -i  # Don't build tests 
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}

Copied: sink/repos/community-staging-x86_64/PKGBUILD (from rev 576725, sink/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-02-19 17:46:18 UTC (rev 576726)
@@ -0,0 +1,29 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=sink
+pkgver=0.8.0
+pkgrel=2
+pkgdesc="An offline-caching, synchronization and indexing system for PIM data"
+arch=(x86_64)
+url="https://community.kde.org/KDE_PIM"
+license=(LGPL)
+depends=(kcontacts kcalendarcore kasync kimap2 kdav2 lmdb libgit2 xapian-core curl)
+makedepends=(extra-cmake-modules flatbuffers)
+source=("https://download.kde.org/unstable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz")
+sha256sums=('d75f825167433d577cf500bfb7a3f664288c7805640859de2f873611a9226ff4')
+
+prepare() {
+  mkdir -p build
+  find -name CMakeLists.txt | xargs sed -e '/add_subdirectory(tests)/d' -i  # Don't build tests 
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Deleted: sink-kdav2-0.3.patch
===================================================================
--- sink-kdav2-0.3.patch	2020-02-19 17:46:08 UTC (rev 576725)
+++ sink-kdav2-0.3.patch	2020-02-19 17:46:18 UTC (rev 576726)
@@ -1,57 +0,0 @@
---- a/examples/webdavcommon/webdav.cpp
-+++ b/examples/webdavcommon/webdav.cpp
-@@ -30,7 +30,6 @@
- #include <KDAV2/DavItemFetchJob>
- #include <KDAV2/DavItemModifyJob>
- #include <KDAV2/DavItemsListJob>
--#include <KDAV2/EtagCache>
- 
- #include <QNetworkReply>
- 
-@@ -185,8 +184,7 @@ KAsync::Job<void> WebDavSynchronizer::synchronizeCollection(const KDAV2::DavColl
- 
-     auto localRid = collectionLocalResourceID(collection);
- 
--    auto cache = std::make_shared<KDAV2::EtagCache>();
--    auto davItemsListJob = new KDAV2::DavItemsListJob(collection.url(), std::move(cache));
-+    auto davItemsListJob = new KDAV2::DavItemsListJob(collection.url());
- 
-     return runJob<KDAV2::DavItem::List>(davItemsListJob,
-         [](KJob *job) { return static_cast<KDAV2::DavItemsListJob *>(job)->items(); })
---- a/examples/caldavresource/tests/caldavtest.cpp   2019-09-03 06:15:09.729849491 +0000
-+++ b/examples/caldavresource/tests/caldavtest.cpp   2019-09-03 06:15:28.636780329 +0000
-@@ -4,7 +4,6 @@
- #include <KDAV2/DavItemFetchJob>
- #include <KDAV2/DavItemModifyJob>
- #include <KDAV2/DavItemsListJob>
--#include <KDAV2/EtagCache>
- 
- #include <KCalCore/Event>
- #include <KCalCore/ICalFormat>
-@@ -266,8 +265,7 @@
-             })();
- 
-             auto itemList = ([&collection]() -> KDAV2::DavItem::List {
--                auto cache = std::make_shared<KDAV2::EtagCache>();
--                auto itemsListJob = new KDAV2::DavItemsListJob(collection.url(), cache);
-+                auto itemsListJob = new KDAV2::DavItemsListJob(collection.url());
-                 itemsListJob->exec();
-                 Q_ASSERT(itemsListJob->error() == 0);
-                 return itemsListJob->items();
---- a/examples/imapresource/imapserverproxy.cpp   2019-09-03 06:19:55.527175867 +0000
-+++ b/examples/imapresource/imapserverproxy.cpp   2019-09-03 06:21:28.805145783 +0000
-@@ -69,11 +69,11 @@
-     const bool isLoginJob = dynamic_cast<KIMAP2::LoginJob*>(job);
-     const bool isSelectJob = dynamic_cast<KIMAP2::SelectJob*>(job);
-     switch (error) {
--        case KIMAP2::LoginJob::ErrorCode::ERR_HOST_NOT_FOUND:
-+        case KIMAP2::HostNotFound:
-             return Imap::HostNotFoundError;
--        case KIMAP2::LoginJob::ErrorCode::ERR_COULD_NOT_CONNECT:
-+        case KIMAP2::CouldNotConnect:
-             return Imap::CouldNotConnectError;
--        case KIMAP2::LoginJob::ErrorCode::ERR_SSL_HANDSHAKE_FAILED:
-+        case KIMAP2::SslHandshakeFailed:
-             return Imap::SslHandshakeError;
-     }
-     //Hack to detect login failures



More information about the arch-commits mailing list