[arch-commits] Commit in lxqt-panel/repos (3 files)

Chih-Hsuan Yen yan12125 at archlinux.org
Fri Apr 16 14:31:09 UTC 2021


    Date: Friday, April 16, 2021 @ 14:31:08
  Author: yan12125
Revision: 919478

archrelease: copy trunk to community-testing-x86_64

Added:
  lxqt-panel/repos/community-testing-x86_64/
  lxqt-panel/repos/community-testing-x86_64/FS70386.patch
    (from rev 919477, lxqt-panel/trunk/FS70386.patch)
  lxqt-panel/repos/community-testing-x86_64/PKGBUILD
    (from rev 919477, lxqt-panel/trunk/PKGBUILD)

---------------+
 FS70386.patch |   28 ++++++++++++++++++++++++++++
 PKGBUILD      |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: lxqt-panel/repos/community-testing-x86_64/FS70386.patch (from rev 919477, lxqt-panel/trunk/FS70386.patch)
===================================================================
--- community-testing-x86_64/FS70386.patch	                        (rev 0)
+++ community-testing-x86_64/FS70386.patch	2021-04-16 14:31:08 UTC (rev 919478)
@@ -0,0 +1,28 @@
+From 4c674608aaaac73d9333f869941a56b28fc47d22 Mon Sep 17 00:00:00 2001
+From: tsujan <tsujan2000 at gmail.com>
+Date: Sat, 10 Apr 2021 17:39:47 +0430
+Subject: [PATCH] Check pressed mouse buttons before closing grouped task popup
+ (#1601)
+
+The lack of checking didn't have an effect with the official Qt releases but it causes a bug with the latest official patches. Logically, the pressed mouse buttons should have always been checked.
+
+Closes https://github.com/lxqt/lxqt-panel/issues/1600
+---
+ CHANGELOG                        | 1 +
+ plugin-taskbar/lxqttaskgroup.cpp | 3 ++-
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/plugin-taskbar/lxqttaskgroup.cpp b/plugin-taskbar/lxqttaskgroup.cpp
+index 7f2367ce1..f1db0f179 100644
+--- a/plugin-taskbar/lxqttaskgroup.cpp
++++ b/plugin-taskbar/lxqttaskgroup.cpp
+@@ -576,7 +576,8 @@ void LXQtTaskGroup::dragLeaveEvent(QDragLeaveEvent *event)
+ void LXQtTaskGroup::mouseMoveEvent(QMouseEvent* event)
+ {
+     // if dragging the taskgroup, do not show the popup
+-    setPopupVisible(false, true);
++    if (event->buttons() & Qt::LeftButton)
++        setPopupVisible(false, true);
+     LXQtTaskButton::mouseMoveEvent(event);
+ }
+ 

Copied: lxqt-panel/repos/community-testing-x86_64/PKGBUILD (from rev 919477, lxqt-panel/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-04-16 14:31:08 UTC (rev 919478)
@@ -0,0 +1,48 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=lxqt-panel
+pkgver=0.17.1
+pkgrel=1
+pkgdesc="The LXQt desktop panel"
+arch=("x86_64")
+groups=("lxqt")
+url="https://github.com/lxqt/$pkgname"
+license=("LGPL2.1")
+depends=(
+	"libdbusmenu-qt5" "libxcomposite" "lxmenu-data"
+	"lxqt-globalkeys" "solid" "libxcb" "libQt5Xdg.so"
+)
+optdepends=(
+	"libpulse: Volume control plugin"
+	"alsa-lib: Volume control plugin"
+	"libstatgrab: CPU monitor and Network monitor plugins"
+	"libsysstat: System Statistics plugin"
+	"lm_sensors: Sensors plugin"
+)
+makedepends=(
+	"lxqt-build-tools" "liblxqt" "libpulse" "libstatgrab" "libsysstat"
+	"lm_sensors" "libxdamage" "alsa-lib"
+)
+source=(
+	"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz"{,.asc}
+)
+sha256sums=('1830fb5a595495176eed61cb0fc9d5535e3954ed6b8f04a741a4295883764ccc'
+            'SKIP')
+validpgpkeys=(
+	"169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche <jerome at leclan.ch>
+	"7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida <agaida at siduction.org>
+	"19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang <tsujan2000 at gmail.com>
+)
+
+build() {
+	cmake -B build -S "$srcdir/$pkgname-$pkgver" \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_BUILD_TYPE=None
+	make -C build
+}
+
+package() {
+	cd build
+	make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list