Compare commits

..

2 Commits

7 changed files with 77 additions and 157 deletions

45
debian/changelog vendored
View File

@ -1,47 +1,8 @@
pcmanfm-qt (2.2.0-0ubuntu1) questing; urgency=medium pcmanfm-qt (1.4.0-0ubuntu3~ppa23.10.1) mantic; urgency=medium
* New upstream release. * Backport to Mantic.
- Update build dependencies.
- Refresh Lubuntu Manual patch.
- Removed unneeded Lintian overrides.
* Update copyright file.
* Bump Standards-Version to 4.7.2, no changes needed.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Wed, 30 Jul 2025 15:14:44 -0500 -- Simon Quigley <tsimonq2@ubuntu.com> Fri, 01 Dec 2023 15:03:56 -0600
pcmanfm-qt (2.1.0-0ubuntu3) plucky; urgency=medium
* Update Standards-Version to 4.7.1, no changes needed.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 21 Feb 2025 16:35:29 -0600
pcmanfm-qt (2.1.0-0ubuntu2) plucky; urgency=medium
* No-change rebuild for lxqt-build-tools C++17 -> C++20.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 03 Jan 2025 04:00:52 -0600
pcmanfm-qt (2.1.0-0ubuntu1) plucky; urgency=medium
* New upstream release.
- Update build dependencies.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 15 Nov 2024 15:33:33 -0600
pcmanfm-qt (2.0.0-0ubuntu1) oracular; urgency=medium
* New upstream release.
* Bump Standards-Version to 4.7.0, no changes necessary.
* Adjust build dependencies.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Thu, 15 Aug 2024 16:27:12 -0500
pcmanfm-qt (1.4.1-0ubuntu1) noble; urgency=medium
* New upstream release.
* Updated copyright file.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Sun, 18 Feb 2024 16:31:24 -0600
pcmanfm-qt (1.4.0-0ubuntu3) noble; urgency=medium pcmanfm-qt (1.4.0-0ubuntu3) noble; urgency=medium

51
debian/control vendored
View File

@ -1,6 +1,6 @@
Source: pcmanfm-qt Source: pcmanfm-qt
Maintainer: Lubuntu Developers <lubuntu-devel@lists.ubuntu.com> Maintainer: Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
Original-Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org> XSBC-Original-Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
Uploaders: Alf Gaida <agaida@siduction.org>, Uploaders: Alf Gaida <agaida@siduction.org>,
ChangZhuo Chen (陳昌倬) <czchen@debian.org>, ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
Andrew Lee (李健秋) <ajqlee@debian.org>, Andrew Lee (李健秋) <ajqlee@debian.org>,
@ -9,48 +9,19 @@ Uploaders: Alf Gaida <agaida@siduction.org>,
Section: x11 Section: x11
Priority: optional Priority: optional
Build-Depends: debhelper-compat (= 13), Build-Depends: debhelper-compat (= 13),
layer-shell-qt,
libexif-dev, libexif-dev,
libfm-qt6-dev (>= 2.2.0), libfm-qt-dev (>= 1.4.0),
libkf6windowsystem-dev, libkf5windowsystem-dev,
liblayershellqtinterface-dev (>= 6.0.0),
libmenu-cache-dev, libmenu-cache-dev,
libqt5svg5-dev,
libqt5x11extras5-dev,
libx11-dev, libx11-dev,
libxcb-composite0-dev, lxqt-build-tools (>= 0.13.0)
libxcb-cursor-dev, Standards-Version: 4.6.2
libxcb-damage0-dev,
libxcb-dpms0-dev,
libxcb-dri2-0-dev,
libxcb-dri3-dev,
libxcb-ewmh-dev,
libxcb-glx0-dev,
libxcb-icccm4-dev,
libxcb-keysyms1-dev,
libxcb-present-dev,
libxcb-record0-dev,
libxcb-render0-dev,
libxcb-res0-dev,
libxcb-screensaver0-dev,
libxcb-shape0-dev,
libxcb-shm0-dev,
libxcb-util-dev,
libxcb-xf86dri0-dev,
libxcb-xfixes0-dev,
libxcb-xinerama0-dev,
libxcb-xinput-dev,
libxcb-xkb-dev,
libxcb-xtest0-dev,
libxcb-xv0-dev,
libxcb-xvmc0-dev,
libxkbcommon-dev (>= 0.5.0),
lxqt-build-tools (>= 2.2.0),
qt6-svg-dev (>= 6.6.0),
qt6-wayland-dev (>= 6.6.0)
Standards-Version: 4.7.2
Vcs-Browser: https://git.lubuntu.me/Lubuntu/pcmanfm-qt-packaging Vcs-Browser: https://git.lubuntu.me/Lubuntu/pcmanfm-qt-packaging
Vcs-Git: https://git.lubuntu.me/Lubuntu/pcmanfm-qt-packaging.git Vcs-Git: https://git.lubuntu.me/Lubuntu/pcmanfm-qt-packaging.git
Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/pcmanfm-qt XS-Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/pcmanfm-qt
Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/pcmanfm-qt.git XS-Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/pcmanfm-qt.git
Homepage: https://github.com/lxqt/pcmanfm-qt Homepage: https://github.com/lxqt/pcmanfm-qt
Rules-Requires-Root: no Rules-Requires-Root: no
@ -58,7 +29,7 @@ Package: pcmanfm-qt
Architecture: any Architecture: any
Depends: default-dbus-session-bus | dbus-session-bus | dbus-x11, Depends: default-dbus-session-bus | dbus-session-bus | dbus-x11,
desktop-file-utils, desktop-file-utils,
libfm-qt6-15, libfm-qt14,
lxqt-sudo, lxqt-sudo,
${misc:Depends}, ${misc:Depends},
${shlibs:Depends} ${shlibs:Depends}
@ -82,7 +53,7 @@ Package: pcmanfm-qt-l10n
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Section: localization Section: localization
Depends: qt6-translations-l10n, ${misc:Depends} Depends: qttranslations5-l10n, ${misc:Depends}
Description: Language package for pcmanfm-qt Description: Language package for pcmanfm-qt
PCManFM-Qt is the Qt port of the LXDE file manager PCManFM. PCManFM-Qt is the Qt port of the LXDE file manager PCManFM.
. .

5
debian/copyright vendored
View File

@ -4,7 +4,7 @@ Source: https://github.com/lxqt/pcmanfm-qt
Files: * Files: *
Copyright: 2017, Pedram Pourang (Tsu Jan) <tsujan2000@gmail.com> Copyright: 2017, Pedram Pourang (Tsu Jan) <tsujan2000@gmail.com>
2013-2025 LXQt team 2013-2023 LXQt team
2009-2018 Hong Jen Yee (PCMan) <pcman.tw@gmail.com> 2009-2018 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2012-2013 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua> 2012-2013 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
2014 Kuzma Shapran <kuzma.shapran@gmail.com> 2014 Kuzma Shapran <kuzma.shapran@gmail.com>
@ -15,12 +15,11 @@ Copyright: 2010-2018 Rafael Laguna <rafaellaguna@gmail.com>
License: GPL-2.0+ License: GPL-2.0+
Files: debian/* Files: debian/*
Copyright: 2021-2025 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com> Copyright: 2021-2023 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
2014-2015 Wen Liao <wen.cf83@gmail.com> 2014-2015 Wen Liao <wen.cf83@gmail.com>
2014-2016 ChangZhuo Chen (陳昌倬) <czchen@debian.org> 2014-2016 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
2013-2018 Alf Gaida <agaida@siduction.org> 2013-2018 Alf Gaida <agaida@siduction.org>
2015 Andrew Lee (李健秋) <ajqlee@debian.org> 2015 Andrew Lee (李健秋) <ajqlee@debian.org>
2025 Aaron Rainbolt <arraybolt3@ubuntu.com>
License: GPL-2.0+ License: GPL-2.0+
License: GPL-2.0+ License: GPL-2.0+

View File

@ -5,15 +5,15 @@ Last-Update: 2023-12-01
--- ---
--- a/pcmanfm/desktoppreferencesdialog.cpp --- a/pcmanfm/desktoppreferencesdialog.cpp
+++ b/pcmanfm/desktoppreferencesdialog.cpp +++ b/pcmanfm/desktoppreferencesdialog.cpp
@@ -124,6 +124,7 @@ DesktopPreferencesDialog::DesktopPrefere @@ -120,6 +120,7 @@ DesktopPreferencesDialog::DesktopPrefere
ui.trashBox->setChecked(ds.contains(QLatin1String("Trash"))); ui.trashBox->setChecked(ds.contains(QLatin1String("Trash")));
ui.computerBox->setChecked(ds.contains(QLatin1String("Computer"))); ui.computerBox->setChecked(ds.contains(QLatin1String("Computer")));
ui.networkBox->setChecked(ds.contains(QLatin1String("Network"))); ui.networkBox->setChecked(ds.contains(QLatin1String("Network")));
+ ui.lubuntuManualBox->setChecked(ds.contains(QLatin1String("Lubuntu Manual"))); + ui.lubuntuManualBox->setChecked(ds.contains(QLatin1String("Lubuntu Manual")));
// set fallback icon here (cannot be done in .ui) connect(ui.buttonBox->button(QDialogButtonBox::Apply), &QPushButton::clicked,
ui.networkBox->setIcon(QIcon::fromTheme(QStringLiteral("network"), QIcon::fromTheme(QStringLiteral("folder-network")))); this, &DesktopPreferencesDialog::onApplyClicked);
@@ -215,6 +216,9 @@ void DesktopPreferencesDialog::applySett @@ -208,6 +209,9 @@ void DesktopPreferencesDialog::applySett
if(ui.networkBox->isChecked()) { if(ui.networkBox->isChecked()) {
ds << QLatin1String("Network"); ds << QLatin1String("Network");
} }
@ -25,7 +25,7 @@ Last-Update: 2023-12-01
settings.setDesktopCellMargins(QSize(ui.hMargin->value(), ui.vMargin->value())); settings.setDesktopCellMargins(QSize(ui.hMargin->value(), ui.vMargin->value()));
--- a/pcmanfm/desktopwindow.cpp --- a/pcmanfm/desktopwindow.cpp
+++ b/pcmanfm/desktopwindow.cpp +++ b/pcmanfm/desktopwindow.cpp
@@ -310,6 +310,16 @@ void DesktopWindow::updateShortcutsFromS @@ -280,6 +280,16 @@ void DesktopWindow::updateShortcutsFromS
paths.push_back(Fm::FilePath::fromLocalPath(network.toStdString().c_str())); paths.push_back(Fm::FilePath::fromLocalPath(network.toStdString().c_str()));
} }
} }
@ -42,7 +42,7 @@ Last-Update: 2023-12-01
// WARNING: QFile::remove() is not compatible with libfm-qt and should not be used. // WARNING: QFile::remove() is not compatible with libfm-qt and should not be used.
if(!paths.empty()) { if(!paths.empty()) {
@@ -395,6 +405,20 @@ void DesktopWindow::createNetworkShortcu @@ -365,6 +375,20 @@ void DesktopWindow::createNetworkShortcu
g_key_file_free(kf); g_key_file_free(kf);
} }
@ -63,7 +63,7 @@ Last-Update: 2023-12-01
void DesktopWindow::createTrash() { void DesktopWindow::createTrash() {
if(trashMonitor_) { if(trashMonitor_) {
return; return;
@@ -1046,7 +1070,8 @@ void DesktopWindow::onFileClicked(int ty @@ -1005,7 +1029,8 @@ void DesktopWindow::onFileClicked(int ty
if((fileName == QLatin1String("trash-can.desktop") && ds.contains(QLatin1String("Trash"))) if((fileName == QLatin1String("trash-can.desktop") && ds.contains(QLatin1String("Trash")))
|| (fileName == QLatin1String("user-home.desktop") && ds.contains(QLatin1String("Home"))) || (fileName == QLatin1String("user-home.desktop") && ds.contains(QLatin1String("Home")))
|| (fileName == QLatin1String("computer.desktop") && ds.contains(QLatin1String("Computer"))) || (fileName == QLatin1String("computer.desktop") && ds.contains(QLatin1String("Computer")))
@ -73,7 +73,7 @@ Last-Update: 2023-12-01
QMenu* menu = new QMenu(this); QMenu* menu = new QMenu(this);
// "Open" action for all // "Open" action for all
QAction* action = menu->addAction(tr("Open")); QAction* action = menu->addAction(tr("Open"));
@@ -1380,7 +1405,8 @@ void DesktopWindow::trustOurDesktopShort @@ -1314,7 +1339,8 @@ void DesktopWindow::trustOurDesktopShort
const char* execStr = isHome ? homeExec.get() : const char* execStr = isHome ? homeExec.get() :
fileName == QLatin1String("trash-can.desktop") && ds.contains(QLatin1String("Trash")) ? "pcmanfm-qt trash:///" : fileName == QLatin1String("trash-can.desktop") && ds.contains(QLatin1String("Trash")) ? "pcmanfm-qt trash:///" :
fileName == QLatin1String("computer.desktop") && ds.contains(QLatin1String("Computer")) ? "pcmanfm-qt computer:///" : fileName == QLatin1String("computer.desktop") && ds.contains(QLatin1String("Computer")) ? "pcmanfm-qt computer:///" :
@ -85,7 +85,7 @@ Last-Update: 2023-12-01
if(g_key_file_load_from_file(kf, file->path().toString().get(), G_KEY_FILE_NONE, nullptr)) { if(g_key_file_load_from_file(kf, file->path().toString().get(), G_KEY_FILE_NONE, nullptr)) {
--- a/pcmanfm/desktopwindow.h --- a/pcmanfm/desktopwindow.h
+++ b/pcmanfm/desktopwindow.h +++ b/pcmanfm/desktopwindow.h
@@ -164,6 +164,7 @@ private: @@ -160,6 +160,7 @@ private:
void createHomeShortcut(); void createHomeShortcut();
void createComputerShortcut(); void createComputerShortcut();
void createNetworkShortcut(); void createNetworkShortcut();
@ -95,7 +95,7 @@ Last-Update: 2023-12-01
static void onTrashChanged(GFileMonitor* monitor, GFile* gf, GFile* other, GFileMonitorEvent evt, DesktopWindow* pThis); static void onTrashChanged(GFileMonitor* monitor, GFile* gf, GFile* other, GFileMonitorEvent evt, DesktopWindow* pThis);
--- a/pcmanfm/desktop-preferences.ui --- a/pcmanfm/desktop-preferences.ui
+++ b/pcmanfm/desktop-preferences.ui +++ b/pcmanfm/desktop-preferences.ui
@@ -660,6 +660,17 @@ are left clicked, even when it is not th @@ -664,6 +664,17 @@ are left clicked, even when it is not th
</property> </property>
</widget> </widget>
</item> </item>

View File

@ -1,6 +0,0 @@
# This is expected
pcmanfm-qt: desktop-entry-lacks-keywords-entry [usr/share/applications/pcmanfm-qt-desktop-pref.desktop]
pcmanfm-qt: desktop-entry-lacks-keywords-entry [usr/share/applications/pcmanfm-qt.desktop]
# False positive
pcmanfm-qt: hardening-no-fortify-functions [usr/bin/pcmanfm-qt]

View File

@ -1,5 +0,0 @@
# We add this via quilt patch
pcmanfm-qt source: superfluous-file-pattern icons/lubuntu-manual.svg [debian/copyright:*]
# These are expected
pcmanfm-qt source: very-long-line-length-in-source-file * > 512 [debian/patches/add-manual.patch:*]