diff options
-rw-r--r-- | libre/akonadi-contacts/PKGBUILD | 10 | ||||
-rw-r--r-- | libre/akonadi-contacts/libre.patch | 82 |
2 files changed, 46 insertions, 46 deletions
diff --git a/libre/akonadi-contacts/PKGBUILD b/libre/akonadi-contacts/PKGBUILD index 55b3147b0..f2a964e05 100644 --- a/libre/akonadi-contacts/PKGBUILD +++ b/libre/akonadi-contacts/PKGBUILD @@ -1,11 +1,11 @@ # Maintainer: Andreas Grapentin <andreas@grapentin.org> # Contributor: André Silva <emulatorman@riseup.net> # Contributor: Márcio Silva <coadde@riseup.net> -# Maintainer (Arch): Antonio Rojas <arojas@archlinux.org> # Contributor: jc_gargma <jc_gargma@iserlohn-fortress.net> +# Maintainer (Arch): Antonio Rojas <arojas@archlinux.org> pkgname=akonadi-contacts -pkgver=17.04.3 +pkgver=17.08.0 pkgrel=1.parabola1 pkgdesc="Libraries and daemons to implement Contact Management in Akonadi, without nonfree qt5-webengine support" arch=(i686 x86_64 armv7h) @@ -17,9 +17,9 @@ conflicts=(akonadi-contact) replaces=(akonadi-contact) source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} 'libre.patch') -sha512sums=('5cb488b5840c1d401213ee656ee2e8bc219e51ba03c3625f6c39dccf6c1d53e0d7347f7f67e31019e7460cffe22ac32c4216bd75be2bf557912cd2587b0a6fd3' +sha256sums=('21b19fcca89341e4ceb3220c2276b426a92da58c0ca5d79eeff9bb3590fb8948' 'SKIP' - '42f55b29d2bbd55f19baa4b458e4f3f3a8da2b3c4dac91df4db39726e81225a3efb9814bc9e7bd6e6d09e5d537b092505f126c7a4fd43b94249e807b8b974e5b') + '5356d5d15fd041790c2c073f6a23da9d8bcca8a65610c40fd51897de35fdcc70') validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org> F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck@kde.org> @@ -27,7 +27,7 @@ prepare() { mkdir -p build cd $srcdir/$pkgname-$pkgver - rm -rv src/editor/addresseditor/webengine + rm -rv src/contact-editor/editor/addresseditor/webengine patch -p1 -i ../libre.patch } diff --git a/libre/akonadi-contacts/libre.patch b/libre/akonadi-contacts/libre.patch index 54b5baa02..b24151bc9 100644 --- a/libre/akonadi-contacts/libre.patch +++ b/libre/akonadi-contacts/libre.patch @@ -2,31 +2,31 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt index 6fdb0a723..3bb5ea6d4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -34,7 +34,7 @@ ecm_setup_version(${AKONADI_CONTACTS_VERSION} VARIABLE_PREFIX AKONADICONTACT +@@ -34,7 +34,7 @@ ecm_setup_version(${AKONADI_CONTACTS_VERSION} VARIABLE_PREFIX CONTACTEDITOR ) - set(QT_REQUIRED_VERSION "5.6.0") + set(QT_REQUIRED_VERSION "5.7.0") -find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test WebEngine WebEngineWidgets) +find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test) ########### Find packages ########### find_package(KF5KIO ${KF5_VERSION} CONFIG REQUIRED) find_package(KF5I18n ${KF5_VERSION} CONFIG REQUIRED) -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +diff --git a/src/contact-editor/CMakeLists.txt b/src/contact-editor/CMakeLists.txt index c26423397..291fe3d39 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -78,10 +78,6 @@ set(akonadicontact_editor_generalinfo_SRCS - ${akonadicontact_editor_generalinfo_mail_SRCS} +--- a/src/contact-editor/CMakeLists.txt ++++ b/src/contact-editor/CMakeLists.txt +@@ -78,10 +78,6 @@ set(contacteditor_editor_generalinfo_SRCS + ${contacteditor_editor_generalinfo_mail_SRCS} ) --set(akonadicontact_addresslocation_web_editor_SRCS +-set(contacteditor_addresslocation_web_editor_SRCS - editor/addresseditor/webengine/addresseslocationengineviewer.cpp - editor/addresseditor/webengine/addresseslocationenginepage.cpp - ) - set(akonadicontact_addresslocation_editor_SRCS - ${akonadicontact_addresslocation_web_editor_SRCS} -@@ -215,8 +211,6 @@ target_link_libraries(KF5AkonadiContact + set(contacteditor_addresslocation_editor_SRCS + ${contacteditor_addresslocation_web_editor_SRCS} +@@ -215,8 +211,6 @@ target_link_libraries(KF5ContactEditor KF5::WidgetsAddons KF5::XmlGui Grantlee5::Templates @@ -35,10 +35,10 @@ index c26423397..291fe3d39 100644 ) if(KF5Prison_FOUND) -diff --git a/src/editor/addresseditor/addresseslocationwidget.cpp b/src/editor/addresseditor/addresseslocationwidget.cpp +diff --git a/src/contact-editor/editor/addresseditor/addresseslocationwidget.cpp b/src/contact-editor/editor/addresseditor/addresseslocationwidget.cpp index d76d8f692..ae718aff8 100644 ---- a/src/editor/addresseditor/addresseslocationwidget.cpp -+++ b/src/editor/addresseditor/addresseslocationwidget.cpp +--- a/src/contact-editor/editor/addresseditor/addresseslocationwidget.cpp ++++ b/src/contact-editor/editor/addresseditor/addresseslocationwidget.cpp @@ -21,7 +21,6 @@ */ @@ -49,8 +49,8 @@ index d76d8f692..ae718aff8 100644 @@ -32,13 +31,6 @@ AddressesLocationWidget::AddressesLocationWidget(QWidget *parent) mAddressLocationWidget = new AddressLocationWidget(this); - addWidget(mAddressLocationWidget); mAddressLocationWidget->setObjectName(QStringLiteral("addresslocationwidget")); + addWidget(mAddressLocationWidget); - mAddressesLocationViewer = new AddressesLocationEngineViewer(this); - mAddressesLocationViewer->setObjectName(QStringLiteral("addresseslocationviewer")); - addWidget(mAddressesLocationViewer); @@ -90,10 +90,10 @@ index d76d8f692..ae718aff8 100644 - mAddressesLocationViewer->setReadOnly(readOnly); mAddressLocationWidget->setReadOnly(readOnly); } -diff --git a/src/editor/addresseditor/addresseslocationwidget.h b/src/editor/addresseditor/addresseslocationwidget.h +diff --git a/src/contact-editor/editor/addresseditor/addresseslocationwidget.h b/src/contact-editor/editor/addresseditor/addresseslocationwidget.h index 61697482f..9614f5a5d 100644 ---- a/src/editor/addresseditor/addresseslocationwidget.h -+++ b/src/editor/addresseditor/addresseslocationwidget.h +--- a/src/contact-editor/editor/addresseditor/addresseslocationwidget.h ++++ b/src/contact-editor/editor/addresseditor/addresseslocationwidget.h @@ -29,7 +29,6 @@ namespace Akonadi { @@ -110,28 +110,28 @@ index 61697482f..9614f5a5d 100644 AddressLocationWidget *mAddressLocationWidget; }; } -diff --git a/src/editor/addresseditor/autotests/CMakeLists.txt b/src/editor/addresseditor/autotests/CMakeLists.txt +diff --git a/src/contact-editor/editor/addresseditor/autotests/CMakeLists.txt b/src/contact-editor/editor/addresseditor/autotests/CMakeLists.txt index 0a224925b..a17962210 100644 ---- a/src/editor/addresseditor/autotests/CMakeLists.txt -+++ b/src/editor/addresseditor/autotests/CMakeLists.txt +--- a/src/contact-editor/editor/addresseditor/autotests/CMakeLists.txt ++++ b/src/contact-editor/editor/addresseditor/autotests/CMakeLists.txt @@ -1,11 +1,5 @@ include(ECMMarkAsTest) --set(akonadicontact_addresslocation_web_editor_SRCS +-set(contacteditor_addresslocation_web_editor_SRCS - ../webengine/addresseslocationengineviewer.cpp - ../webengine/addresseslocationenginepage.cpp - ) --set(akonadicontact_webengine_LIB Qt5::WebEngine Qt5::WebEngineWidgets) +-set(contacteditor_webengine_LIB Qt5::WebEngine Qt5::WebEngineWidgets) - - ecm_qt_declare_logging_category(akonadicontact_addresslocation_web_editor_SRCS HEADER akonadi_contact_debug.h IDENTIFIER AKONADICONTACT_LOG CATEGORY_NAME org.kde.pim.akonadi_contact) + ecm_qt_declare_logging_category(contacteditor_addresslocation_web_editor_SRCS HEADER contacteditor_debug.h IDENTIFIER CONTACTEDITOR_LOG CATEGORY_NAME org.kde.pim.contacteditor) - set(addresseslocationviewer_SRCS addresseslocationviewertest.cpp ${akonadicontact_addresslocation_web_editor_SRCS} ../addresseslocationgrantleeformater.cpp + set(addresseslocationviewer_SRCS addresseslocationviewertest.cpp ${contacteditor_addresslocation_web_editor_SRCS} ../addresseslocationgrantleeformater.cpp @@ -13,7 +7,7 @@ set(addresseslocationviewer_SRCS addresseslocationviewertest.cpp ${akonadicontac add_executable(addresseslocationviewer ${addresseslocationviewer_SRCS}) add_test(addresseslocationviewer addresseslocationviewer) ecm_mark_as_test(addresseslocationviewer) --target_link_libraries(addresseslocationviewer Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n ${akonadicontact_webengine_LIB} Grantlee5::Templates -+target_link_libraries(addresseslocationviewer Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n Grantlee5::Templates +-target_link_libraries(addresseslocationviewer Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n ${contacteditor_webengine_LIB} Grantlee5::Templates ++target_link_libraries(addresseslocationviewer Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n Grantlee5::Templates KF5::IconThemes KF5::WidgetsAddons) set(addresslocationwidget_SRCS addresslocationwidgettest.cpp ../addresslocationwidget.cpp ../selectaddresstypecombobox.cpp ../addresstypedialog.cpp) @@ -139,37 +139,37 @@ index 0a224925b..a17962210 100644 add_executable(addresseslocationwidget ${addresseslocationwidget_SRCS}) add_test(addresseslocationwidget addresseslocationwidget) ecm_mark_as_test(addresseslocationwidget) --target_link_libraries(addresseslocationwidget Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n KF5::Completion ${akonadicontact_webengine_LIB} -+target_link_libraries(addresseslocationwidget Qt5::Test Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n KF5::Completion +-target_link_libraries(addresseslocationwidget Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion ${contacteditor_webengine_LIB} ++target_link_libraries(addresseslocationwidget Qt5::Test Qt5::Widgets KF5::ContactEditor KF5::Contacts KF5::I18n KF5::Completion Grantlee5::Templates KF5::IconThemes KF5::WidgetsAddons) -diff --git a/src/editor/addresseditor/autotests/addresseslocationviewertest.cpp b/src/editor/addresseditor/autotests/addresseslocationviewertest.cpp +diff --git a/src/contact-editor/editor/addresseditor/autotests/addresseslocationviewertest.cpp b/src/contact-editor/editor/addresseditor/autotests/addresseslocationviewertest.cpp index e10b85d2d..4f509d841 100644 ---- a/src/editor/addresseditor/autotests/addresseslocationviewertest.cpp -+++ b/src/editor/addresseditor/autotests/addresseslocationviewertest.cpp +--- a/src/contact-editor/editor/addresseditor/autotests/addresseslocationviewertest.cpp ++++ b/src/contact-editor/editor/addresseditor/autotests/addresseslocationviewertest.cpp @@ -22,7 +22,6 @@ #include "addresseslocationviewertest.h" - #include "config-akonadi-contact.h" + #include "config-contact-editor.h" -#include "../webengine/addresseslocationengineviewer.h" #include <QTest> using namespace Akonadi; AddressesLocationViewerTest::AddressesLocationViewerTest(QObject *parent) -diff --git a/src/editor/addresseditor/autotests/addresseslocationwidgettest.cpp b/src/editor/addresseditor/autotests/addresseslocationwidgettest.cpp +diff --git a/src/contact-editor/editor/addresseditor/autotests/addresseslocationwidgettest.cpp b/src/contact-editor/editor/addresseditor/autotests/addresseslocationwidgettest.cpp index 1bd29a7a3..4339db282 100644 ---- a/src/editor/addresseditor/autotests/addresseslocationwidgettest.cpp -+++ b/src/editor/addresseditor/autotests/addresseslocationwidgettest.cpp +--- a/src/contact-editor/editor/addresseditor/autotests/addresseslocationwidgettest.cpp ++++ b/src/contact-editor/editor/addresseditor/autotests/addresseslocationwidgettest.cpp @@ -22,7 +22,6 @@ #include "addresseslocationwidgettest.h" - #include "config-akonadi-contact.h" + #include "config-contact-editor.h" -#include "../webengine/addresseslocationengineviewer.h" #include "../addresseslocationwidget.h" #include <QTest> -diff --git a/src/editor/addresseditor/tests/CMakeLists.txt b/src/editor/addresseditor/tests/CMakeLists.txt +diff --git a/src/contact-editor/editor/addresseditor/tests/CMakeLists.txt b/src/contact-editor/editor/addresseditor/tests/CMakeLists.txt index 3cdee489e..7b7531e53 100644 ---- a/src/editor/addresseditor/tests/CMakeLists.txt -+++ b/src/editor/addresseditor/tests/CMakeLists.txt +--- a/src/contact-editor/editor/addresseditor/tests/CMakeLists.txt ++++ b/src/contact-editor/editor/addresseditor/tests/CMakeLists.txt @@ -1,9 +1,3 @@ -set(akonadicontact_addresslocation_web_editor_SRCS - ../webengine/addresseslocationengineviewer.cpp @@ -177,7 +177,7 @@ index 3cdee489e..7b7531e53 100644 - ) -set(akonadicontact_webengine_LIB Qt5::WebEngine Qt5::WebEngineWidgets) - - ecm_qt_declare_logging_category(akonadicontact_addresslocation_web_editor_SRCS HEADER akonadi_contact_debug.h IDENTIFIER AKONADICONTACT_LOG CATEGORY_NAME org.kde.pim.akonadi_contact) + ecm_qt_declare_logging_category(akonadicontact_addresslocation_web_editor_SRCS HEADER contacteditor_debug.h IDENTIFIER CONTACTEDITOR_LOG CATEGORY_NAME org.kde.pim.akonadi_contact) set(addresseditor_SRCS @@ -29,6 +23,5 @@ target_link_libraries(addresseditortest |