Created attachment 533256 [details, diff] fix plasma-browser-integration doesn't work in firefox Reason: On a AMD64 system firefox searches for host manifests in /usr/lib64/mozilla/native-messaging-hosts (see https://searchfox.org/mozilla-central/source/toolkit/xre/nsXREDirProvider.cpp#273 ) but plasma-browser-integration installs it in /usr/lib/mozilla/native-messaging-hosts Solution: Patch the CMakeLists to install the manifest to /usr/$(get_libdir)/mozilla/native-messaging-hosts instead
Maybe better to patch CMakeLists.txt to accept an option which would specify path where this file should be installed.
Created attachment 533434 [details, diff] Patch for CMakeLists.txt
When using this patch, ebuild should have: src_configure() { local mycmakeargs=( -DMOZILLA_DIR="${EPREFIX}/usr/$(get_libdir)/mozilla" ) kde5_src_configure }
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/kde.git/commit/?id=d26b8d9cccf22e147a59499cc0a0b1f68196422c commit d26b8d9cccf22e147a59499cc0a0b1f68196422c Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-05-29 23:03:57 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-05-29 23:03:57 +0000 kde-plasma/plasma-browser-integration: Fix Mozilla dir Upstream commit 9a4e032c04fd567a3b3a5d2e050a22abd689d575 Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> Closes: https://bugs.gentoo.org/656532 Package-Manager: Portage-2.3.40, Repoman-2.3.9 ...rowser-integration-5.12.90-respect-libdir.patch | 35 ++++++++++++++++++++++ ...> plasma-browser-integration-5.12.90-r1.ebuild} | 16 ++++++++-- .../plasma-browser-integration-5.13.49.9999.ebuild | 14 +++++++-- .../plasma-browser-integration-9999.ebuild | 14 +++++++-- 4 files changed, 70 insertions(+), 9 deletions(-)