Compare commits
No commits in common. "d6371bc27734c38483ea54bb04188dd219144d8c" and "944ca043e5fdeedeec854aefbeeff97533d690fe" have entirely different histories.
d6371bc277
...
944ca043e5
20
debian/changelog
vendored
20
debian/changelog
vendored
@ -1,23 +1,3 @@
|
|||||||
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
|
libfm-qt (1.1.0-2ubuntu1) kinetic; urgency=medium
|
||||||
|
|
||||||
* Update debian/libfm-qt11.symbols for GCC 12.
|
* Update debian/libfm-qt11.symbols for GCC 12.
|
||||||
|
22
debian/control
vendored
22
debian/control
vendored
@ -1,5 +1,5 @@
|
|||||||
Source: libfm-qt
|
Source: libfm-qt
|
||||||
Maintainer: Lubuntu Developers <lubuntu-devel@lists.ubuntu.com>
|
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
||||||
XSBC-Original-Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
|
XSBC-Original-Maintainer: LXQt Packaging Team <pkg-lxqt-devel@lists.alioth.debian.org>
|
||||||
Uploaders: Alf Gaida <agaida@siduction.org>,
|
Uploaders: Alf Gaida <agaida@siduction.org>,
|
||||||
ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
|
ChangZhuo Chen (陳昌倬) <czchen@debian.org>,
|
||||||
@ -16,19 +16,17 @@ Build-Depends: debhelper-compat (= 13),
|
|||||||
libqt5svg5-dev,
|
libqt5svg5-dev,
|
||||||
libqt5x11extras5-dev,
|
libqt5x11extras5-dev,
|
||||||
libx11-dev,
|
libx11-dev,
|
||||||
lxqt-build-tools (>= 0.12.0),
|
lxqt-build-tools (>= 0.11.0),
|
||||||
qtbase5-private-dev
|
qtbase5-private-dev
|
||||||
Standards-Version: 4.6.1
|
Standards-Version: 4.6.1
|
||||||
Vcs-Browser: https://git.lubuntu.me/Lubuntu/libfm-qt-packaging
|
Vcs-Browser: https://salsa.debian.org/lxqt-team/libfm-qt
|
||||||
Vcs-Git: https://git.lubuntu.me/Lubuntu/libfm-qt-packaging.gi
|
Vcs-Git: https://salsa.debian.org/lxqt-team/libfm-qt.git
|
||||||
XS-Debian-Vcs-Browser: https://salsa.debian.org/lxqt-team/libfm-qt
|
|
||||||
XS-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
|
Rules-Requires-Root: no
|
||||||
|
|
||||||
Package: libfm-qt12
|
Package: libfm-qt11
|
||||||
Replaces: libfm-qt9, libfm-qt11
|
Replaces: libfm-qt9
|
||||||
Breaks: libfm-qt9, libfm-qt11
|
Breaks: libfm-qt9
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Multi-Arch: same
|
Multi-Arch: same
|
||||||
Section: libs
|
Section: libs
|
||||||
@ -50,8 +48,8 @@ Architecture: all
|
|||||||
Multi-Arch: foreign
|
Multi-Arch: foreign
|
||||||
Section: libs
|
Section: libs
|
||||||
Depends: ${misc:Depends}
|
Depends: ${misc:Depends}
|
||||||
Breaks: libfm-qt11 (<< 1.1.0-3ubuntu1), libfm-qt9
|
Breaks: libfm-qt11 (<< 1.1.0-1), libfm-qt9
|
||||||
Replaces: libfm-qt11 (<< 1.1.0-3ubuntu1), libfm-qt9
|
Replaces: libfm-qt11 (<< 1.1.0-1), libfm-qt9
|
||||||
Description: Common files for libfm-qt
|
Description: Common files 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.
|
||||||
@ -63,7 +61,7 @@ Architecture: any
|
|||||||
Section: libdevel
|
Section: libdevel
|
||||||
Depends: ${misc:Depends},
|
Depends: ${misc:Depends},
|
||||||
libexif-dev,
|
libexif-dev,
|
||||||
libfm-qt12 (= ${binary:Version}),
|
libfm-qt11 (= ${binary:Version}),
|
||||||
libmenu-cache-dev
|
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
|
||||||
|
2
debian/libfm-qt11.shlibs
vendored
Normal file
2
debian/libfm-qt11.shlibs
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
libfm-qt 11 libfm-qt11 (>= 1.1.0)
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
# SymbolsHelper-Confirmed: 1.1.0 amd64 i386 riscv64
|
# SymbolsHelper-Confirmed: 1.1.0 amd64 i386 riscv64
|
||||||
libfm-qt.so.12 libfm-qt12 #MINVER#
|
libfm-qt.so.11 libfm-qt11 #MINVER#
|
||||||
* Build-Depends-Package: libfm-qt-dev
|
* Build-Depends-Package: libfm-qt-dev
|
||||||
_ZN2Fm10DirListJob10filesFoundERNS_12FileInfoListE@Base 0.16.0
|
_ZN2Fm10DirListJob10filesFoundERNS_12FileInfoListE@Base 0.16.0
|
||||||
_ZN2Fm10DirListJob11qt_metacallEN11QMetaObject4CallEiPPv@Base 0.16.0
|
_ZN2Fm10DirListJob11qt_metacallEN11QMetaObject4CallEiPPv@Base 0.16.0
|
||||||
@ -356,7 +356,6 @@ libfm-qt.so.12 libfm-qt12 #MINVER#
|
|||||||
_ZN2Fm12FileLauncher11launchFilesEP7QWidgetRKNS_12FileInfoListE@Base 0.16.0
|
_ZN2Fm12FileLauncher11launchFilesEP7QWidgetRKNS_12FileInfoListE@Base 0.16.0
|
||||||
_ZN2Fm12FileLauncher11launchPathsEP7QWidgetRKSt6vectorINS_8FilePathESaIS4_EE@Base 0.16.0
|
_ZN2Fm12FileLauncher11launchPathsEP7QWidgetRKSt6vectorINS_8FilePathESaIS4_EE@Base 0.16.0
|
||||||
_ZN2Fm12FileLauncher13launchWithAppEP7QWidgetP9_GAppInfoRKSt6vectorINS_8FilePathESaIS6_EE@Base 1.1.0
|
_ZN2Fm12FileLauncher13launchWithAppEP7QWidgetP9_GAppInfoRKSt6vectorINS_8FilePathESaIS6_EE@Base 1.1.0
|
||||||
_ZN2Fm12FileLauncher16resetExecActionsEv@Base 1.2.0
|
|
||||||
_ZN2Fm12FileLauncher3askEPKcPKPci@Base 0.16.0
|
_ZN2Fm12FileLauncher3askEPKcPKPci@Base 0.16.0
|
||||||
_ZN2Fm12FileLauncher9chooseAppERKNS_12FileInfoListEPKcRNS_9GErrorPtrE@Base 0.16.0
|
_ZN2Fm12FileLauncher9chooseAppERKNS_12FileInfoListEPKcRNS_9GErrorPtrE@Base 0.16.0
|
||||||
_ZN2Fm12FileLauncher9showErrorEP18_GAppLaunchContextRKNS_9GErrorPtrERKNS_8FilePathERKSt10shared_ptrIKNS_8FileInfoEE@Base 0.16.0
|
_ZN2Fm12FileLauncher9showErrorEP18_GAppLaunchContextRKNS_9GErrorPtrERKNS_8FilePathERKSt10shared_ptrIKNS_8FileInfoEE@Base 0.16.0
|
2
debian/libfm-qt12.shlibs
vendored
2
debian/libfm-qt12.shlibs
vendored
@ -1,2 +0,0 @@
|
|||||||
libfm-qt 12 libfm-qt12 (>= 1.2.0)
|
|
||||||
|
|
25
debian/patches/fix-uri-scheme-crash.patch
vendored
Normal file
25
debian/patches/fix-uri-scheme-crash.patch
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 472128c3bfc301f3258bd99501a88ef4097d0429 Mon Sep 17 00:00:00 2001
|
||||||
|
From: tsujan <tsujan2000@gmail.com>
|
||||||
|
Date: Thu, 9 Jun 2022 01:35:27 +0430
|
||||||
|
Subject: [PATCH] Fixed crash with empty URI scheme of folder path (#808)
|
||||||
|
|
||||||
|
An empty URI scheme is possible when trying to open a folder with an empty path (like when the desktop path is empty and pcmanfm-qt's desktop module is started).
|
||||||
|
|
||||||
|
Fixes https://github.com/lxqt/lxqt-session/issues/439
|
||||||
|
---
|
||||||
|
src/core/folder.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/core/folder.cpp b/src/core/folder.cpp
|
||||||
|
index 5bb40137..710a9132 100644
|
||||||
|
--- a/src/core/folder.cpp
|
||||||
|
+++ b/src/core/folder.cpp
|
||||||
|
@@ -532,7 +532,7 @@ void Folder::onDirListFinished() {
|
||||||
|
const auto& infos = job->files();
|
||||||
|
|
||||||
|
// with "search://", there is no update for infos and all of them should be added
|
||||||
|
- if(strcmp(dirPath_.uriScheme().get(), "search") == 0) {
|
||||||
|
+ if(dirPath_.hasUriScheme("search")) {
|
||||||
|
files_to_add = infos;
|
||||||
|
for(auto& file: files_to_add) {
|
||||||
|
files_[file->path().baseName().get()] = file;
|
2
debian/patches/series
vendored
2
debian/patches/series
vendored
@ -1 +1,3 @@
|
|||||||
fix-metadata-for-trusting-executables.patch
|
fix-metadata-for-trusting-executables.patch
|
||||||
|
fix-uri-scheme-crash.patch
|
||||||
|
support-adding-pattern-lists.patch
|
||||||
|
124
debian/patches/support-adding-pattern-lists.patch
vendored
Normal file
124
debian/patches/support-adding-pattern-lists.patch
vendored
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
From f66aa205c48a60378abcf0dac3d21b83d47aa2c5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: tsujan <tsujan2000@gmail.com>
|
||||||
|
Date: Sat, 14 May 2022 01:17:14 +0430
|
||||||
|
Subject: [PATCH] Support adding of pattern lists to entries of search dialog
|
||||||
|
(#806)
|
||||||
|
|
||||||
|
Such lists will be used later for adding search history to `pcmanfm-qt`.
|
||||||
|
---
|
||||||
|
src/filesearch.ui | 13 ++++++++++---
|
||||||
|
src/filesearchdialog.cpp | 28 ++++++++++++++++++++++++++--
|
||||||
|
src/filesearchdialog.h | 6 ++++++
|
||||||
|
3 files changed, 42 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/filesearch.ui b/src/filesearch.ui
|
||||||
|
index 85e57556..a90456a5 100644
|
||||||
|
--- a/src/filesearch.ui
|
||||||
|
+++ b/src/filesearch.ui
|
||||||
|
@@ -36,8 +36,11 @@
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
||||||
|
<item>
|
||||||
|
- <widget class="QLineEdit" name="namePatterns">
|
||||||
|
- <property name="text">
|
||||||
|
+ <widget class="QComboBox" name="namePatterns">
|
||||||
|
+ <property name="editable">
|
||||||
|
+ <bool>true</bool>
|
||||||
|
+ </property>
|
||||||
|
+ <property name="currentText">
|
||||||
|
<string>*</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
@@ -218,7 +221,11 @@
|
||||||
|
</property>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_8">
|
||||||
|
<item>
|
||||||
|
- <widget class="QLineEdit" name="contentPattern"/>
|
||||||
|
+ <widget class="QComboBox" name="contentPattern">
|
||||||
|
+ <property name="editable">
|
||||||
|
+ <bool>true</bool>
|
||||||
|
+ </property>
|
||||||
|
+ </widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QCheckBox" name="contentCaseSensitive">
|
||||||
|
diff --git a/src/filesearchdialog.cpp b/src/filesearchdialog.cpp
|
||||||
|
index 0216687f..267cc4c7 100644
|
||||||
|
--- a/src/filesearchdialog.cpp
|
||||||
|
+++ b/src/filesearchdialog.cpp
|
||||||
|
@@ -23,6 +23,7 @@
|
||||||
|
#include "ui_filesearch.h"
|
||||||
|
#include <limits>
|
||||||
|
#include <QFileDialog>
|
||||||
|
+#include <QCompleter>
|
||||||
|
#include <utility>
|
||||||
|
|
||||||
|
namespace Fm {
|
||||||
|
@@ -43,6 +44,10 @@ FileSearchDialog::FileSearchDialog(QStringList paths, QWidget* parent, Qt::Windo
|
||||||
|
connect(ui->addPath, &QPushButton::clicked, this, &FileSearchDialog::onAddPath);
|
||||||
|
connect(ui->removePath, &QPushButton::clicked, this, &FileSearchDialog::onRemovePath);
|
||||||
|
|
||||||
|
+ // the default completer is case-insensitive
|
||||||
|
+ ui->namePatterns->completer()->setCaseSensitivity(Qt::CaseSensitive);
|
||||||
|
+ ui->contentPattern->completer()->setCaseSensitivity(Qt::CaseSensitive);
|
||||||
|
+
|
||||||
|
ui->namePatterns->setFocus();
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -50,6 +55,25 @@ FileSearchDialog::~FileSearchDialog() {
|
||||||
|
delete ui;
|
||||||
|
}
|
||||||
|
|
||||||
|
+QString FileSearchDialog::namePattern() const {
|
||||||
|
+ return ui->namePatterns->currentText();
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+QString FileSearchDialog::contentPattern() const {
|
||||||
|
+ return ui->contentPattern->currentText();
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+void FileSearchDialog::addNamePatterns(const QStringList& patterns) {
|
||||||
|
+ ui->namePatterns->addItems(patterns);
|
||||||
|
+ ui->namePatterns->setCurrentIndex(-1);
|
||||||
|
+ ui->namePatterns->setCurrentText(QLatin1String("*"));
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
+void FileSearchDialog::addContentPatterns(const QStringList& patterns) {
|
||||||
|
+ ui->contentPattern->addItems(patterns);
|
||||||
|
+ ui->contentPattern->setCurrentIndex(-1);
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
void FileSearchDialog::accept() {
|
||||||
|
// build the search:/// uri
|
||||||
|
int n = ui->listView->count();
|
||||||
|
@@ -62,11 +86,11 @@ void FileSearchDialog::accept() {
|
||||||
|
|
||||||
|
fm_search_set_recursive(search, ui->recursiveSearch->isChecked());
|
||||||
|
fm_search_set_show_hidden(search, ui->searchHidden->isChecked());
|
||||||
|
- fm_search_set_name_patterns(search, ui->namePatterns->text().toUtf8().constData());
|
||||||
|
+ fm_search_set_name_patterns(search, ui->namePatterns->currentText().toUtf8().constData());
|
||||||
|
fm_search_set_name_ci(search, !ui->nameCaseSensitive->isChecked());
|
||||||
|
fm_search_set_name_regex(search, ui->nameRegExp->isChecked());
|
||||||
|
|
||||||
|
- fm_search_set_content_pattern(search, ui->contentPattern->text().toUtf8().constData());
|
||||||
|
+ fm_search_set_content_pattern(search, ui->contentPattern->currentText().toUtf8().constData());
|
||||||
|
fm_search_set_content_ci(search, !ui->contentCaseSensitive->isChecked());
|
||||||
|
fm_search_set_content_regex(search, ui->contentRegExp->isChecked());
|
||||||
|
|
||||||
|
diff --git a/src/filesearchdialog.h b/src/filesearchdialog.h
|
||||||
|
index 504c1ed0..2aee1b57 100644
|
||||||
|
--- a/src/filesearchdialog.h
|
||||||
|
+++ b/src/filesearchdialog.h
|
||||||
|
@@ -59,6 +59,12 @@ class LIBFM_QT_API FileSearchDialog : public QDialog {
|
||||||
|
bool searchhHidden() const;
|
||||||
|
void setSearchhHidden(bool hidden);
|
||||||
|
|
||||||
|
+ QString namePattern() const;
|
||||||
|
+ QString contentPattern() const;
|
||||||
|
+
|
||||||
|
+ void addNamePatterns(const QStringList& patterns);
|
||||||
|
+ void addContentPatterns(const QStringList& patterns);
|
||||||
|
+
|
||||||
|
private Q_SLOTS:
|
||||||
|
void onAddPath();
|
||||||
|
void onRemovePath();
|
6
debian/watch
vendored
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…
x
Reference in New Issue
Block a user