From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdeconnect/, kde-misc/kdeconnect/files/
Date: Thu, 10 Sep 2015 12:09:16 +0000 (UTC) [thread overview]
Message-ID: <1441886947.6065d16d88a1a0ce0d5638935e89a5f34b58ac3e.kensington@gentoo> (raw)
commit: 6065d16d88a1a0ce0d5638935e89a5f34b58ac3e
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 10 12:08:47 2015 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 12:09:07 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6065d16d
kde-misc/kdeconnect: backport patch from upstream fixing build with dev-util/ninja.
Gentoo-bug: 559904
Package-Manager: portage-2.2.20.1
.../kdeconnect/files/kdeconnect-0.8-ninja.patch | 36 ++++++++++++++++++++++
kde-misc/kdeconnect/kdeconnect-0.8.ebuild | 2 ++
2 files changed, 38 insertions(+)
diff --git a/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch b/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch
new file mode 100644
index 0000000..d482549
--- /dev/null
+++ b/kde-misc/kdeconnect/files/kdeconnect-0.8-ninja.patch
@@ -0,0 +1,36 @@
+From d9e0c61185a5ecbd9b013740fe73d21ba5adaa44 Mon Sep 17 00:00:00 2001
+From: Michael Palimaka <kensington@gentoo.org>
+Date: Thu, 10 Sep 2015 21:56:39 +1000
+Subject: [PATCH] Fix make with ninja.
+
+The custom command name must differ from the name of the generated file.
+
+REVIEW: 125137
+---
+ cmake/DbusInterfaceMacros.cmake | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cmake/DbusInterfaceMacros.cmake b/cmake/DbusInterfaceMacros.cmake
+index 9d4810d..801452a 100644
+--- a/cmake/DbusInterfaceMacros.cmake
++++ b/cmake/DbusInterfaceMacros.cmake
+@@ -12,7 +12,7 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
+ OPTIONS ${qdbus_options}
+ )
+ add_custom_target(
+- ${output_xml_file}
++ ${output_xml_file}_target
+ SOURCES ${CMAKE_CURRENT_BINARY_DIR}/${output_xml_file}
+ )
+ install(
+@@ -21,6 +21,6 @@ macro (generate_and_install_dbus_interface main_project_target header_file outpu
+ )
+ add_dependencies(
+ ${main_project_target}
+- ${output_xml_file}
++ ${output_xml_file}_target
+ )
+ endmacro (generate_and_install_dbus_interface)
+--
+2.4.6
+
diff --git a/kde-misc/kdeconnect/kdeconnect-0.8.ebuild b/kde-misc/kdeconnect/kdeconnect-0.8.ebuild
index 07e7568..e27ce0c 100644
--- a/kde-misc/kdeconnect/kdeconnect-0.8.ebuild
+++ b/kde-misc/kdeconnect/kdeconnect-0.8.ebuild
@@ -42,6 +42,8 @@ DEPEND="${COMMON_DEPEND}
[[ ${KDE_BUILD_TYPE} != live ]] && S=${WORKDIR}/${MY_P}
+PATCHES=( "${FILESDIR}/${P}-ninja.patch" )
+
pkg_postinst(){
elog
elog "Optional dependency:"
next reply other threads:[~2015-09-10 12:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-10 12:09 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-11-19 17:25 [gentoo-commits] repo/gentoo:master commit in: kde-misc/kdeconnect/, kde-misc/kdeconnect/files/ Johannes Huber
2018-04-10 18:43 Johannes Huber
2020-10-04 16:07 Andreas Sturmlechner
2023-04-23 11:02 Andreas Sturmlechner
2023-06-17 10:50 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441886947.6065d16d88a1a0ce0d5638935e89a5f34b58ac3e.kensington@gentoo \
--to=kensington@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox