mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-04-24 23:47:20 +00:00
release 3.3.3
This commit is contained in:
parent
707fa727c5
commit
081f7a3c88
12
.docker/Dockerfile-ubuntu-amd64
Normal file
12
.docker/Dockerfile-ubuntu-amd64
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
FROM multiarch/ubuntu-core:amd64-xenial
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
# toolchain
|
||||||
|
RUN apt-get install -y cmake extra-cmake-modules g++ git gettext
|
||||||
|
# kf5 and qt5 libraries
|
||||||
|
RUN apt-get install -y libkf5i18n-dev libkf5notifications-dev libkf5service-dev \
|
||||||
|
libkf5windowsystem-dev plasma-framework-dev qtbase5-dev qtdeclarative5-dev \
|
||||||
|
plasma-framework
|
||||||
|
|
||||||
|
# required by tests
|
||||||
|
RUN apt-get install -y xvfb
|
@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:16.04
|
FROM multiarch/ubuntu-core:i386-xenial
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
# toolchain
|
# toolchain
|
16
.docker/build-ubuntu-package.sh
Executable file
16
.docker/build-ubuntu-package.sh
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
rm -rf build-ubuntu
|
||||||
|
mkdir build-ubuntu
|
||||||
|
|
||||||
|
# patches
|
||||||
|
git apply patches/qt5.6-qversionnumber.patch
|
||||||
|
git apply patches/qt5.5-qstringlist-and-qinfo.patch
|
||||||
|
|
||||||
|
# build
|
||||||
|
cd build-ubuntu
|
||||||
|
cmake -DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DCMAKE_BUILD_TYPE=Optimization -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_FUTURE=ON -DBUILD_DEB_PACKAGE=ON ../sources
|
||||||
|
make package
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
Ver.3.3.3:
|
||||||
|
+ add custom keys support (#101)
|
||||||
|
* DBus interface improvements
|
||||||
|
* rename tags (up|down|ps)total.* to (up|down|ps)tot.*
|
||||||
|
- fix issue with invalid (up|down)total($|kb) calculation (#127)
|
||||||
|
- fix issue with wrong applet identation (#125)
|
||||||
|
|
||||||
Ver.3.3.2:
|
Ver.3.3.2:
|
||||||
- fix bug with invalid DP colour configuration
|
- fix bug with invalid DP colour configuration
|
||||||
- fix bug with invalid HTML tags operation
|
- fix bug with invalid HTML tags operation
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgname=plasma5-applet-awesome-widgets
|
pkgname=plasma5-applet-awesome-widgets
|
||||||
_pkgname=awesome-widgets
|
_pkgname=awesome-widgets
|
||||||
pkgver=3.3.2
|
pkgver=3.3.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=('490c62c8085e532f9428f7534eff5ddd')
|
md5sums=('ce2413868cbb230e358e75a15975a1e5')
|
||||||
backup=('etc/xdg/plasma-dataengine-extsysmon.conf')
|
backup=('etc/xdg/plasma-dataengine-extsysmon.conf')
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
diff --git a/sources/extsysmonsources/playersource.cpp b/sources/extsysmonsources/playersource.cpp
|
|
||||||
index b8a0ec1..17d90bc 100644
|
|
||||||
--- a/sources/extsysmonsources/playersource.cpp
|
|
||||||
+++ b/sources/extsysmonsources/playersource.cpp
|
|
||||||
@@ -73,8 +73,10 @@ QString PlayerSource::getAutoMpris() const
|
|
||||||
{
|
|
||||||
QDBusMessage listServices = QDBusConnection::sessionBus().interface()->call(
|
|
||||||
QDBus::BlockWithGui, "ListNames");
|
|
||||||
- if (listServices.arguments().isEmpty())
|
|
||||||
+ if (listServices.arguments().isEmpty()) {
|
|
||||||
+ qCWarning(LOG_ESS) << "Could not find any DBus service";
|
|
||||||
return "";
|
|
||||||
+ }
|
|
||||||
QStringList arguments = listServices.arguments().first().toStringList();
|
|
||||||
|
|
||||||
for (auto &arg : arguments) {
|
|
||||||
@@ -353,7 +355,7 @@ QVariantHash PlayerSource::getPlayerMprisInfo(const QString &_mpris) const
|
|
||||||
= QVariantList({"org.mpris.MediaPlayer2.Player", "Metadata"});
|
|
||||||
QDBusMessage request = QDBusMessage::createMethodCall(
|
|
||||||
QString("org.mpris.MediaPlayer2.%1").arg(_mpris),
|
|
||||||
- "/org/mpris/MediaPlayer2", "", "Get");
|
|
||||||
+ "/org/mpris/MediaPlayer2", "org.freedesktop.DBus.Properties", "Get");
|
|
||||||
request.setArguments(args);
|
|
||||||
QDBusMessage response
|
|
||||||
= bus.call(request, QDBus::BlockWithGui, REQUEST_TIMEOUT);
|
|
@ -1,14 +1,15 @@
|
|||||||
diff --git a/sources/awdebug.h b/sources/awdebug.h
|
diff --git a/sources/awdebug.h b/sources/awdebug.h
|
||||||
index 8447c65..9f8e298 100644
|
index 8447c65..4eef49a 100644
|
||||||
--- a/sources/awdebug.h
|
--- a/sources/awdebug.h
|
||||||
+++ b/sources/awdebug.h
|
+++ b/sources/awdebug.h
|
||||||
@@ -23,10 +23,14 @@
|
@@ -23,10 +23,15 @@
|
||||||
|
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
+#ifndef qCInfo
|
+#ifndef qCInfo
|
||||||
+#define qCInfo qCDebug
|
+#define qCInfo qCDebug
|
||||||
+#endif
|
+#endif
|
||||||
|
+
|
||||||
+
|
+
|
||||||
namespace AWDebug
|
namespace AWDebug
|
||||||
{
|
{
|
||||||
@ -19,7 +20,7 @@ index 8447c65..9f8e298 100644
|
|||||||
"fatal}FF%{endif}][%{category}][%{function}] "
|
"fatal}FF%{endif}][%{category}][%{function}] "
|
||||||
"%{message}";
|
"%{message}";
|
||||||
diff --git a/sources/awesome-widget/plugin/awkeysaggregator.h b/sources/awesome-widget/plugin/awkeysaggregator.h
|
diff --git a/sources/awesome-widget/plugin/awkeysaggregator.h b/sources/awesome-widget/plugin/awkeysaggregator.h
|
||||||
index d29672e..f15a729 100644
|
index d6d5d1a..ee301df 100644
|
||||||
--- a/sources/awesome-widget/plugin/awkeysaggregator.h
|
--- a/sources/awesome-widget/plugin/awkeysaggregator.h
|
||||||
+++ b/sources/awesome-widget/plugin/awkeysaggregator.h
|
+++ b/sources/awesome-widget/plugin/awkeysaggregator.h
|
||||||
@@ -21,6 +21,7 @@
|
@@ -21,6 +21,7 @@
|
||||||
@ -28,5 +29,5 @@ index d29672e..f15a729 100644
|
|||||||
#include <QObject>
|
#include <QObject>
|
||||||
+#include <QStringList>
|
+#include <QStringList>
|
||||||
|
|
||||||
#include "version.h"
|
|
||||||
|
|
||||||
|
class AWFormatterHelper;
|
||||||
|
@ -15,7 +15,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 "3")
|
set(PROJECT_VERSION_MINOR "3")
|
||||||
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 "")
|
||||||
|
@ -20,7 +20,7 @@ X-Plasma-RemoteLocation=
|
|||||||
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.3.2
|
X-KDE-PluginInfo-Version=3.3.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=
|
||||||
|
@ -20,7 +20,7 @@ X-Plasma-RemoteLocation=
|
|||||||
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.3.2
|
X-KDE-PluginInfo-Version=3.3.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