[SCM] kde-gtk-config packaging branch, master, updated. debian/4%5.10.5-2-8-g4bd3c57
Maximiliano Curia
maxy at moszumanska.debian.org
Wed Jan 3 22:52:20 UTC 2018
Gitweb-URL: http://git.debian.org/?p=pkg-kde/plasma/kde-gtk-config.git;a=commitdiff;h=727b407
The following commit has been merged in the master branch:
commit 727b407e46faee739f8e04cd15941bbaddaf00f8
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Wed Dec 27 16:17:20 2017 -0300
Drop upstream patches
Gbp-Dch: Ignore
---
.../fix-search-of-gtk-preview-executables.patch | 43 ----------------------
debian/patches/series | 1 -
2 files changed, 44 deletions(-)
diff --git a/debian/patches/fix-search-of-gtk-preview-executables.patch b/debian/patches/fix-search-of-gtk-preview-executables.patch
deleted file mode 100644
index dd727e3..0000000
--- a/debian/patches/fix-search-of-gtk-preview-executables.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-Forwarded: no
-Description: Fix search of gtk*_preview executables
- Due to Debian multiarch support gtk_preview and gtk3_preview executables are
- installed into non-standard path (/usr/lib/*/libexec/) which is out of
- search scope of QStandardPaths::findExecutable() function.
- .
- This patch is required for showing preview buttons in KDE-GTK-config UI.
-Author: Boris Pek <tehnick-8 at yandex.ru>
-Last-Update: 2017-08-04
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -26,6 +26,8 @@
-
- # Set KI18n translation domain
- add_definitions(-DTRANSLATION_DOMAIN=\"kde-gtk-config\")
-+add_definitions(-DCMAKE_INSTALL_PREFIX=\"${CMAKE_INSTALL_PREFIX}\")
-+add_definitions(-DLIBEXEC_INSTALL_DIR=\"${LIBEXEC_INSTALL_DIR}\")
-
- set(kcm_SRCS
- src/iconthemesmodel.cpp
-diff --git a/src/gtkconfigkcmodule.cpp b/src/gtkconfigkcmodule.cpp
---- a/src/gtkconfigkcmodule.cpp
-+++ b/src/gtkconfigkcmodule.cpp
-@@ -87,6 +87,17 @@
- QString gtk2Preview = QStandardPaths::findExecutable("gtk_preview");
- QString gtk3Preview = QStandardPaths::findExecutable("gtk3_preview");
-
-+ // KStandardDirs::findExe was replaced by QStandardPaths::findExecutable
-+ // in a wrong way. See for details:
-+ // https://community.kde.org/Frameworks/Porting_Notes/KStandardDirs
-+ static const QString searchPath = CMAKE_INSTALL_PREFIX "/" LIBEXEC_INSTALL_DIR;
-+ if(gtk2Preview.isEmpty()) {
-+ gtk2Preview = QStandardPaths::findExecutable("gtk_preview", QStringList() << searchPath);
-+ }
-+ if(gtk3Preview.isEmpty()) {
-+ gtk3Preview = QStandardPaths::findExecutable("gtk3_preview", QStringList() << searchPath);
-+ }
-+
- m_p2 = new KProcess(this);
- m_p2->setEnv("GTK2_RC_FILES", m_tempGtk2Preview, true);
- if(!gtk2Preview.isEmpty()) {
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 38db57e..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-fix-search-of-gtk-preview-executables.patch
--
kde-gtk-config packaging
More information about the pkg-kde-commits
mailing list