Compare commits

..

No commits in common. 'ubuntu/oracular' and 'ubuntu/lunar' have entirely different histories.

26
debian/changelog vendored

@ -1,29 +1,3 @@
lxqt-panel (1.4.0-0ubuntu2) noble; urgency=medium
* Apply upstream patch fixing a crash on a custom command.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 22 Dec 2023 16:40:34 -0600
lxqt-panel (1.4.0-0ubuntu1) noble; urgency=medium
* New upstream release.
* Fixed copyright file.
* Bumped build dependency versions.
* Added lxqt-menu-data as a build dependency.
* Removed no-longer-existing directory from lxqt-panel.install.
* Move a README file for qeyes-types to the proper documentation directory.
-- Aaron Rainbolt <arraybolt3@gmail.com> Mon, 13 Nov 2023 11:34:09 -0600
lxqt-panel (1.3.0-0ubuntu1) mantic; urgency=medium
* New upstream release.
* Bump build dependencies.
* Fix some build dependencies that were renamed.
* Remove redundant hardening rule.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 11 Aug 2023 12:49:49 -0500
lxqt-panel (1.2.1-1ubuntu1) lunar; urgency=medium
* Merge from Debian Unstable, remaining changes:

13
debian/control vendored

@ -13,13 +13,13 @@ Build-Depends: debhelper-compat (= 13),
libicu-dev,
libkf5solid-dev,
libkf5windowsystem-dev,
liblxqt-globalkeys-ui1-dev (>= 1.4.0),
liblxqt-globalkeys1-dev (>= 1.4.0),
liblxqt1-dev (>= 1.4.0),
liblxqt-globalkeys-ui1-dev (>= 1.2.0),
liblxqt-globalkeys1-dev (>= 1.2.0),
liblxqt1-dev (>= 1.2.0),
libpulse-dev,
libqt5svg5-dev,
libqt5x11extras5-dev,
libsensors-dev [!hurd-any],
libsensors4-dev [!hurd-any],
libstatgrab-dev [linux-any],
libsysstat-qt5-0-dev (>= 0.4.5),
libx11-dev,
@ -28,15 +28,14 @@ Build-Depends: debhelper-compat (= 13),
libxcb-image0-dev,
libxcb-randr0-dev,
libxcb-shm0-dev,
libxcb-util-dev,
libxcb-util0-dev,
libxcb-xkb-dev,
libxcomposite-dev,
libxdamage-dev,
libxkbcommon-dev,
libxkbcommon-x11-dev,
libxrender-dev,
libxtst-dev,
lxqt-menu-data (>= 1.4.0)
libxtst-dev
Standards-Version: 4.6.2
Vcs-Browser: https://git.lubuntu.me/Lubuntu/lxqt-panel-packaging
Vcs-Git: https://git.lubuntu.me/Lubuntu/lxqt-panel-packaging.git

14
debian/copyright vendored

@ -3,8 +3,8 @@ Upstream-Name: lxqt-panel
Source: https://github.com/lxqt/lxqt-panel
Files: *
Copyright: 2010-2013 Razor team
2012-2023 LXQt team
Copyright: 2012-2023 LXQt team
2010-2013 Razor team
License: LGPL-2.1+
Files: panel/lxqtpanelapplication_p.h
@ -12,16 +12,10 @@ Copyright: 2016 Luís Pereira <luis.artur.pereira@gmail.com>
License: LGPL-2.1+
Files: debian/*
Copyright: 2014-2019 Alf Gaida <agaida@siduction.org>
Copyright: 2021-2023 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
2014-2019 Alf Gaida <agaida@siduction.org>
2015-2022 Andrew Lee (李健秋) <ajqlee@debian.org>
2022-2023 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
2015 Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>
2016 Ralf Jung <post@ralfj.de>
2018 Walter Lapchynski <wxl@ubuntu.com>
2020-2021 Raman Sarda <theloudspeaker@lubuntu.me>
2021 apt-ghetto <apt-ghetto@protonmail.com>
2018-2023 Simon Quigley <tsimonq2@ubuntu.com>
2023 Aaron Rainbolt <arraybolt3@gmail.com>
License: LGPL-2.1+
License: LGPL-2.1+

@ -2,6 +2,7 @@ etc/xdg
usr/bin/lxqt-panel
usr/include/lxqt
usr/lib/*/lxqt-panel
usr/share/desktop-directories
usr/share/lxqt/lxqt-panel
usr/share/lxqt/panel.conf
usr/share/lxqt/panel/qeyes-types/

@ -1 +0,0 @@
trim-custom-commands-prevent-crash.patch

