Compare commits
	
		
			73 Commits
		
	
	
		
			ubuntu/cos
			...
			ubuntu/que
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | e24253c88c | ||
|  | d10d8b32ab | ||
|  | c3343af4cd | ||
|  | 156aa0008e | ||
|  | d1b8cc348d | ||
|  | dc46c75c51 | ||
| 30ad5c4ffa | |||
| 147b05c2fd | |||
| c2561b8014 | |||
| bbb2b21799 | |||
| 6b968b5cee | |||
| 1b4ef60b8d | |||
| 0d3a31a808 | |||
| 0fd133690e | |||
| fcdbab103e | |||
|  | 7b5dfa60ab | ||
|  | bf74959c45 | ||
|  | aa428f7ffd | ||
|  | 278444a5f0 | ||
|  | 12890bf1f0 | ||
|  | de9625e60d | ||
|  | 737f99deb0 | ||
|  | cfdf6ed881 | ||
| 3b9befd408 | |||
| 0c61812bb4 | |||
| 8a6670ca43 | |||
| e342a6962b | |||
| 85a8038ce8 | |||
| ea87922cb1 | |||
| 2572e5413b | |||
|  | 965d5321b7 | ||
|  | 0473392ff9 | ||
|  | 30153f3d11 | ||
|  | 4aad9fef00 | ||
| 562b1e99a2 | |||
| 9c6648ba8e | |||
| 646e169aa5 | |||
| a8b1a9c57f | |||
| 66bb55b6d1 | |||
| 0ec1b20fa3 | |||
| 000f25d930 | |||
| 7b6035a6d9 | |||
| fd17dd83b1 | |||
| 235b3346f9 | |||
|  | d41f1e972e | ||
|  | c7cb7fe6ab | ||
| d96ce79e57 | |||
|  | c03db10395 | ||
|  | 5b051dec1a | ||
| 1844ef0ba3 | |||
| be1f2e914f | |||
| ebda318e3a | |||
| 3a60c18512 | |||
| 7b340349c4 | |||
| 79710f9e52 | |||
| c85e3c68ac | |||
| 37ba3c45c0 | |||
|  | 8fe344195e | ||
|  | cf69cd0838 | ||
|  | 8d332ae0ff | ||
|  | df565377ca | ||
|  | 46d568183e | ||
|  | eb9d7223f4 | ||
|  | d2b550e22b | ||
|  | 84d3a83403 | ||
|  | 3c02201b2c | ||
|  | bf0ac0ec7b | ||
|  | 4b035b4e5c | ||
|  | 5d752b4944 | ||
|  | b6a413b3f3 | ||
|  | 003e19f816 | ||
|  | 7d21a05623 | ||
|  | 5f7a5391c7 | 
							
								
								
									
										233
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										233
									
								
								debian/changelog
									
									
									
									
										vendored
									
									
								
							| @ -1,42 +1,205 @@ | |||||||
| lxqt-qtplugin (0.13.0-0ubuntu4) cosmic; urgency=medium | lxqt-qtplugin (2.2.0-0ubuntu2) questing; urgency=medium | ||||||
| 
 | 
 | ||||||
|   * Bump Standards-version to 4.1.5, no changes needed. |   * Bump depends to latest libfm-qt. | ||||||
|   * Lubuntuify the package. |  | ||||||
|   * Dynamically load libfm-qt on runtime instead of on build time. |  | ||||||
| 
 | 
 | ||||||
|  -- Simon Quigley <tsimonq2@ubuntu.com>  Mon, 30 Jul 2018 19:34:33 -0500 |  -- Rik Mills <rikmills@kde.org>  Wed, 20 Aug 2025 18:27:45 +0100 | ||||||
| 
 | 
 | ||||||
| lxqt-qtplugin (0.13.0-0ubuntu3) cosmic; urgency=medium | lxqt-qtplugin (2.2.0-0ubuntu1) questing; urgency=medium | ||||||
| 
 |  | ||||||
|   * No-change rebuild against qtbase-abi-5-11-0. |  | ||||||
| 
 |  | ||||||
|  -- Simon Quigley <tsimonq2@ubuntu.com>  Wed, 18 Jul 2018 03:18:15 -0500 |  | ||||||
| 
 |  | ||||||
| lxqt-qtplugin (0.13.0-0ubuntu2) cosmic; urgency=medium |  | ||||||
| 
 |  | ||||||
|   * No-change rebuild against libfm-qt. |  | ||||||
| 
 |  | ||||||
|  -- Simon Quigley <tsimonq2@ubuntu.com>  Sat, 14 Jul 2018 01:34:06 -0500 |  | ||||||
| 
 |  | ||||||
| lxqt-qtplugin (0.13.0-0ubuntu1) cosmic; urgency=medium |  | ||||||
| 
 | 
 | ||||||
|   * New upstream release. |   * New upstream release. | ||||||
|   * Update build dependencies. |     - Bump build dependencies. | ||||||
|   * Bump Standards-version to 4.1.4, no changes needed. |   * Update copyright file. | ||||||
|   * Remove patches applied upstream. |   * Bump Standards-Version to 4.7.2, no changes needed. | ||||||
| 
 | 
 | ||||||
|  -- Simon Quigley <tsimonq2@ubuntu.com>  Wed, 23 May 2018 22:40:20 -0500 |  -- Aaron Rainbolt <arraybolt3@ubuntu.com>  Thu, 10 Jul 2025 12:20:31 -0500 | ||||||
| 
 | 
 | ||||||
| lxqt-qtplugin (0.12.0-6ubuntu1) bionic; urgency=medium | lxqt-qtplugin (2.1.0-0ubuntu5) plucky; urgency=medium | ||||||
| 
 | 
 | ||||||
|   * Merge from Debian Sid. Remaining changes: |   * Update Standards-Version to 4.7.1, no changes needed. | ||||||
|     - Cherry-pick an upstream commit because the upstream release cycle is too |  | ||||||
|       slow: |  | ||||||
|       + Remember the view mode. |  | ||||||
|         * remember-view-mode.patch |  | ||||||
|         * Upstream commit dfa18ac. |  | ||||||
| 
 | 
 | ||||||
|  -- Simon Quigley <tsimonq2@ubuntu.com>  Sun, 18 Feb 2018 22:48:24 -0600 |  -- Simon Quigley <tsimonq2@ubuntu.com>  Fri, 21 Feb 2025 16:28:41 -0600 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (2.1.0-0ubuntu4) plucky; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * No-change rebuild for Qt 6.8.2. | ||||||
|  | 
 | ||||||
|  |  -- Simon Quigley <tsimonq2@ubuntu.com>  Tue, 04 Feb 2025 18:31:36 -0600 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (2.1.0-0ubuntu3) plucky; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * No-change rebuild for lxqt-build-tools C++17 -> C++20. | ||||||
|  | 
 | ||||||
|  |  -- Simon Quigley <tsimonq2@ubuntu.com>  Fri, 03 Jan 2025 03:58:37 -0600 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (2.1.0-0ubuntu2) plucky; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * No-change rebuild for Qt 6.8.1. | ||||||
|  | 
 | ||||||
|  |  -- Simon Quigley <tsimonq2@ubuntu.com>  Thu, 05 Dec 2024 00:45:09 -0600 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (2.1.0-0ubuntu1) plucky; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * New upstream release. | ||||||
|  |     - Bump build dependencies. | ||||||
|  | 
 | ||||||
