From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9CE21138334 for ; Fri, 5 Oct 2018 19:17:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 79100E086F; Fri, 5 Oct 2018 19:17:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 30584E086F for ; Fri, 5 Oct 2018 19:17:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5D400335C7D for ; Fri, 5 Oct 2018 19:17:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2093542C for ; Fri, 5 Oct 2018 19:17:06 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1538766593.40c1832fb0d2b37861ed4dbdc2cd2876a53f90cd.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-base/xfce4-session/, xfce-base/xfce4-session/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: xfce-base/xfce4-session/files/xfce4-session-4.13.1-kill-dbus-includes.patch xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild X-VCS-Directories: xfce-base/xfce4-session/ xfce-base/xfce4-session/files/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 40c1832fb0d2b37861ed4dbdc2cd2876a53f90cd X-VCS-Branch: master Date: Fri, 5 Oct 2018 19:17:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 30cc3d4e-2a6a-4875-9711-2b470b1ca60f X-Archives-Hash: 8ba8fe29aed213928b9a94029f40d34d commit: 40c1832fb0d2b37861ed4dbdc2cd2876a53f90cd Author: Michał Górny gentoo org> AuthorDate: Fri Oct 5 19:09:53 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Oct 5 19:09:53 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40c1832f xfce-base/xfce4-session: Fix relying on implicit dbus header paths Backport an upstream patch removing unnecessary use of dbus headers. This causes the package to implicitly rely on dbus include paths being added by pkg-config, and causes build failure in the rare case when xfce4-session dependencies do not require dbus. Closes: https://bugs.gentoo.org/667440 Signed-off-by: Michał Górny gentoo.org> .../xfce4-session-4.13.1-kill-dbus-includes.patch | 43 ++++++++++++++++++++++ .../xfce4-session/xfce4-session-4.13.1.ebuild | 4 ++ 2 files changed, 47 insertions(+) diff --git a/xfce-base/xfce4-session/files/xfce4-session-4.13.1-kill-dbus-includes.patch b/xfce-base/xfce4-session/files/xfce4-session-4.13.1-kill-dbus-includes.patch new file mode 100644 index 00000000000..cc5bb9d653e --- /dev/null +++ b/xfce-base/xfce4-session/files/xfce4-session-4.13.1-kill-dbus-includes.patch @@ -0,0 +1,43 @@ +From 3bddf152b902d8a1e0f674b792577b2cca635c4b Mon Sep 17 00:00:00 2001 +From: Brandon Bergren +Date: Sun, 26 Aug 2018 10:28:05 -0400 +Subject: [PATCH] fix build failure when dbus is not in the system include path + (Bug #14386) + +The d-bus direct depenencies were taken out in 91860af3a38080, +but the #include in xfce4-session/xfsm-global.h +and the #include line in xfsm-error.c got left +in accidentally. +--- + xfce4-session/xfsm-error.c | 2 -- + xfce4-session/xfsm-global.h | 1 - + 2 files changed, 3 deletions(-) + +diff --git a/xfce4-session/xfsm-error.c b/xfce4-session/xfsm-error.c +index 2b7f6c04..f0766f5f 100644 +--- a/xfce4-session/xfsm-error.c ++++ b/xfce4-session/xfsm-error.c +@@ -20,8 +20,6 @@ + #include + #endif + +-#include +- + #include + + #define XFSM_DBUS_NAME "org.xfce.SessionManager" +diff --git a/xfce4-session/xfsm-global.h b/xfce4-session/xfsm-global.h +index d4587123..610d5bf7 100644 +--- a/xfce4-session/xfsm-global.h ++++ b/xfce4-session/xfsm-global.h +@@ -27,7 +27,6 @@ + #include + + #include +-#include + + typedef struct _FailsafeClient FailsafeClient; + struct _FailsafeClient +-- +2.19.0 + diff --git a/xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild b/xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild index 7819b1d8883..d0df74cf881 100644 --- a/xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild +++ b/xfce-base/xfce4-session/xfce4-session-4.13.1.ebuild @@ -44,6 +44,10 @@ PATCHES=( # TODO: this patch needs updating for the new version, and finding # upstream bug. # "${FILESDIR}"/${PN}-4.12.1-light-locker_support_to_xflock4.patch + + # fix building with no dbus dependency + # https://bugs.gentoo.org/667440 + "${FILESDIR}"/xfce4-session-4.13.1-kill-dbus-includes.patch ) src_configure() {