svn commit: r518595 - in head/www/plasma5-plasma-browser-integration: . files
Tobias C. Berner
tcberner at FreeBSD.org
Thu Nov 28 17:40:13 UTC 2019
Author: tcberner
Date: Thu Nov 28 17:40:12 2019
New Revision: 518595
URL: https://svnweb.freebsd.org/changeset/ports/518595
Log:
www/plasma5-plasma-browser-integration: fix chrome integration
The extension-file got installed into the wrong directory:
etc/opt/chrome/
instead of
etc/chrome/
and therefore was not found by chrome. Correct this.
PR: 241379
Reported by: Patricio Villar <patovm04 at gmail.com>
Added:
head/www/plasma5-plasma-browser-integration/files/
head/www/plasma5-plasma-browser-integration/files/patch-CMakeLists.txt (contents, props changed)
Modified:
head/www/plasma5-plasma-browser-integration/Makefile
head/www/plasma5-plasma-browser-integration/pkg-plist
Modified: head/www/plasma5-plasma-browser-integration/Makefile
==============================================================================
--- head/www/plasma5-plasma-browser-integration/Makefile Thu Nov 28 17:26:02 2019 (r518594)
+++ head/www/plasma5-plasma-browser-integration/Makefile Thu Nov 28 17:40:12 2019 (r518595)
@@ -2,6 +2,7 @@
PORTNAME= plasma-browser-integration
DISTVERSION= ${KDE_PLASMA_VERSION}
+PORTREVISION= 1
CATEGORIES= www kde kde-plasma
MAINTAINER= kde at FreeBSD.org
Added: head/www/plasma5-plasma-browser-integration/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/plasma5-plasma-browser-integration/files/patch-CMakeLists.txt Thu Nov 28 17:40:12 2019 (r518595)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2019-11-28 17:30:00 UTC
++++ CMakeLists.txt
+@@ -71,7 +71,7 @@ configure_file(org.kde.plasma.firefox_integration.json
+ # #chromium
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.chrome_integration.json DESTINATION ${KDE_INSTALL_FULL_SYSCONFDIR}/chromium/native-messaging-hosts/ RENAME org.kde.plasma.browser_integration.json)
+ # #google-chrome
+-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.chrome_integration.json DESTINATION ${KDE_INSTALL_FULL_SYSCONFDIR}/opt/chrome/native-messaging-hosts/ RENAME org.kde.plasma.browser_integration.json)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.chrome_integration.json DESTINATION ${KDE_INSTALL_FULL_SYSCONFDIR}/chrome/native-messaging-hosts/ RENAME org.kde.plasma.browser_integration.json)
+ # firefox
+
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.kde.plasma.firefox_integration.json DESTINATION ${MOZILLA_DIR}/native-messaging-hosts/ RENAME org.kde.plasma.browser_integration.json)
Modified: head/www/plasma5-plasma-browser-integration/pkg-plist
==============================================================================
--- head/www/plasma5-plasma-browser-integration/pkg-plist Thu Nov 28 17:26:02 2019 (r518594)
+++ head/www/plasma5-plasma-browser-integration/pkg-plist Thu Nov 28 17:40:12 2019 (r518595)
@@ -1,6 +1,6 @@
bin/plasma-browser-integration-host
+etc/chrome/native-messaging-hosts/org.kde.plasma.browser_integration.json
etc/chromium/native-messaging-hosts/org.kde.plasma.browser_integration.json
-etc/opt/chrome/native-messaging-hosts/org.kde.plasma.browser_integration.json
lib/mozilla/native-messaging-hosts/org.kde.plasma.browser_integration.json
%%QT_PLUGINDIR%%/kf5/kded/browserintegrationreminder.so
%%QT_PLUGINDIR%%/krunner_browsertabs.so
More information about the svn-ports-all
mailing list