|  |  -- Simon Quigley <tsimonq2@ubuntu.com>  Fri, 15 Nov 2024 15:33:06 -0600 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (2.0.0-0ubuntu3) plucky; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * No-change rebuild against Qt 6.7.2 private-abi. | ||||||
|  | 
 | ||||||
|  |  -- Rik Mills <rikmills@kde.org>  Thu, 17 Oct 2024 17:53:25 +0100 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (2.0.0-0ubuntu2) oracular; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * Temporary fix for FTBFS on arm64. | ||||||
|  |     - d/patches: Add set-qt-plugin-dir-via-configure.patch. | ||||||
|  |     - d/rules: Pass QT_PLUGINS_DIR to configure. | ||||||
|  | 
 | ||||||
|  |  -- Rik Mills <rikmills@kde.org>  Wed, 28 Aug 2024 14:06:13 +0100 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (2.0.0-0ubuntu1) oracular; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * New upstream release. | ||||||
|  |   * Update copyright file. | ||||||
|  |   * Bump Standards-Version to 4.7.0, no changes necessary. | ||||||
|  |   * Adjust build dependencies. | ||||||
|  | 
 | ||||||
|  |  -- Aaron Rainbolt <arraybolt3@ubuntu.com>  Thu, 15 Aug 2024 16:23:05 -0500 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (1.4.0-0ubuntu2) noble; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * Bump dependency for new upstream version. | ||||||
|  | 
 | ||||||
|  |  -- Simon Quigley <tsimonq2@ubuntu.com>  Mon, 13 Nov 2023 12:52:43 -0600 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (1.4.0-0ubuntu1) noble; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * New upstream release. | ||||||
|  |   * Fixed copyright file. | ||||||
|  |   * Bumped and fixed build dependency versions. | ||||||
|  | 
 | ||||||
|  |  -- Aaron Rainbolt <arraybolt3@gmail.com>  Wed, 08 Nov 2023 16:52:40 -0600 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (1.3.0-0ubuntu1) mantic; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * New upstream release. | ||||||
|  |   * Bump build dependencies. | ||||||
|  | 
 | ||||||
|  |  -- Simon Quigley <tsimonq2@ubuntu.com>  Thu, 03 Aug 2023 10:43:09 -0500 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (1.2.0-0ubuntu4) lunar; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * Removed trailing whitespace from changelog. | ||||||
|  |   * Updated copyright file. | ||||||
|  |   * Bumped Standards-Version to 4.6.2, no changes necessary. | ||||||
|  | 
 | ||||||
|  |  -- Aaron Rainbolt <arraybolt3@ubuntu.com>  Thu, 09 Feb 2023 22:34:25 -0600 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (1.2.0-0ubuntu3) lunar; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * No-change rebuild against Qt 5.15.8. | ||||||
|  | 
 | ||||||
|  |  -- Dmitry Shachnev <mitya57@ubuntu.com>  Sat, 14 Jan 2023 13:10:25 +0300 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (1.2.0-0ubuntu2) lunar; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * No-change rebuild against Qt 5.15.7. | ||||||
|  | 
 | ||||||
|  |  -- Dmitry Shachnev <mitya57@ubuntu.com>  Sat, 10 Dec 2022 15:59:29 +0300 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (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. | ||||||
|  |   * Bump build and runtime dependencies in debian/control. | ||||||
|  | 
 | ||||||
|  |  -- Simon Quigley <tsimonq2@ubuntu.com>  Thu, 17 Nov 2022 16:40:59 -0600 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (1.1.0-1) experimental; urgency=medium | ||||||
|  | 
 | ||||||
|  |   [ Aaron Rainbolt ] | ||||||
|  |   * New upstream release 1.1.0. | ||||||
|  |   * Removed obsolete debian/compat file. | ||||||
|  |   * Switched to GBP. | ||||||
|  |   * Upstreamed non-Ubuntu-specific packaging changes from Ubuntu, modifying | ||||||
|  |     the following files: | ||||||
|  |     - control | ||||||
|  |     - copyright | ||||||
|  |     - upstream/* | ||||||
|  | 
 | ||||||
|  |   [ Simon Quigley ] | ||||||
|  |   * Re-add the existing uploaders to debian/control. | ||||||
|  | 
 | ||||||
|  |  -- Aaron Rainbolt <arraybolt3@gmail.com>  Sun, 10 Jul 2022 00:29:24 -0500 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (0.16.0-1) unstable; urgency=medium | ||||||
|  | 
 | ||||||
|  |   [ Alf Gaida ] | ||||||
|  |   * Switched to gbp | ||||||
|  |   * Bumped Standards-Version to 4.4.0, no changes needed | ||||||
|  |   * Removed no longer needed patches, applied upstream | ||||||
|  | 
 | ||||||
|  |   [ Andrew Lee (李健秋) ] | ||||||
|  |   * New upstream release. (Closes: #977329) | ||||||
|  | 
 | ||||||
|  |  -- Andrew Lee (李健秋) <ajqlee@debian.org>  Thu, 07 Jan 2021 17:53:47 +0800 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (0.14.0-3) unstable; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * Try to load the versioned libfm-qt.so.6 instead of libfm-qt.so | ||||||
|  |     (Closes: #927905) | ||||||
|  | 
 | ||||||
|  |  -- Alf Gaida <agaida@siduction.org>  Wed, 24 Apr 2019 23:05:04 +0200 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (0.14.0-2) unstable; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * Added missed direct dependency libqt5xdgiconloader-dev, the new | ||||||
|  |     build-tools don't depend on it any longer to prevent circular | ||||||
|  |     dependencies with libqtxdg (Closes: #924474). | ||||||
|  | 
 | ||||||
|  |  -- Alf Gaida <agaida@siduction.org>  Wed, 13 Mar 2019 17:59:00 +0100 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (0.14.0-1) unstable; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * Cherry-picking upstream release 0.14.0. | ||||||
|  |   * Bumped Standards to 4.3.0, no changes needed | ||||||
|  |   * Dropped d/compat, use debhelper-compat = 12, no changes needed | ||||||
|  |   * Fixed years in d/copyright | ||||||
|  |   * Bumped minimum version liblxqt0-dev (>= 0.14.0~) | ||||||
|  |   * Removed build dependency libfm-qt-dev | ||||||
|  |   * Recommend libfm-qt6 | ||||||
|  |   * Added d/upstream/metadata | ||||||
|  | 
 | ||||||
|  |  -- Alf Gaida <agaida@siduction.org>  Sun, 27 Jan 2019 18:08:59 +0100 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (0.13.0-2) unstable; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * Switched to unstable | ||||||
|  |   * Bumped build dependency libfm-qt-dev to >= 0.13.1~ | ||||||
|  |   * Bumped Standards to 4.1.5, no changes needed | ||||||
|  | 
 | ||||||
|  |  -- Alf Gaida <agaida@siduction.org>  Sat, 07 Jul 2018 14:13:08 +0200 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (0.13.0-1) experimental; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * Cherry-picking upstream release 0.13.0. | ||||||
|  |   * Switched to experimental | ||||||
|  |   * Bumped build dependency libfm-qt-dev to >= 0.13.0~ | ||||||
|  |   * Bumped build dependency lxqt-build-tools to >= 0.5.0~ | ||||||
|  |   * Removed the ported back upstream patches | ||||||
|  | 
 | ||||||
|  |  -- Alf Gaida <agaida@siduction.org>  Sat, 26 May 2018 01:13:13 +0200 | ||||||
|  | 
 | ||||||
|  | lxqt-qtplugin (0.12.0-7) unstable; urgency=medium | ||||||
|  | 
 | ||||||
|  |   * Relax debhelper minimum version to >= 11~ | ||||||
|  |   * Bumped Standard to 4.1.4, no changes needed | ||||||
|  |   * Fixde glitches in VCS fields | ||||||
|  |   * Changed Homepage, Source and watch for lxqt | ||||||
|  | 
 | ||||||
|  |  -- Alf Gaida <agaida@siduction.org>  Sat, 28 Apr 2018 16:10:41 +0200 | ||||||
| 
 | 
 | ||||||
| lxqt-qtplugin (0.12.0-6) unstable; urgency=medium | lxqt-qtplugin (0.12.0-6) unstable; urgency=medium | ||||||
| 
 | 
 | ||||||
| @ -57,16 +220,6 @@ lxqt-qtplugin (0.12.0-5) unstable; urgency=medium | |||||||
| 
 | 
 | ||||||
|  -- Alf Gaida <agaida@siduction.org>  Mon, 12 Feb 2018 19:52:16 +0100 |  -- Alf Gaida <agaida@siduction.org>  Mon, 12 Feb 2018 19:52:16 +0100 | ||||||
| 
 | 
 | ||||||
| lxqt-qtplugin (0.12.0-4ubuntu1) bionic; urgency=medium |  | ||||||
| 
 |  | ||||||
|   * Cherry-pick an upstream commit because the upstream release cycle is too |  | ||||||
|     slow: |  | ||||||
|     - Remember the view mode. |  | ||||||
|       + remember-view-mode.patch |  | ||||||
|       + Upstream commit dfa18ac. |  | ||||||
| 
 |  | ||||||
|  -- Simon Quigley <tsimonq2@ubuntu.com>  Mon, 05 Feb 2018 21:33:02 -0600 |  | ||||||
| 
 |  | ||||||
| lxqt-qtplugin (0.12.0-4) unstable; urgency=medium | lxqt-qtplugin (0.12.0-4) unstable; urgency=medium | ||||||
| 
 | 
 | ||||||
|   * Bumped Standards to 4.1.2, no changes needed |   * Bumped Standards to 4.1.2, no changes needed | ||||||
|  | |||||||
							
								
								
									
										1
									
								
								debian/compat
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								debian/compat
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | |||||||
| 11 |  | ||||||
							
								
								
									
										45
									
								
								debian/control
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										45
									
								
								debian/control
									
									
									
									
										vendored
									
									
								
							| @ -1,32 +1,37 @@ | |||||||
| Source: lxqt-qtplugin | Source: lxqt-qtplugin | ||||||
| Maintainer: Lubuntu Developers <lubuntu-devel@lists.ubuntu.com> | Maintainer: Lubuntu Developers <lubuntu-devel@lists.ubuntu.com> | ||||||
| XSBC-Original-Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org> | Original-Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org> | ||||||
| Uploaders: Simon Quigley <tsimonq2@ubuntu.com> | Uploaders: Alf Gaida <agaida@siduction.org>, | ||||||
|  |            Andrew Lee (李健秋) <ajqlee@debian.org>, | ||||||
|  |            ChangZhuo Chen (陳昌倬) <czchen@debian.org>, | ||||||
|  |            Yukiharu YABUKI <yyabuki@debian.org>, | ||||||
|  |            Simon Quigley <tsimonq2@debian.org>, | ||||||
|  |            Aaron Rainbolt <arraybolt3@gmail.com> | ||||||
| Section: x11 | Section: x11 | ||||||
| Priority: optional | Priority: optional | ||||||
| Build-Depends: debhelper (>= 11), | Build-Depends: debhelper-compat (= 13), | ||||||
|                libdbusmenu-qt5-dev, |                libdbusmenu-lxqt0-dev (>= 0.3.0), | ||||||
|                libkf5windowsystem-dev, |                libfm-qt6-dev (>= 2.2.0), | ||||||
|                libqt5svg5-dev, |                libkf6windowsystem-dev, | ||||||
|                libqt5x11extras5-dev, |                libqt6xdg-dev (>= 4.2.0), | ||||||
|  |                libqt6xdgiconloader-dev (>= 4.2.0), | ||||||
|                libx11-dev, |                libx11-dev, | ||||||
|                lxqt-build-tools (>= 0.5.0), |                lxqt-build-tools (>= 2.2.0), | ||||||
|                qtbase5-private-dev |                qt6-base-private-dev (>= 6.6.0), | ||||||
| Standards-Version: 4.1.5 |                qt6-svg-dev (>= 6.6.0) | ||||||
| Vcs-Browser: https://phab.lubuntu.me/source/lxqt-qtplugin/ | Standards-Version: 4.7.2 | ||||||
| Vcs-Git: https://phab.lubuntu.me/source/lxqt-qtplugin.git | Vcs-Browser: https://git.lubuntu.me/Lubuntu/lxqt-qtplugin-packaging | ||||||
| XS-Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/lxqt-qtplugin | Vcs-Git: https://git.lubuntu.me/Lubuntu/lxqt-qtplugin-packaging.git | ||||||
| XS-Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/lxqt-qtplugin | Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/lxqt-qtplugin | ||||||
| Homepage: https://github.com/lxde/lxqt-qtplugin | Debian-Vcs-Git: https://salsa.debian.org/lxqt-team/lxqt-qtplugin.git | ||||||
|  | Homepage: https://github.com/lxqt/lxqt-qtplugin | ||||||
|  | Rules-Requires-Root: no | ||||||
| 
 | 
 | ||||||
| Package: lxqt-qtplugin | Package: lxqt-qtplugin | ||||||
| Architecture: any | Architecture: any | ||||||
| Multi-Arch: same | Multi-Arch: same | ||||||
| Depends: ${misc:Depends}, | Depends: libfm-qt6-16, ${misc:Depends}, ${shlibs:Depends} | ||||||
|          ${shlibs:Depends} | Recommends: lxqt-config, lxqt-session | ||||||
| Recommends: libfm-qt5 (>= 0.13.1-5ubuntu4), |  | ||||||
|             lxqt-session, |  | ||||||
|             lxqt-config |  | ||||||
| Suggests: lxqt | lxqt-core | Suggests: lxqt | lxqt-core | ||||||
| Description: LXQt system integration plugin for Qt | Description: LXQt system integration plugin for Qt | ||||||
|  With this plugin, all Qt-based programs can adopt settings of |  With this plugin, all Qt-based programs can adopt settings of | ||||||
|  | |||||||
							
								
								
									
										14
									
								
								debian/copyright
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								debian/copyright
									
									
									
									
										vendored
									
									
								
							| @ -1,16 +1,22 @@ | |||||||
| Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||||||
| Upstream-Name: lxqt-qtplugin | Upstream-Name: lxqt-qtplugin | ||||||
| Source: https://github.com/lxde/lxqt-qtplugin | Source: https://github.com/lxqt/lxqt-qtplugin | ||||||
| 
 | 
 | ||||||
| Files: * | Files: * | ||||||
| Copyright: 2013-2018 LXQt team | Copyright: 2013-2025 LXQt team | ||||||
|            2010-2012 Razor team |  | ||||||
| License: LGPL-2.1+ | License: LGPL-2.1+ | ||||||
| 
 | 
 | ||||||
| Files: debian/* | Files: debian/* | ||||||
| Copyright: 2014-2018 Alf Gaida <agaida@siduction.org> | Copyright: 2021-2025 Lubuntu Developers <lubuntu-devel@lists.ubuntu.com> | ||||||
|            2015      ChangZhuo Chen (陳昌倬) <czchen@debian.org> |            2015      ChangZhuo Chen (陳昌倬) <czchen@debian.org> | ||||||
|            2015      Yukiharu YABUKI <yyabuki@debian.org> |            2015      Yukiharu YABUKI <yyabuki@debian.org> | ||||||
|  |            2014-2019 Alf Gaida <agaida@siduction.org> | ||||||
|  |            2019      Rik Mills <rikmills@kubuntu.org> | ||||||
|  |            2021      Raman Sarda <theloudspeaker@lubuntu.me> | ||||||
|  |            2019-2021 apt-ghetto <apt-ghetto@protonmail.com> | ||||||
|  |            2021      Dan Simmons <kc2bez@lubuntu.me> | ||||||
|  |            2018-2025 Simon Quigley <tsimonq2@ubuntu.com> | ||||||
|  |            2023-2025 Aaron Rainbolt <arraybolt3@gmail.com> | ||||||
| License: LGPL-2.1+ | License: LGPL-2.1+ | ||||||
| 
 | 
 | ||||||
| License: LGPL-2.1+ | License: LGPL-2.1+ | ||||||
|  | |||||||
							
								
								
									
										5
									
								
								debian/gbp.conf
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								debian/gbp.conf
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | [DEFAULT] | ||||||
|  | debian-branch = debian/sid | ||||||
|  | upstream-branch = upstream/latest | ||||||
|  | pristine-tar = True | ||||||
|  | compression = xz | ||||||
							
								
								
									
										432
									
								
								debian/patches/dynamically-load-file-dialog.patch
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										432
									
								
								debian/patches/dynamically-load-file-dialog.patch
									
									
									
									
										vendored
									
									
								
							| @ -1,432 +0,0 @@ | |||||||
| Description: Dynamically load libfm-qt |  | ||||||
|  Dynamically load libfm-qt on demand to create the file dialog helper to |  | ||||||
|  prevent the hard dependency on libfm-qt. This speed up the loading of the QPA |  | ||||||
|  plugin and also avoid loading libfm-qt in Qt programs having QT_NO_GLIB=1. |  | ||||||
| Author: Hong Jen Yee (PCMan) <pcman.tw@gmail.com> |  | ||||||
| Origin: upstream |  | ||||||
| Applied-Upstream: commit:334394a |  | ||||||
| Last-Update: 2018-07-30 |  | ||||||
| --- a/CMakeLists.txt
 |  | ||||||
| +++ b/CMakeLists.txt
 |  | ||||||
| @@ -18,10 +18,6 @@ find_package(Qt5XdgIconLoader REQUIRED)
 |  | ||||||
|   |  | ||||||
|  # Patch Version 0 |  | ||||||
|   |  | ||||||
| -# for file dialog support
 |  | ||||||
| -find_package(Qt5X11Extras REQUIRED)
 |  | ||||||
| -find_package(fm-qt REQUIRED)
 |  | ||||||
| -
 |  | ||||||
|  include(LXQtPreventInSourceBuilds) |  | ||||||
|  include(LXQtCompilerSettings NO_POLICY_SCOPE) |  | ||||||
|   |  | ||||||
| --- a/src/CMakeLists.txt
 |  | ||||||
| +++ b/src/CMakeLists.txt
 |  | ||||||
| @@ -6,7 +6,6 @@ include_directories(
 |  | ||||||
|  set(qtlxqt_HDRS |  | ||||||
|      lxqtplatformtheme.h |  | ||||||
|      lxqtsystemtrayicon.h |  | ||||||
| -    lxqtfiledialoghelper.h
 |  | ||||||
|      statusnotifieritem/statusnotifieritem.h |  | ||||||
|      statusnotifieritem/dbustypes.h |  | ||||||
|  ) |  | ||||||
| @@ -15,7 +14,6 @@ set(qtlxqt_SRCS
 |  | ||||||
|      main.cpp |  | ||||||
|      lxqtplatformtheme.cpp |  | ||||||
|      lxqtsystemtrayicon.cpp |  | ||||||
| -    lxqtfiledialoghelper.cpp
 |  | ||||||
|      statusnotifieritem/statusnotifieritem.cpp |  | ||||||
|      statusnotifieritem/dbustypes.cpp |  | ||||||
|  ) |  | ||||||
| @@ -38,7 +36,6 @@ target_link_libraries(qtlxqt
 |  | ||||||
|      Qt5::DBus |  | ||||||
|      dbusmenu-qt5 |  | ||||||
|      Qt5XdgIconLoader |  | ||||||
| -    fm-qt
 |  | ||||||
|  ) |  | ||||||
|   |  | ||||||
|   |  | ||||||
| --- a/src/lxqtfiledialoghelper.cpp
 |  | ||||||
| +++ /dev/null
 |  | ||||||
| @@ -1,276 +0,0 @@
 |  | ||||||
| -#include "lxqtfiledialoghelper.h"
 |  | ||||||
| -
 |  | ||||||
| -#include <libfm-qt/libfmqt.h>
 |  | ||||||
| -#include <libfm-qt/filedialog.h>
 |  | ||||||
| -
 |  | ||||||
| -#include <QWindow>
 |  | ||||||
| -#include <QDebug>
 |  | ||||||
| -#include <QTimer>
 |  | ||||||
| -#include <QSettings>
 |  | ||||||
| -
 |  | ||||||
| -#include <memory>
 |  | ||||||
| -
 |  | ||||||
| -static std::unique_ptr<Fm::LibFmQt> libfmQtContext_;
 |  | ||||||
| -
 |  | ||||||
| -inline static const QString viewModeToString(Fm::FolderView::ViewMode value);
 |  | ||||||
| -inline static Fm::FolderView::ViewMode viewModeFromString(const QString& str);
 |  | ||||||
| -
 |  | ||||||
| -LXQtFileDialogHelper::LXQtFileDialogHelper() {
 |  | ||||||
| -    if(!libfmQtContext_) {
 |  | ||||||
| -        // initialize libfm-qt only once
 |  | ||||||
| -        libfmQtContext_ = std::unique_ptr<Fm::LibFmQt>{new Fm::LibFmQt()};
 |  | ||||||
| -    }
 |  | ||||||
| -
 |  | ||||||
| -    // can only be used after libfm-qt initialization
 |  | ||||||
| -    dlg_ = std::unique_ptr<Fm::FileDialog>(new Fm::FileDialog());
 |  | ||||||
| -    connect(dlg_.get(), &Fm::FileDialog::accepted, [this]() {
 |  | ||||||
| -        saveSettings();
 |  | ||||||
| -        accept();
 |  | ||||||
| -    });
 |  | ||||||
| -    connect(dlg_.get(), &Fm::FileDialog::rejected, [this]() {
 |  | ||||||
| -        saveSettings();
 |  | ||||||
| -        reject();
 |  | ||||||
| -    });
 |  | ||||||
| -
 |  | ||||||
| -    connect(dlg_.get(), &Fm::FileDialog::fileSelected, this, &LXQtFileDialogHelper::fileSelected);
 |  | ||||||
| -    connect(dlg_.get(), &Fm::FileDialog::filesSelected, this, &LXQtFileDialogHelper::filesSelected);
 |  | ||||||
| -    connect(dlg_.get(), &Fm::FileDialog::currentChanged, this, &LXQtFileDialogHelper::currentChanged);
 |  | ||||||
| -    connect(dlg_.get(), &Fm::FileDialog::directoryEntered, this, &LXQtFileDialogHelper::directoryEntered);
 |  | ||||||
| -    connect(dlg_.get(), &Fm::FileDialog::filterSelected, this, &LXQtFileDialogHelper::filterSelected);
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -LXQtFileDialogHelper::~LXQtFileDialogHelper() {
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -void LXQtFileDialogHelper::exec() {
 |  | ||||||
| -    dlg_->exec();
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -bool LXQtFileDialogHelper::show(Qt::WindowFlags windowFlags, Qt::WindowModality windowModality, QWindow* parent) {
 |  | ||||||
| -    dlg_->setAttribute(Qt::WA_NativeWindow, true); // without this, sometimes windowHandle() will return nullptr
 |  | ||||||
| -
 |  | ||||||
| -    dlg_->setWindowFlags(windowFlags);
 |  | ||||||
| -    dlg_->setWindowModality(windowModality);
 |  | ||||||
| -
 |  | ||||||
| -    // Reference: KDE implementation
 |  | ||||||
| -    // https://github.com/KDE/plasma-integration/blob/master/src/platformtheme/kdeplatformfiledialoghelper.cpp
 |  | ||||||
| -    dlg_->windowHandle()->setTransientParent(parent);
 |  | ||||||
| -
 |  | ||||||
| -    applyOptions();
 |  | ||||||
| -
 |  | ||||||
| -    loadSettings();
 |  | ||||||
| -    // central positioning with respect to the parent window
 |  | ||||||
| -    if(parent && parent->isVisible()) {
 |  | ||||||
| -        dlg_->move(parent->x() + (parent->width() - dlg_->width()) / 2,
 |  | ||||||
| -                   parent->y() + (parent->height() - dlg_->height()) / 2);
 |  | ||||||
| -    }
 |  | ||||||
| -
 |  | ||||||
| -    // NOTE: the timer here is required as a workaround borrowed from KDE. Without this, the dialog UI will be blocked.
 |  | ||||||
| -    // QFileDialog calls our platform plugin to show our own native file dialog instead of showing its widget.
 |  | ||||||
| -    // However, it still creates a hidden dialog internally, and then make it modal.
 |  | ||||||
| -    // So user input from all other windows that are not the children of the QFileDialog widget will be blocked.
 |  | ||||||
| -    // This includes our own dialog. After the return of this show() method, QFileDialog creates its own window and
 |  | ||||||
| -    // then make it modal, which blocks our UI. The timer schedule a delayed popup of our file dialog, so we can
 |  | ||||||
| -    // show again after QFileDialog and override the modal state. Then our UI can be unblocked.
 |  | ||||||
| -    QTimer::singleShot(0, dlg_.get(), &QDialog::show);
 |  | ||||||
| -    dlg_->setFocus();
 |  | ||||||
| -    return true;
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -void LXQtFileDialogHelper::hide() {
 |  | ||||||
| -    dlg_->hide();
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -bool LXQtFileDialogHelper::defaultNameFilterDisables() const {
 |  | ||||||
| -    return false;
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -void LXQtFileDialogHelper::setDirectory(const QUrl& directory) {
 |  | ||||||
| -    dlg_->setDirectory(directory);
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -QUrl LXQtFileDialogHelper::directory() const {
 |  | ||||||
| -    return dlg_->directory();
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -void LXQtFileDialogHelper::selectFile(const QUrl& filename) {
 |  | ||||||
| -    dlg_->selectFile(filename);
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -QList<QUrl> LXQtFileDialogHelper::selectedFiles() const {
 |  | ||||||
| -    return dlg_->selectedFiles();
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -void LXQtFileDialogHelper::setFilter() {
 |  | ||||||
| -    // FIXME: what's this?
 |  | ||||||
| -    // The gtk+ 3 file dialog helper in Qt5 update options in this method.
 |  | ||||||
| -    applyOptions();
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -void LXQtFileDialogHelper::selectNameFilter(const QString& filter) {
 |  | ||||||
| -    dlg_->selectNameFilter(filter);
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)
 |  | ||||||
| -QString LXQtFileDialogHelper::selectedMimeTypeFilter() const {
 |  | ||||||
| -    return dlg_->selectedMimeTypeFilter();
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -void LXQtFileDialogHelper::selectMimeTypeFilter(const QString& filter) {
 |  | ||||||
| -    dlg_->selectMimeTypeFilter(filter);
 |  | ||||||
| -}
 |  | ||||||
| -#endif
 |  | ||||||
| -
 |  | ||||||
| -QString LXQtFileDialogHelper::selectedNameFilter() const {
 |  | ||||||
| -    return dlg_->selectedNameFilter();
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -bool LXQtFileDialogHelper::isSupportedUrl(const QUrl& url) const {
 |  | ||||||
| -    return dlg_->isSupportedUrl(url);
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -void LXQtFileDialogHelper::applyOptions() {
 |  | ||||||
| -    auto& opt = options();
 |  | ||||||
| -
 |  | ||||||
| -    // set title
 |  | ||||||
| -    if(opt->windowTitle().isEmpty()) {
 |  | ||||||
| -        dlg_->setWindowTitle(opt->acceptMode() == QFileDialogOptions::AcceptOpen ? tr("Open File")
 |  | ||||||
| -                                                                                 : tr("Save File"));
 |  | ||||||
| -    }
 |  | ||||||
| -    else {
 |  | ||||||
| -        dlg_->setWindowTitle(opt->windowTitle());
 |  | ||||||
| -    }
 |  | ||||||
| -
 |  | ||||||
| -    dlg_->setFilter(opt->filter());
 |  | ||||||
| -    dlg_->setFileMode(QFileDialog::FileMode(opt->fileMode()));
 |  | ||||||
| -    dlg_->setAcceptMode(QFileDialog::AcceptMode(opt->acceptMode())); // also sets a default label for accept button
 |  | ||||||
| -    // bool useDefaultNameFilters() const;
 |  | ||||||
| -    dlg_->setNameFilters(opt->nameFilters());
 |  | ||||||
| -    if(!opt->mimeTypeFilters().empty()) {
 |  | ||||||
| -        dlg_->setMimeTypeFilters(opt->mimeTypeFilters());
 |  | ||||||
| -    }
 |  | ||||||
| -
 |  | ||||||
| -    dlg_->setDefaultSuffix(opt->defaultSuffix());
 |  | ||||||
| -    // QStringList history() const;
 |  | ||||||
| -
 |  | ||||||
| -    // explicitly set labels
 |  | ||||||
| -    for(int i = 0; i < QFileDialogOptions::DialogLabelCount; ++i) {
 |  | ||||||
| -        auto label = static_cast<QFileDialogOptions::DialogLabel>(i);
 |  | ||||||
| -        if(opt->isLabelExplicitlySet(label)) {
 |  | ||||||
| -            dlg_->setLabelText(static_cast<QFileDialog::DialogLabel>(label), opt->labelText(label));
 |  | ||||||
| -        }
 |  | ||||||
| -    }
 |  | ||||||
| -
 |  | ||||||
| -    auto url = opt->initialDirectory();
 |  | ||||||
| -    if(url.isValid()) {
 |  | ||||||
| -        dlg_->setDirectory(url);
 |  | ||||||
| -    }
 |  | ||||||
| -
 |  | ||||||
| -
 |  | ||||||
| -#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)
 |  | ||||||
| -    auto filter = opt->initiallySelectedMimeTypeFilter();
 |  | ||||||
| -    if(!filter.isEmpty()) {
 |  | ||||||
| -        selectMimeTypeFilter(filter);
 |  | ||||||
| -    }
 |  | ||||||
| -    else {
 |  | ||||||
| -        filter = opt->initiallySelectedNameFilter();
 |  | ||||||
| -        if(!filter.isEmpty()) {
 |  | ||||||
| -            selectNameFilter(opt->initiallySelectedNameFilter());
 |  | ||||||
| -        }
 |  | ||||||
| -    }
 |  | ||||||
| -#else
 |  | ||||||
| -    auto filter = opt->initiallySelectedNameFilter();
 |  | ||||||
| -    if(!filter.isEmpty()) {
 |  | ||||||
| -        selectNameFilter(filter);
 |  | ||||||
| -    }
 |  | ||||||
| -#endif
 |  | ||||||
| -
 |  | ||||||
| -    auto selectedFiles = opt->initiallySelectedFiles();
 |  | ||||||
| -    for(const auto& selectedFile: selectedFiles) {
 |  | ||||||
| -        selectFile(selectedFile);
 |  | ||||||
| -    }
 |  | ||||||
| -    // QStringList supportedSchemes() const;
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -static const QString viewModeToString(Fm::FolderView::ViewMode value) {
 |  | ||||||
| -    QString ret;
 |  | ||||||
| -    switch(value) {
 |  | ||||||
| -    case Fm::FolderView::DetailedListMode:
 |  | ||||||
| -    default:
 |  | ||||||
| -        ret = QLatin1String("Detailed");
 |  | ||||||
| -        break;
 |  | ||||||
| -    case Fm::FolderView::CompactMode:
 |  | ||||||
| -        ret = QLatin1String("Compact");
 |  | ||||||
| -        break;
 |  | ||||||
| -    case Fm::FolderView::IconMode:
 |  | ||||||
| -        ret = QLatin1String("Icon");
 |  | ||||||
| -        break;
 |  | ||||||
| -    case Fm::FolderView::ThumbnailMode:
 |  | ||||||
| -        ret = QLatin1String("Thumbnail");
 |  | ||||||
| -        break;
 |  | ||||||
| -    }
 |  | ||||||
| -    return ret;
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -Fm::FolderView::ViewMode viewModeFromString(const QString& str) {
 |  | ||||||
| -    Fm::FolderView::ViewMode ret;
 |  | ||||||
| -    if(str == QLatin1String("Detailed")) {
 |  | ||||||
| -        ret = Fm::FolderView::DetailedListMode;
 |  | ||||||
| -    }
 |  | ||||||
| -    else if(str == QLatin1String("Compact")) {
 |  | ||||||
| -        ret = Fm::FolderView::CompactMode;
 |  | ||||||
| -    }
 |  | ||||||
| -    else if(str == QLatin1String("Icon")) {
 |  | ||||||
| -        ret = Fm::FolderView::IconMode;
 |  | ||||||
| -    }
 |  | ||||||
| -    else if(str == QLatin1String("Thumbnail")) {
 |  | ||||||
| -        ret = Fm::FolderView::ThumbnailMode;
 |  | ||||||
| -    }
 |  | ||||||
| -    else {
 |  | ||||||
| -        ret = Fm::FolderView::DetailedListMode;
 |  | ||||||
| -    }
 |  | ||||||
| -    return ret;
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -void LXQtFileDialogHelper::loadSettings() {
 |  | ||||||
| -    QSettings settings(QSettings::UserScope, "lxqt", "filedialog");
 |  | ||||||
| -    settings.beginGroup ("Sizes");
 |  | ||||||
| -    dlg_->resize(settings.value("WindowSize", QSize(700, 500)).toSize());
 |  | ||||||
| -    dlg_->setSplitterPos(settings.value("SplitterPos", 200).toInt());
 |  | ||||||
| -    settings.endGroup();
 |  | ||||||
| -
 |  | ||||||
| -   settings.beginGroup ("View");
 |  | ||||||
| -   dlg_->setViewMode(viewModeFromString(settings.value("Mode", "Detailed").toString()));
 |  | ||||||
| -   settings.endGroup();
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -void LXQtFileDialogHelper::saveSettings() {
 |  | ||||||
| -    QSettings settings(QSettings::UserScope, "lxqt", "filedialog");
 |  | ||||||
| -    settings.beginGroup ("Sizes");
 |  | ||||||
| -    QSize windowSize = dlg_->size();
 |  | ||||||
| -    if(settings.value("WindowSize") != windowSize) { // no redundant write
 |  | ||||||
| -        settings.setValue("WindowSize", windowSize);
 |  | ||||||
| -    }
 |  | ||||||
| -    int splitterPos = dlg_->splitterPos();
 |  | ||||||
| -    if(settings.value("SplitterPos") != splitterPos) {
 |  | ||||||
| -        settings.setValue("SplitterPos", splitterPos);
 |  | ||||||
| -    }
 |  | ||||||
| -    settings.endGroup();
 |  | ||||||
| -
 |  | ||||||
| -    settings.beginGroup ("View");
 |  | ||||||
| -    QString mode = viewModeToString(dlg_->viewMode());
 |  | ||||||
| -    if(settings.value("Mode") != mode) {
 |  | ||||||
| -        settings.setValue("Mode", mode);
 |  | ||||||
| -    }
 |  | ||||||
| -    settings.endGroup();
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -/*
 |  | ||||||
| -FileDialogPlugin::FileDialogPlugin() {
 |  | ||||||
| -
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -QPlatformFileDialogHelper *FileDialogPlugin::createHelper() {
 |  | ||||||
| -    return new LXQtFileDialogHelper();
 |  | ||||||
| -}
 |  | ||||||
| -*/
 |  | ||||||
| --- a/src/lxqtfiledialoghelper.h
 |  | ||||||
| +++ /dev/null
 |  | ||||||
| @@ -1,50 +0,0 @@
 |  | ||||||
| -#ifndef LXQTFILEDIALOGHELPER_H
 |  | ||||||
| -#define LXQTFILEDIALOGHELPER_H
 |  | ||||||
| -
 |  | ||||||
| -#include <qpa/qplatformdialoghelper.h> // this private header is subject to changes
 |  | ||||||
| -#include <memory>
 |  | ||||||
| -
 |  | ||||||
| -namespace Fm {
 |  | ||||||
| -class FileDialog;
 |  | ||||||
| -}
 |  | ||||||
| -
 |  | ||||||
| -class Q_GUI_EXPORT LXQtFileDialogHelper : public QPlatformFileDialogHelper {
 |  | ||||||
| -    Q_OBJECT
 |  | ||||||
| -
 |  | ||||||
| -public:
 |  | ||||||
| -    LXQtFileDialogHelper();
 |  | ||||||
| -
 |  | ||||||
| -    virtual ~LXQtFileDialogHelper();
 |  | ||||||
| -
 |  | ||||||
| -    // QPlatformDialogHelper
 |  | ||||||
| -    void exec() override;
 |  | ||||||
| -    bool show(Qt::WindowFlags windowFlags, Qt::WindowModality windowModality, QWindow *parent) override;
 |  | ||||||
| -    void hide() override;
 |  | ||||||
| -
 |  | ||||||
| -    // QPlatformFileDialogHelper
 |  | ||||||
| -    bool defaultNameFilterDisables() const override;
 |  | ||||||
| -    void setDirectory(const QUrl &directory) override;
 |  | ||||||
| -    QUrl directory() const override;
 |  | ||||||
| -    void selectFile(const QUrl &filename) override;
 |  | ||||||
| -    QList<QUrl> selectedFiles() const override;
 |  | ||||||
| -    void setFilter() override;
 |  | ||||||
| -    void selectNameFilter(const QString &filter) override;
 |  | ||||||
| -#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 0)
 |  | ||||||
| -    QString selectedMimeTypeFilter() const override;
 |  | ||||||
| -    void selectMimeTypeFilter(const QString &filter) override;
 |  | ||||||
| -#endif
 |  | ||||||
| -    QString selectedNameFilter() const override;
 |  | ||||||
| -
 |  | ||||||
| -    bool isSupportedUrl(const QUrl &url) const override;
 |  | ||||||
| -
 |  | ||||||
| -private:
 |  | ||||||
| -    void applyOptions();
 |  | ||||||
| -    void loadSettings();
 |  | ||||||
| -    void saveSettings();
 |  | ||||||
| -
 |  | ||||||
| -private:
 |  | ||||||
| -    std::unique_ptr<Fm::FileDialog> dlg_;
 |  | ||||||
| -};
 |  | ||||||
| -
 |  | ||||||
| -
 |  | ||||||
| -#endif // LXQTFILEDIALOGHELPER_H
 |  | ||||||
| --- a/src/lxqtplatformtheme.cpp
 |  | ||||||
| +++ b/src/lxqtplatformtheme.cpp
 |  | ||||||
| @@ -45,8 +45,14 @@
 |  | ||||||
|  #include <QFileSystemWatcher> |  | ||||||
|  #include <QStyle> |  | ||||||
|  #include <private/xdgiconloader/xdgiconloader_p.h> |  | ||||||
| +#include <QLibrary>
 |  | ||||||
| +
 |  | ||||||
| +
 |  | ||||||
| +// Function to create a new Fm::FileDialogHelper object.
 |  | ||||||
| +// This is dynamically loaded at runtime on demand from libfm-qt.
 |  | ||||||
| +typedef QPlatformDialogHelper* (*CreateFileDialogHelperFunc)();
 |  | ||||||
| +static CreateFileDialogHelperFunc createFileDialogHelper = nullptr;
 |  | ||||||
|   |  | ||||||
| -#include "lxqtfiledialoghelper.h"
 |  | ||||||
|   |  | ||||||
|  LXQtPlatformTheme::LXQtPlatformTheme(): |  | ||||||
|      iconFollowColorScheme_(true) |  | ||||||
| @@ -222,8 +228,32 @@ bool LXQtPlatformTheme::usePlatformNativ
 |  | ||||||
|  QPlatformDialogHelper *LXQtPlatformTheme::createPlatformDialogHelper(DialogType type) const { |  | ||||||
|      if(type == FileDialog |  | ||||||
|         && qobject_cast<QApplication *>(QCoreApplication::instance())) { // QML may not have qApp |  | ||||||
| -        // use our own file dialog
 |  | ||||||
| -        return new LXQtFileDialogHelper();
 |  | ||||||
| +        // use our own file dialog provided by libfm
 |  | ||||||
| +
 |  | ||||||
| +        // When a process has this environment set, that means glib event loop integration is disabled.
 |  | ||||||
| +        // In this case, libfm-qt just won't work. So let's disable the file dialog helper and return nullptr.
 |  | ||||||
| +        if(qgetenv("QT_NO_GLIB") == "1") {
 |  | ||||||
| +            return nullptr;
 |  | ||||||
| +        }
 |  | ||||||
| +
 |  | ||||||
| +        // The createFileDialogHelper() method is dynamically loaded from libfm-qt on demand
 |  | ||||||
| +        if(createFileDialogHelper == nullptr) {
 |  | ||||||
| +            // try to dynamically load libfm-qt.so
 |  | ||||||
| +            QLibrary libfmQtLibrary{"libfm-qt"};
 |  | ||||||
| +            libfmQtLibrary.load();
 |  | ||||||
| +            if(!libfmQtLibrary.isLoaded()) {
 |  | ||||||
| +                return nullptr;
 |  | ||||||
| +            }
 |  | ||||||
| +
 |  | ||||||
| +            // try to resolve the symbol to get the function pointer
 |  | ||||||
| +            createFileDialogHelper = reinterpret_cast<CreateFileDialogHelperFunc>(libfmQtLibrary.resolve("createFileDialogHelper"));
 |  | ||||||
| +            if(!createFileDialogHelper) {
 |  | ||||||
| +                return nullptr;
 |  | ||||||
| +            }
 |  | ||||||
| +        }
 |  | ||||||
| +
 |  | ||||||
| +        // create a new file dialog helper provided by libfm
 |  | ||||||
| +        return createFileDialogHelper();
 |  | ||||||
|      } |  | ||||||
|      return nullptr; |  | ||||||
|  } |  | ||||||
							
								
								
									
										1
									
								
								debian/patches/series
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								debian/patches/series
									
									
									
									
										vendored
									
									
								
							| @ -1 +0,0 @@ | |||||||
| dynamically-load-file-dialog.patch |  | ||||||
							
								
								
									
										4
									
								
								debian/rules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								debian/rules
									
									
									
									
										vendored
									
									
								
							| @ -2,7 +2,6 @@ | |||||||
| # 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 | ||||||
| 
 | 
 | ||||||
| %: | %: | ||||||
| @ -10,4 +9,5 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all | |||||||
| 
 | 
 | ||||||
| override_dh_auto_configure: | override_dh_auto_configure: | ||||||
| 	dh_auto_configure --\ | 	dh_auto_configure --\ | ||||||
| 		-DCMAKE_BUILD_TYPE=RelWithDebInfo | 		-DCMAKE_BUILD_TYPE=RelWithDebInfo \ | ||||||
|  | 		-DQT_PLUGINS_DIR=/usr/lib/${DEB_HOST_MULTIARCH}/qt6/plugins | ||||||
|  | |||||||
							
								
								
									
										1
									
								
								debian/source/options
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								debian/source/options
									
									
									
									
										vendored
									
									
								
							| @ -1,2 +1 @@ | |||||||
| tar-ignore=.gitignore | tar-ignore=.gitignore | ||||||
| 
 |  | ||||||
|  | |||||||
							
								
								
									
										5
									
								
								debian/upstream/metadata
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								debian/upstream/metadata
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | |||||||
|  | Name: lxqt-qtplugin | ||||||
|  | Bug-Database: https://github.com/lxqt/lxqt-qtplugin/issues | ||||||
|  | Bug-Submit: https://github.com/lxqt/lxqt-qtplugin/issues/new | ||||||
|  | Changelog: https://github.com/lxqt/lxqt-qtplugin/blob/master/CHANGELOG | ||||||
|  | Repository: https://github.com/lxqt/lxqt-qtplugin | ||||||
							
								
								
									
										96
									
								
								debian/upstream/signing-key.asc
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										96
									
								
								debian/upstream/signing-key.asc
									
									
									
									
										vendored
									
									
								
							| @ -1,50 +1,52 @@ | |||||||
| -----BEGIN PGP PUBLIC KEY BLOCK----- | -----BEGIN PGP PUBLIC KEY BLOCK----- | ||||||
| 
 | 
 | ||||||
| mQINBFXQeMMBEACif4+9pTrC6uNmRng0ZbzLh7p3cazmbnp2YFgDQDJZ7ZNmebxy | mQINBF6cxrwBEADfl3ydxNfLBbWGPesXty2baQgixZ3D6aCxadI2kX+aikmT8rd0 | ||||||
| ngRuRhjGuDcFAL/37BwJnrBpfZFK9ljoH4Fo5Jm9cOELaTy7AIcEiV9dKMyrKF1E | ttDKN18cXV52Ssxnj0qhgf4hwnu/b0be6BzqSEyGM+UQR3X2CYpxrMakfW32Q18K | ||||||
| C76d8jHVuzuPbI92DkFdLZAdk+qjrrAy0x43PvUd+aaBGLcFs1ZMk7gOvElc2d95 | X5ec0RPR2ucBq9G0r9t6FYC8FkJ4uQUU3xxrLW3z302S0Makjgzm8BV9WrFQ7oFF | ||||||
| zWWSp5anjukmGbp+EsStnWJkF6VHj56qmklfYy5ioiVBOSpXo/RsACAcIlz8C8A1 | uJQj0BHbHYC4RyaZb2AfxY4Y92BPGTjtGekWqgw6vEXCCnvAbGYVQzvxZt3nw21/ | ||||||
| d4tNMiB2uF2OrUfrL8DD6m3nBqep+AYbIQrxMl9kUQH3I33e9kH/L+SHQyE6phS8 | 1YmV4g7xhGFQPbOf9v3ejFUJeJIGzuJf5NAh7kvfCdUBAG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nkwB60i334FAl6cxrwCGwMFCwkIBwIGFQoJCAsCBBYC | ||||||
| 41103cnElGf6TokPl4J6hdRPy2CUAjmBtMfr8eajYvGDGgnmsh9AGYGURjfFVCCf | AwECHgECF4AACgkQvnkwB60i335f9RAAgRpn8gUa/l10UkVAnpM2Cz0MuNMwwCOq | ||||||
| Ag+8b6nF3xg03UmgsuSO8H78HGv9kKzF9aHmLt+SXq3jUX+LnIkFHErZWjFAKdJr | IfVnuZuPBtYYiTU5Su++/aPZe3fF5B4v61F+XjNi7qeVL2t52X3jZ/iIx9Syasb+ | ||||||
| luu1j6ltxLe9PQljxZnugzMaUbW8eEPKvcriiDn3S4/DtikW/jpGA0MTY4ZWs9pZ | vDAIfQ5t6lKXvOptWxf6vteOg6CHbXwpGHbPjUkUS2vQwRikjBnR0SnkrMoXtgSX | ||||||
| L/6iRRH99L2X/cWO4sCgDXCTt4oK0f5OvwiuCoVOM+PYoIm31JICCKOlqamkCn7d | amPFqsitNrOhEJfeDfo0NzKESZuliWrCFt2v8c5q18G8cCZAvPLBlGuwRl58cDep | ||||||
| 2KH3nsy0v7tXgnrnb/zr8jVGsZLzUE51AFOzb5Ec74/2SAq8X4gbTppttLXEIooq | 3EIibMI/9MUSJbKoiHlK+LcHtG7BQTNis/e7Pe1PkRmExfhxe1lNajtOx8FO72Tq | ||||||
| nbepitW/PePkPY5gpfwHtFbl88qFnir+ABMefqRZkzeh0tsxJVLVHGP1KZykXpv7 | B6zY6drippM9VaIc1M+zp9BRpsFu8whOmapCqlXHRgAK8xTdQRIGInQFqLWPOxSC | ||||||
| 96A6Q1h7Zo9Ny7WwN5Xl02g35LVCaPyzd3A8A4315uMuP3iziq57UktKqh9d5S3t | f0B6N+EvQvgkyFQ1rW+u91OJBma46uKkhrwf+mDttVRncaIAkgE6e6pqm18yIPFk | ||||||
| jfK7e9UfFQZBLfxn2sNPsjdYSNUQp/PXTTk/599h359WVuUIR866T8K7N7EEon3p | D42rt/yHcOl+2qkcJS3gPcg5U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c1O/1mUgqT6nQ5N9KCPpjZQRT6D6eIMmePtS85z4PPeYMJxPsKRYWPGRxKhCSdZl | ||||||
| qP4rHoUO5KVRSDh7frSlrdbLGWHaQwOhcqoKd4qP/164wHPGkgHL1vztdOc7l1wx | /0wsC8aRtmwYT729e0ZgTAmUnj+rQp5hboF/ZPFjIoXR9G+0HnoY0a/nqVO4lUON | ||||||
| q3gMh2uwmJR0NRrw4WVuaIqL9lEbGBNijlmGsuqXfsMRhc/qoqgVDWvrcCtEoOwl | AV25GnMFGVyiHHlbH/0gboywwnzEg8BZbk+Z/61oOzBIW09sfG8fn8bsbkpL+nHf | ||||||
| TONGobW3jpCCjpa9SeGNjxuY6IVLn0lfX4hItNVY9sFA+H+yj4uBQ7zsmMUXafxt | Mi/Vauge6wSfw7I5AfSiwrSDNHmKVsu39koWV6JGxEeFr2MffF+CuaoJCNOr/ZII | ||||||
| Yllm0f98yGNg5lnJg4bLOYu3IkpogUKNA3qkZ+6vRtwH70/bJGp7qdx/3G4W5dMX | SYR5ku3Y/lMKyUH1Oas0RWzFrdRcInqYK90A0x083zP4V445MvCwbRPzQAkm9wOP | ||||||
| asd/rJjdELW+R/NVULAmK1ETSklaa3Z6vbTu8bN8gvP8pmMJ8f/U8+qzkuAqc201 | kILLhE5FW+9/O0/9bpx4joJUDLV4d3hFZy7GSHKiZUs1QW6BV75JQKqoi+cVt+/L | ||||||
| Z4O+s7ZsQfTiz5mm7zPGIYTnppDSno/rABEBAAGJAh8EGAECAAkFAlXQeMMCGwwA | +o1S8CMNekjqdC2mWRosM3doo51zT/FWNzQA1QcoZP2hORJDfw66y+4wPq6o8y1W | ||||||
| CgkQQsnI069epeMt0g/+JrwLhULD6NOxaLgxboh/KZkh/7ViU4cB+QPT8JIcWxkZ | jR35ABEBAAGJAjYEGAEIACAWIQQZ3986V5vVCdu1cti+eTAHrSLffgUCXpzGvAIb | ||||||
| zj8uk85TUitEUzKmjp/ItCrhQE5WNNWbz/FBnAuLtaQuHhcHMA3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JTh3waNeLUTpn4GV4mMrsZjOy6vhhHb91 | Oa86l8pqli+B7rpTbsAE9Ut8qUaWjm87oUNSJbaKgqNnMaE+b/8VJaEeWHgQJwsD | ||||||
| 1TKfI1gvjk7lE9xaWmcDjdI55dw3jIq8kK9SdgORGq9/S3g7KJNRjme+6GjqQfk= | bJSJ/O/vzlRtDjOJ1JDlMRLs7TnOFeUh5pgwyaJoidYbJEiGlMGJbI6BjwhDTBFO | ||||||
| =h7ww | NLJtd3SsRjc7ICtGdCvej59IvCDTjxtkhx5okF03APi1aXpHQrE18/arFD7BpoGO | ||||||
|  | sw== | ||||||
|  | =gSIv | ||||||
| -----END PGP PUBLIC KEY BLOCK----- | -----END PGP PUBLIC KEY BLOCK----- | ||||||
|  | |||||||
							
								
								
									
										6
									
								
								debian/watch
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								debian/watch
									
									
									
									
										vendored
									
									
								
							| @ -1,3 +1,5 @@ | |||||||
| version=4 | version=4 | ||||||
| opts="pgpsigurlmangle=s/$/.asc/" \ | opts="searchmode=plain, \ | ||||||
|     https://github.com/lxde/lxqt-qtplugin/releases .*/lxqt-qtplugin-([\d\.]+).tar.xz | 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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user