summaryrefslogtreecommitdiffstats
path: root/kde/patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-06-20 21:30:55 +0200
committer Eric Hameleers <alien@slackware.com>2018-06-20 21:30:55 +0200
commit53eb7eed4ba066b2fac305fbb17d7c9416be3f5b (patch)
tree9af74b046af31f9d40b73b9189950e2697c5ca6f /kde/patch
parentc9094e71df27a5bd5cfbbc32a3bc77851c533195 (diff)
downloadktown-53eb7eed4ba066b2fac305fbb17d7c9416be3f5b.tar.gz
ktown-53eb7eed4ba066b2fac305fbb17d7c9416be3f5b.tar.xz
kde/plasma/plasma-browser-integration fixes
Move the data that's relevant for the Google Chrome/Chromium and Mozilla based browsers into the location where these browsers actually look for them.
Diffstat (limited to 'kde/patch')
-rw-r--r--kde/patch/plasma-browser-integration.patch3
-rw-r--r--kde/patch/plasma-browser-integration/plasma-browser-integration_KDEBUG-113461.patch11
2 files changed, 14 insertions, 0 deletions
diff --git a/kde/patch/plasma-browser-integration.patch b/kde/patch/plasma-browser-integration.patch
new file mode 100644
index 0000000..c82fee9
--- /dev/null
+++ b/kde/patch/plasma-browser-integration.patch
@@ -0,0 +1,3 @@
+# Fix hardcoded mozilla 'lib' libdir:
+cat $CWD/patch/plasma-browser-integration/plasma-browser-integration_KDEBUG-113461.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
+
diff --git a/kde/patch/plasma-browser-integration/plasma-browser-integration_KDEBUG-113461.patch b/kde/patch/plasma-browser-integration/plasma-browser-integration_KDEBUG-113461.patch
new file mode 100644
index 0000000..c881edf
--- /dev/null
+++ b/kde/patch/plasma-browser-integration/plasma-browser-integration_KDEBUG-113461.patch
@@ -0,0 +1,11 @@
+--- a/CMakeLists.txt 2018-06-07 22:22:27.000000000 +0800
++++ b/CMakeLists.txt 2018-06-20 20:55:56.000000000 +0800
+@@ -45,7 +45,7 @@
+ option(COPY_MESSAGING_HOST_FILE_HOME "Copy the native messaging hosts json file to user home dir" FALSE)
+ add_feature_info(COPY_MESSAGING_HOST_FILE_HOME ${COPY_MESSAGING_HOST_FILE_HOME} "Enable this option to copy the native messaging hosts json file to home dir if you install plasma-browser-integration to custom prefix (non-/usr)")
+
+-set(MOZILLA_DIR "${CMAKE_INSTALL_PREFIX}/lib/mozilla" CACHE STRING "Mozilla directory")
++set(MOZILLA_DIR "${CMAKE_INSTALL_PREFIX}/${KDE_INSTALL_LIBDIR}/mozilla" CACHE STRING "Mozilla directory")
+ add_feature_info(MOZILLA_DIR On "Mozilla directory is '${MOZILLA_DIR}'")
+
+ add_subdirectory(host)