Received: from mail-ee0-f44.google.com ([74.125.83.44]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TpjEL-0005xV-9w for openembedded-devel@lists.openembedded.org; Mon, 31 Dec 2012 18:32:55 +0100 Received: by mail-ee0-f44.google.com with SMTP id b47so6189053eek.17 for ; Mon, 31 Dec 2012 09:17:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:x-mailer:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=xlYSlmc+TD2PDalHSu0mjeYc8DWm0ltwo0QJcpCt1Zg=; b=iOWaCkdaXnPDQn5WlFs2VL6ObjkRhna2xbW1XQdB76ZIutwxghyYg5bpRhtCRv/HUL r3j+sRatGMtu8uvw/cA1gS5MnUkKqC34Ya41y7Y0NaQWDznGdndCXIMBRe5Lqpk8bV4p 2oBJKD63rI3yDk/78Y8BClxo37eUILAz5PByfvG1yTXkzfPEkcQrjgDGG3Scw8JHJqCd lKacCGWGXENHlhiN94Rt56L7VZiILiHQo/6BRIsv0vLhvDdNZBTA7pBP0LuGA1JNtq0H OsQ12DKQdfwo7wK5Y2gx+mAY/V9wG+hX3S8iqAeTcDQan4MX7t9ZnNB0HT80ZWI+mkze S1RA== X-Received: by 10.14.181.135 with SMTP id l7mr1186302eem.19.1356974273754; Mon, 31 Dec 2012 09:17:53 -0800 (PST) Received: from localhost.localdomain (p5B0A1BD4.dip.t-dialin.net. [91.10.27.212]) by mx.google.com with ESMTPS id 46sm86204729eeg.4.2012.12.31.09.17.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 31 Dec 2012 09:17:53 -0800 (PST) From: =?UTF-8?q?Andreas=20M=C3=BCller?= To: openembedded-devel@lists.openembedded.org Date: Mon, 31 Dec 2012 18:17:25 +0100 Message-Id: <1356974245-3497-11-git-send-email-schnitzeltony@googlemail.com> X-Mailer: git-send-email 1.7.4.4 In-Reply-To: <1356974245-3497-1-git-send-email-schnitzeltony@googlemail.com> References: <1356974245-3497-1-git-send-email-schnitzeltony@googlemail.com> MIME-Version: 1.0 Subject: [meta-xfce/meta-gnome 10/10] xfce4-session: fix build on X11-less hosts X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2012 17:33:03 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit error message was: | checking for iceauth... no | configure: error: iceauth missing, please check your X11 installation Signed-off-by: Andreas Müller --- ...03-configure.in-hard-code-path-to-iceauth.patch | 40 ++++++++++++++++++++ .../xfce4-session/xfce4-session_4.10.0.bb | 6 ++- 2 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 meta-xfce/recipes-xfce/xfce4-session/files/0003-configure.in-hard-code-path-to-iceauth.patch diff --git a/meta-xfce/recipes-xfce/xfce4-session/files/0003-configure.in-hard-code-path-to-iceauth.patch b/meta-xfce/recipes-xfce/xfce4-session/files/0003-configure.in-hard-code-path-to-iceauth.patch new file mode 100644 index 0000000..41a527c --- /dev/null +++ b/meta-xfce/recipes-xfce/xfce4-session/files/0003-configure.in-hard-code-path-to-iceauth.patch @@ -0,0 +1,40 @@ +From a629b051f4e5462150c77b95574bbc7a33bc9666 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Mon, 31 Dec 2012 16:35:29 +0100 +Subject: [PATCH] configure.in: hard code path to iceauth +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +workaround AC_PATH_PROG which was meant to find programs required at build-time +not at run-time. + +Upstream-Status: Inappropriate [config] + +Signed-off-by: Andreas Müller +--- + configure.in | 8 +------- + 1 files changed, 1 insertions(+), 7 deletions(-) + +diff --git a/configure.in b/configure.in +index 3cf3510..505e744 100644 +--- a/configure.in ++++ b/configure.in +@@ -111,13 +111,7 @@ XDT_FEATURE_DEBUG([xfsm_debug_default]) + dnl Check for linker optimizations + XDT_FEATURE_LINKER_OPTS() + +-dnl Check for iceauth +-AC_PATH_PROG([ICEAUTH], [iceauth]) +-if test x"$ICEAUTH" != x""; then +- AC_DEFINE_UNQUOTED([ICEAUTH_CMD], ["$ICEAUTH"], [path to iceauth]) +-else +- AC_MSG_ERROR([iceauth missing, please check your X11 installation]) +-fi ++AC_DEFINE_UNQUOTED([ICEAUTH_CMD], ["$bindir/iceauth"], [path to iceauth]) + + dnl Find a location for the session desktop file + AC_MSG_CHECKING([what xsession-prefix to use]) +-- +1.7.4.4 + diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bb b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bb index 3bd3743..6ad834d 100644 --- a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bb +++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.10.0.bb @@ -4,14 +4,16 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=9ac2e7cff1ddaf48b6eab6028f23ef88" DEPENDS = "virtual/libx11 libsm libxfce4util libxfce4ui gtk+ libwnck dbus dbus-glib xfconf" RDEPENDS_${PN} = "netbase xinit dbus-x11 iceauth consolekit upower" -PR = "r1" +PR = "r2" inherit xfce SRC_URI[md5sum] = "4768e1a41a0287af6aad18b329a0f230" SRC_URI[sha256sum] = "bb8aa9a74c3d382840596fb4875144d66c7f3f47c8e9ee81d31e3428a72c46ce" SRC_URI += "file://0001-Handle-multiple-interactive-session-save-bug-5379.patch \ - file://0002-Remove-gnome-keyring-remains.patch" + file://0002-Remove-gnome-keyring-remains.patch \ + file://0003-configure.in-hard-code-path-to-iceauth.patch \ +" # protect from frightening message that xfce might not work correctly pkg_postinst_${PN} () { -- 1.7.4.4