mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 15:37:23 +00:00
Release 3.4.3
compilation fixes for old ubuntu and provide patch for old qt versions
This commit is contained in:
parent
883659272d
commit
de9d90df4a
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgname=plasma5-applet-awesome-widgets
|
pkgname=plasma5-applet-awesome-widgets
|
||||||
_pkgname=awesome-widgets
|
_pkgname=awesome-widgets
|
||||||
pkgver=3.4.2
|
pkgver=3.4.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Collection of minimalistic Plasmoids which look like Awesome WM widgets (ex-PyTextMonitor)"
|
pkgdesc="Collection of minimalistic Plasmoids which look like Awesome WM widgets (ex-PyTextMonitor)"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
@ -17,7 +17,7 @@ optdepends=("catalyst: for GPU monitor"
|
|||||||
makedepends=('cmake' 'extra-cmake-modules' 'python')
|
makedepends=('cmake' 'extra-cmake-modules' 'python')
|
||||||
source=(https://github.com/arcan1s/awesome-widgets/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
|
source=(https://github.com/arcan1s/awesome-widgets/releases/download/V.${pkgver}/${_pkgname}-${pkgver}-src.tar.xz)
|
||||||
install=${pkgname}.install
|
install=${pkgname}.install
|
||||||
md5sums=('df3ad1c626fdc1893f0f6e0b0fe636c2')
|
md5sums=('5953ba518191bb6fff83cdb8633c735c')
|
||||||
backup=('etc/xdg/plasma-dataengine-extsysmon.conf')
|
backup=('etc/xdg/plasma-dataengine-extsysmon.conf')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -1,16 +1,3 @@
|
|||||||
diff --git a/.docker/build-ubuntu.sh b/.docker/build-ubuntu.sh
|
|
||||||
index 9b5e97a..b953425 100755
|
|
||||||
--- a/.docker/build-ubuntu.sh
|
|
||||||
+++ b/.docker/build-ubuntu.sh
|
|
||||||
@@ -6,7 +6,7 @@ rm -rf build-ubuntu
|
|
||||||
mkdir build-ubuntu
|
|
||||||
|
|
||||||
# patches
|
|
||||||
-git apply patches/qt5.14-splitbehavior-and-qset.patch
|
|
||||||
+#git apply patches/qt5.14-splitbehavior-and-qset.patch
|
|
||||||
|
|
||||||
# build
|
|
||||||
cd build-ubuntu
|
|
||||||
diff --git a/sources/awdebug.cpp b/sources/awdebug.cpp
|
diff --git a/sources/awdebug.cpp b/sources/awdebug.cpp
|
||||||
index 7135db6..a2870ec 100644
|
index 7135db6..a2870ec 100644
|
||||||
--- a/sources/awdebug.cpp
|
--- a/sources/awdebug.cpp
|
||||||
@ -253,3 +240,16 @@ index aaca22f..e127a05 100644
|
|||||||
// there are one more time...
|
// there are one more time...
|
||||||
if ((metadata == "time") && (data.contains(':'))) {
|
if ((metadata == "time") && (data.contains(':'))) {
|
||||||
QStringList times = data.split(':');
|
QStringList times = data.split(':');
|
||||||
|
diff --git a/sources/test/testawtelemetryhandler.cpp b/sources/test/testawtelemetryhandler.cpp
|
||||||
|
index ffb0e79..b4181e0 100644
|
||||||
|
--- a/sources/test/testawtelemetryhandler.cpp
|
||||||
|
+++ b/sources/test/testawtelemetryhandler.cpp
|
||||||
|
@@ -51,7 +51,7 @@ void TestAWTelemetryHandler::test_get()
|
||||||
|
QStringList output = plugin->get(telemetryGroup);
|
||||||
|
|
||||||
|
QVERIFY(!output.isEmpty());
|
||||||
|
- QCOMPARE(QSet<QString>(output.cbegin(), output.cend()).count(), output.count());
|
||||||
|
+ QCOMPARE(QSet<QString>::fromList(output).count(), output.count());
|
||||||
|
QVERIFY(output.contains(telemetryData));
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ set(PROJECT_CONTACT "esalexeev@gmail.com")
|
|||||||
set(PROJECT_LICENSE "GPL3")
|
set(PROJECT_LICENSE "GPL3")
|
||||||
set(PROJECT_VERSION_MAJOR "3")
|
set(PROJECT_VERSION_MAJOR "3")
|
||||||
set(PROJECT_VERSION_MINOR "4")
|
set(PROJECT_VERSION_MINOR "4")
|
||||||
set(PROJECT_VERSION_PATCH "2")
|
set(PROJECT_VERSION_PATCH "3")
|
||||||
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
|
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
|
||||||
# append git version if any
|
# append git version if any
|
||||||
set(PROJECT_COMMIT_SHA "Commit hash" CACHE INTERNAL "")
|
set(PROJECT_COMMIT_SHA "Commit hash" CACHE INTERNAL "")
|
||||||
|
@ -19,7 +19,7 @@ X-Plasma-MainScript=ui/main.qml
|
|||||||
X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis
|
X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis
|
||||||
X-KDE-PluginInfo-Email=esalexeev@gmail.com
|
X-KDE-PluginInfo-Email=esalexeev@gmail.com
|
||||||
X-KDE-PluginInfo-Name=org.kde.plasma.awesomewidget
|
X-KDE-PluginInfo-Name=org.kde.plasma.awesomewidget
|
||||||
X-KDE-PluginInfo-Version=3.4.2
|
X-KDE-PluginInfo-Version=3.4.3
|
||||||
X-KDE-PluginInfo-Website=https://arcanis.me/projects/awesome-widgets/
|
X-KDE-PluginInfo-Website=https://arcanis.me/projects/awesome-widgets/
|
||||||
X-KDE-PluginInfo-Category=System Information
|
X-KDE-PluginInfo-Category=System Information
|
||||||
X-KDE-PluginInfo-Depends=
|
X-KDE-PluginInfo-Depends=
|
||||||
|
@ -19,7 +19,7 @@ X-Plasma-MainScript=ui/main.qml
|
|||||||
X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis
|
X-KDE-PluginInfo-Author=Evgeniy Alekseev aka arcanis
|
||||||
X-KDE-PluginInfo-Email=esalexeev@gmail.com
|
X-KDE-PluginInfo-Email=esalexeev@gmail.com
|
||||||
X-KDE-PluginInfo-Name=org.kde.plasma.desktoppanel
|
X-KDE-PluginInfo-Name=org.kde.plasma.desktoppanel
|
||||||
X-KDE-PluginInfo-Version=3.4.2
|
X-KDE-PluginInfo-Version=3.4.3
|
||||||
X-KDE-PluginInfo-Website=https://arcanis.me/projects/awesome-widgets/
|
X-KDE-PluginInfo-Website=https://arcanis.me/projects/awesome-widgets/
|
||||||
X-KDE-PluginInfo-Category=System Information
|
X-KDE-PluginInfo-Category=System Information
|
||||||
X-KDE-PluginInfo-Depends=
|
X-KDE-PluginInfo-Depends=
|
||||||
|
Loading…
Reference in New Issue
Block a user