[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#927984: unblock: lxqt-qtplugin/0.14.0-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package lxqt-qtplugin

lxqt-qtplugin try to load libfm-qt.so instead of libfm-qt.so.6.
(Closes: #927905)

>From 9f3a044c94b042d41e88d0b9aed9b2f043de8231 Mon Sep 17 00:00:00 2001
From: Alf Gaida <agaida@siduction.org>
Date: Wed, 24 Apr 2019 23:05:32 +0200
Subject: [PATCH] Try to load the versioned libfm-qt.so.6 instead of
 libfm-qt.so

(Closes: #927905)

---
 debian/changelog                             |  7 +++++++
 debian/patches/load-versioned-libfm-qt.patch | 20 ++++++++++++++++++++
 debian/patches/series                        |  1 +
 3 files changed, 28 insertions(+)
 create mode 100644 debian/patches/load-versioned-libfm-qt.patch
 create mode 100644 debian/patches/series

diff --git a/debian/changelog b/debian/changelog
index d59d042..0282597 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+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
diff --git a/debian/patches/load-versioned-libfm-qt.patch b/debian/patches/load-versioned-libfm-qt.patch
new file mode 100644
index 0000000..c83378d
--- /dev/null
+++ b/debian/patches/load-versioned-libfm-qt.patch
@@ -0,0 +1,20 @@
+Description: Load the versioned library
+ Loading libfm-qt.so would not be wise, it would introduce a dependency
+ to libfm-qt-dev. So hard patching to libfm-qt.so.6 will be fine for 
+ Buster - we will find a better solution upstream for the next release.
+Author: Alf Gaida <agaida@siduction.org>
+
+---
+Bug-Debian: https://bugs.debian.org/927905
+
+--- lxqt-qtplugin-0.14.0.orig/src/lxqtplatformtheme.cpp
++++ lxqt-qtplugin-0.14.0/src/lxqtplatformtheme.cpp
+@@ -239,7 +239,7 @@ QPlatformDialogHelper *LXQtPlatformTheme
+         // The createFileDialogHelper() method is dynamically loaded from libfm-qt on demand
+         if(createFileDialogHelper == nullptr) {
+             // try to dynamically load libfm-qt.so
+-            QLibrary libfmQtLibrary{QLatin1String("libfm-qt")};
++            QLibrary libfmQtLibrary{QLatin1String("libfm-qt.so.6")};
+             libfmQtLibrary.load();
+             if(!libfmQtLibrary.isLoaded()) {
+                 return nullptr;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..231d243
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+load-versioned-libfm-qt.patch
-- 
2.20.1

unblock lxqt-qtplugin/0.14.0-3

-- System Information:
Debian Release: 10.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.0.9-towo.4-siduction-amd64 (SMP w/8 CPU cores; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)


Reply to: