Compare commits

..

No commits in common. 'ubuntu/plucky' and 'ubuntu/focal' have entirely different histories.

352
debian/changelog vendored

@ -1,191 +1,83 @@
libfm-qt (2.1.0-0ubuntu1) plucky; urgency=medium libfm-qt (0.14.1-12ubuntu3) focal; urgency=medium
* New upstream release. * No-change rebuild against qtbase-abi-5-12-8.
- Bump build dependencies.
- Update symbols from amd64 build logs.
* Add new build dependencies from the CMake output.
* Make the package Lintian-clean.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 15 Nov 2024 15:31:59 -0600
libfm-qt (2.0.2-0ubuntu3) plucky; urgency=medium
* No-change rebuild against Qt 6.7.2 private-abi.
-- Rik Mills <rikmills@kde.org> Thu, 17 Oct 2024 17:52:48 +0100
libfm-qt (2.0.2-0ubuntu2) oracular; urgency=medium
* Fix symbols file.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Sun, 25 Aug 2024 22:22:47 -0500 -- Rik Mills <rikmills@kde.org> Fri, 10 Apr 2020 20:02:47 +0100
libfm-qt (2.0.2-0ubuntu1) oracular; urgency=medium libfm-qt (0.14.1-12ubuntu2) focal; urgency=medium
* New upstream release. * No-change rebuild for libgcc-s1 package name change.
* Bump Standards-Version to 4.7.0, no changes necessary.
* Update copyright file.
* Bump build deps.
* Change binary package name to libfm-qt6.
* Update symbols file.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Thu, 15 Aug 2024 16:06:46 -0500
libfm-qt (1.4.0-0ubuntu1) noble; urgency=medium
* New upstream release.
* Reorganized and fixed copyright file.
* Added lxqt-menu-data as a build dependency.
* Bumped soname to libfm-qt14.
* Updated symbols file.
-- Aaron Rainbolt <arraybolt3@gmail.com> Sun, 05 Nov 2023 17:15:40 -0600
libfm-qt (1.3.0-0ubuntu2) mantic; urgency=medium -- Matthias Klose <doko@ubuntu.com> Sun, 22 Mar 2020 16:45:48 +0100
* Update symbols from build logs.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 11 Aug 2023 10:16:27 -0500 libfm-qt (0.14.1-12ubuntu1) focal; urgency=medium
libfm-qt (1.3.0-0ubuntu1) mantic; urgency=medium * Merge from Debian unstable. Remaining changes:
- debian/control:
+ Update Vcs-* and maintainer for maintaining by Lubuntu.
+ Additional Breaks/Replaces on old libfm-qt-l10n.
- debian/libfmqt-qt6.symbols
+ Retain Lubuntu generated symbols file.
- debian/patches: fix-metadata-for-trusting-executables.patch
+ Fix metadata for trusting executables. Use Ubuntu standard for
trusting executables.
- debian/patches: fix-dnd-mtp.patch
+ Fix drag-and-drop from mtp:// mounted folders.
-- Rik Mills <rikmills@kde.org> Sat, 01 Feb 2020 09:48:17 +0000
* New upstream release. libfm-qt (0.14.1-12) unstable; urgency=medium
- Bump build dependency accordingly.
* Rename binary package for SONAME change, update symbols accordingly.
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 26 Jul 2023 16:25:53 -0500
libfm-qt (1.2.1-0ubuntu1) lunar; urgency=medium
* New upstream release.
* Updated copyright file.
* Bumped Standards-Version to 4.6.2, no changes necessary.
* Updated symbols file.
* Ran wrap-and-sort.
-- Aaron Rainbolt <arraybolt3@ubuntu.com> Thu, 26 Jan 2023 20:18:59 -0600
libfm-qt (1.2.0-0ubuntu3) lunar; urgency=medium
* No-change rebuild against Qt 5.15.8.
-- Dmitry Shachnev <mitya57@ubuntu.com> Sat, 14 Jan 2023 10:19:25 +0300
libfm-qt (1.2.0-0ubuntu2) lunar; urgency=medium
* No-change rebuild against Qt 5.15.7.
-- Dmitry Shachnev <mitya57@ubuntu.com> Sat, 10 Dec 2022 12:50:58 +0300
libfm-qt (1.2.0-0ubuntu1) lunar; urgency=medium
* New upstream release.
* Fix the watch file, for real this time.
* Lubuntuify the package slightly, to make debhelper happy.
* Remove reverse-applicable upstream patches.
* Bump build dependencies to the latest upstream LXQt versions.
* Rename libfm-qt11 -> libfm-qt12 and add necessary Breaks/Replaces.
* Update symbols from amd64 build logs.
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 16 Nov 2022 19:21:46 -0600
libfm-qt (1.1.0-3ubuntu1) kinetic; urgency=medium
* Revert the previous upload.
* Make Breaks/Replaces stricter for libfm-qt11 on libfm-qt-common due to the
nature of the reverted upload.
-- Simon Quigley <tsimonq2@ubuntu.com> Mon, 10 Oct 2022 11:06:03 -0500
libfm-qt (1.1.0-2ubuntu1) kinetic; urgency=medium
* Update debian/libfm-qt11.symbols for GCC 12.
-- Dmitry Shachnev <mitya57@ubuntu.com> Sat, 13 Aug 2022 21:37:11 +0300
libfm-qt (1.1.0-2) experimental; urgency=medium
* Upstreamed compatible changes from Ubuntu, modifying the following files:
- control
- copyright
- libfm-qt11.symbols
- libfm-qt-common.install
- libfm-qt-dev.install
- rules
- upstream/*
- patches directory
-- Aaron Rainbolt <arraybolt3@gmail.com> Thu, 14 Jul 2022 15:45:41 -0500
libfm-qt (1.1.0-1) experimental; urgency=medium
* debian/changelog: fix a typo.
* New upstream version 1.0.0
* Add debian/salsa-ci.yml file.
* Update debian/upstream/signing-key.asc.
* New upstream version 1.1.0
* debian/control: build-deps on lxqt-build-tools (>=0.11.0~).
* Bump to libfm-qt11 to match soname changes.
* debian/libfm-qt11.shlibs: Added, restrict to latest upstream version.
* Drop C++ symbols according to
https://wiki.debian.org/UsingSymbolsFiles.
-- Andrew Lee (李健秋) <ajqlee@debian.org> Tue, 12 Jul 2022 22:33:35 +0800
libfm-qt (0.16.0-3) unstable; urgency=high * Fixed symbol QRegEx -> QRegularExpression
* Update symbols for armel, armhf, i386, mipsel and s390x to fix FTBFS. -- Alf Gaida <agaida@siduction.org> Tue, 22 Oct 2019 23:52:39 +0200
-- Andrew Lee (李健秋) <ajqlee@debian.org> Sat, 09 Jan 2021 03:15:46 +0800 libfm-qt (0.14.1-11) unstable; urgency=medium
libfm-qt (0.16.0-2) unstable; urgency=medium * Bumped Standards to 4.4.1, no changes needed
* Switched to gbp, gbp.conf added
* Source only upload. -- Alf Gaida <agaida@siduction.org> Sat, 05 Oct 2019 12:56:09 +0200
-- Andrew Lee (李健秋) <ajqlee@debian.org> Wed, 06 Jan 2021 21:31:49 +0800 libfm-qt (0.14.1-10) unstable; urgency=medium
libfm-qt (0.16.0-1) unstable; urgency=medium * Fixed symbols for gcc 9.2.1 (Closes: #925742)
* Bumped Standards to 4.4.0, no changes needed
* New upstream release. (Closes: #978219) -- Alf Gaida <agaida@siduction.org> Sat, 17 Aug 2019 13:00:08 +0200
* Drop fixed upstream patches.
* Bump to libfm-qt8 to match soname changes.
* Refresh debian/libfm-qt8.symbols file.
-- Andrew Lee (李健秋) <ajqlee@debian.org> Wed, 06 Jan 2021 04:30:38 +0800 libfm-qt (0.14.1-9ubuntu4) focal; urgency=medium
libfm-qt (0.14.1-12.2) unstable; urgency=medium * No-change rebuild against qtbase-abi-5-12-5.
* Non-maintainer upload. -- Rik Mills <rikmills@kde.org> Sun, 27 Oct 2019 06:29:34 +0000
* Update symbols files from buildds logs to fix FTBFS on armel.
-- Dmitry Shachnev <mitya57@debian.org> Fri, 23 Oct 2020 20:28:57 +0300 libfm-qt (0.14.1-9ubuntu3) eoan; urgency=medium
libfm-qt (0.14.1-12.1) unstable; urgency=medium * Fixed DND not working for mtp:// mounted folders
* Non-maintainer upload. -- Raman Sarda <theloudspeaker@lubuntu.me> Sat, 17 Aug 2019 10:11:52 +0530
* Update symbols files for GCC 10 (closes: #957436).
-- Dmitry Shachnev <mitya57@debian.org> Sat, 17 Oct 2020 20:11:39 +0300 libfm-qt (0.14.1-9ubuntu2) eoan; urgency=medium
libfm-qt (0.14.1-12) unstable; urgency=medium * Rebuild against Qt 5.12.4.
* Update symbols files from the current build logs.
* Fixed symbol QRegEx -> QRegularExpression -- Dmitry Shachnev <mitya57@ubuntu.com> Fri, 12 Jul 2019 23:28:09 +0300
-- Alf Gaida <agaida@siduction.org> Tue, 22 Oct 2019 23:52:39 +0200 libfm-qt (0.14.1-9ubuntu1) eoan; urgency=medium
libfm-qt (0.14.1-11) unstable; urgency=medium * Merge from Debian unstable. Remaining changes:
- debian/control:
+ Update Vcs-* and maintainer for maintaining by Lubuntu.
+ Add Breaks/Replaces on old libfm-qt-l10n.
- debian/libfmqt-qt6.symbols
+ Retain and update Lubuntu generated symbols file.
- debian/patches: fix-metadata-for-trusting-executables.patch
+ Fix metadata for trusting executables. Use Ubuntu standard for
trusting executables.
* Bumped Standards to 4.4.1, no changes needed -- Rik Mills <rikmills@kubuntu.org> Sun, 09 Jun 2019 22:20:26 +0100
* Switched to gbp, gbp.conf added
-- Alf Gaida <agaida@siduction.org> Sat, 05 Oct 2019 12:56:09 +0200
libfm-qt (0.14.1-10) unstable; urgency=medium
* Fixed symbols for gcc 9.2.1 (Closes: #925742)
* Bumped Standards to 4.4.0, no changes needed
-- Alf Gaida <agaida@siduction.org> Sat, 17 Aug 2019 13:00:08 +0200
libfm-qt (0.14.1-9) unstable; urgency=medium libfm-qt (0.14.1-9) unstable; urgency=medium
@ -195,6 +87,20 @@ libfm-qt (0.14.1-9) unstable; urgency=medium
-- Alf Gaida <agaida@siduction.org> Sat, 08 Jun 2019 16:39:11 +0200 -- Alf Gaida <agaida@siduction.org> Sat, 08 Jun 2019 16:39:11 +0200
libfm-qt (0.14.1-8ubuntu1) eoan; urgency=medium
* Merge from Debian unstable. Remaining changes:
- debian/control:
+ Update Vcs-* and maintainer for maintaining by Lubuntu.
+ Add Breaks/Replaces on old libfm-qt-l10n.
- debian/libfmqt-qt6.symbols
+ Retain Lubuntu generated symbols file.
- debian/patches: fix-metadata-for-trusting-executables.patch
+ Fix metadata for trusting executables. Use Ubuntu standard for
trusting executables.
-- Rik Mills <rikmills@kubuntu.org> Fri, 24 May 2019 10:16:20 +0100
libfm-qt (0.14.1-8) unstable; urgency=medium libfm-qt (0.14.1-8) unstable; urgency=medium
* Removed the wrongly introduced build dependency on lxqt-qtplugin * Removed the wrongly introduced build dependency on lxqt-qtplugin
@ -246,6 +152,22 @@ libfm-qt (0.14.1-1) unstable; urgency=medium
-- Alf Gaida <agaida@siduction.org> Sun, 24 Feb 2019 19:31:01 +0100 -- Alf Gaida <agaida@siduction.org> Sun, 24 Feb 2019 19:31:01 +0100
libfm-qt (0.14.1-0ubuntu2) disco; urgency=medium
* Rebuild against qtbase-abi-5-12-2.
* Update symbols from build logs for all architectures.
-- Rik Mills <rikmills@kubuntu.org> Sun, 31 Mar 2019 10:52:00 +0100
libfm-qt (0.14.1-0ubuntu1) disco; urgency=medium
* New upstream release.
* Update standard executable trusting patch to use the new upstream macro
instead of individual inline replacements.
* Update symbols from build logs.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 08 Mar 2019 11:28:38 -0600
libfm-qt (0.14.0-3) unstable; urgency=medium libfm-qt (0.14.0-3) unstable; urgency=medium
* Switched to unstable * Switched to unstable
@ -278,6 +200,55 @@ libfm-qt (0.14.0-1) experimental; urgency=medium
-- Alf Gaida <agaida@siduction.org> Wed, 30 Jan 2019 20:32:59 +0100 -- Alf Gaida <agaida@siduction.org> Wed, 30 Jan 2019 20:32:59 +0100
libfm-qt (0.14.0-0ubuntu3) disco; urgency=medium
* Fix metadata for trusting executables.
- Use Ubuntu standard for trusting executables.
-- Dan Simmons <monetaryabyss@protonmail.com> Tue, 29 Jan 2019 20:32:19 -0500
libfm-qt (0.14.0-0ubuntu2) disco; urgency=medium
* Add Breaks/Replaces on old libfm-qt-l10n.
-- Simon Quigley <tsimonq2@ubuntu.com> Sat, 26 Jan 2019 10:15:13 -0600
libfm-qt (0.14.0-0ubuntu1) disco; urgency=medium
* New upstream release.
- Remove reverse-applicable patches.
- Bump build dependencies.
- Install new files.
* Bump Standards-version to 4.3.0, no changes needed.
* Bump debhelper compat to 12, no changes needed.
* Add new binary package libfm-qt-l10n.
* libfm-qt5 -> libfm-qt6.
-- Simon Quigley <tsimonq2@ubuntu.com> Fri, 25 Jan 2019 23:15:39 -0600
libfm-qt (0.13.1-10ubuntu1) disco; urgency=medium
* Merge with Debian unstable, remaining changes:
- debian/control:
+ Update Vcs-* and maintainer for maintaining by Lubuntu.
- debian/patches/add-lxqt-archiver-integration.patch:
+ Add LXQt Archiver integration.
- debian/patches/add-metadata-for-trusting-executables.patch:
+ Support adding metadata for trusting executables.
- debian/patches/fix-incorrect-file-info-handling-1.patch,
debian/patches/fix-incorrect-file-info-handling-2.patch:
+ Fix failure to open smb:// caused by incorrect file info handling.
- debian/patches/fix-launching-desktop-files.patch:
+ Fix launching desktop files.
- debian/patches/fix-places-font-color.patch:
+ Use the window text color for the places pane.
- debian/patches/move-in-file-dialog.patch:
+ Move in the file dialog from lxqt-qtplugin for better platform
integration.
* Update debian/libfm-qt5.symbols from the current build logs.
-- Dmitry Shachnev <mitya57@ubuntu.com> Fri, 04 Jan 2019 14:47:29 +0300
libfm-qt (0.13.1-10) unstable; urgency=medium libfm-qt (0.13.1-10) unstable; urgency=medium
* Added Build-Depends-Package: libfm-qt-dev to libfm-qt-dev.symbols * Added Build-Depends-Package: libfm-qt-dev to libfm-qt-dev.symbols
@ -310,6 +281,66 @@ libfm-qt (0.13.1-6) unstable; urgency=medium
-- Alf Gaida <agaida@siduction.org> Tue, 31 Jul 2018 18:15:12 +0200 -- Alf Gaida <agaida@siduction.org> Tue, 31 Jul 2018 18:15:12 +0200
libfm-qt (0.13.1-5ubuntu9) disco; urgency=medium
* Fix launching desktop files.
-- Dan Simmons <monetaryabyss@protonmail.com> Wed, 21 Nov 2018 23:40:15 -0500
libfm-qt (0.13.1-5ubuntu8) disco; urgency=medium
* No-change rebuild against qtbase-abi-5-11-2.
-- Simon Quigley <tsimonq2@ubuntu.com> Tue, 13 Nov 2018 17:29:45 -0600
libfm-qt (0.13.1-5ubuntu7) cosmic; urgency=medium
* Check (and set) metadata::trusted instead of metadata::trust.
-- Simon Quigley <tsimonq2@ubuntu.com> Mon, 15 Oct 2018 10:11:59 -0500
libfm-qt (0.13.1-5ubuntu6) cosmic; urgency=medium
* Update symbols from build logs.
-- Simon Quigley <tsimonq2@ubuntu.com> Tue, 09 Oct 2018 13:57:26 -0500
libfm-qt (0.13.1-5ubuntu5) cosmic; urgency=medium
* Support adding metadata for trusting executables (LP: #1795537).
-- Walter Lapchynski <wxl@ubuntu.com> Sat, 06 Oct 2018 08:55:46 -0700
libfm-qt (0.13.1-5ubuntu4) cosmic; urgency=medium
* Change Uploaders to Ubuntu uploaders.
* Change the debhelper dependency to 11.
* Move in the file dialog from lxqt-qtplugin for better platform
integration.
-- Simon Quigley <tsimonq2@ubuntu.com> Mon, 30 Jul 2018 19:25:14 -0500
libfm-qt (0.13.1-5ubuntu3) cosmic; urgency=medium
* Update symbols from build logs.
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 18 Jul 2018 04:32:54 -0500
libfm-qt (0.13.1-5ubuntu2) cosmic; urgency=medium
* No-change rebuild against qtbase-abi-5-11-0.
-- Simon Quigley <tsimonq2@ubuntu.com> Wed, 18 Jul 2018 03:18:08 -0500
libfm-qt (0.13.1-5ubuntu1) cosmic; urgency=medium
* Update Vcs-* and maintainer for maintaining by Lubuntu.
* Add LXQt Archiver integration.
* Fix failure to open smb:// caused by incorrect file info handling.
* Use the window text color for the places pane.
-- Simon Quigley <tsimonq2@ubuntu.com> Sat, 14 Jul 2018 01:18:40 -0500
libfm-qt (0.13.1-5) unstable; urgency=medium libfm-qt (0.13.1-5) unstable; urgency=medium
* Switch to unstable * Switch to unstable
@ -587,3 +618,4 @@ libfm-qt (0.10.0+20151214-1) unstable; urgency=medium
* Add Breaks for old library name libfm-qt5-2. * Add Breaks for old library name libfm-qt5-2.
-- Alf Gaida <agaida@siduction.org> Thu, 05 Nov 2015 00:28:39 +0100 -- Alf Gaida <agaida@siduction.org> Thu, 05 Nov 2015 00:28:39 +0100

116
debian/control vendored

@ -1,72 +1,44 @@
Source: libfm-qt Source: libfm-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: Simon Quigley <tsimonq2@ubuntu.com>
ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
Andrew Lee (李健秋) <ajqlee@debian.org>,
Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>,
Simon Quigley <tsimonq2@debian.org>,
Aaron Rainbolt <arraybolt3@gmail.com>
Section: x11 Section: x11
Priority: optional Priority: optional
Build-Depends: debhelper-compat (= 13), Build-Depends: debhelper-compat (= 12),
libexif-dev, libexif-dev,
libkf5windowsystem-dev,
libmenu-cache-dev, libmenu-cache-dev,
libqt5svg5-dev,
libqt5x11extras5-dev,
libx11-dev, libx11-dev,
libxcb-composite0-dev, lxqt-build-tools (>= 0.6.0~),
libxcb-cursor-dev, qtbase5-private-dev
libxcb-damage0-dev, Standards-Version: 4.3.0
libxcb-dpms0-dev, Vcs-Browser: https://phab.lubuntu.me/source/libfm-qt/
libxcb-dri2-0-dev, Vcs-Git: https://phab.lubuntu.me/source/libfm-qt.git
libxcb-dri3-dev, XS-Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/libfm-qt
libxcb-ewmh-dev, XS-Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/libfm-qt.git
libxcb-glx0-dev,
libxcb-icccm4-dev,
libxcb-image0-dev,
libxcb-keysyms1-dev,
libxcb-present-dev,
libxcb-randr0-dev,
libxcb-record0-dev,
libxcb-render-util0-dev,
libxcb-render0-dev,
libxcb-res0-dev,
libxcb-screensaver0-dev,
libxcb-shape0-dev,
libxcb-shm0-dev,
libxcb-sync-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,
lxqt-build-tools (>= 2.1.0),
lxqt-menu-data (>= 2.1.0),
qt6-base-private-dev (>= 6.6.0),
qt6-svg-dev (>= 6.6.0)
Standards-Version: 4.7.0
Vcs-Browser: https://git.lubuntu.me/Lubuntu/libfm-qt-packaging
Vcs-Git: https://git.lubuntu.me/Lubuntu/libfm-qt-packaging.git
Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/libfm-qt
Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/libfm-qt.git
Homepage: https://github.com/lxqt/libfm-qt Homepage: https://github.com/lxqt/libfm-qt
Rules-Requires-Root: no
Package: libfm-qt6-15 Package: libfm-qt6
Replaces: libfm-qt14, libfm-qt6-14 Provides: libfm-qt
Breaks: libfm-qt14, libfm-qt6-14 Conflicts: libfm-qt
Replaces: libfm-qt5-2,
libfm-qt5,
libfm-qt3,
libfm-qt2
Breaks: libfm-qt5-2,
libfm-qt5,
libfm-qt3,
libfm-qt2
Architecture: any Architecture: any
Multi-Arch: same Multi-Arch: same
Section: libs Section: libs
Depends: libfm-qt6-common, Depends: ${misc:Depends},
${shlibs:Depends},
libglib2.0-bin, libglib2.0-bin,
shared-mime-info, shared-mime-info
${misc:Depends}, Recommends: libfm-qt-l10n
${shlibs:Depends}
Recommends: libfm-qt6-l10n
Pre-Depends: ${misc:Pre-Depends} Pre-Depends: ${misc:Pre-Depends}
Description: file management support for pcmanfm-qt Description: file management support for pcmanfm-qt
Libfm-Qt is a companion library providing components to build desktop file Libfm-Qt is a companion library providing components to build desktop file
@ -74,37 +46,29 @@ Description: file management support for pcmanfm-qt
. .
This package contains helper library libfm-qt for pcmanfm-qt. This package contains helper library libfm-qt for pcmanfm-qt.
Package: libfm-qt6-common Package: libfm-qt-dev
Architecture: all Replaces: libfm-qt5-dev
Multi-Arch: foreign Breaks: libfm-qt5-dev
Section: libs
Depends: ${misc:Depends}
Breaks: libfm-qt14
Replaces: libfm-qt14
Description: Common files for libfm-qt
Libfm-Qt is a companion library providing components to build desktop file
managers.
.
This package contains common files for libfm-qt.
Package: libfm-qt6-dev
Architecture: any Architecture: any
Section: libdevel Section: libdevel
Depends: libexif-dev, Depends: ${misc:Depends},
libfm-qt6-15 (= ${binary:Version}), libexif-dev,
libmenu-cache-dev, libfm-qt6 (= ${binary:Version}),
${misc:Depends} libmenu-cache-dev
Description: file management support library for pcmanfm-qt (development files) Description: file management support library for pcmanfm-qt (development files)
Libfm-Qt is a companion library providing components to build desktop file Libfm-Qt is a companion library providing components to build desktop file
managers. managers.
. .
This package contains development files for helper library libfm-qt. This package contains development files for helper library libfm-qt.
Package: libfm-qt6-l10n Package: libfm-qt-l10n
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Section: localization Section: localization
Depends: qt6-translations-l10n, ${misc:Depends} Depends: ${misc:Depends},
qttranslations5-l10n
Breaks: libfm-qt3 (<< 0.11.1), libfm-qt-l10n (<< 0.14.0)
Replaces: libfm-qt3 (<< 0.11.1), libfm-qt-l10n (<< 0.14.0)
Description: Language package for libfm-qt Description: Language package for libfm-qt
Libfm-Qt is a companion library providing components to build desktop file Libfm-Qt is a companion library providing components to build desktop file
managers. managers.

22
debian/copyright vendored

@ -3,13 +3,10 @@ Upstream-Name: libfm-qt
Source: https://github.com/lxqt/libfm-qt Source: https://github.com/lxqt/libfm-qt
Files: * Files: *
Copyright: 2013-2024 LXQt team Copyright: 2013-2019 LXQt team
2009 Juergen Hoetzel <juergen@archlinux.org> 2013-2019 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
2010 Shae Smittle <starfall87@gmail.com> 2012-2014 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
2014 Kuzma Shapran <kuzma.shapran@gmail.com> 2014 Kuzma Shapran <kuzma.shapran@gmail.com>
2016 Mamoru TASAKA <mtasaka@fedoraproject.org>
2012-2016 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
2009-2019 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
License: LGPL-2.1+ License: LGPL-2.1+
Files: cmake/fm-qt-config.cmake.in Files: cmake/fm-qt-config.cmake.in
@ -17,18 +14,10 @@ Copyright: 2015 Luís Pereira <luis.artur.pereira@gmail.com>
License: BSD-3-Clause License: BSD-3-Clause
Files: debian/* Files: debian/*
Copyright: 2015 Andrew Lee (李健秋) <ajqlee@debian.org> Copyright: 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>
2019 Rik Mills <rikmills@kubuntu.org>
2013-2019 Alf Gaida <agaida@siduction.org> 2013-2019 Alf Gaida <agaida@siduction.org>
2018-2019 Walter Lapchynski <wxl@ubuntu.com> 2015 Andrew Lee (李健秋) <ajqlee@debian.org>
2018-2019 Dan Simmons <monetaryabyss@protonmail.com>
2020 Gianfranco Costamagna <locutusofborg@debian.org>
2019-2021 Raman Sarda <ramansarda2000@gmail.com>
2019-2021 apt-ghetto <apt-ghetto@protonmail.com>
2018-2023 Simon Quigley <tsimonq2@ubuntu.com>
2022-2024 Aaron Rainbolt <arraybolt3@gmail.com>
License: LGPL-2.1+ License: LGPL-2.1+
License: BSD-3-Clause License: BSD-3-Clause
@ -70,3 +59,4 @@ License: LGPL-2.1+
On Debian systems, the complete text of the GNU Lesser General On Debian systems, the complete text of the GNU Lesser General
Public License version 2.1 can be found in Public License version 2.1 can be found in
"/usr/share/common-licenses/LGPL-2.1". "/usr/share/common-licenses/LGPL-2.1".

@ -0,0 +1,10 @@
usr/include/libfm-qt/*.h
usr/include/libfm-qt/customactions/*.h
usr/include/libfm-qt/core/*.h
usr/include/libfm-qt/core/legacy/*.h
usr/include/libfm-qt/core/vfs/*.h
usr/lib/*/*.so
usr/lib/*/pkgconfig/*
usr/share/cmake/fm-qt/*.cmake

@ -0,0 +1 @@
usr/share/libfm-qt/translations

@ -1 +0,0 @@
usr/lib/*/*.so.*

File diff suppressed because it is too large Load Diff

@ -1,3 +0,0 @@
usr/share/libfm-qt6/archivers.list
usr/share/libfm-qt6/terminals.list
usr/share/mime/packages/libfm-qt6-mimetypes.xml

@ -1,8 +0,0 @@
usr/include/libfm-qt6/*.h
usr/include/libfm-qt6/core/*.h
usr/include/libfm-qt6/core/legacy/*.h
usr/include/libfm-qt6/core/vfs/*.h
usr/include/libfm-qt6/customactions/*.h
usr/lib/*/*.so
usr/lib/*/pkgconfig/*
usr/share/cmake/fm-qt6/*.cmake

@ -1 +0,0 @@
usr/share/libfm-qt6/translations

@ -0,0 +1,4 @@
usr/lib/*/*.so.*
usr/share/libfm-qt/terminals.list
usr/share/libfm-qt/archivers.list
usr/share/mime/packages/libfm-qt-mimetypes.xml

File diff suppressed because it is too large Load Diff

@ -0,0 +1,115 @@
From 7e79e591eb536603da92ee537bf949490b1259fc Mon Sep 17 00:00:00 2001
From: Tsu Jan <tsujan2000@gmail.com>
Date: Sun, 21 Apr 2019 14:11:14 +0430
Subject: [PATCH] Don't ignore creation-deletion sequences
Fixes https://github.com/lxqt/pcmanfm-qt/issues/944
Previously, if a file was in addition queue and then it came into the deletion
queue, its addition and deletion were both ignored. That was wrong and could
result in showing nonexistent files because addition can also happen in
directory list job before being processed by file info job.
Also process accumulated changes only after finishing the current info job and
don't clear all deletion paths after processing them (because, logically, only
those paths that can be deleted should be removed).
---
src/core/folder.cpp | 60 +++++++++++++++++++++++----------------------
1 file changed, 31 insertions(+), 29 deletions(-)
diff --git a/src/core/folder.cpp b/src/core/folder.cpp
index 6c2b27d..2385a8b 100644
--- a/src/core/folder.cpp
+++ b/src/core/folder.cpp
@@ -228,16 +228,6 @@ void Folder::onFileInfoFinished() {
return;
}
- // process the changes accumulated during this info job
- if(filesystem_info_pending // means a pending change; see "onFileSystemInfoFinished()"
- || !paths_to_update.empty() || !paths_to_add.empty() || !paths_to_del.empty()) {
- QTimer::singleShot(0, this, &Folder::processPendingChanges);
- }
- // there's no pending change at the moment; let the next one be processed
- else {
- has_idle_update_handler = false;
- }
-
FileInfoList files_to_add;
FileInfoList files_to_delete;
std::vector<FileInfoPair> files_to_update;
@@ -271,6 +261,16 @@ void Folder::onFileInfoFinished() {
Q_EMIT filesChanged(files_to_update);
}
Q_EMIT contentChanged();
+
+ // process the changes accumulated during this info job
+ if(filesystem_info_pending // means a pending change; see "onFileSystemInfoFinished()"
+ || !paths_to_update.empty() || !paths_to_add.empty() || !paths_to_del.empty()) {
+ QTimer::singleShot(0, this, &Folder::processPendingChanges);
+ }
+ // there's no pending change at the moment; let the next one be processed
+ else {
+ has_idle_update_handler = false;
+ }
}
void Folder::processPendingChanges() {
@@ -314,21 +314,24 @@ void Folder::processPendingChanges() {
}
// process deletion
- if(!paths_to_del.empty()) {
- FileInfoList deleted_files;
- for(const auto &path: paths_to_del) {
- auto name = path.baseName();
- auto it = files_.find(name.get());
- if(it != files_.end()) {
- deleted_files.push_back(it->second);
- files_.erase(it);
- }
+ FileInfoList deleted_files;
+ auto path_it = paths_to_del.begin();
+ while(path_it != paths_to_del.end()) {
+ const auto& path = *path_it;
+ auto name = path.baseName();
+ auto it = files_.find(name.get());
+ if(it != files_.end()) {
+ deleted_files.push_back(it->second);
+ files_.erase(it);
+ path_it = paths_to_del.erase(path_it);
}
- if(!deleted_files.empty()) {
- Q_EMIT filesRemoved(deleted_files);
- Q_EMIT contentChanged();
+ else {
+ ++path_it;
}
- paths_to_del.clear();
+ }
+ if(!deleted_files.empty()) {
+ Q_EMIT filesRemoved(deleted_files);
+ Q_EMIT contentChanged();
}
if(pending_change_notify) {
@@ -404,13 +407,12 @@ void Folder::eventFileDeleted(const FilePath& path) {
bool deleted = true;
// qDebug() << "delete " << path.baseName().get();
// G_LOCK(lists);
- if(std::find(paths_to_add.cbegin(), paths_to_add.cend(), path) != paths_to_add.cend()) {
- // if the file was going to be added, just remove it from the addition queue
- paths_to_add.erase(std::remove(paths_to_add.begin(), paths_to_add.end(), path), paths_to_add.cend());
- }
- else if(std::find(paths_to_del.cbegin(), paths_to_del.cend(), path) == paths_to_del.cend()) {
+ /* WARNING: If the file is in the addition queue, we shouldn not remove it from that queue
+ and ignore its deletion because it may have been added by the directory list job, in
+ which case, ignoring an addition-deletion sequence would result in a nonexistent file. */
+ if(std::find(paths_to_del.cbegin(), paths_to_del.cend(), path) == paths_to_del.cend()) {
paths_to_del.push_back(path);
- // the update queue should be cancelled for a file that is going to be deleted
+ // the update queue can be cancelled for a file that is going to be deleted
paths_to_update.erase(std::remove(paths_to_update.begin(), paths_to_update.end(), path), paths_to_update.cend());
}
else {

@ -0,0 +1,49 @@
Description: Fix DND for MTP mounted folders
Author: Tsu Jan <tsujan2000@gmail.com>
Bug-Upstream: https://github.com/lxqt/pcmanfm-qt/issues/301
Applied-Upstream: https://github.com/lxqt/libfm-qt/commit/7de18bc89b9b47f66de54a7e347bf8d391d44a48
Last-Update: 2019-08-17
--- a/src/foldermodel.cpp
+++ b/src/foldermodel.cpp
@@ -384,7 +384,7 @@ QStringList FolderModel::mimeTypes() con
// the real implementation is in FolderView::childDropEvent().
types << "XdndDirectSave0";
types << "text/uri-list";
- // types << "x-special/gnome-copied-files";
+ types << QStringLiteral("libfm/files"); // see FolderModel::mimeData() below
return types;
}
@@ -407,6 +407,9 @@ QMimeData* FolderModel::mimeData(const Q
}
}
data->setData("text/uri-list", urilist);
+ // NOTE: The mimetype "text/uri-list" changes the list in QMimeData::setData() to get URLs
+ // but some protocols (like MTP) may need the original list to query file info.
+ data->setData(QStringLiteral("libfm/files"), urilist);
return data;
}
@@ -442,10 +445,19 @@ bool FolderModel::dropMimeData(const QMi
destPath = path();
}
+ Fm::FilePathList srcPaths;
+ // try to get paths from the original data
+ if(data->hasFormat(QStringLiteral("libfm/files"))) {
+ QByteArray _data = data->data(QStringLiteral("libfm/files"));
+ srcPaths = pathListFromUriList(_data.data());
+ }
+ if(srcPaths.empty() && data->hasUrls()) {
+ srcPaths = Fm::pathListFromQUrls(data->urls());
+ }
+
// FIXME: should we put this in dropEvent handler of FolderView instead?
- if(data->hasUrls()) {
+ if(!srcPaths.empty()) {
//qDebug("drop action: %d", action);
- auto srcPaths = pathListFromQUrls(data->urls());
switch(action) {
case Qt::CopyAction:
FileOperation::copyFiles(srcPaths, destPath);

@ -0,0 +1,97 @@
From 3d23ec7f0857cbc1ae8e42bdd27ab179a7e8344f Mon Sep 17 00:00:00 2001
From: "Hong Jen Yee (PCMan)" <pcman.tw@gmail.com>
Date: Fri, 19 Apr 2019 01:19:08 +0800
Subject: [PATCH] Fix the license header of code we took from libfm (they
should use LGPL2 instead of GPL2). - src/core/vfs/vfs-menu.c -
src/core/vfs/vfs-search.c These files are taken from libfm which has been
relicensed to LGPL 2 on 2014-09-05 by Andrey N. Gritsenko after consulting
other contributors.
---
src/core/vfs/vfs-menu.c | 21 ++++++++++-----------
src/core/vfs/vfs-search.c | 37 +++++++++++++++++--------------------
2 files changed, 27 insertions(+), 31 deletions(-)
diff --git a/src/core/vfs/vfs-menu.c b/src/core/vfs/vfs-menu.c
index c541159..069b1bc 100644
--- a/src/core/vfs/vfs-menu.c
+++ b/src/core/vfs/vfs-menu.c
@@ -4,20 +4,19 @@
*
* Copyright 2012-2014 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
+ * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifdef HAVE_CONFIG_H
diff --git a/src/core/vfs/vfs-search.c b/src/core/vfs/vfs-search.c
index 0a64fb6..92b932c 100644
--- a/src/core/vfs/vfs-search.c
+++ b/src/core/vfs/vfs-search.c
@@ -1,25 +1,22 @@
/*
- * fm-vfs-search.c
- *
- * Copyright 2012 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
- * Copyright 2010 Shae Smittle <starfall87@gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
+ * fm-vfs-search.c
*
+ * Copyright 2012 Hong Jen Yee (PCMan) <pcman.tw@gmail.com>
+ * Copyright 2010 Shae Smittle <starfall87@gmail.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifdef HAVE_CONFIG_H

@ -0,0 +1,36 @@
From 6cb5f38d2c1261b782b16da45bb323b069db94fe Mon Sep 17 00:00:00 2001
From: Tsu Jan <tsujan2000@gmail.com>
Date: Mon, 8 Apr 2019 07:13:09 +0430
Subject: [PATCH] Fixed SMB recursive copy
Fixes https://github.com/lxqt/libfm-qt/issues/385 by trying to set dir permissions only once and ignoring possible errors (that happen with SMB and, maybe, other protocols).
---
src/core/filetransferjob.cpp | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/core/filetransferjob.cpp b/src/core/filetransferjob.cpp
index 4039c58..6b44576 100644
--- a/src/core/filetransferjob.cpp
+++ b/src/core/filetransferjob.cpp
@@ -279,16 +279,17 @@ bool FileTransferJob::makeDir(const FilePath& srcPath, GFileInfoPtr srcInfo, Fil
mode, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS,
cancellable().get(), &err);
if(!chmod_done) {
- ErrorAction act = emitError(err, ErrorSeverity::MODERATE);
+ /* NOTE: Some filesystems may not support this. So, ignore errors for now. */
+ break;
+ /*ErrorAction act = emitError(err, ErrorSeverity::MODERATE);
if(act != ErrorAction::RETRY) {
break;
- }
- /* FIXME: some filesystems may not support this. */
+ }*/
}
} while(!chmod_done && !isCancelled());
}
}
- return mkdir_done && chmod_done;
+ return mkdir_done/* && chmod_done*/;
}
bool FileTransferJob::handleError(GErrorPtr &err, const FilePath &srcPath, const GFileInfoPtr &srcInfo, FilePath &destPath, int& flags) {

@ -1 +1,7 @@
fix-metadata-for-trusting-executables.patch fix-metadata-for-trusting-executables.patch
fix-smb-recursive-copy.patch
fix-license-headers.patch
dont-ignore-crea-del-sequences.patch
workaround-glib-recursive-moving-error.patch
workaround-missed-file-monitoring.patch
fix-dnd-mtp.patch

@ -0,0 +1,33 @@
From 476dded99de11a57c64103b4610f0de3dbdbc769 Mon Sep 17 00:00:00 2001
From: Tsu Jan <tsujan2000@gmail.com>
Date: Mon, 22 Apr 2019 00:07:07 +0430
Subject: [PATCH] Workaround for GLib's recursive moving error, e.g. with bound
mounts
`g_file_move()` may not work recursively on the same filesystem, especially
with bound mounts (to `/mnt`, for example) and give the `G_IO_ERROR_WOULD_RECURSE`
error. This patch ignores the error and tries our `FileTransferJob::copyFile()`.
Closes https://github.com/lxqt/pcmanfm-qt/issues/943
---
src/core/filetransferjob.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/core/filetransferjob.cpp b/src/core/filetransferjob.cpp
index c3d5851..32f0f89 100644
--- a/src/core/filetransferjob.cpp
+++ b/src/core/filetransferjob.cpp
@@ -83,6 +83,13 @@ bool FileTransferJob::moveFileSameFs(const FilePath& srcPath, const GFileInfoPtr
// do the file operation
if(!g_file_move(srcPath.gfile().get(), destPath.gfile().get(), GFileCopyFlags(flags), cancellable().get(),
nullptr, this, &err)) {
+ // Specially with mounts bound to /mnt, g_file_move() may give the recursive error
+ // and fail, in which case, we ignore the error and try copying and deleting.
+ if(err.code() == G_IO_ERROR_WOULD_RECURSE) {
+ if(auto parent = destPath.parent()) {
+ return copyFile(srcPath, srcInfo, parent, destPath.baseName().get());
+ }
+ }
retry = handleError(err, srcPath, srcInfo, destPath, flags);
}
else {

@ -0,0 +1,143 @@
Description: Realod folder after transfer job if it lacks file monitoring
Closes https://github.com/lxqt/pcmanfm-qt/issues/933 and closes
https://github.com/lxqt/libfm-qt/issues/280. After a file transfer job is
finished inside a directory, if it is the path of an open folder that lacks
file monitoring, this patch reloads its corresponding folder. In this way, the
lack of file monitoring is partially compensated for.
Please note that this doesn't work with `search://` because the files inside
`search://` don't belong to it. By covering file creation, renaming, moving
from one shared folder to another and deleting after trying to move into Trash.
Last-Update: 2019-06-08
--- libfm-qt-0.14.1.orig/src/core/folder.cpp
+++ libfm-qt-0.14.1/src/core/folder.cpp
@@ -112,6 +112,20 @@ std::shared_ptr<Folder> Folder::fromPath
return folder;
}
+// static
+// Checks if this is the path of a folder in use.
+std::shared_ptr<Folder> Folder::findByPath(const FilePath& path) {
+ std::lock_guard<std::mutex> lock{mutex_};
+ auto it = cache_.find(path);
+ if(it != cache_.end()) {
+ auto folder = it->second.lock();
+ if(folder) {
+ return folder;
+ }
+ }
+ return nullptr;
+}
+
bool Folder::makeDirectory(const char* /*name*/, GError** /*error*/) {
// TODO:
// FIXME: what the API is used for in the original libfm C API?
@@ -142,6 +156,10 @@ bool Folder::isEmpty() const {
return files_.empty();
}
+bool Folder::hasFileMonitor() const {
+ return (dirMonitor_ != nullptr);
+}
+
FileInfoList Folder::files() const {
FileInfoList ret;
ret.reserve(files_.size());
--- libfm-qt-0.14.1.orig/src/core/folder.h
+++ libfm-qt-0.14.1/src/core/folder.h
@@ -56,6 +56,8 @@ public:
static std::shared_ptr<Folder> fromPath(const FilePath& path);
+ static std::shared_ptr<Folder> findByPath(const FilePath& path);
+
bool makeDirectory(const char* name, GError** error);
void queryFilesystemInfo();
@@ -74,6 +76,8 @@ public:
bool isEmpty() const;
+ bool hasFileMonitor() const;
+
FileInfoList files() const;
const FilePath& path() const;
--- libfm-qt-0.14.1.orig/src/fileoperation.cpp
+++ libfm-qt-0.14.1/src/fileoperation.cpp
@@ -298,6 +298,8 @@ void FileOperation::onJobFinish() {
}
Q_EMIT finished();
+ bool tryReload = true;
+
// special handling for trash job
if(type_ == Trash && !job_->isCancelled()) {
auto trashJob = static_cast<Fm::TrashJob*>(job_);
@@ -313,6 +315,26 @@ void FileOperation::onJobFinish() {
"Do you want to delete them instead?")) == QMessageBox::Yes) {
deleteFiles(std::move(unsupportedFiles), false);
}
+ tryReload = false;
+ }
+ }
+
+ // reload the containing folder if it is in use but does not have a file monitor
+ if(tryReload) {
+ if(!srcPaths_.empty() && (type_ == Trash || type_ == Delete || type_ == Move)) {
+ auto parent_path = srcPaths_[0].parent();
+ if(parent_path != destPath_) { // otherwise, it will be done below
+ auto folder = Fm::Folder::findByPath(parent_path);
+ if(folder && folder->isValid() && folder->isLoaded() && !folder->hasFileMonitor()) {
+ folder->reload();
+ }
+ }
+ }
+ if(destPath_) {
+ auto folder = Fm::Folder::findByPath(destPath_);
+ if(folder && folder->isValid() && folder->isLoaded() && !folder->hasFileMonitor()) {
+ folder->reload();
+ }
}
}
--- libfm-qt-0.14.1.orig/src/utilities.cpp
+++ libfm-qt-0.14.1/src/utilities.cpp
@@ -157,7 +157,8 @@ bool isCurrentPidClipboardData(const QMi
}
bool changeFileName(const Fm::FilePath& filePath, const QString& newName, QWidget* parent, bool showMessage) {
- auto dest = filePath.parent().child(newName.toLocal8Bit().constData());
+ auto parent_path = filePath.parent();
+ auto dest = parent_path.child(newName.toLocal8Bit().constData());
Fm::GErrorPtr err;
if(!g_file_move(filePath.gfile().get(), dest.gfile().get(),
GFileCopyFlags(G_FILE_COPY_ALL_METADATA |
@@ -170,6 +171,13 @@ bool changeFileName(const Fm::FilePath&
}
return false;
}
+
+ // reload the containing folder if it is in use but does not have a file monitor
+ auto folder = Fm::Folder::findByPath(parent_path);
+ if(folder && folder->isValid() && folder->isLoaded() && !folder->hasFileMonitor()) {
+ folder->reload();
+ }
+
return true;
}
@@ -263,6 +271,12 @@ _retry:
QMessageBox::critical(parent ? parent->window() : nullptr, QObject::tr("Error"), err.message());
}
+ else { // reload the containing folder if it is in use but does not have a file monitor
+ auto folder = Fm::Folder::findByPath(parentDir);
+ if(folder && folder->isValid() && folder->isLoaded() && !folder->hasFileMonitor()) {
+ folder->reload();
+ }
+ }
}
uid_t uidFromName(QString name) {

1
debian/rules vendored

@ -2,6 +2,7 @@
# export DH_VERBOSE = 1 # export DH_VERBOSE = 1
export LC_ALL=C.UTF-8 export LC_ALL=C.UTF-8
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%: %:

@ -1,12 +0,0 @@
# 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

@ -1,5 +0,0 @@
# This list will always be very long, it's okay
libfm-qt source: very-long-line-length-in-source-file * > 512 [data/archivers.list:*]
# Long lines in the upstream changelog are okay
libfm-qt source: very-long-line-length-in-source-file * > 512 [CHANGELOG:*]

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

@ -1,52 +1,50 @@
-----BEGIN PGP PUBLIC KEY BLOCK----- -----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF6cxrwBEADfl3ydxNfLBbWGPesXty2baQgixZ3D6aCxadI2kX+aikmT8rd0 mQINBFXQeMMBEACif4+9pTrC6uNmRng0ZbzLh7p3cazmbnp2YFgDQDJZ7ZNmebxy
ttDKN18cXV52Ssxnj0qhgf4hwnu/b0be6BzqSEyGM+UQR3X2CYpxrMakfW32Q18K ngRuRhjGuDcFAL/37BwJnrBpfZFK9ljoH4Fo5Jm9cOELaTy7AIcEiV9dKMyrKF1E
X5ec0RPR2ucBq9G0r9t6FYC8FkJ4uQUU3xxrLW3z302S0Makjgzm8BV9WrFQ7oFF C76d8jHVuzuPbI92DkFdLZAdk+qjrrAy0x43PvUd+aaBGLcFs1ZMk7gOvElc2d95
uJQj0BHbHYC4RyaZb2AfxY4Y92BPGTjtGekWqgw6vEXCCnvAbGYVQzvxZt3nw21/ zWWSp5anjukmGbp+EsStnWJkF6VHj56qmklfYy5ioiVBOSpXo/RsACAcIlz8C8A1
1YmV4g7xhGFQPbOf9v3ejFUJeJIGzuJf5NAh7kvfCdUBAGY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sRjc7ICtGdCvej59IvCDTjxtkhx5okF03APi1aXpHQrE18/arFD7BpoGO =h7ww
sw==
=gSIv
-----END PGP PUBLIC KEY BLOCK----- -----END PGP PUBLIC KEY BLOCK-----

6
debian/watch vendored

@ -1,5 +1,3 @@
version=4 version=4
opts="searchmode=plain, \ opts="pgpsigurlmangle=s/$/.asc/" \
pgpsigurlmangle=s/$/.asc/, \ https://github.com/lxqt/libfm-qt/releases .*/libfm-qt-([\d\.]+).tar.xz
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