summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libqmatrixclient/APKBUILD4
-rw-r--r--user/quaternion/APKBUILD16
-rw-r--r--user/quaternion/unbundle-lib1.patch292
-rw-r--r--user/quaternion/unbundle-lib2.patch15
4 files changed, 7 insertions, 320 deletions
diff --git a/user/libqmatrixclient/APKBUILD b/user/libqmatrixclient/APKBUILD
index ddd5f3047..6d8a0ad5d 100644
--- a/user/libqmatrixclient/APKBUILD
+++ b/user/libqmatrixclient/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libqmatrixclient
-pkgver=0.3.0.2
+pkgver=0.4.0
pkgrel=0
pkgdesc="Library to interface with Matrix chat systems using Qt 5"
url="https://matrix.org/docs/projects/sdk/libqmatrixclient.html"
@@ -39,4 +39,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="f650f50185070ce7d37dbb173c27c46adc45eb18ac3219d37b6f3eb275f23afa7dd8cb583721cd03c4e50cb7a19345f8c747acce097ba81b5f3d14a700c9d7c2 libqmatrixclient-0.3.0.2.tar.gz"
+sha512sums="552b866ef4adbde72518f96b42beb08dc99f80ff0388717e99c4287c463db21469d91e188b3d5c17850266ea313a36fed0cd01431f08632e3d1403f3b7725e40 libqmatrixclient-0.4.0.tar.gz"
diff --git a/user/quaternion/APKBUILD b/user/quaternion/APKBUILD
index a7337d03f..363e30f5c 100644
--- a/user/quaternion/APKBUILD
+++ b/user/quaternion/APKBUILD
@@ -1,19 +1,17 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=quaternion
-pkgver=0.0.9.2
+pkgver=0.0.9.3
pkgrel=0
pkgdesc="Qt5-based Matrix chat client"
url="https://matrix.org/docs/projects/client/quaternion.html"
arch="all"
license="GPL-3.0+"
depends="qt5-qtquickcontrols"
-makedepends="cmake qt5-qtbase-dev qt5-qtdeclarative-dev libqmatrixclient-dev"
+makedepends="cmake libqmatrixclient-dev qt5-qtbase-dev qt5-qtdeclarative-dev
+ qt5-qttools-dev"
subpackages=""
-source="quaternion-$pkgver.tar.gz::https://github.com/QMatrixClient/Quaternion/archive/v$pkgver.tar.gz
- unbundle-lib1.patch
- unbundle-lib2.patch
- "
+source="quaternion-$pkgver.tar.gz::https://github.com/QMatrixClient/Quaternion/archive/v$pkgver.tar.gz"
builddir="$srcdir/Quaternion-$pkgver"
build() {
@@ -27,8 +25,6 @@ build() {
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
- -DCMAKE_C_FLAGS="$CFLAGS" \
- -DUSE_DYNAMIC_LIB=True \
${CMAKE_CROSSOPTS}
make
}
@@ -43,6 +39,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="9a72a39a8f353828d1322abce54f6ea5854346aa96c230684afee113142d1b5dfd521bf12dc29c397a39769b65e36c5b6c8b8de812011b4cd96c1570494803c5 quaternion-0.0.9.2.tar.gz
-da88b919832a7d84375e7b698785941897e3f40c9afff1ced5a91b8f7f82f348b684cbd137232656ba66ba249ff8cd6a0952d13108131b98d28f98f616491a11 unbundle-lib1.patch
-3573d21fb6170083f75c90eda599fd418c80f19b2127277a3df03cb74f6b7ff246dae67f50a04299c8953a12e163e28ff63a72f7ef30b988e39b5863a85c307e unbundle-lib2.patch"
+sha512sums="3836338cddc674b3a8b6e7d8376f0136db5c548788a0e56f27023fe7b238e2c07d77bf5e5b50e49cdb011c61f05700818b6a22a394ee8d52015f5f32b3fe4d47 quaternion-0.0.9.3.tar.gz"
diff --git a/user/quaternion/unbundle-lib1.patch b/user/quaternion/unbundle-lib1.patch
deleted file mode 100644
index e109e86b7..000000000
--- a/user/quaternion/unbundle-lib1.patch
+++ /dev/null
@@ -1,292 +0,0 @@
-From 5a6fbaa3738de2f22171e5ef511d0250cfe006b6 Mon Sep 17 00:00:00 2001
-From: Arun Isaac <arunisaac@systemreboot.net>
-Date: Fri, 13 Jul 2018 16:25:23 +0530
-Subject: [PATCH] Remove references to lib in all #include headers.
-
----
- client/chatroomwidget.cpp | 8 ++++----
- client/imageprovider.cpp | 4 ++--
- client/logindialog.cpp | 2 +-
- client/main.cpp | 2 +-
- client/mainwindow.cpp | 12 ++++++------
- client/models/messageeventmodel.cpp | 14 +++++++-------
- client/models/roomlistmodel.cpp | 4 ++--
- client/models/roomlistmodel.h | 4 ++--
- client/models/userlistmodel.cpp | 6 +++---
- client/networkconfigdialog.cpp | 2 +-
- client/quaternionconnection.h | 2 +-
- client/quaternionroom.cpp | 4 ++--
- client/quaternionroom.h | 2 +-
- client/roomdialogs.cpp | 8 ++++----
- client/roomlistdock.cpp | 2 +-
- client/systemtrayicon.cpp | 2 +-
- client/userlistdock.cpp | 6 +++---
- 17 files changed, 42 insertions(+), 42 deletions(-)
-
-diff --git a/client/chatroomwidget.cpp b/client/chatroomwidget.cpp
-index e72a7ed..bcd8921 100644
---- a/client/chatroomwidget.cpp
-+++ b/client/chatroomwidget.cpp
-@@ -36,10 +36,10 @@
- #include <QtCore/QRegularExpression>
- #include <QtCore/QStringBuilder>
-
--#include "lib/events/roommessageevent.h"
--#include "lib/user.h"
--#include "lib/connection.h"
--#include "lib/settings.h"
-+#include <events/roommessageevent.h>
-+#include <user.h>
-+#include <connection.h>
-+#include <settings.h>
- #include "models/messageeventmodel.h"
- #include "imageprovider.h"
- #include "chatedit.h"
-diff --git a/client/imageprovider.cpp b/client/imageprovider.cpp
-index a627bf1..94f8a4f 100644
---- a/client/imageprovider.cpp
-+++ b/client/imageprovider.cpp
-@@ -19,8 +19,8 @@
-
- #include "imageprovider.h"
-
--#include "lib/connection.h"
--#include "lib/jobs/mediathumbnailjob.h"
-+#include <connection.h>
-+#include <jobs/mediathumbnailjob.h>
-
- #include <QtCore/QWaitCondition>
- #include <QtCore/QDebug>
-diff --git a/client/logindialog.cpp b/client/logindialog.cpp
-index f5d082b..633c6e0 100644
---- a/client/logindialog.cpp
-+++ b/client/logindialog.cpp
-@@ -19,7 +19,7 @@
-
- #include "logindialog.h"
-
--#include "lib/connection.h"
-+#include <connection.h>
-
- #include <QtWidgets/QLineEdit>
- #include <QtWidgets/QPushButton>
-diff --git a/client/main.cpp b/client/main.cpp
-index 547f1c7..08c7db6 100644
---- a/client/main.cpp
-+++ b/client/main.cpp
-@@ -26,7 +26,7 @@
- #include "networksettings.h"
- #include "mainwindow.h"
- #include "activitydetector.h"
--#include "lib/settings.h"
-+#include <settings.h>
-
- int main( int argc, char* argv[] )
- {
-diff --git a/client/mainwindow.cpp b/client/mainwindow.cpp
-index 4dd4879..1c22e9f 100644
---- a/client/mainwindow.cpp
-+++ b/client/mainwindow.cpp
-@@ -27,11 +27,11 @@
- #include "roomdialogs.h"
- #include "systemtrayicon.h"
-
--#include "lib/csapi/joining.h"
--#include "lib/connection.h"
--#include "lib/networkaccessmanager.h"
--#include "lib/settings.h"
--#include "lib/logging.h"
-+#include <csapi/joining.h>
-+#include <connection.h>
-+#include <networkaccessmanager.h>
-+#include <settings.h>
-+#include <logging.h>
-
- #include <QtCore/QTimer>
- #include <QtCore/QDebug>
-diff --git a/client/models/messageeventmodel.cpp b/client/models/messageeventmodel.cpp
-index 56d3452..1f18379 100644
---- a/client/models/messageeventmodel.cpp
-+++ b/client/models/messageeventmodel.cpp
-@@ -24,12 +24,12 @@
- #include <QtQml> // for qmlRegisterType()
-
- #include "../quaternionroom.h"
--#include "lib/connection.h"
--#include "lib/user.h"
--#include "lib/settings.h"
--#include "lib/events/roommemberevent.h"
--#include "lib/events/simplestateevents.h"
--#include "lib/events/redactionevent.h"
-+#include <connection.h>
-+#include <user.h>
-+#include <settings.h>
-+#include <events/roommemberevent.h>
-+#include <events/simplestateevents.h>
-+#include <events/redactionevent.h>
-
- enum EventRoles {
- EventTypeRole = Qt::UserRole + 1,
-diff --git a/client/models/roomlistmodel.cpp b/client/models/roomlistmodel.cpp
-index 39b045b..8e85d65 100644
---- a/client/models/roomlistmodel.cpp
-+++ b/client/models/roomlistmodel.cpp
-@@ -21,8 +21,8 @@
-
- #include "../quaternionroom.h"
-
--#include "lib/user.h"
--#include "lib/connection.h"
-+#include <user.h>
-+#include <connection.h>
-
- #include <QtGui/QIcon>
-
-diff --git a/client/models/roomlistmodel.h b/client/models/roomlistmodel.h
-index cdc3dd3..79f648f 100644
---- a/client/models/roomlistmodel.h
-+++ b/client/models/roomlistmodel.h
-@@ -20,8 +20,8 @@
- #pragma once
-
- #include "../quaternionroom.h"
--#include "lib/connection.h"
--#include "lib/util.h"
-+#include <connection.h>
-+#include <util.h>
-
- #include <QtCore/QAbstractListModel>
-
-diff --git a/client/models/userlistmodel.cpp b/client/models/userlistmodel.cpp
-index 54b7cf6..704b1f5 100644
---- a/client/models/userlistmodel.cpp
-+++ b/client/models/userlistmodel.cpp
-@@ -23,9 +23,9 @@
- #include <QtCore/QDebug>
- #include <QtGui/QPixmap>
-
--#include "lib/connection.h"
--#include "lib/room.h"
--#include "lib/user.h"
-+#include <connection.h>
-+#include <room.h>
-+#include <user.h>
-
-
- UserListModel::UserListModel(QObject* parent)
-diff --git a/client/networkconfigdialog.cpp b/client/networkconfigdialog.cpp
-index 64006db..2b32e28 100644
---- a/client/networkconfigdialog.cpp
-+++ b/client/networkconfigdialog.cpp
-@@ -18,7 +18,7 @@
-
- #include "networkconfigdialog.h"
-
--#include "lib/networksettings.h"
-+#include <networksettings.h>
-
- #include <QtGui/QIntValidator>
- #include <QtWidgets/QGroupBox>
-diff --git a/client/quaternionconnection.h b/client/quaternionconnection.h
-index 707790b..b421ef0 100644
---- a/client/quaternionconnection.h
-+++ b/client/quaternionconnection.h
-@@ -19,7 +19,7 @@
-
- #pragma once
-
--#include "lib/connection.h"
-+#include <connection.h>
-
- class QuaternionConnection: public QMatrixClient::Connection
- {
-diff --git a/client/quaternionroom.cpp b/client/quaternionroom.cpp
-index c156283..ae38009 100644
---- a/client/quaternionroom.cpp
-+++ b/client/quaternionroom.cpp
-@@ -19,8 +19,8 @@
-
- #include "quaternionroom.h"
-
--#include "lib/user.h"
--#include "lib/events/roommessageevent.h"
-+#include <user.h>
-+#include <events/roommessageevent.h>
-
- using namespace QMatrixClient;
-
-diff --git a/client/quaternionroom.h b/client/quaternionroom.h
-index f7ab255..46410cb 100644
---- a/client/quaternionroom.h
-+++ b/client/quaternionroom.h
-@@ -19,7 +19,7 @@
-
- #pragma once
-
--#include "lib/room.h"
-+#include <room.h>
-
- class QuaternionRoom: public QMatrixClient::Room
- {
-diff --git a/client/roomdialogs.cpp b/client/roomdialogs.cpp
-index 1de2d48..0d75ea9 100644
---- a/client/roomdialogs.cpp
-+++ b/client/roomdialogs.cpp
-@@ -19,10 +19,10 @@
- #include "roomdialogs.h"
-
- #include "quaternionroom.h"
--#include "lib/user.h"
--#include "lib/connection.h"
--#include "lib/csapi/create_room.h"
--#include "lib/logging.h"
-+#include <user.h>
-+#include <connection.h>
-+#include <csapi/create_room.h>
-+#include <logging.h>
-
- #include <QtWidgets/QComboBox>
- #include <QtWidgets/QLineEdit>
-diff --git a/client/roomlistdock.cpp b/client/roomlistdock.cpp
-index 3486382..6b61210 100644
---- a/client/roomlistdock.cpp
-+++ b/client/roomlistdock.cpp
-@@ -26,7 +26,7 @@
-
- #include "models/roomlistmodel.h"
- #include "quaternionroom.h"
--#include "lib/connection.h"
-+#include <connection.h>
-
- class RoomListItemDelegate : public QStyledItemDelegate
- {
-diff --git a/client/systemtrayicon.cpp b/client/systemtrayicon.cpp
-index 5da7684..deaaee7 100644
---- a/client/systemtrayicon.cpp
-+++ b/client/systemtrayicon.cpp
-@@ -21,7 +21,7 @@
-
- #include "mainwindow.h"
- #include "quaternionroom.h"
--#include "lib/settings.h"
-+#include <settings.h>
-
- SystemTrayIcon::SystemTrayIcon(MainWindow* parent)
- : QSystemTrayIcon(parent)
-diff --git a/client/userlistdock.cpp b/client/userlistdock.cpp
-index 76039ac..4cb0c32 100644
---- a/client/userlistdock.cpp
-+++ b/client/userlistdock.cpp
-@@ -23,9 +23,9 @@
- #include <QtWidgets/QHeaderView>
- #include <QtWidgets/QMenu>
-
--#include "lib/connection.h"
--#include "lib/room.h"
--#include "lib/user.h"
-+#include <connection.h>
-+#include <room.h>
-+#include <user.h>
- #include "models/userlistmodel.h"
-
- UserListDock::UserListDock(QWidget* parent)
diff --git a/user/quaternion/unbundle-lib2.patch b/user/quaternion/unbundle-lib2.patch
deleted file mode 100644
index 5b3b4d2f6..000000000
--- a/user/quaternion/unbundle-lib2.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- Quaternion-0.0.9.2/CMakeLists.txt.old 2018-06-17 01:05:02.000000000 +0000
-+++ Quaternion-0.0.9.2/CMakeLists.txt 2018-07-25 05:15:28.550000000 +0000
-@@ -43,8 +43,10 @@
- endif()
- get_filename_component(Qt5_Prefix "${Qt5_DIR}/../../../.." ABSOLUTE)
-
--add_subdirectory(lib)
--include_directories(lib)
-+if (NOT USE_DYNAMIC_LIB)
-+ add_subdirectory(lib)
-+ include_directories(lib)
-+endif()
-
- message( STATUS )
- message( STATUS "=============================================================================" )