Compare commits

...

49 Commits

Author SHA1 Message Date
Simon Quigley 5fd7bd3860 Copy over GTK 3 settings by default (LP: #2047705).
5 months ago
Simon Quigley 61dedca925 Add an upstream patch polishing the autostart UX.
5 months ago
Simon Quigley 7764149c07 Upload to Noble.
7 months ago
Simon Quigley 0d14f33743 Explicitly depend on dbus-bin, since dbus-update-activation-environment is now directly called.
7 months ago
Simon Quigley ebb335dce1 Wraaaaaaaaaaaaaaaaaaaaaaaaaaaap.
7 months ago
Simon Quigley 9812c22b1a Update copyright years.
7 months ago
Simon Quigley ec53f204e2 Bump build dependencies.
7 months ago
Simon Quigley d75689e90e New upstream release.
7 months ago
Thomas Ward bab4903cbb d/control: Fix the comments added in -0ubuntu3 so that dpkg can process them properly. (Hotfix for a FTBFS bug)
8 months ago
Simon Quigley 9f6f42e6a7 Since the LXQt handler is limited in the portals it supports, add KDE and GTK as fallbacks. The GTK fallback needs to be removed once KDE's is better.
8 months ago
Simon Quigley 08293ed15c Add /usr/share/xdg-desktop-portal/lxqt-portals.conf, which makes XDG portalling happy (LP: #2036098).
9 months ago
Simon Quigley e48c0003a6 Upload to Mantic.
10 months ago
Simon Quigley 0952dbc648 Remove reverse-applicable patch.
10 months ago
Simon Quigley 136e3e068c Bump build dependencies.
10 months ago
Simon Quigley 18160cc23e New upstream release.
10 months ago
Aaron Rainbolt ebfe297610 Copyright file overhaul
1 year ago
Aaron Rainbolt 387ff05946 Bumped Standards-Version
1 year ago
Aaron Rainbolt 2ac6f93def Restore debian/watch
1 year ago
Aaron Rainbolt 9fc7532777 Lubuntuify maintainer field
1 year ago
Aaron Rainbolt 5592abceb9 Put the gitignore file back.
1 year ago
Aaron Rainbolt 897e7df462 Sync with archive.
1 year ago
Simon Quigley fc8b2b3896 Upload to Lunar.
1 year ago
Simon Quigley 8837be7937 Change build dependency libprocps-dev -> libproc2-dev.
1 year ago
Steve Langasek c8d4ea2243 No-change rebuild against libprocps2-0
1 year ago
Simon Quigley 8170f60dfa Upload to Lunar.
2 years ago
Simon Quigley 3b1ab5e8da Briefly update copyright.
2 years ago
Simon Quigley 9e83aefe9c Less Rs.
2 years ago
Simon Quigley 72071a4b77 Update the only Lintian override.
2 years ago
Simon Quigley 28bce28f70 Remove reverse-applicable patch.
2 years ago
Simon Quigley 668bc8bd1f Bump build dependencies in debian/control.
2 years ago
Simon Quigley d6b49de89c Lubuntuify the package slightly, to make debhelper happy.
2 years ago
Simon Quigley e9ea0c2e68 Bump Standards-version to 4.6.1, no changes needed.
2 years ago
Simon Quigley 3383b48a9a Fix the watch file, for real this time.
2 years ago
Simon Quigley 99b7ed308c New upstream release.
2 years ago
Simon Quigley d444f92845 Upload to Kinetic.
2 years ago
Simon Quigley 40a627f197 Add upstream patch fixing some bluetooth settings.
2 years ago
Simon Quigley 92bf1fa4f6 Upload to Kinetic.
2 years ago
Simon Quigley 782eb86e43 Remove the old KDM config file, it is no longer shipped upstream.
2 years ago
Simon Quigley 558646a34d Remove old Breaks/Replaces since we're past the LTS.
2 years ago
Simon Quigley 935967c906 Bump build dependencies.
2 years ago
Simon Quigley c3bf07ec49 New upstream release.
2 years ago
apt-ghetto a8d9e619bc New upstream release for lxqt-session
3 years ago
Raman Sarda 35853fd307 New upstream version.
3 years ago
Simon Quigley 8380cbbf1c Upload to Groovy.
4 years ago
Simon Quigley 43fa8317f3 Update LXQt build dependencies.
4 years ago
Simon Quigley be101f2745 Update Standards-version to 4.5.0, no changes needed.
4 years ago
Simon Quigley 3815f1470b Update upstream signing key.
4 years ago
Simon Quigley fc42b81442 New upstream release.
4 years ago
Simon Quigley 889231e0f9 Remove reverse-applicable forward-process-output.patch.
4 years ago

224
debian/changelog vendored

@ -1,3 +1,226 @@
lxqt-session (1.4.0-0ubuntu3) noble; urgency=medium
* Copy over GTK 3 settings by default (LP: #2047705).
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 29 Dec 2023 12:36:24 -0600
lxqt-session (1.4.0-0ubuntu2) noble; urgency=medium
* Add an upstream patch polishing the autostart UX.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 22 Dec 2023 16:32:05 -0600
lxqt-session (1.4.0-0ubuntu1) noble; urgency=medium
* New upstream release.
* Bump build dependencies.
* Update copyright years.
* Wraaaaaaaaaaaaaaaaaaaaaaaaaaaap.
* Explicitly depend on dbus-bin, since dbus-update-activation-
environment is now directly called.
-- Simon Quigley <tsimonq2@ubuntu.com> Sun, 12 Nov 2023 19:06:27 -0600
lxqt-session (1.3.0-0ubuntu4) mantic; urgency=medium
* d/control: Fix the comments added in -0ubuntu3 so that dpkg can
process them properly. (Hotfix for a FTBFS bug)
-- Thomas Ward <teward@ubuntu.com> Sat, 23 Sep 2023 19:37:40 -0400
lxqt-session (1.3.0-0ubuntu3) mantic; urgency=medium
* Since the LXQt handler is limited in the portals it supports, add KDE and
GTK as fallbacks. The GTK fallback needs to be removed once KDE's is
better.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 22 Sep 2023 14:22:41 -0500
lxqt-session (1.3.0-0ubuntu2) mantic; urgency=high
* Add /usr/share/xdg-desktop-portal/lxqt-portals.conf, which makes XDG
portalling happy (LP: #2036098).
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 20 Sep 2023 22:45:49 -0500
lxqt-session (1.3.0-0ubuntu1) mantic; urgency=medium
* New upstream release.
* Bump build dependencies.
* Remove reverse-applicable patch.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 11 Aug 2023 09:51:27 -0500
lxqt-session (1.2.0-3ubuntu2) lunar; urgency=medium
* Lubuntuify the Maintainer field.
* Restore debian/watch to its original state.
* Bumepd Standards-Version to 4.6.2, no changes necessary.
* Overhauled copyright file.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Wed, 15 Mar 2023 12:05:32 -0500
lxqt-session (1.2.0-3ubuntu1) lunar; urgency=low
* Merge from Debian unstable. Remaining changes:
- Ensure all proper paths are added to $XDG_CONFIG_DIRS
-- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 14 Mar 2023 13:30:45 +0100
lxqt-session (1.2.0-3) unstable; urgency=medium
* Merge to unstable.
-- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Fri, 23 Dec 2022 00:31:41 +0800
lxqt-session (1.2.0-2) experimental; urgency=medium
* Add patch to use libproc2.
-- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Sat, 17 Dec 2022 19:10:39 +0800
lxqt-session (1.2.0-1) unstable; urgency=medium
* New upstream release.
* Remove unnecessary patch.
* Add Rules-Requires-Root: no.
* Fix d/lintian-overrides.
* Update d/watch for GitHub.
-- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Sat, 17 Dec 2022 17:28:26 +0800
lxqt-session (1.2.0-0ubuntu4) lunar; urgency=medium
* debian/patches/d1db1c791195f3c0cf148e2be8bd46c5a51ca535.patch:
- Fix build with libproc2
-- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 13 Mar 2023 08:52:34 +0100
lxqt-session (1.2.0-0ubuntu3) lunar; urgency=medium
* Change build dependency libprocps-dev -> libproc2-dev.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 10 Mar 2023 18:13:07 -0800
lxqt-session (1.2.0-0ubuntu2) lunar; urgency=medium
* No-change rebuild against libprocps2-0
-- Steve Langasek <steve.langasek@ubuntu.com> Fri, 10 Mar 2023 23:09:03 +0000
lxqt-session (1.2.0-0ubuntu1) lunar; urgency=medium
* New upstream release.
* Fix the watch file, for real this time.
* Bump Standards-version to 4.6.1, no changes needed.
* Lubuntuify the package slightly, to make debhelper happy.
* Bump build dependencies in debian/control.
* Remove reverse-applicable patch.
* Update the only Lintian override.
* Less Rs.
* Briefly update copyright.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 18 Nov 2022 18:35:56 -0600
lxqt-session (1.1.1-2) unstable; urgency=medium
* Revert previous improper uploaded changes. Reorganize
debian/experimental changes:
* debian/upstream/signing-key.asc: update.
* debian/copyright: update for new upstream changes.
* debian/control: build-deps on libprocps-dev and qtxdg-tools.
* debian/control: update descriptions for lxqt-session-l10n package.
* Added fix-bluetooth-saving-settings.patch: from upstream. See details:
https://github.com/lxqt/lxqt-session/pull/438.
* debian/lxqt-session.install: update for upstream changes.
* debian/lxqt-session-l10n.install: install into
/usr/share/lxqt/translations/lxqt-session.
* debian/rules: set -DPULL_TRANSLATIONS=OFF.
* debian/upstream/metadata: Change Repository-Browser field to
Repository-Browse.
* debian/rules: Remove unnecessary -Wl,--as-needed.
* debian/rules: Drop --fail-missing argument to dh_missing which is now
default in debhelper 13.
* debian/watch: fix uscan error.
-- Andrew Lee (李健秋) <ajqlee@debian.org> Thu, 27 Oct 2022 13:46:17 +0800
lxqt-session (1.1.1-1) experimental; urgency=medium
* New upstream release.
* Bump debhelper compat to 13, no changes needed.
* Bump build dependencies.
* Bump Standards-version to 4.6.1, no changes needed.
* Drop some old Breaks/Replaces.
* Run wrap-and-sort.
* Pull some useful changes from Ubuntu so we can sync.
-- Simon Quigley <tsimonq2@debian.org> Wed, 13 Jul 2022 19:57:58 -0500
lxqt-session (1.1.1-0ubuntu2) kinetic; urgency=medium
* Add upstream patch fixing some bluetooth settings.
-- Simon Quigley <tsimonq2@ubuntu.com> Mon, 06 Jun 2022 16:36:17 -0500
lxqt-session (1.1.1-0ubuntu1) kinetic; urgency=medium
* New upstream release.
- Add qtxdg-tools as a build dependency.
* Bump build dependencies.
* Remove old Breaks/Replaces since we're past the LTS.
* Remove the old KDM config file, it is no longer shipped upstream.
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 01 Jun 2022 16:44:07 -0500
lxqt-session (1.0.1-1) unstable; urgency=medium
* New upstream release
* Bumped Standards-Version to 4.6.0, no changes needed
* Update debian/copyright
-- S. 7 <severusseptimius7@gmail.com> Thu, 25 Nov 2021 18:19:55 +0200
lxqt-session (0.17.1-0ubuntu1) impish; urgency=medium
* New upstream release 0.17.1
* Update debian/control
- Bump Standards-Version to 4.5.1
- Use liblxqt0-dev 0.17.0
- Extend lxqt-session-l10n package description
* Remove etc/xdg/openbox/lxqt-rc.xml from lxqt-session.install
* Update debian/copyright
-- apt-ghetto <apt-ghetto@protonmail.com> Sat, 14 Aug 2021 10:46:02 +0200
lxqt-session (0.16.0-1ubuntu1) hirsute; urgency=medium
* New upstream version.
* Bump debhelper-compat requirement to 12
-- Raman Sarda <theloudspeaker@disroot.org> Mon, 22 Feb 2021 01:23:18 +0530
lxqt-session (0.16.0-1) unstable; urgency=medium
[ Alf Gaida ]
* Switched to gbp
* Bumped Standards-Version to 4.4.0, no changes needed
[ Andrew Lee (李健秋) ]
* New upstream release.
-- Andrew Lee (李健秋) <ajqlee@debian.org> Wed, 06 Jan 2021 18:11:54 +0800
lxqt-session (0.15.0-0ubuntu1) groovy; urgency=medium
* New upstream release.
- Remove reverse-applicable forward-process-output.patch.
- Update upstream signing key.
- Update LXQt build dependencies.
* Update Standards-version to 4.5.0, no changes needed.
-- Simon Quigley <tsimonq2@ubuntu.com> Thu, 04 Jun 2020 14:14:17 -0500
lxqt-session (0.14.1-2ubuntu2) focal; urgency=medium
* Updated rules to match debian unstable.
@ -271,4 +494,3 @@ lxqt-session (0.9.0+20150807-1) unstable; urgency=low
* Initial release (Closes: #747608)
-- ChangZhuo Chen (陳昌倬) <czchen@debian.org> Sat, 12 Sep 2015 00:05:13 +0800

26
debian/control vendored

@ -6,20 +6,23 @@ Uploaders: Alf Gaida <agaida@siduction.org>,
Andrew Lee (李健秋) <ajqlee@debian.org>
Section: x11
Priority: optional
Build-Depends: debhelper-compat (= 12),
Build-Depends: debhelper-compat (= 13),
libkf5windowsystem-dev,
liblxqt0-dev (>= 0.14.1~),
liblxqt1-dev (>= 1.4.0),
libproc2-dev,
libqt5svg5-dev,
libqt5x11extras5-dev,
libudev-dev [linux-any],
libx11-dev,
qtxdg-tools (>= 3.12.0),
xdg-user-dirs
Standards-Version: 4.3.0
Vcs-Browser: https://phab.lubuntu.me/source/lxqt-session/
Vcs-Git: https://phab.lubuntu.me/source/lxqt-session.git
Standards-Version: 4.6.2
Vcs-Browser: https://git.lubuntu.me/Lubuntu/lxqt-session-packaging
Vcs-Git: https://git.lubuntu.me/Lubuntu/lxqt-session-packaging.git
XS-Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/lxqt-session
XS-Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/lxqt-session.git
Homepage: https://github.com/lxqt/lxqt-session
Rules-Requires-Root: no
Package: lxqt-session
Architecture: any
@ -28,7 +31,8 @@ Depends: lxqt-qtplugin,
x11-xkb-utils,
${misc:Depends},
${shlibs:Depends}
Recommends: lxqt-config,
Recommends: dbus-bin,
lxqt-config,
lxqt-notificationd,
lxqt-policykit,
lxqt-powermanagement,
@ -37,10 +41,12 @@ Recommends: lxqt-config,
pcmanfm-qt,
qlipper,
qps [linux-any],
# xdg-desktop-portal-gtk should be removed soon in the future.
xdg-desktop-portal-gtk,
xdg-desktop-portal-kde,
xdg-desktop-portal-lxqt,
xscreensaver | gnome-screensaver | light-locker | i3lock | suckless-tools
Provides: x-session-manager
Breaks: lxqt-common (<< 0.12.0)
Replaces: lxqt-common (<< 0.12.0)
Description: session manager component for LXQt
LXQt is an advanced, easy-to-use, and fast desktop environment based on
Qt technologies. It has been tailored for users who value simplicity,
@ -54,7 +60,7 @@ Architecture: all
Multi-Arch: foreign
Section: localization
Depends: qttranslations5-l10n, ${misc:Depends}
Breaks: lxqt-session (<< 0.11.0)
Replaces: lxqt-session (<< 0.11.0)
Description: Language package for lxqt-session
The l10n files for lxqt-session.
.
This package contains the l10n files needed by lxqt-session.

82
debian/copyright vendored

@ -3,53 +3,29 @@ Upstream-Name: lxqt-session
Source: https://github.com/lxqt/lxqt-session
Files: *
Copyright: 2012-2018 LXQt team
2010-2012 Razor team
Copyright: 2010-2023 LXQt team
2015-2021 Palo Kisa <palo.kisa@gmail.com>
2010-2018 Petr Vanek <petr@scribus.info>
2010-2016 Paulo Lieuthier <paulolieuthier@gmail.com>
2015 Luís Pereira <luis.artur.pereira@gmail.com>
2010-2014 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2010-2013 Razor team
2011-2012 Alec Moskvin <alecm@gmx.com>
2010-2011 Alexander Sokoloff <sokoloff.a@gmail.com>
Christopher "VdoP" Regali
License: LGPL-2.1+
Files: lxqt-config-session/autostartedit.*
lxqt-config-session/autostartitem.*
lxqt-config-session/autostartpage.*
lxqt-config-session/modulemodel.*
Copyright: 2011-2012 Alec Moskvin <alecm@gmx.com>
License: LGPL-2.1+
Files: lxqt-config-session/basicsettings.*
lxqt-config-session/defaultappspage.*
lxqt-config-session/environmentpage.*
lxqt-config-session/main.cpp
lxqt-config-session/sessionconfigwindow.*
Copyright: 2010-2016 LXQt team
License: LGPL-2.1+
Files: lxqt-leave/leavedialog.*
Copyright: 2010-2016 LXQt team
License: LGPL-2.1+
Files: lxqt-session/src/UdevNotifier.*
lxqt-session/src/lxqtmodman.*
lxqt-session/src/sessiondbusadaptor.h
lxqt-session/src/windowmanager.*
lxqt-session/src/wmselectdialog.*
Copyright: 2010-2016 LXQt team
License: LGPL-2.1+
Files: lxqt-session/src/sessionapplication.*
Copyright: 2014 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
License: LGPL-2.1+
Files: lxqt-session/src/lockscreenmanager.*
Copyright: 2016 Paulo Lieuthier <paulolieuthier@gmail.com>
License: LGPL-2.1+
Files: lxqt-session/src/log.*
Copyright: 2016 Palo Kisa <palo.kisa@gmail.com>
License: LGPL-2.1+
Files: lxqt-session/src/numlock.cpp
Copyright: 2000-2001, Lubos Lunak <l.lunak@kde.org>
2001, Oswald Buddenhagen <ossi@kde.org>
License: MIT
Comment: Some code is taken from numlockx
Files: debian/*
Copyright: 2014-2018 Alf Gaida <agaida@siduction.org>
2015 Andrew Lee (李健秋) <ajqlee@debian.org>
2015 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
Copyright: 2021-2023 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
2014-2019 Alf Gaida <agaida@siduction.org>
2015 Andrew Lee (李健秋) <ajqlee@debian.org>
2015 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
License: LGPL-2.1+
License: LGPL-2.1+
@ -66,3 +42,23 @@ License: LGPL-2.1+
On Debian systems, the complete text of the GNU Lesser General
Public License version 2.1 can be found in
"/usr/share/common-licenses/LGPL-2.1".
License: MIT
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
.
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

6
debian/gbp.conf vendored

@ -0,0 +1,6 @@
[DEFAULT]
debian-branch = debian/sid
upstream-branch = upstream/latest
pristine-tar = True
compression = xz

@ -1,2 +1,2 @@
# category LXQt in not yet in freedesktop specs - no bug
lxqt-session: desktop-entry-invalid-category LXQt usr/share/applications/lxqt-*.desktop
lxqt-session: desktop-entry-invalid-category LXQt *

@ -0,0 +1,2 @@
[preferred]
default=lxqt;kde;gtk;

@ -1,5 +1,5 @@
debian/lxqt-portals.conf /usr/share/xdg-desktop-portal
etc/xdg/autostart/lxqt-xscreensaver-autostart.desktop
etc/xdg/openbox/lxqt-rc.xml
usr/bin/lxqt-config-session
usr/bin/lxqt-leave
usr/bin/lxqt-session
@ -12,7 +12,6 @@ usr/share/applications/lxqt-logout.desktop
usr/share/applications/lxqt-reboot.desktop
usr/share/applications/lxqt-shutdown.desktop
usr/share/applications/lxqt-suspend.desktop
usr/share/kdm/sessions/lxqt.desktop
usr/share/lxqt/lxqt.conf
usr/share/lxqt/session.conf
usr/share/lxqt/windowmanagers.conf

@ -0,0 +1,55 @@
Description: lxqt-config-session/autostart: More strict user inputs
Makes name and command mandatory when adding or editing a autostart an
application. Check for already existing files when editing.
.
TODO: Add and Edit functions are almost indentical. Candidates to some
refactoring.
Author: Luís Pereira <luis.artur.pereira@gmail.com>
Origin: upstream
Bug: https://github.com/lxqt/lxqt-session/issues/486
Applied-Upstream: 35acc5e7fe64ab78616968a5b73b150fdf2f002a
Last-Update: 2023-12-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/lxqt-config-session/autostartpage.cpp
+++ b/lxqt-config-session/autostartpage.cpp
@@ -133,6 +133,11 @@ void AutoStartPage::addButton_clicked()
while (!success && edit.exec() == QDialog::Accepted)
{
QModelIndex index = ui->autoStartView->selectionModel()->currentIndex();
+ if (edit.name().isEmpty() || edit.command().isEmpty() )
+ {
+ QMessageBox::critical(this, tr("Error"), tr("Please provide Name and Command"));
+ continue;
+ }
XdgDesktopFile file(XdgDesktopFile::ApplicationType, edit.name(), edit.command());
if (edit.needTray())
file.setValue(QL1S("X-LXQt-Need-Tray"), true);
@@ -148,8 +153,14 @@ void AutoStartPage::editButton_clicked()
QModelIndex index = ui->autoStartView->selectionModel()->currentIndex();
XdgDesktopFile file = mXdgAutoStartModel->desktopFile(index);
AutoStartEdit edit(file.name(), file.value(QL1S("Exec")).toString(), file.contains(QL1S("X-LXQt-Need-Tray")));
- if (edit.exec() == QDialog::Accepted)
+ bool success = false;
+ while (!success && edit.exec() == QDialog::Accepted)
{
+ if (edit.name().isEmpty() || edit.command().isEmpty() )
+ {
+ QMessageBox::critical(this, tr("Error"), tr("Please provide Name and Command"));
+ continue;
+ }
file.setLocalizedValue(QL1S("Name"), edit.name());
file.setValue(QL1S("Exec"), edit.command());
if (edit.needTray())
@@ -157,7 +168,10 @@ void AutoStartPage::editButton_clicked()
else
file.removeEntry(QL1S("X-LXQt-Need-Tray"));
- mXdgAutoStartModel->setEntry(index, file, true);
+ if (mXdgAutoStartModel->setEntry(index, file, true))
+ success = true;
+ else
+ QMessageBox::critical(this, tr("Error"), tr("File '%1' already exists!").arg(file.fileName()));
}
}

@ -1,20 +0,0 @@
Author: Luís Pereira <luis.artur.pereira@gmail.com>
Date: Thu May 9 21:14:08 2019 +0100
Don't throw stderr/stdout to a black hole
Implement the consensus solution achieved described in https://github.com/lxqt/lxqt-session/pull/256.
It was, actually, one the alternative proposed by https://github.com/keturn.
diff --git a/lxqt-session/src/lxqtmodman.cpp b/lxqt-session/src/lxqtmodman.cpp
index 2beff61..d11ffc0 100644
--- a/lxqt-session/src/lxqtmodman.cpp
+++ b/lxqt-session/src/lxqtmodman.cpp
@@ -467,6 +467,7 @@ LXQtModule::LXQtModule(const XdgDesktopFile& file, QObject* parent) :
fileName(QFileInfo(file.fileName()).fileName()),
mIsTerminating(false)
{
+ QProcess::setProcessChannelMode(QProcess::ForwardedChannels);
connect(this, SIGNAL(stateChanged(QProcess::ProcessState)), SLOT(updateState(QProcess::ProcessState)));
}

@ -0,0 +1,34 @@
Description: Copy over GTK 3 settings from XDG_CONFIG_DIRS
This is a workaround for GTK 3 settings not being applied by default from XDG.
Ideally, all desktop environments would do this, and it would be fixed in GTK itself.
Author: Simon Quigley <tsimonq2@ubuntu.com>
Origin: vendor
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/2047705
Forwarded: no
Last-Update: 2023-12-29
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/startlxqt.in
+++ b/startlxqt.in
@@ -32,6 +32,21 @@ else
fi
done
fi
+# Handle GTK 3 configuration files
+echo "$XDG_CONFIG_DIRS" | tr ':' '\n' | while read -r dir; do
+ dir_path="$dir/gtk-3.0/"
+ if [ -d "$dir_path" ]; then
+ mkdir -p "$HOME/.config/gtk-3.0"
+ for file in "$dir_path"*; do
+ if [ -f "$file" ]; then
+ target_file="$HOME/.config/gtk-3.0/$(basename "$file")"
+ if [ ! -f "$target_file" ]; then
+ cp "$file" "$target_file"
+ fi
+ fi
+ done
+ fi
+done
if [ -z "$XDG_CACHE_HOME" ]; then
export XDG_CACHE_HOME="$HOME/.cache"

@ -1,2 +1,3 @@
forward-process-output.patch
ensure-necessary-paths-are-pulled-from.patch
autostart-ux-polish.patch
gtk-3-configuration-copy.patch

4
debian/rules vendored

@ -4,7 +4,6 @@
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
export LC_ALL=C.UTF-8
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
ifeq ($(DEB_HOST_ARCH_OS),linux)
CMAKE_ARGS += -DWITH_LIBUDEV=ON
@ -15,9 +14,6 @@ endif
%:
dh ${@} --buildsystem cmake
override_dh_missing:
dh_missing --fail-missing
override_dh_auto_configure:
dh_auto_configure -- \
-DPULL_TRANSLATIONS=OFF \

@ -0,0 +1,12 @@
# For more information on what jobs are run see:
# https://salsa.debian.org/salsa-ci-team/pipeline
#
# To enable the jobs, go to your repository (at salsa.debian.org)
# and click over Settings > CI/CD > Expand (in General pipelines).
# In "Custom CI config path" write debian/salsa-ci.yml and click
# in "Save Changes". The CI tests will run after the next commit.
---
include:
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml

@ -3,5 +3,4 @@ Bug-Database: https://github.com/lxqt/lxqt-session/issues
Bug-Submit: https://github.com/lxqt/lxqt-session/issues/new
Changelog: https://github.com/lxqt/lxqt-session/blob/master/CHANGELOG
Repository: https://github.com/lxqt/lxqt-session
Repository-Browser: https://github.com/lxqt/lxqt-session
Repository-Browse: https://github.com/lxqt/lxqt-session

@ -1,50 +1,52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b
DAAKCRC+eTAHrSLffgbJD/4qW5YOo/BayBhaUh2L7VP7JNlECb/2xNNOFKI1NjNr
nOmgSJLzf74Uhmt5W+iVjmJBHrDceprIPkizmPrn90kIsPIMtHIDNxzUgKZHbnza
j1vZyAeC+JV79X1hOVpprj1TJwy65lpxXNyYnGqeIOgyFokn9fOHXv8aMQwpNuUr
bdUJ1C75jYrvwy/NR1DczIFFYgsbkDGDtjVBjyMc5JAgvUBz37/iVPJfWP6dKVnf
abRnUVzHgvgK7bnab00SA1TiWvjHURGjo+5rnRtv8X/AgStc2Phjq68TMIgMn0F2
kjUVvfQotNqzo9madNshvUDmsGtAzKh4e0dS1ear7u3nRp4Z7fqSrTEtXKNbEPwZ
wdWrWmmQLacNQBSe/FtcMzGF6xIVr4lnrL0bFjqBdQpdTC7vns3QSKk8/GFiEfpv
kzXrDbGV7jX2OWDjNHKcmXX2+E1CsNaJgS7zOgZw5jvbvlTLJUwyYNlM1VLI2OFW
Oa86l8pqli+B7rpTbsAE9Ut8qUaWjm87oUNSJbaKgqNnMaE+b/8VJaEeWHgQJwsD
bJSJ/O/vzlRtDjOJ1JDlMRLs7TnOFeUh5pgwyaJoidYbJEiGlMGJbI6BjwhDTBFO
NLJtd3SsRjc7ICtGdCvej59IvCDTjxtkhx5okF03APi1aXpHQrE18/arFD7BpoGO
sw==
=gSIv
-----END PGP PUBLIC KEY BLOCK-----

6
debian/watch vendored

@ -1,3 +1,5 @@
version=4
opts="pgpsigurlmangle=s/$/.asc/" \
https://github.com/lxqt/lxqt-session/releases .*/lxqt-session-([\d\.]+).tar.xz
opts="searchmode=plain, \
pgpsigurlmangle=s/$/.asc/, \
uversionmangle=s/(\d+\.\d+\.\d+).*/$1/" \
https://api.github.com/repos/lxqt/@PACKAGE@/releases https:\/\/github.com\/lxqt\/@PACKAGE@\/releases\/download\/@ANY_VERSION@\/@PACKAGE@-@ANY_VERSION@.tar.xz

Loading…
Cancel
Save