Compare commits

...

15 Commits

Author SHA1 Message Date
e5c8d1f815 Backport to Jammy. 2023-08-11 13:06:34 -05:00
9682163144 Upload to Mantic. 2023-08-11 09:52:20 -05:00
245a200721 Bump build dependencies. 2023-08-10 16:44:26 -05:00
c813d3f140 New upstream release. 2023-08-10 16:40:09 -05:00
Aaron Rainbolt
ab4baeb178 Fix the default tab for the Desktop Preferences window 2023-03-07 13:09:21 -06:00
Aaron Rainbolt
e08672cb49 Fix the Lubuntu Manual shortcut behavior 2023-03-02 18:44:02 -06:00
Aaron Rainbolt
637c32ce1b Fix the Lubuntu Manual checkbox behavior. 2023-03-02 17:46:49 -06:00
Aaron Rainbolt
59c245310b Put the Lubuntu Manual checkbox where it belongs. 2023-03-02 17:46:47 -06:00
Aaron Rainbolt
7d655d511a Removed trailing whitespace from changelog. 2023-01-27 16:57:06 -06:00
Aaron Rainbolt
fca5fc88e0 Added 'Rules-Requires-Root: no' to debian/control. 2023-01-27 16:56:24 -06:00
Aaron Rainbolt
c67aa0abdc Removed obsolete linker flag. 2023-01-27 16:55:21 -06:00
Aaron Rainbolt
bb6c0071df Bumped libfm-qt build dependency. 2023-01-27 16:03:36 -06:00
Aaron Rainbolt
cdfc1734c6 Bumped Standards-Version 2023-01-27 15:59:22 -06:00
Aaron Rainbolt
eff5a84fa6 Updated copyright file. 2023-01-27 15:58:21 -06:00
Aaron Rainbolt
11ffa3d90b Prepare for new upstream release. 2023-01-27 15:56:17 -06:00
5 changed files with 206 additions and 24 deletions

44
debian/changelog vendored
View File

