From: Jean-Christian de Rivaz <jc@eclis.ch>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Re: buildroot-libtool.patch failed with dbus 1.3.0
Date: Fri, 07 Aug 2009 23:40:53 +0200 [thread overview]
Message-ID: <4A7C9F65.4060104@eclis.ch> (raw)
In-Reply-To: <20090807221717.53039a10@surf>
Thomas Petazzoni a ?crit :
> Le Fri, 07 Aug 2009 21:52:16 +0200,
> Jean-Christian de Rivaz <jc@eclis.ch> a ?crit :
>
>> If I understand correctly, buildroot have a script
>> package/Makefile.autotools.in that try to patch the ltmain.sh for his
>> specific need. How can I disable or fix this ?
>
> You can disable it by adding DBUS_LIBTOOL_PATCH = NO in dbus/dbus.mk.
>
> However, libtool will not be patched anymore, so depending on the
> version of libtool being used in dbus-1.3.0, it might break the build.
Thanks for the trick! It seem that dbus archives contain a new ltmain.sh
since the dbus version 1.2.16. I have successfully tested the following
patch with dbus version 1.2.12, 1.2.14, 1.2.16 and 1.3.0. On each test I
also verified that dbus-glib compile.
Best Regards,
Jean-Christian de Rivaz
From cf50719def4ff430755b1ddf8e8adf9edaafabfc Mon Sep 17 00:00:00 2001
From: Jean-Christian de Rivaz <jc@eclis.ch>
Date: Fri, 7 Aug 2009 23:31:08 +0200
Subject: [PATCH] Update dbus to version 1.3.0. Disable ltmain.sh
patching for dbus version since 1.2.16
Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
---
package/dbus/dbus.mk | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/package/dbus/dbus.mk b/package/dbus/dbus.mk
index 7326b41..6bf98c0 100644
--- a/package/dbus/dbus.mk
+++ b/package/dbus/dbus.mk
@@ -3,7 +3,7 @@
# dbus
#
#############################################################
-DBUS_VERSION = 1.2.12
+DBUS_VERSION = 1.3.0
DBUS_SOURCE = dbus-$(DBUS_VERSION).tar.gz
DBUS_SITE = http://dbus.freedesktop.org/releases/dbus/
DBUS_INSTALL_STAGING = YES
@@ -18,6 +18,15 @@ endif
DBUS_DEPENDENCIES = uclibc host-pkgconfig
+# DBus project have changed there ltmain.sh since version 1.2.16
+# Why the package/Makefile.autotools.in can't handle that ?
+ifeq ($(DBUS_VERSION),1.2.16)
+DBUS_LIBTOOL_PATCH = NO
+endif
+ifeq ($(DBUS_VERSION),1.3.0)
+DBUS_LIBTOOL_PATCH = NO
+endif
+
DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes
DBUS_CONF_OPT = --program-prefix="" \
--with-dbus-user=dbus \
--
1.5.6.5
next prev parent reply other threads:[~2009-08-07 21:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-07 19:52 [Buildroot] buildroot-libtool.patch failed with dbus 1.3.0 Jean-Christian de Rivaz
2009-08-07 20:17 ` Thomas Petazzoni
2009-08-07 21:40 ` Jean-Christian de Rivaz [this message]
2009-08-07 22:43 ` [Buildroot] [PATCH] " Thomas Petazzoni
2009-08-07 23:07 ` Jean-Christian de Rivaz
2009-08-08 18:09 ` Thomas Petazzoni
2009-08-08 22:36 ` Jean-Christian de Rivaz
2009-08-08 22:59 ` Thomas Petazzoni
2009-08-10 7:29 ` Jean-Christian de Rivaz
2009-08-10 7:39 ` Jean-Christian de Rivaz
2009-08-09 22:17 ` Thomas Petazzoni
2009-08-10 7:37 ` Jean-Christian de Rivaz
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=4A7C9F65.4060104@eclis.ch \
--to=jc@eclis.ch \
--cc=buildroot@busybox.net \
/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