All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dbus: use $(LIBTOOL) to install 'dbus-daemon'
@ 2010-04-14  9:38 Enrico Scholz
  2010-04-14 13:22 ` Enrico Scholz
  2010-04-15  7:07 ` Sebastian Spaeth
  0 siblings, 2 replies; 5+ messages in thread
From: Enrico Scholz @ 2010-04-14  9:38 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Enrico Scholz

Depending on autotools/libtool version and configure flags, dbus-daemon
will be built sometimes below .libs/ and sometimes in base directory.

Using 'libtool --mode=install' is a portable way to deal with this.

Changing Makefile.am to use native automake methods to install this
files would be a better but more invasive fix.
---
 recipes/dbus/dbus-1.2.24/fix-install-daemon.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/dbus/dbus-1.2.24/fix-install-daemon.patch b/recipes/dbus/dbus-1.2.24/fix-install-daemon.patch
index c317863..5e25d12 100644
--- a/recipes/dbus/dbus-1.2.24/fix-install-daemon.patch
+++ b/recipes/dbus/dbus-1.2.24/fix-install-daemon.patch
@@ -7,7 +7,7 @@ Index: dbus-0.94/bus/Makefile.am
  		chmod 755 $(DESTDIR)$(DBUS_DAEMONDIR); \
  	fi
 -	$(INSTALL_PROGRAM) dbus-daemon $(DESTDIR)$(DBUS_DAEMONDIR)
-+	$(INSTALL_PROGRAM) .libs/dbus-daemon $(DESTDIR)$(DBUS_DAEMONDIR)
++	$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) dbus-daemon $(DESTDIR)$(DBUS_DAEMONDIR)
  	$(mkinstalldirs) $(DESTDIR)$(localstatedir)/run/dbus
  	$(mkinstalldirs) $(DESTDIR)$(configdir)/system.d
  	$(mkinstalldirs) $(DESTDIR)$(datadir)/dbus-1/services
-- 
1.7.0.1




^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] dbus: use $(LIBTOOL) to install 'dbus-daemon'
  2010-04-14  9:38 [PATCH] dbus: use $(LIBTOOL) to install 'dbus-daemon' Enrico Scholz
@ 2010-04-14 13:22 ` Enrico Scholz
  2010-04-14 16:10   ` Chris Larson
  2010-04-15  7:07 ` Sebastian Spaeth
  1 sibling, 1 reply; 5+ messages in thread
From: Enrico Scholz @ 2010-04-14 13:22 UTC (permalink / raw)
  To: openembedded-devel

Enrico Scholz <enrico.scholz@sigma-chemnitz.de> writes:

> Depending on autotools/libtool version and configure flags, dbus-daemon
> will be built sometimes below .libs/ and sometimes in base directory.
>
> Using 'libtool --mode=install' is a portable way to deal with this.
>
> Changing Makefile.am to use native automake methods to install this
> files would be a better but more invasive fix.

oops... forgot the

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] dbus: use $(LIBTOOL) to install 'dbus-daemon'
  2010-04-14 13:22 ` Enrico Scholz
@ 2010-04-14 16:10   ` Chris Larson
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Larson @ 2010-04-14 16:10 UTC (permalink / raw)
  To: openembedded-devel

On Wed, Apr 14, 2010 at 6:22 AM, Enrico Scholz <
enrico.scholz@sigma-chemnitz.de> wrote:

> Enrico Scholz <enrico.scholz@sigma-chemnitz.de> writes:
>
> > Depending on autotools/libtool version and configure flags, dbus-daemon
> > will be built sometimes below .libs/ and sometimes in base directory.
> >
> > Using 'libtool --mode=install' is a portable way to deal with this.
> >
> > Changing Makefile.am to use native automake methods to install this
> > files would be a better but more invasive fix.
>
> oops... forgot the
>
> Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
>

Looks reasonable.

Acked-by: Chris Larson <chris_larson@mentor.com>
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] dbus: use $(LIBTOOL) to install 'dbus-daemon'
  2010-04-14  9:38 [PATCH] dbus: use $(LIBTOOL) to install 'dbus-daemon' Enrico Scholz
  2010-04-14 13:22 ` Enrico Scholz
@ 2010-04-15  7:07 ` Sebastian Spaeth
  2010-04-15 14:25   ` Enrico Scholz
  1 sibling, 1 reply; 5+ messages in thread
From: Sebastian Spaeth @ 2010-04-15  7:07 UTC (permalink / raw)
  To: Enrico Scholz, openembedded-devel; +Cc: Enrico Scholz

On 2010-04-14, Enrico Scholz wrote:
> Depending on autotools/libtool version and configure flags, dbus-daemon
> will be built sometimes below .libs/ and sometimes in base directory.
> 
> Using 'libtool --mode=install' is a portable way to deal with this.
> 
> Changing Makefile.am to use native automake methods to install this
> files would be a better but more invasive fix.

Looks reasonable, although I am always for going with the "better" fixes
in general :-)

Acked-by: Sebastian Spaeth <Sebastian@SSpaeth.de>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] dbus: use $(LIBTOOL) to install 'dbus-daemon'
  2010-04-15  7:07 ` Sebastian Spaeth
@ 2010-04-15 14:25   ` Enrico Scholz
  0 siblings, 0 replies; 5+ messages in thread
From: Enrico Scholz @ 2010-04-15 14:25 UTC (permalink / raw)
  To: Sebastian Spaeth; +Cc: openembedded-devel

"Sebastian Spaeth" <Sebastian@SSpaeth.de> writes:

>> Changing Makefile.am to use native automake methods to install this
>> files would be a better but more invasive fix.
>
> Looks reasonable, although I am always for going with the "better" fixes
> in general :-)

I will work on a better patch which will be sent to upstream.  But I can
not say when I have time to work on it.


Enrico



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-15 14:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-14  9:38 [PATCH] dbus: use $(LIBTOOL) to install 'dbus-daemon' Enrico Scholz
2010-04-14 13:22 ` Enrico Scholz
2010-04-14 16:10   ` Chris Larson
2010-04-15  7:07 ` Sebastian Spaeth
2010-04-15 14:25   ` Enrico Scholz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.