@ -1,3 +1,46 @@
pcmanfm-qt (1.3.0-0ubuntu1~ppa1) jammy; urgency=medium
* Backport to Jammy.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 11 Aug 2023 13:03:33 -0500
pcmanfm-qt (1.3.0-0ubuntu1) mantic; urgency=medium
* New upstream release.
* Bump build dependencies.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 11 Aug 2023 09:52:17 -0500
pcmanfm-qt (1.2.1-0ubuntu3) lunar; urgency=medium
* Made the General tab in Desktop Preferences the default tab again.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Tue, 07 Mar 2023 12:35:39 -0600
pcmanfm-qt (1.2.1-0ubuntu2) lunar; urgency=medium
* Put the Lubuntu Manual checkbox where it belongs in the Desktop
Preferences window. (LP: #1998528)
* Make the Lubuntu Manual checkbox behave correctly (if the shortcut is
present, it should be checked, if the shortcut is missing, it should be
unchecked).
* Make the context menu of the Lubuntu Manual shortcut on the desktop behave
like the other special shortcuts (Home, Trash, Computer, Network).
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Thu, 02 Mar 2023 17:41:45 -0600
pcmanfm-qt (1.2.1-0ubuntu1) lunar; urgency=medium
* New upstream release.
* Updated copyright file.
* Bumped Standards-Version to 4.6.2, no changes necessary.
* Bumped build dependency for libfm-qt.
* Removed obsolete '-Wl,--as-needed' linker flag.
* Added 'Rules-Requires-Root: no' to debian/control.
* Removed trailing whitespace from changelog.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Fri, 27 Jan 2023 15:55:12 -0600
pcmanfm-qt (1.2.0-0ubuntu1) lunar; urgency=medium
* New upstream release.
@ -552,4 +595,3 @@ pcmanfm-qt (0.9.0+20150816-1) unstable; urgency=medium
* Warpped lines in copyright.
-- Andrew Lee (李健秋) <ajqlee@debian.org> Mon, 17 Aug 2015 21:04:54 +0800

9
debian/control vendored
View File

@ -10,25 +10,26 @@ Section: x11
Priority: optional
Build-Depends: debhelper-compat (= 13),
libexif-dev,
libfm-qt-dev (>= 1.2.0),
libfm-qt-dev (>= 1.3.0),
libkf5windowsystem-dev,
libmenu-cache-dev,
libqt5svg5-dev,
libqt5x11extras5-dev,
libx11-dev,
lxqt-build-tools (>= 0.12.0)
Standards-Version: 4.6.1
lxqt-build-tools (>= 0.13.0)
Standards-Version: 4.6.2
Vcs-Browser: https://git.lubuntu.me/Lubuntu/pcmanfm-qt-packaging
Vcs-Git: https://git.lubuntu.me/Lubuntu/pcmanfm-qt-packaging.git
XS-Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/pcmanfm-qt
XS-Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/pcmanfm-qt.git
Homepage: https://github.com/lxqt/pcmanfm-qt
Rules-Requires-Root: no
Package: pcmanfm-qt
Architecture: any
Depends: default-dbus-session-bus | dbus-session-bus | dbus-x11,
desktop-file-utils,
libfm-qt12 (>= 1.2.0),
libfm-qt13,
lxqt-sudo,
${misc:Depends},
${shlibs:Depends}

4
debian/copyright vendored
View File

@ -4,14 +4,14 @@ Source: https://github.com/lxqt/pcmanfm-qt
Files: *
Copyright: 2017, Pedram Pourang (Tsu Jan) <tsujan2000@gmail.com>
2013-2022 LXQt team
2013-2023 LXQt team
2009-2018 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2012-2013 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
2014 Kuzma Shapran <kuzma.shapran@gmail.com>
License: GPL-2.0+
Files: debian/*
Copyright: 2021-2022 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-2016 ChangZhuo Chen (陳昌倬) <czchen@debian.org>
2013-2018 Alf Gaida <agaida@siduction.org>

View File

@ -3,14 +3,143 @@ Forwarded: eventually
Author: Simon Quigley <tsimonq2@lubuntu.me>
Last-Update: 2022-06-16
---
diff --git a/pcmanfm/desktop-preferences.ui b/pcmanfm/desktop-preferences.ui
index d73e731..459926a 100644
--- a/pcmanfm/desktop-preferences.ui
+++ b/pcmanfm/desktop-preferences.ui
@@ -573,6 +573,17 @@ are left clicked, even when it is not the default file manager.</string>
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>534</width>
- <height>434</height>
+ <width>609</width>
+ <height>720</height>
</rect>
</property>
<property name="windowTitle">
@@ -485,27 +485,17 @@ are left clicked, even when it is not th
<bool>false</bool>
</property>
<layout class="QGridLayout" name="gridLayout_4">
- <item row="0" column="0" colspan="7">
- <widget class="QLabel" name="label_10">
- <property name="text">
- <string>Wallpaper image folder:</string>
+ <item row="1" column="0" colspan="6">
+ <widget class="QLineEdit" name="imageFolder">
+ <property name="placeholderText">
+ <string>Wallpaper folder</string>
</property>
</widget>
</item>
- <item row="1" column="6">
- <widget class="QPushButton" name="folderBrowse">
+ <item row="3" column="0" colspan="6">
+ <widget class="QCheckBox" name="randomize">
<property name="text">
- <string>Browse</string>
- </property>
- </widget>
- </item>
- <item row="2" column="2">
- <widget class="QSpinBox" name="hours">
- <property name="suffix">
- <string> hour(s)</string>
- </property>
- <property name="maximum">
- <number>24</number>
+ <string>Randomize the slide show</string>
</property>
</widget>
</item>
@@ -522,6 +512,20 @@ are left clicked, even when it is not th
</property>
</widget>
</item>
+ <item row="0" column="0" colspan="7">
+ <widget class="QLabel" name="label_10">
+ <property name="text">
+ <string>Wallpaper image folder:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="6">
+ <widget class="QPushButton" name="folderBrowse">
+ <property name="text">
+ <string>Browse</string>
+ </property>
+ </widget>
+ </item>
<item row="2" column="0">
<widget class="QLabel" name="label_11">
<property name="toolTip">
@@ -545,46 +549,42 @@ are left clicked, even when it is not th
</property>
</widget>
</item>
- <item row="2" column="5">
- <spacer name="horizontalSpacer_2">
+ <item row="2" column="1">
+ <spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Minimum</enum>
+ </property>
<property name="sizeHint" stdset="0">
<size>
- <width>10</width>
+ <width>5</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
- <item row="1" column="0" colspan="6">
- <widget class="QLineEdit" name="imageFolder">
- <property name="placeholderText">
- <string>Wallpaper folder</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <spacer name="horizontalSpacer_3">
+ <item row="2" column="5">
+ <spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
- <property name="sizeType">
- <enum>QSizePolicy::Minimum</enum>
- </property>
<property name="sizeHint" stdset="0">
<size>
- <width>5</width>
+ <width>10</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
- <item row="3" column="0" colspan="6">
- <widget class="QCheckBox" name="randomize">
- <property name="text">
- <string>Randomize the slide show</string>
+ <item row="2" column="2">
+ <widget class="QSpinBox" name="hours">
+ <property name="suffix">
+ <string> hour(s)</string>
+ </property>
+ <property name="maximum">
+ <number>24</number>
</property>
</widget>
</item>
@@ -663,6 +663,17 @@ are left clicked, even when it is not th
<normaloff>.</normaloff>.</iconset>
</property>
</widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="lubuntuManualBox">
+ <property name="text">
@ -21,15 +150,20 @@ index d73e731..459926a 100644
+ <normaloff>.</normaloff>.</iconset>
+ </property>
+ </widget>
+ </item>
</item>
</layout>
</widget>
</item>
diff --git a/pcmanfm/desktoppreferencesdialog.cpp b/pcmanfm/desktoppreferencesdialog.cpp
index 87fcfc2..a691d0c 100644
--- a/pcmanfm/desktoppreferencesdialog.cpp
+++ b/pcmanfm/desktoppreferencesdialog.cpp
@@ -204,6 +204,9 @@ void DesktopPreferencesDialog::applySettings()
@@ -120,6 +120,7 @@ DesktopPreferencesDialog::DesktopPrefere
ui.trashBox->setChecked(ds.contains(QLatin1String("Trash")));
ui.computerBox->setChecked(ds.contains(QLatin1String("Computer")));
ui.networkBox->setChecked(ds.contains(QLatin1String("Network")));
+ ui.lubuntuManualBox->setChecked(ds.contains(QLatin1String("Lubuntu Manual")));
connect(ui.buttonBox->button(QDialogButtonBox::Apply), &QPushButton::clicked,
this, &DesktopPreferencesDialog::onApplyClicked);
@@ -208,6 +209,9 @@ void DesktopPreferencesDialog::applySett
if(ui.networkBox->isChecked()) {
ds << QLatin1String("Network");
}
@ -39,11 +173,9 @@ index 87fcfc2..a691d0c 100644
settings.setDesktopShortcuts(ds);
settings.setDesktopCellMargins(QSize(ui.hMargin->value(), ui.vMargin->value()));
diff --git a/pcmanfm/desktopwindow.cpp b/pcmanfm/desktopwindow.cpp
index 78e8d2f..3edb7f0 100644
--- a/pcmanfm/desktopwindow.cpp
+++ b/pcmanfm/desktopwindow.cpp
@@ -276,6 +276,16 @@ void DesktopWindow::updateShortcutsFromSettings(Settings& settings) {
@@ -277,6 +277,16 @@ void DesktopWindow::updateShortcutsFromS
paths.push_back(Fm::FilePath::fromLocalPath(network.toStdString().c_str()));
}
}
@ -60,7 +192,7 @@ index 78e8d2f..3edb7f0 100644
// WARNING: QFile::remove() is not compatible with libfm-qt and should not be used.
if(!paths.empty()) {
@@ -361,6 +371,20 @@ void DesktopWindow::createNetworkShortcut() {
@@ -362,6 +372,20 @@ void DesktopWindow::createNetworkShortcu
g_key_file_free(kf);
}
@ -81,7 +213,17 @@ index 78e8d2f..3edb7f0 100644
void DesktopWindow::createTrash() {
if(trashMonitor_) {
return;
@@ -1260,7 +1284,8 @@ void DesktopWindow::trustOurDesktopShortcut(std::shared_ptr<const Fm::FileInfo>
@@ -987,7 +1011,8 @@ void DesktopWindow::onFileClicked(int ty
if((fileName == QLatin1String("trash-can.desktop") && ds.contains(QLatin1String("Trash")))
|| (fileName == QLatin1String("user-home.desktop") && ds.contains(QLatin1String("Home")))
|| (fileName == QLatin1String("computer.desktop") && ds.contains(QLatin1String("Computer")))
- || (fileName == QLatin1String("network.desktop") && ds.contains(QLatin1String("Network")))) {
+ || (fileName == QLatin1String("network.desktop") && ds.contains(QLatin1String("Network")))
+ || (fileName == QLatin1String("lubuntu-manual.desktop") && ds.contains(QLatin1String("Lubuntu Manual")))) {
QMenu* menu = new QMenu(this);
// "Open" action for all
QAction* action = menu->addAction(tr("Open"));
@@ -1297,7 +1322,8 @@ void DesktopWindow::trustOurDesktopShort
const char* execStr = isHome ? homeExec.get() :
fileName == QLatin1String("trash-can.desktop") && ds.contains(QLatin1String("Trash")) ? "pcmanfm-qt trash:///" :
fileName == QLatin1String("computer.desktop") && ds.contains(QLatin1String("Computer")) ? "pcmanfm-qt computer:///" :
@ -91,11 +233,9 @@ index 78e8d2f..3edb7f0 100644
if(execStr) {
GKeyFile* kf = g_key_file_new();
if(g_key_file_load_from_file(kf, file->path().toString().get(), G_KEY_FILE_NONE, nullptr)) {
diff --git a/pcmanfm/desktopwindow.h b/pcmanfm/desktopwindow.h
index 742d964..4a90cb4 100644
--- a/pcmanfm/desktopwindow.h
+++ b/pcmanfm/desktopwindow.h
@@ -155,6 +155,7 @@ private:
@@ -158,6 +158,7 @@ private:
void createHomeShortcut();
void createComputerShortcut();
void createNetworkShortcut();

1
debian/rules vendored
View File

@ -2,7 +2,6 @@
# 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
%: