* [gentoo-commits] proj/kde:master commit in: kde-plasma/kmenuedit/, kde-plasma/kmenuedit/files/
@ 2016-04-01 16:16 Michael Palimaka
0 siblings, 0 replies; only message in thread
From: Michael Palimaka @ 2016-04-01 16:16 UTC (permalink / raw
To: gentoo-commits
commit: f5f634c93c757c84f9fb535b4fd5ecf9756ccbd6
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 1 16:16:06 2016 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Apr 1 16:16:15 2016 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=f5f634c9
kde-plasma/kmenuedit: backport patch from upstream solving build failure with USE="-hotkeys"
Gentoo-bug: 578620
Package-Manager: portage-2.2.28
| 44 ++++++++++++++++++++++
| 2 +
2 files changed, 46 insertions(+)
--git a/kde-plasma/kmenuedit/files/kmenuedit-5.5.5-hotkeys.patch b/kde-plasma/kmenuedit/files/kmenuedit-5.5.5-hotkeys.patch
new file mode 100644
index 0000000..18e9f76
--- /dev/null
+++ b/kde-plasma/kmenuedit/files/kmenuedit-5.5.5-hotkeys.patch
@@ -0,0 +1,44 @@
+From fe425d0fbfe32101a5bb232a65a19785e2ef687f Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <kensington@gentoo.org>
+Date: Fri, 1 Apr 2016 05:17:40 +1100
+Subject: [PATCH] Fix build when KHotKeysDBusInterface is disabled/missing.
+
+Summary:
+By testing the variable itself (rather than its contents) we avoid a failure
+when KHotKeysDBusInterface is disabled or missing as KHotKeysDBusInterface_FOUND
+will not be defined.
+
+Reviewers: #plasma, graesslin
+
+Reviewed By: #plasma, graesslin
+
+Differential Revision: https://phabricator.kde.org/D1278
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c615d9f..a2e43ae 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -43,7 +43,7 @@ set(kmenueditcommon_STAT_SRCS preferencesdlg.cpp klinespellchecking.cpp basictab
+ ########### next target ###############
+ qt5_add_dbus_adaptor( kmenueditcommon_STAT_SRCS org.kde.kmenuedit.xml kmenuedit.h KMenuEdit)
+
+-if(NOT WIN32 AND ${KHotKeysDBusInterface_FOUND})
++if(NOT WIN32 AND KHotKeysDBusInterface_FOUND)
+ qt5_add_dbus_interface(
+ kmenueditcommon_STAT_SRCS
+ ${KHOTKEYS_DBUS_INTERFACE}
+@@ -82,7 +82,7 @@ install(TARGETS kmenuedit ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
+ install( PROGRAMS org.kde.kmenuedit.desktop DESTINATION ${KDE_INSTALL_APPDIR} )
+ install( FILES kmenueditui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kmenuedit )
+
+-if(NOT WIN32 AND ${KHotKeysDBusInterface_FOUND})
++if(NOT WIN32 AND KHotKeysDBusInterface_FOUND)
+ add_dependencies(kdeinit_kmenuedit kded_khotkeys)
+ endif()
+
+--
+2.7.3
+
--git a/kde-plasma/kmenuedit/kmenuedit-5.6.49.9999.ebuild b/kde-plasma/kmenuedit/kmenuedit-5.6.49.9999.ebuild
index d1873d4..8af10d0 100644
--- a/kde-plasma/kmenuedit/kmenuedit-5.6.49.9999.ebuild
+++ b/kde-plasma/kmenuedit/kmenuedit-5.6.49.9999.ebuild
@@ -36,6 +36,8 @@ RDEPEND="${DEPEND}
!kde-base/kmenuedit:4
"
+PATCHES=( "${FILESDIR}/${PN}-5.5.5-hotkeys.patch" )
+
src_configure() {
local mycmakeargs=(
$(cmake-utils_use_find_package hotkeys KHotKeysDBusInterface)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-04-01 16:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-01 16:16 [gentoo-commits] proj/kde:master commit in: kde-plasma/kmenuedit/, kde-plasma/kmenuedit/files/ Michael Palimaka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox