commit plasmoid-active-window-control for openSUSE:Factory
Hello community, here is the log from the commit of package plasmoid-active-window-control for openSUSE:Factory checked in at 2018-11-20 22:44:10 Comparing /work/SRC/openSUSE:Factory/plasmoid-active-window-control (Old) and /work/SRC/openSUSE:Factory/.plasmoid-active-window-control.new.19453 (New) Package is "plasmoid-active-window-control" Tue Nov 20 22:44:10 2018 rev:6 rq:650511 version:1.7.3+git20181024.bb680e8 Changes: --- /work/SRC/openSUSE:Factory/plasmoid-active-window-control/plasmoid-active-window-control.changes 2018-09-03 10:36:43.236920291 +0200 +++ /work/SRC/openSUSE:Factory/.plasmoid-active-window-control.new.19453/plasmoid-active-window-control.changes 2018-11-20 22:45:02.574223747 +0100 @@ -1,0 +2,34 @@ +Mon Nov 19 09:40:29 UTC 2018 - Cor Blom + +- Add fix-appmenu.patch to fix lyx menus (kde#399975) + +--- +Sun Nov 11 21:31:25 UTC 2018 - Cor Blom + +- Git does not have README.md and the license file is called COPYING + +--- +Sun Nov 11 21:24:46 UTC 2018 - Cor Blom + +- Remove reference to translations: git version does not have them + +--- +Sun Nov 11 21:17:02 UTC 2018 - Cor Blom + +- Update to git (released version was not working for some time without + patches) +- Remove upstream patches: + * plasma-512.patch + * fix-space-title-appmenu.patch + * fix-activating-appmenu.patch + * 001-hide-emtpy-buttons.patch + * 002-update-libddbusmenuqt.patch + +--- +Tue Nov 6 08:05:03 UTC 2018 - Cor Blom + +- Add 001-hide-emtpy-buttons.patch to fix empty gtk buttons +- Add 002-update-libddbusmenuqt.patch to update libdebusmenuqt to sync + with global menu plasmoid + +--- Old: fix-activating-appmenu.patch fix-space-title-appmenu.patch plasma-512.patch plasma-applet-active-window-control-1.7.3.tar.gz New: _service _servicedata fix-appmenu.patch plasma-applet-active-window-control-1.7.3+git20181024.bb680e8.tar.gz Other differences: -- ++ plasmoid-active-window-control.spec ++ --- /var/tmp/diff_new_pack.utIrMs/_old 2018-11-20 22:45:03.426223417 +0100 +++ /var/tmp/diff_new_pack.utIrMs/_new 2018-11-20 22:45:03.438223412 +0100 @@ -12,26 +12,22 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: plasmoid-active-window-control -Version:1.7.3 +Version:1.7.3+git20181024.bb680e8 Release:0 Summary:Plasma 5 applet for controlling currently active window License:GPL-2.0-only Group: System/GUI/KDE Url:https://github.com/kotelnik/plasma-applet-active-window-control Source: plasma-applet-active-window-control-%{version}.tar.gz -# FIX-UPSTREAM_PATCH: make it work with Plasma 5.11.95 -Patch0: plasma-512.patch -# FIX-UPSTREAM_PATCH:: Fix inconsistent space between title and appmenu -Patch1: fix-space-title-appmenu.patch -# FIX-UPSTREAM_PATCH: Fix proper enabling & diabling appmenu -Patch2: fix-activating-appmenu.patch # PATCH-FIX-OPENSUSE qdbus is libqt4, use qdbus-qt5 -Patch3: use-qdbus-qt5.diff +Patch0: use-qdbus-qt5.diff +# PATCH-FIX-UPSTREAM: fix for lyx menus (kde#399975) +Patch1: fix-appmenu.patch BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: kconfig-devel @@ -60,10 +56,7 @@ %prep %setup -q -n plasma-applet-active-window-control-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%autopatch -p1 %build %cmake_kf5 -d build @@ -72,12 +65,10 @@ %install %kf5_makeinstall -C build %fdupes -s %{buildroot} -%find_lang plasma_applet_org.kde.activeWindowControl %{name}.lang -%files -f %{name}.lang +%files %defattr(-,root,root) -%doc README.md -%doc LICENSE +%license COPYING %{_libdir}/qt5/qml %{_kf5_plugindir}/ %{_kf5_plasmadir}/ ++ _service ++ 1.7.3+git%cd.%h git://anongit.kde.org/plasma-active-window-control git plasma-applet-active-window-control *.tar gz ++ _servicedata ++ git://anongit.kde.org/plasma-active-window-control bb680e8dbfc2164b317255b22a300284fc04f365++ fix-activating-appmenu.patch -> fix-appmenu.patch ++ ---
commit plasmoid-active-window-control for openSUSE:Factory
Hello community, here is the log from the commit of package plasmoid-active-window-control for openSUSE:Factory checked in at 2018-09-03 10:36:40 Comparing /work/SRC/openSUSE:Factory/plasmoid-active-window-control (Old) and /work/SRC/openSUSE:Factory/.plasmoid-active-window-control.new (New) Package is "plasmoid-active-window-control" Mon Sep 3 10:36:40 2018 rev:5 rq:632761 version:1.7.3 Changes: --- /work/SRC/openSUSE:Factory/plasmoid-active-window-control/plasmoid-active-window-control.changes 2018-02-28 20:02:41.092065833 +0100 +++ /work/SRC/openSUSE:Factory/.plasmoid-active-window-control.new/plasmoid-active-window-control.changes 2018-09-03 10:36:43.236920291 +0200 @@ -1,0 +2,7 @@ +Tue Aug 14 18:27:19 UTC 2018 - corne...@solcon.nl + +- Add use-qdbus-qt5.diff patch to use Qt5 version of qdbus, so that the + command also works (for presenting windows) when libqt4 is not + installed. + +--- New: use-qdbus-qt5.diff Other differences: -- ++ plasmoid-active-window-control.spec ++ --- /var/tmp/diff_new_pack.zhYb7v/_old 2018-09-03 10:36:43.756921636 +0200 +++ /var/tmp/diff_new_pack.zhYb7v/_new 2018-09-03 10:36:43.760921647 +0200 @@ -30,6 +30,8 @@ Patch1: fix-space-title-appmenu.patch # FIX-UPSTREAM_PATCH: Fix proper enabling & diabling appmenu Patch2: fix-activating-appmenu.patch +# PATCH-FIX-OPENSUSE qdbus is libqt4, use qdbus-qt5 +Patch3: use-qdbus-qt5.diff BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: kconfig-devel @@ -61,6 +63,7 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build %cmake_kf5 -d build ++ use-qdbus-qt5.diff ++ diff -ur a/package/contents/ui/config/ConfigAppearance.qml b/package/contents/ui/config/ConfigAppearance.qml --- a/package/contents/ui/config/ConfigAppearance.qml 2017-06-08 17:24:42.0 +0200 +++ b/package/contents/ui/config/ConfigAppearance.qml 2018-08-14 20:23:40.297936920 +0200 @@ -37,7 +37,7 @@ property string cmdBorderlessRead: 'kreadconfig5 --file kwinrc --group Windows --key BorderlessMaximizedWindows' property string cmdBorderlessWrite: 'kwriteconfig5 --file kwinrc --group Windows --key BorderlessMaximizedWindows --type bool {borderless}' -property string cmdReconfigure: 'qdbus org.kde.KWin /KWin reconfigure' +property string cmdReconfigure: 'qdbus-qt5 org.kde.KWin /KWin reconfigure' connectedSources: [] diff -ur a/package/contents/ui/main.qml b/package/contents/ui/main.qml --- a/package/contents/ui/main.qml 2017-06-08 17:24:42.0 +0200 +++ b/package/contents/ui/main.qml 2018-08-14 20:22:48.445084220 +0200 @@ -531,9 +531,9 @@ id: shortcutDS engine: 'executable' -property string presentWindows: 'qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "Expose"' -property string presentWindowsAll: 'qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "ExposeAll"' -property string presentWindowsClass: 'qdbus org.kde.kglobalaccel /component/kwin invokeShortcut "ExposeClass"' +property string presentWindows: 'qdbus-qt5 org.kde.kglobalaccel /component/kwin invokeShortcut "Expose"' +property string presentWindowsAll: 'qdbus-qt5 org.kde.kglobalaccel /component/kwin invokeShortcut "ExposeAll"' +property string presentWindowsClass: 'qdbus-qt5 org.kde.kglobalaccel /component/kwin invokeShortcut "ExposeClass"' connectedSources: []
commit plasmoid-active-window-control for openSUSE:Factory
Hello community, here is the log from the commit of package plasmoid-active-window-control for openSUSE:Factory checked in at 2018-02-28 20:02:39 Comparing /work/SRC/openSUSE:Factory/plasmoid-active-window-control (Old) and /work/SRC/openSUSE:Factory/.plasmoid-active-window-control.new (New) Package is "plasmoid-active-window-control" Wed Feb 28 20:02:39 2018 rev:4 rq:580769 version:1.7.3 Changes: --- /work/SRC/openSUSE:Factory/plasmoid-active-window-control/plasmoid-active-window-control.changes 2018-02-25 11:53:08.603146806 +0100 +++ /work/SRC/openSUSE:Factory/.plasmoid-active-window-control.new/plasmoid-active-window-control.changes 2018-02-28 20:02:41.092065833 +0100 @@ -1,0 +2,7 @@ +Tue Feb 27 18:40:54 UTC 2018 - corne...@solcon.nl + +- Add fix-activating-appmenu.patch: Do not register to appmenu + service on creation of the applet. Instead register only when + appmenu is actually enabled. Unregister when disabled. + +--- New: fix-activating-appmenu.patch Other differences: -- ++ plasmoid-active-window-control.spec ++ --- /var/tmp/diff_new_pack.h4UB3k/_old 2018-02-28 20:02:41.932035441 +0100 +++ /var/tmp/diff_new_pack.h4UB3k/_new 2018-02-28 20:02:41.936035295 +0100 @@ -20,7 +20,7 @@ Version:1.7.3 Release:0 Summary:Plasma 5 applet for controlling currently active window -License:GPL-2.0 +License:GPL-2.0-only Group: System/GUI/KDE Url:https://github.com/kotelnik/plasma-applet-active-window-control Source: plasma-applet-active-window-control-%{version}.tar.gz @@ -28,6 +28,8 @@ Patch0: plasma-512.patch # FIX-UPSTREAM_PATCH:: Fix inconsistent space between title and appmenu Patch1: fix-space-title-appmenu.patch +# FIX-UPSTREAM_PATCH: Fix proper enabling & diabling appmenu +Patch2: fix-activating-appmenu.patch BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: kconfig-devel @@ -58,6 +60,7 @@ %setup -q -n plasma-applet-active-window-control-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build %cmake_kf5 -d build ++ fix-activating-appmenu.patch ++ >From 933ab3d9d83124124ce3a91ffa32a506e7e6bb4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kostoln=C3=BD?=Date: Sun, 28 Jan 2018 23:31:08 +0100 Subject: [PATCH] Fix proper enabling & diabling appmenu Do not register to appmenu service on creation of the applet. Instead register only when appmenu is actually enabled. Unregister when disabled. --- lib/appmenuapplet.cpp | 63 ++--- lib/appmenuapplet.h | 13 +++-- package/contents/ui/AppMenu.qml | 4 +++ 3 files changed, 61 insertions(+), 19 deletions(-) diff --git a/lib/appmenuapplet.cpp b/lib/appmenuapplet.cpp index 082ead3..ca66df4 100644 --- a/lib/appmenuapplet.cpp +++ b/lib/appmenuapplet.cpp @@ -42,13 +42,6 @@ static const QString s_viewService(QStringLiteral("org.kde.kappmenuview")); AppMenuApplet::AppMenuApplet(QObject *parent, const QVariantList ) : Plasma::Applet(parent, data) { -++s_refs; -//if we're the first, regster the service -if (s_refs == 1) { - QDBusConnection::sessionBus().interface()->registerService(s_viewService, -QDBusConnectionInterface::QueueService, -QDBusConnectionInterface::DontAllowReplacement); -} /*it registers or unregisters the service when the destroyed value of the applet change, and not in the dtor, because: when we "delete" an applet, it just hides it for about a minute setting its status @@ -58,17 +51,9 @@ AppMenuApplet::AppMenuApplet(QObject *parent, const QVariantList ) will have to be registered again*/ connect(this, ::destroyedChanged, this, [this](bool destroyed) { if (destroyed) { -//if we were the last, unregister -if (--s_refs == 0) { - QDBusConnection::sessionBus().interface()->unregisterService(s_viewService); -} +unregisterService(); } else { -//if we're the first, regster the service -if (++s_refs == 1) { - QDBusConnection::sessionBus().interface()->registerService(s_viewService, -QDBusConnectionInterface::QueueService, -QDBusConnectionInterface::DontAllowReplacement); -} +registerService(); } }); } @@ -84,6 +69,50 @@ AppMenuModel *AppMenuApplet::model() const return m_model; } +void AppMenuApplet::registerService() +{ +qDebug() << "registering appmenu service"; +++s_refs; +
commit plasmoid-active-window-control for openSUSE:Factory
Hello community, here is the log from the commit of package plasmoid-active-window-control for openSUSE:Factory checked in at 2018-02-25 11:48:19 Comparing /work/SRC/openSUSE:Factory/plasmoid-active-window-control (Old) and /work/SRC/openSUSE:Factory/.plasmoid-active-window-control.new (New) Package is "plasmoid-active-window-control" Sun Feb 25 11:48:19 2018 rev:3 rq:579840 version:1.7.3 Changes: --- /work/SRC/openSUSE:Factory/plasmoid-active-window-control/plasmoid-active-window-control.changes 2018-01-29 15:00:05.631131991 +0100 +++ /work/SRC/openSUSE:Factory/.plasmoid-active-window-control.new/plasmoid-active-window-control.changes 2018-02-25 11:53:08.603146806 +0100 @@ -1,0 +2,11 @@ +Sat Feb 24 21:27:22 UTC 2018 - corne...@solcon.nl + +- Make description more informative + +--- +Sat Feb 24 21:18:35 UTC 2018 - corne...@solcon.nl + +- Add fix-space-title-appmenu.patch to fix inconsistent spacing + title and appmenu + +--- New: fix-space-title-appmenu.patch Other differences: -- ++ plasmoid-active-window-control.spec ++ --- /var/tmp/diff_new_pack.Kw2xty/_old 2018-02-25 11:53:09.395118057 +0100 +++ /var/tmp/diff_new_pack.Kw2xty/_new 2018-02-25 11:53:09.399117912 +0100 @@ -26,6 +26,8 @@ Source: plasma-applet-active-window-control-%{version}.tar.gz # FIX-UPSTREAM_PATCH: make it work with Plasma 5.11.95 Patch0: plasma-512.patch +# FIX-UPSTREAM_PATCH:: Fix inconsistent space between title and appmenu +Patch1: fix-space-title-appmenu.patch BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: kconfig-devel @@ -49,11 +51,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Plasma 5 applet for controlling currently active window +Plasma 5 applet for controlling currently active window. It can integrate the +window titlebar in the panel and has support for a global menu. %prep %setup -q -n plasma-applet-active-window-control-%{version} %patch0 -p1 +%patch1 -p1 %build %cmake_kf5 -d build ++ fix-space-title-appmenu.patch ++ >From 37b3b2c14c20734546ae9014a8c433211b6d8c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kostoln=C3=BD?=Date: Mon, 29 Jan 2018 01:42:00 +0100 Subject: [PATCH] Fix inconsistent space between title and appmenu --- package/contents/ui/AppMenu.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/contents/ui/AppMenu.qml b/package/contents/ui/AppMenu.qml index 36a5ba5..d91c457 100644 --- a/package/contents/ui/AppMenu.qml +++ b/package/contents/ui/AppMenu.qml @@ -37,7 +37,7 @@ Item { property double placementOffsetButtons: appmenuNextToButtons && controlButtonsArea.visible ? controlButtonsArea.width + appmenuSideMargin : 0 property double placementOffset: appmenuNextToIconAndText && appmenuSwitchSidesWithIconAndText -? activeWindowListView.anchors.leftMargin + windowTitleText.anchors.leftMargin + Math.min(windowTitleText.implicitWidth, windowTitleText.width) + appmenuSideMargin +? activeWindowListView.anchors.leftMargin + windowTitleText.anchors.leftMargin + windowTitleText.contentWidth + appmenuSideMargin : placementOffsetButtons anchors.leftMargin: (bp === 1 || bp === 3) ? parent.width - width - placementOffset : placementOffset
commit plasmoid-active-window-control for openSUSE:Factory
Hello community, here is the log from the commit of package plasmoid-active-window-control for openSUSE:Factory checked in at 2018-01-29 14:58:27 Comparing /work/SRC/openSUSE:Factory/plasmoid-active-window-control (Old) and /work/SRC/openSUSE:Factory/.plasmoid-active-window-control.new (New) Package is "plasmoid-active-window-control" Mon Jan 29 14:58:27 2018 rev:2 rq:570365 version:1.7.3 Changes: --- /work/SRC/openSUSE:Factory/plasmoid-active-window-control/plasmoid-active-window-control.changes 2017-06-13 16:08:36.478426961 +0200 +++ /work/SRC/openSUSE:Factory/.plasmoid-active-window-control.new/plasmoid-active-window-control.changes 2018-01-29 15:00:05.631131991 +0100 @@ -1,0 +2,5 @@ +Sun Jan 28 13:49:15 UTC 2018 - corne...@solcon.nl + +- Add plasma-512.patch to make it work with Plasma 5.12 + +--- New: plasma-512.patch Other differences: -- ++ plasmoid-active-window-control.spec ++ --- /var/tmp/diff_new_pack.Nqyny7/_old 2018-01-29 15:00:07.187059296 +0100 +++ /var/tmp/diff_new_pack.Nqyny7/_new 2018-01-29 15:00:07.191059109 +0100 @@ -1,7 +1,7 @@ # # spec file for package plasmoid-active-window-control # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: plasmoid-active-window-control Version:1.7.3 Release:0 @@ -23,8 +24,10 @@ Group: System/GUI/KDE Url:https://github.com/kotelnik/plasma-applet-active-window-control Source: plasma-applet-active-window-control-%{version}.tar.gz -BuildRequires: fdupes +# FIX-UPSTREAM_PATCH: make it work with Plasma 5.11.95 +Patch0: plasma-512.patch BuildRequires: extra-cmake-modules +BuildRequires: fdupes BuildRequires: kconfig-devel BuildRequires: kconfigwidgets-devel BuildRequires: kdeclarative-devel @@ -33,15 +36,15 @@ BuildRequires: ki18n-devel BuildRequires: kwindowsystem-devel BuildRequires: kxmlgui-devel +BuildRequires: libSM-devel BuildRequires: plasma-framework-devel BuildRequires: plasma5-workspace-devel BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5DBus) -BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Quick) BuildRequires: cmake(Qt5QuickWidgets) +BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5X11Extras) -BuildRequires: libSM-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -50,6 +53,7 @@ %prep %setup -q -n plasma-applet-active-window-control-%{version} +%patch0 -p1 %build %cmake_kf5 -d build @@ -69,3 +73,5 @@ %{_kf5_plasmadir}/ %{_kf5_servicesdir}/ %{_datadir}/metainfo + +%changelog ++ plasma-512.patch ++ 902 lines (skipped)