@ -1,69 +0,0 @@
Description: LXQtCustomCommand: trim command to remove spaces
This fixes crash when command is made of only whitespace characters.
It's not detected as empty and upon argument split, it tries to access
first element of an empty list.
.
Also trim when saving settings in LXQtCustomCommandConfiguration
so placeholder text shows up on next run
Author: Filippo Gentile <42845724+gfgit@users.noreply.github.com>
Origin: upstream, https://github.com/lxqt/lxqt-panel/pull/1964
Applied-Upstream: bd637abafc9e8e9c7727a89e5d86e0f07f213c23
Last-Update: 2023-12-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/plugin-customcommand/lxqtcustomcommand.cpp
+++ b/plugin-customcommand/lxqtcustomcommand.cpp
@@ -109,7 +109,7 @@ void LXQtCustomCommand::settingsChanged(
mAutoRotate = settings()->value(QStringLiteral("autoRotate"), true).toBool();
mFont = settings()->value(QStringLiteral("font"), QString()).toString(); // the default font should be empty
- mCommand = settings()->value(QStringLiteral("command"), QStringLiteral("echo Configure...")).toString();
+ mCommand = settings()->value(QStringLiteral("command"), QStringLiteral("echo Configure...")).toString().trimmed();
mRunWithBash = settings()->value(QStringLiteral("runWithBash"), true).toBool();
mOutputImage = settings()->value(QStringLiteral("outputImage"), false).toBool();
mRepeat = settings()->value(QStringLiteral("repeat"), true).toBool();
@@ -118,9 +118,9 @@ void LXQtCustomCommand::settingsChanged(
mIcon = settings()->value(QStringLiteral("icon"), QString()).toString();
mText = settings()->value(QStringLiteral("text"), QStringLiteral("%1")).toString();
mMaxWidth = settings()->value(QStringLiteral("maxWidth"), 200).toInt();
- mClick = settings()->value(QStringLiteral("click"), QString()).toString();
- mWheelUp = settings()->value(QStringLiteral("wheelUp"), QString()).toString();
- mWheelDown = settings()->value(QStringLiteral("wheelDown"), QString()).toString();
+ mClick = settings()->value(QStringLiteral("click"), QString()).toString().trimmed();
+ mWheelUp = settings()->value(QStringLiteral("wheelUp"), QString()).toString().trimmed();
+ mWheelDown = settings()->value(QStringLiteral("wheelDown"), QString()).toString().trimmed();
if (oldFont != mFont) {
QFont newFont;
--- a/plugin-customcommand/lxqtcustomcommandconfiguration.cpp
+++ b/plugin-customcommand/lxqtcustomcommandconfiguration.cpp
@@ -108,7 +108,7 @@ void LXQtCustomCommandConfiguration::fon
void LXQtCustomCommandConfiguration::commandPlainTextEditChanged()
{
if (!mLockSettingChanges)
- settings().setValue(QStringLiteral("command"), ui->commandPlainTextEdit->toPlainText());
+ settings().setValue(QStringLiteral("command"), ui->commandPlainTextEdit->toPlainText().trimmed());
}
void LXQtCustomCommandConfiguration::runWithBashCheckBoxChanged(bool runWithBash)
@@ -163,17 +163,17 @@ void LXQtCustomCommandConfiguration::max
void LXQtCustomCommandConfiguration::clickLineEditChanged(QString click)
{
if (!mLockSettingChanges)
- settings().setValue(QStringLiteral("click"), click);
+ settings().setValue(QStringLiteral("click"), click.trimmed());
}
void LXQtCustomCommandConfiguration::wheelUpLineEditChanged(QString wheelUp)
{
if (!mLockSettingChanges)
- settings().setValue(QStringLiteral("wheelUp"), wheelUp);
+ settings().setValue(QStringLiteral("wheelUp"), wheelUp.trimmed());
}
void LXQtCustomCommandConfiguration::wheelDownLineEditChanged(QString wheelDown)
{
if (!mLockSettingChanges)
- settings().setValue(QStringLiteral("wheelDown"), wheelDown);
+ settings().setValue(QStringLiteral("wheelDown"), wheelDown.trimmed());
}

5
debian/rules vendored

@ -2,6 +2,7 @@
# export DH_VERBOSE=1
export LC_ALL=C.UTF-8
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/architecture.mk
@ -18,10 +19,6 @@ endif
%:
dh ${@} --buildsystem cmake
override_dh_installdocs:
dh_installdocs
mv debian/lxqt-panel/usr/share/lxqt/panel/qeyes-types/README debian/lxqt-panel/usr/share/doc/lxqt-panel/README.qeyes-types
override_dh_auto_configure:
dh_auto_configure -- \
-DUPDATE_TRANSLATIONS=OFF \

Loading…
Cancel
Save