Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-11-23 11:43 jacmet at uclibc.org
  2007-11-23 12:50 ` Ivan Kuten
  0 siblings, 1 reply; 44+ messages in thread
From: jacmet at uclibc.org @ 2007-11-23 11:43 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-11-23 03:42:59 -0800 (Fri, 23 Nov 2007)
New Revision: 20494

Log:
Fix target install, install helper programs as well as strip executables

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2007-11-23 11:25:13 UTC (rev 20493)
+++ trunk/buildroot/package/dbus/dbus.mk	2007-11-23 11:42:59 UTC (rev 20494)
@@ -66,19 +66,17 @@
 
 $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
 	mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/etc/init.d
-	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(DBUS_DIR)/dbus install
-	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
-	rm -f $(TARGET_DIR)/usr/lib/libdbus-1.la \
-		$(TARGET_DIR)/usr/lib/libdbus-1.so
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libdbus-1.so.3.3.0
-	$(MAKE) DESTDIR=$(TARGET_DIR) initddir=/etc/init.d -C $(DBUS_DIR)/bus install
+	$(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIP)' \
+		initdir=/etc/init.d -C $(DBUS_DIR)/dbus install-strip
+	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 \
+		$(TARGET_DIR)/usr/lib/libdbus-1.la \
+		$(TARGET_DIR)/usr/include/dbus-1.0 \
+		$(TARGET_DIR)/usr/lib/pkgconfig
 	$(INSTALL) -m 0755 package/dbus/S97messagebus $(TARGET_DIR)/etc/init.d
 	rm -f $(TARGET_DIR)/etc/init.d/messagebus
 ifneq ($(BR2_HAVE_MANPAGES),y)
 	rm -rf $(TARGET_DIR)/usr/share/man
 endif
-	rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
-	rm -rf $(TARGET_DIR)/etc/rc.d
 
 dbus: uclibc $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
 

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2009-02-24 11:13 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2009-02-24 11:13 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-24 11:13:56 +0000 (Tue, 24 Feb 2009)
New Revision: 25439

Log:
dbus: fix expat typo

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2009-02-24 10:05:15 UTC (rev 25438)
+++ trunk/buildroot/package/dbus/dbus.mk	2009-02-24 11:13:56 UTC (rev 25439)
@@ -20,7 +20,7 @@
 
 ifeq ($(BR2_DBUS_EXPAT),y)
 DBUS_XML:=expat
-DBUS_DEPENDENCIES += ezxml
+DBUS_DEPENDENCIES += expat
 else
 DBUS_XML:=libxml
 DBUS_DEPENDENCIES += libxml2

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2009-02-22 20:12 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2009-02-22 20:12 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-02-22 20:12:50 +0000 (Sun, 22 Feb 2009)
New Revision: 25413

Log:
dbus: convert to Makefile.autotools.in and bump version

Added:
   trunk/buildroot/package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Added: trunk/buildroot/package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch
===================================================================
--- trunk/buildroot/package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch	                        (rev 0)
+++ trunk/buildroot/package/dbus/dbus-1.2.12-launch-helper-xml-fix.patch	2009-02-22 20:12:50 UTC (rev 25413)
@@ -0,0 +1,33 @@
+dbus-daemon-launch-helper: fix build with libxml
+
+dbus-daemon-launch-helper links with the trival config parser, which
+doesn't provide bus_config_parser_check_doctype(), like the big parser does.
+The libxml loader unfortunately wants to call it, so this breaks the build.
+
+Fix it by including a dummy bus_config_parser_check_doctype() in the trivial
+config parser.
+
+Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
+---
+ bus/config-parser-trivial.c |    8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+Index: dbus-1.2.12/bus/config-parser-trivial.c
+===================================================================
+--- dbus-1.2.12.orig/bus/config-parser-trivial.c
++++ dbus-1.2.12/bus/config-parser-trivial.c
+@@ -310,6 +310,14 @@
+   return &parser->service_dirs;
+ }
+ 
++dbus_bool_t
++bus_config_parser_check_doctype (BusConfigParser   *parser,
++                                 const char        *doctype,
++                                 DBusError         *error)
++{
++    return TRUE;
++}
++
+ #ifdef DBUS_BUILD_TESTS
+ #include <stdio.h>
+ #include "test.h"

Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2009-02-22 10:57:23 UTC (rev 25412)
+++ trunk/buildroot/package/dbus/dbus.mk	2009-02-22 20:12:50 UTC (rev 25413)
@@ -3,53 +3,31 @@
 # dbus
 #
 #############################################################
-DBUS_VERSION:=1.1.1
-DBUS_SOURCE:=dbus-$(DBUS_VERSION).tar.gz
-DBUS_SITE:=http://dbus.freedesktop.org/releases/dbus/
-DBUS_DIR:=$(BUILD_DIR)/dbus-$(DBUS_VERSION)
-DBUS_CAT:=$(ZCAT)
-DBUS_BINARY:=bus/dbus-daemon
-DBUS_TARGET_BINARY:=usr/bin/dbus-daemon
+DBUS_VERSION = 1.2.12
+DBUS_SOURCE = dbus-$(DBUS_VERSION).tar.gz
+DBUS_SITE = http://dbus.freedesktop.org/releases/dbus/
+DBUS_INSTALL_STAGING = YES
+DBUS_INSTALL_TARGET = YES
+ifeq ($(BR2_ENABLE_DEBUG),y)
+# install-exec doesn't install the config file
+DBUS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
+else
+# install-strip uses host strip
+DBUS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install-strip STRIPPROG="$(STRIPCMD)"
+endif
 
+DBUS_DEPENDENCIES = uclibc pkgconfig
+
 ifeq ($(BR2_DBUS_EXPAT),y)
 DBUS_XML:=expat
-# depend on the exact library file instead of expat so dbus isn't always
-# considered out-of-date
-DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
+DBUS_DEPENDENCIES += ezxml
 else
 DBUS_XML:=libxml
-# Makefile.autotools.in unfortunately has broken dependency handling,
-# so we cannot do the same for libxml2 as the targets (like
-# libxml2-install-staging) are phony and hence, dbus will always be
-# considered out-of-date. Using the corresponding .stamp_* files (E.G.
-# LIBXML2_TARGET_INSTALL_STAGING doesn't work as there's no dependency
-# information between them.
-DBUS_XML_DEP:=libxml2-install-staging
+DBUS_DEPENDENCIES += libxml2
 endif
 
-$(DL_DIR)/$(DBUS_SOURCE):
-	$(call DOWNLOAD,$(DBUS_SITE),$(DBUS_SOURCE))
-
-dbus-source: $(DL_DIR)/$(DBUS_SOURCE)
-
-$(DBUS_DIR)/.unpacked: $(DL_DIR)/$(DBUS_SOURCE)
-	$(DBUS_CAT) $(DL_DIR)/$(DBUS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	touch $@
-
-$(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP)
-	(cd $(DBUS_DIR); rm -rf config.cache; \
-		$(TARGET_CONFIGURE_OPTS) \
-		$(TARGET_CONFIGURE_ARGS) \
-		ac_cv_have_abstract_sockets=yes \
-		./configure \
-		--target=$(GNU_TARGET_NAME) \
-		--host=$(GNU_TARGET_NAME) \
-		--build=$(GNU_HOST_NAME) \
-		--prefix=/usr \
-		--exec-prefix=/usr \
-		--localstatedir=/var \
-		--program-prefix="" \
-		--sysconfdir=/etc \
+DBUS_CONF_ENV = ac_cv_have_abstract_sockets=yes
+DBUS_CONF_OPT = --program-prefix="" \
 		--with-dbus-user=dbus \
 		--disable-tests \
 		--disable-asserts \
@@ -62,62 +40,11 @@
 		--without-x \
 		--with-xml=$(DBUS_XML) \
 		--with-system-socket=/var/run/dbus/system_bus_socket \
-		--with-system-pid-file=/var/run/messagebus.pid \
-	)
-	touch $@
+		--with-system-pid-file=/var/run/messagebus.pid
 
-$(DBUS_DIR)/$(DBUS_BINARY): $(DBUS_DIR)/.configured
-	$(MAKE) -C $(DBUS_DIR) all
-	touch $@
+$(eval $(call AUTOTARGETS,package,dbus))
 
-$(STAGING_DIR)/$(DBUS_TARGET_BINARY): $(DBUS_DIR)/$(DBUS_BINARY)
-	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR) install
-	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libdbus-1.la
-	touch $@
-
-$(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/$(DBUS_TARGET_BINARY)
-	mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/var/lib/dbus $(TARGET_DIR)/etc/init.d
-ifeq ($(BR2_STRIP_none),y)
-	$(MAKE) DESTDIR=$(TARGET_DIR) \
-		initdir=/etc/init.d -C $(DBUS_DIR) install
-else
-	$(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIPCMD)' \
-		initdir=/etc/init.d -C $(DBUS_DIR) install-strip
-endif
-	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 \
-		$(TARGET_DIR)/usr/lib/libdbus-1.la \
-		$(TARGET_DIR)/usr/include/dbus-1.0 \
-		$(TARGET_DIR)/usr/lib/pkgconfig
+$(DBUS_HOOK_POST_INSTALL): $(DBUS_TARGET_INSTALL_TARGET)
+	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
 	$(INSTALL) -m 0755 package/dbus/S30dbus $(TARGET_DIR)/etc/init.d
-	rm -f $(TARGET_DIR)/etc/init.d/messagebus
-ifneq ($(BR2_HAVE_MANPAGES),y)
-	rm -rf $(TARGET_DIR)/usr/share/man
-endif
-
-dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
-
-dbus-clean:
-	rm -f $(TARGET_DIR)/etc/dbus-1/session.conf
-	rm -f $(TARGET_DIR)/etc/dbus-1/system.conf
-	rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/etc/dbus-1/system.d
-	rm -f $(TARGET_DIR)/etc/init.d/S30dbus
-	rm -f $(TARGET_DIR)/usr/lib/libdbus-1.so*
-	rm -f $(TARGET_DIR)/usr/bin/dbus-daemon
-	rm -rf $(TARGET_DIR)/tmp/dbus
-	rm -f $(STAGING_DIR)/usr/lib/libdbus-1.*
-	rm -rf $(STAGING_DIR)/usr/lib/dbus-1.0
-	rm -rf $(STAGING_DIR)/usr/include/dbus-1.0
-	rmdir --ignore-fail-on-non-empty $(STAGING_DIR)/usr/include
-	-$(MAKE) -C $(DBUS_DIR) clean
-
-dbus-dirclean:
-	rm -rf $(DBUS_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(BR2_PACKAGE_DBUS),y)
-TARGETS+=dbus
-endif
+	touch $@

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2009-01-31 22:53 jacmet at uclibc.org
  2009-02-01  5:58 ` Hamish Moffatt
  0 siblings, 1 reply; 44+ messages in thread
From: jacmet at uclibc.org @ 2009-01-31 22:53 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-31 22:53:35 +0000 (Sat, 31 Jan 2009)
New Revision: 25201

Log:
dbus: revert r25194 (Unbreak Peters 'fixes' to dbus for a second time)

It was a bogus revert.

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2009-01-31 21:45:57 UTC (rev 25200)
+++ trunk/buildroot/package/dbus/dbus.mk	2009-01-31 22:53:35 UTC (rev 25201)
@@ -13,10 +13,18 @@
 
 ifeq ($(BR2_DBUS_EXPAT),y)
 DBUS_XML:=expat
-DBUS_XML_DEP:=expat
+# depend on the exact library file instead of expat so dbus isn't always
+# considered out-of-date
+DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
 else
 DBUS_XML:=libxml
-DBUS_XML_DEP:=libxml2
+# Makefile.autotools.in unfortunately has broken dependency handling,
+# so we cannot do the same for libxml2 as the targets (like
+# libxml2-install-staging) are phony and hence, dbus will always be
+# considered out-of-date. Using the corresponding .stamp_* files (E.G.
+# LIBXML2_TARGET_INSTALL_STAGING doesn't work as there's no dependency
+# information between them.
+DBUS_XML_DEP:=libxml2-install-staging
 endif
 
 $(DL_DIR)/$(DBUS_SOURCE):
@@ -86,7 +94,7 @@
 	rm -rf $(TARGET_DIR)/usr/share/man
 endif
 
-dbus: uclibc pkgconfig $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
+dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
 
 dbus-clean:
 	rm -f $(TARGET_DIR)/etc/dbus-1/session.conf
@@ -113,5 +121,3 @@
 ifeq ($(BR2_PACKAGE_DBUS),y)
 TARGETS+=dbus
 endif
-
-

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2009-01-31 21:01 ulf at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: ulf at uclibc.org @ 2009-01-31 21:01 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2009-01-31 21:01:24 +0000 (Sat, 31 Jan 2009)
New Revision: 25194

Log:
Unbreak Peters 'fixes' to dbus for a second time

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2009-01-31 20:49:59 UTC (rev 25193)
+++ trunk/buildroot/package/dbus/dbus.mk	2009-01-31 21:01:24 UTC (rev 25194)
@@ -13,18 +13,10 @@
 
 ifeq ($(BR2_DBUS_EXPAT),y)
 DBUS_XML:=expat
-# depend on the exact library file instead of expat so dbus isn't always
-# considered out-of-date
-DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
+DBUS_XML_DEP:=expat
 else
 DBUS_XML:=libxml
-# Makefile.autotools.in unfortunately has broken dependency handling,
-# so we cannot do the same for libxml2 as the targets (like
-# libxml2-install-staging) are phony and hence, dbus will always be
-# considered out-of-date. Using the corresponding .stamp_* files (E.G.
-# LIBXML2_TARGET_INSTALL_STAGING doesn't work as there's no dependency
-# information between them.
-DBUS_XML_DEP:=libxml2-install-staging
+DBUS_XML_DEP:=libxml2
 endif
 
 $(DL_DIR)/$(DBUS_SOURCE):
@@ -94,7 +86,7 @@
 	rm -rf $(TARGET_DIR)/usr/share/man
 endif
 
-dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
+dbus: uclibc pkgconfig $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
 
 dbus-clean:
 	rm -f $(TARGET_DIR)/etc/dbus-1/session.conf
@@ -121,3 +113,5 @@
 ifeq ($(BR2_PACKAGE_DBUS),y)
 TARGETS+=dbus
 endif
+
+

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2009-01-31 18:39 jacmet at uclibc.org
  2009-01-31 20:52 ` Ulf Samuelsson
  0 siblings, 1 reply; 44+ messages in thread
From: jacmet at uclibc.org @ 2009-01-31 18:39 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-31 18:39:55 +0000 (Sat, 31 Jan 2009)
New Revision: 25181

Log:
dbus: revert to pre-r25021 situation

Revert to pre-r25021 situation, but add extra comments explaining the
situation.

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2009-01-31 18:39:49 UTC (rev 25180)
+++ trunk/buildroot/package/dbus/dbus.mk	2009-01-31 18:39:55 UTC (rev 25181)
@@ -13,10 +13,18 @@
 
 ifeq ($(BR2_DBUS_EXPAT),y)
 DBUS_XML:=expat
-DBUS_XML_DEP:=expat
+# depend on the exact library file instead of expat so dbus isn't always
+# considered out-of-date
+DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
 else
 DBUS_XML:=libxml
-DBUS_XML_DEP:=libxml2
+# Makefile.autotools.in unfortunately has broken dependency handling,
+# so we cannot do the same for libxml2 as the targets (like
+# libxml2-install-staging) are phony and hence, dbus will always be
+# considered out-of-date. Using the corresponding .stamp_* files (E.G.
+# LIBXML2_TARGET_INSTALL_STAGING doesn't work as there's no dependency
+# information between them.
+DBUS_XML_DEP:=libxml2-install-staging
 endif
 
 $(DL_DIR)/$(DBUS_SOURCE):
@@ -86,7 +94,7 @@
 	rm -rf $(TARGET_DIR)/usr/share/man
 endif
 
-dbus: uclibc pkgconfig $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
+dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
 
 dbus-clean:
 	rm -f $(TARGET_DIR)/etc/dbus-1/session.conf
@@ -113,9 +121,3 @@
 ifeq ($(BR2_PACKAGE_DBUS),y)
 TARGETS+=dbus
 endif
-
-dbus-status:
-	@echo	BR2_DBUS_EXPAT=$(BR2_DBUS_EXPAT)
-	@echo	DBUS_XML=$(DBUS_XML)
-	@echo	DBUS_XML_DEP=$(DBUS_XML_DEP)
-

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2009-01-31 12:02 ulf at uclibc.org
  2009-01-31 13:09 ` Peter Korsgaard
  0 siblings, 1 reply; 44+ messages in thread
From: ulf at uclibc.org @ 2009-01-31 12:02 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2009-01-31 12:02:40 +0000 (Sat, 31 Jan 2009)
New Revision: 25176

Log:
dbus dependencies needs to be ready before ./configure

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2009-01-31 10:18:23 UTC (rev 25175)
+++ trunk/buildroot/package/dbus/dbus.mk	2009-01-31 12:02:40 UTC (rev 25176)
@@ -28,7 +28,7 @@
 	$(DBUS_CAT) $(DL_DIR)/$(DBUS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	touch $@
 
-$(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked
+$(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP)
 	(cd $(DBUS_DIR); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
 		$(TARGET_CONFIGURE_ARGS) \
@@ -113,3 +113,9 @@
 ifeq ($(BR2_PACKAGE_DBUS),y)
 TARGETS+=dbus
 endif
+
+dbus-status:
+	@echo	BR2_DBUS_EXPAT=$(BR2_DBUS_EXPAT)
+	@echo	DBUS_XML=$(DBUS_XML)
+	@echo	DBUS_XML_DEP=$(DBUS_XML_DEP)
+

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2009-01-30 13:54 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2009-01-30 13:54 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2009-01-30 13:54:47 +0000 (Fri, 30 Jan 2009)
New Revision: 25168

Log:
dbus: fix xml dependency and stop continous rebuilds

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2009-01-30 13:54:42 UTC (rev 25167)
+++ trunk/buildroot/package/dbus/dbus.mk	2009-01-30 13:54:47 UTC (rev 25168)
@@ -13,19 +13,12 @@
 
 ifeq ($(BR2_DBUS_EXPAT),y)
 DBUS_XML:=expat
-# depend on the exact library file instead of expat so dbus isn't always
-# considered out-of-date
-DBUS_XML_DEP_LIB:=$(STAGING_DIR)/usr/lib/libexpat.so.1
+DBUS_XML_DEP:=expat
 else
 DBUS_XML:=libxml
-# Makefile.autotools.in unfortunately has broken dependency handling,
-# so we cannot do the same for libxml2
-DBUS_XML_DEP_LIB:=$(LIBXML2_HOOK_POST_INSTALL)
-#libxml2-install-staging
+DBUS_XML_DEP:=libxml2
 endif
 
-DBUS_XML_DEP:=$(DBUS_XML_DEP_LIB)
-
 $(DL_DIR)/$(DBUS_SOURCE):
 	$(call DOWNLOAD,$(DBUS_SITE),$(DBUS_SOURCE))
 
@@ -35,7 +28,7 @@
 	$(DBUS_CAT) $(DL_DIR)/$(DBUS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	touch $@
 
-$(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP)
+$(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked
 	(cd $(DBUS_DIR); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
 		$(TARGET_CONFIGURE_ARGS) \
@@ -93,7 +86,7 @@
 	rm -rf $(TARGET_DIR)/usr/share/man
 endif
 
-dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
+dbus: uclibc pkgconfig $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
 
 dbus-clean:
 	rm -f $(TARGET_DIR)/etc/dbus-1/session.conf

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2009-01-25 20:55 ulf at uclibc.org
  2009-01-25 21:00 ` Peter Korsgaard
  0 siblings, 1 reply; 44+ messages in thread
From: ulf at uclibc.org @ 2009-01-25 20:55 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2009-01-25 20:55:31 +0000 (Sun, 25 Jan 2009)
New Revision: 25021

Log:
Stop dbus continuos rebuild, fix deps

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2009-01-25 20:53:43 UTC (rev 25020)
+++ trunk/buildroot/package/dbus/dbus.mk	2009-01-25 20:55:31 UTC (rev 25021)
@@ -15,14 +15,17 @@
 DBUS_XML:=expat
 # depend on the exact library file instead of expat so dbus isn't always
 # considered out-of-date
-DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
+DBUS_XML_DEP_LIB:=$(STAGING_DIR)/usr/lib/libexpat.so.1
 else
 DBUS_XML:=libxml
 # Makefile.autotools.in unfortunately has broken dependency handling,
 # so we cannot do the same for libxml2
-DBUS_XML_DEP:=libxml2-install-staging
+DBUS_XML_DEP_LIB:=$(LIBXML2_HOOK_POST_INSTALL)
+#libxml2-install-staging
 endif
 
+DBUS_XML_DEP:=$(DBUS_XML_DEP_LIB)
+
 $(DL_DIR)/$(DBUS_SOURCE):
 	$(call DOWNLOAD,$(DBUS_SITE),$(DBUS_SOURCE))
 
@@ -64,9 +67,12 @@
 
 $(DBUS_DIR)/$(DBUS_BINARY): $(DBUS_DIR)/.configured
 	$(MAKE) -C $(DBUS_DIR) all
+	touch $@
 
 $(STAGING_DIR)/$(DBUS_TARGET_BINARY): $(DBUS_DIR)/$(DBUS_BINARY)
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR) install
+	$(SED) "s,^libdir=.*,libdir=\'$(STAGING_DIR)/usr/lib\',g" $(STAGING_DIR)/usr/lib/libdbus-1.la
+	touch $@
 
 $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/$(DBUS_TARGET_BINARY)
 	mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/var/lib/dbus $(TARGET_DIR)/etc/init.d

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2008-06-20 21:45 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2008-06-20 21:45 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-20 14:45:21 -0700 (Fri, 20 Jun 2008)
New Revision: 22461

Log:
dbus: depend on libxml2-install-staging instead for libxml2

Makefile.autools.in doesn't have proper dependencies set up for
the .stamp files, so use the libxml2-install-staging target instead.
This does unfortunately mean that dbus is always considered out of
date, but atleast it works.


Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2008-06-20 20:20:54 UTC (rev 22460)
+++ trunk/buildroot/package/dbus/dbus.mk	2008-06-20 21:45:21 UTC (rev 22461)
@@ -18,12 +18,9 @@
 DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
 else
 DBUS_XML:=libxml
-# depend on the exact target instead of libxml2 so dbus isn't always
-# considered out-of-date.
-# It would be neat to use $(LIBXML2_TARGET_INSTALL_STAGING) here,
-# but the libxml2 makefile is only parsed after dbus, so that doesn't work
-DBUS_XML_DEP:=$(BUILD_DIR)/libxml2-2.6.29/.stamp_staging_installed
-$(LIBXML2_TARGET_INSTALL_STAGING)
+# Makefile.autotools.in unfortunately has broken dependency handling,
+# so we cannot do the same for libxml2
+DBUS_XML_DEP:=libxml2-install-staging
 endif
 
 $(DL_DIR)/$(DBUS_SOURCE):

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2008-06-15 20:20 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2008-06-15 20:20 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-06-15 13:20:33 -0700 (Sun, 15 Jun 2008)
New Revision: 22358

Log:
dbus: depend on exact XML dep so it isn't always considered out-of-date


Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2008-06-15 20:15:27 UTC (rev 22357)
+++ trunk/buildroot/package/dbus/dbus.mk	2008-06-15 20:20:33 UTC (rev 22358)
@@ -13,10 +13,17 @@
 
 ifeq ($(strip $(BR2_DBUS_EXPAT)),y)
 DBUS_XML:=expat
-DBUS_XML_DEP:=expat
+# depend on the exact library file instead of expat so dbus isn't always
+# considered out-of-date
+DBUS_XML_DEP:=$(STAGING_DIR)/usr/lib/libexpat.so.1
 else
 DBUS_XML:=libxml
-DBUS_XML_DEP:=libxml2
+# depend on the exact target instead of libxml2 so dbus isn't always
+# considered out-of-date.
+# It would be neat to use $(LIBXML2_TARGET_INSTALL_STAGING) here,
+# but the libxml2 makefile is only parsed after dbus, so that doesn't work
+DBUS_XML_DEP:=$(BUILD_DIR)/libxml2-2.6.29/.stamp_staging_installed
+$(LIBXML2_TARGET_INSTALL_STAGING)
 endif
 
 $(DL_DIR)/$(DBUS_SOURCE):
@@ -83,7 +90,7 @@
 	rm -rf $(TARGET_DIR)/usr/share/man
 endif
 
-dbus: uclibc pkgconfig $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
+dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
 
 dbus-clean:
 	rm -f $(TARGET_DIR)/etc/dbus-1/session.conf

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2008-04-06 13:33 ulf at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: ulf at uclibc.org @ 2008-04-06 13:33 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2008-04-06 06:32:59 -0700 (Sun, 06 Apr 2008)
New Revision: 21656

Log:
Make sure XML deps are available before building dbus

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2008-04-06 13:14:07 UTC (rev 21655)
+++ trunk/buildroot/package/dbus/dbus.mk	2008-04-06 13:32:59 UTC (rev 21656)
@@ -28,7 +28,7 @@
 	$(DBUS_CAT) $(DL_DIR)/$(DBUS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	touch $@
 
-$(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked
+$(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP)
 	(cd $(DBUS_DIR); rm -rf config.cache; \
 		$(TARGET_CONFIGURE_OPTS) \
 		$(TARGET_CONFIGURE_ARGS) \

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2008-03-31 19:36 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2008-03-31 19:36 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-03-31 12:36:08 -0700 (Mon, 31 Mar 2008)
New Revision: 21598

Log:
dbus: use dbus-daemon as target for staging_dir installation

Use dbus-daemon as target for staging_dir installation instead of
library, as that changes name with soname changes.


Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2008-03-31 15:07:48 UTC (rev 21597)
+++ trunk/buildroot/package/dbus/dbus.mk	2008-03-31 19:36:08 UTC (rev 21598)
@@ -61,10 +61,10 @@
 $(DBUS_DIR)/$(DBUS_BINARY): $(DBUS_DIR)/.configured
 	$(MAKE) -C $(DBUS_DIR) all
 
-$(STAGING_DIR)/usr/lib/libdbus-1.so: $(DBUS_DIR)/$(DBUS_BINARY)
+$(STAGING_DIR)/$(DBUS_TARGET_BINARY): $(DBUS_DIR)/$(DBUS_BINARY)
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR) install
 
-$(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
+$(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/$(DBUS_TARGET_BINARY)
 	mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/var/lib/dbus $(TARGET_DIR)/etc/init.d
 ifeq ($(BR2_STRIP_none),y)
 	$(MAKE) DESTDIR=$(TARGET_DIR) \

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2008-03-12 14:51 ninevoltz at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: ninevoltz at uclibc.org @ 2008-03-12 14:51 UTC (permalink / raw)
  To: buildroot

Author: ninevoltz
Date: 2008-03-12 07:51:32 -0700 (Wed, 12 Mar 2008)
New Revision: 21317

Log:
fix dbus makefile to install with or without stripping

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2008-03-12 13:57:59 UTC (rev 21316)
+++ trunk/buildroot/package/dbus/dbus.mk	2008-03-12 14:51:32 UTC (rev 21317)
@@ -66,8 +66,13 @@
 
 $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
 	mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/var/lib/dbus $(TARGET_DIR)/etc/init.d
+ifeq ($(BR2_STRIP_none),y)
+	$(MAKE) DESTDIR=$(TARGET_DIR) \
+		initdir=/etc/init.d -C $(DBUS_DIR) install
+else
 	$(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIPCMD)' \
 		initdir=/etc/init.d -C $(DBUS_DIR) install-strip
+endif
 	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 \
 		$(TARGET_DIR)/usr/lib/libdbus-1.la \
 		$(TARGET_DIR)/usr/include/dbus-1.0 \

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2008-03-06 18:46 ninevoltz at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: ninevoltz at uclibc.org @ 2008-03-06 18:46 UTC (permalink / raw)
  To: buildroot

Author: ninevoltz
Date: 2008-03-06 10:46:36 -0800 (Thu, 06 Mar 2008)
New Revision: 21249

Log:
fixed dbus makefile

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2008-03-06 18:40:08 UTC (rev 21248)
+++ trunk/buildroot/package/dbus/dbus.mk	2008-03-06 18:46:36 UTC (rev 21249)
@@ -16,7 +16,7 @@
 DBUS_XML_DEP:=expat
 else
 DBUS_XML:=libxml
-DBUS_XML_DEP:=libxml2-headers
+DBUS_XML_DEP:=libxml2
 endif
 
 $(DL_DIR)/$(DBUS_SOURCE):

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2008-03-04 12:19 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2008-03-04 12:19 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2008-03-04 04:19:13 -0800 (Tue, 04 Mar 2008)
New Revision: 21161

Log:
dbus: start earlier

Start dbus early enough so other services can use it (E.G. avahi).


Added:
   trunk/buildroot/package/dbus/S30dbus

Removed:
   trunk/buildroot/package/dbus/S97messagebus

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Copied: trunk/buildroot/package/dbus/S30dbus (from rev 21160, trunk/buildroot/package/dbus/S97messagebus)
===================================================================
--- trunk/buildroot/package/dbus/S30dbus	                        (rev 0)
+++ trunk/buildroot/package/dbus/S30dbus	2008-03-04 12:19:13 UTC (rev 21161)
@@ -0,0 +1,77 @@
+#!/bin/sh
+#
+# messagebus:   The D-BUS systemwide message bus
+#
+# chkconfig: 345 97 03
+# description:  This is a daemon which broadcasts notifications of system events \
+#               and other messages. See http://www.freedesktop.org/software/dbus/
+#
+# processname: dbus-daemon
+# pidfile: /var/run/messagebus.pid
+#
+
+# Sanity checks.
+[ -x /usr/bin/dbus-daemon ] || exit 0
+
+# Create needed directories.
+[ -d /var/run/dbus ] || mkdir -p /var/run/dbus
+[ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys
+
+RETVAL=0
+
+start() {
+    echo -n "Starting system message bus: "
+
+    dbus-uuidgen --ensure
+    dbus-daemon --system
+    RETVAL=$?
+    echo "done"
+    [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dbus-daemon
+}
+
+stop() {
+    echo -n "Stopping system message bus: "
+
+    ## we don't want to kill all the per-user $processname, we want
+    ## to use the pid file *only*; because we use the fake nonexistent 
+    ## program name "$servicename" that should be safe-ish
+    killall dbus-daemon
+    RETVAL=$?
+    echo "done"
+    if [ $RETVAL -eq 0 ]; then
+        rm -f /var/lock/subsys/dbus-daemon
+        rm -f /var/run/messagebus.pid
+    fi
+}
+
+# See how we were called.
+case "$1" in
+    start)
+        start
+        ;;
+    stop)
+        stop
+        ;;
+    status)
+        status $processname
+        RETVAL=$?
+        ;;
+    restart)
+        stop
+        start
+        ;;
+    condrestart)
+        if [ -f /var/lock/subsys/$servicename ]; then
+            stop
+            start
+        fi
+        ;;
+    reload)
+        echo "Message bus can't reload its configuration, you have to restart it"
+        RETVAL=$?
+        ;;
+    *)
+        echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"
+        ;;
+esac
+exit $RETVAL

Deleted: trunk/buildroot/package/dbus/S97messagebus
===================================================================
--- trunk/buildroot/package/dbus/S97messagebus	2008-03-04 11:36:25 UTC (rev 21160)
+++ trunk/buildroot/package/dbus/S97messagebus	2008-03-04 12:19:13 UTC (rev 21161)
@@ -1,77 +0,0 @@
-#!/bin/sh
-#
-# messagebus:   The D-BUS systemwide message bus
-#
-# chkconfig: 345 97 03
-# description:  This is a daemon which broadcasts notifications of system events \
-#               and other messages. See http://www.freedesktop.org/software/dbus/
-#
-# processname: dbus-daemon
-# pidfile: /var/run/messagebus.pid
-#
-
-# Sanity checks.
-[ -x /usr/bin/dbus-daemon ] || exit 0
-
-# Create needed directories.
-[ -d /var/run/dbus ] || mkdir -p /var/run/dbus
-[ -d /var/lock/subsys ] || mkdir -p /var/lock/subsys
-
-RETVAL=0
-
-start() {
-    echo -n "Starting system message bus: "
-
-    dbus-uuidgen --ensure
-    dbus-daemon --system
-    RETVAL=$?
-    echo "done"
-    [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dbus-daemon
-}
-
-stop() {
-    echo -n "Stopping system message bus: "
-
-    ## we don't want to kill all the per-user $processname, we want
-    ## to use the pid file *only*; because we use the fake nonexistent 
-    ## program name "$servicename" that should be safe-ish
-    killall dbus-daemon
-    RETVAL=$?
-    echo "done"
-    if [ $RETVAL -eq 0 ]; then
-        rm -f /var/lock/subsys/dbus-daemon
-        rm -f /var/run/messagebus.pid
-    fi
-}
-
-# See how we were called.
-case "$1" in
-    start)
-        start
-        ;;
-    stop)
-        stop
-        ;;
-    status)
-        status $processname
-        RETVAL=$?
-        ;;
-    restart)
-        stop
-        start
-        ;;
-    condrestart)
-        if [ -f /var/lock/subsys/$servicename ]; then
-            stop
-            start
-        fi
-        ;;
-    reload)
-        echo "Message bus can't reload its configuration, you have to restart it"
-        RETVAL=$?
-        ;;
-    *)
-        echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"
-        ;;
-esac
-exit $RETVAL

Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2008-03-04 11:36:25 UTC (rev 21160)
+++ trunk/buildroot/package/dbus/dbus.mk	2008-03-04 12:19:13 UTC (rev 21161)
@@ -72,7 +72,7 @@
 		$(TARGET_DIR)/usr/lib/libdbus-1.la \
 		$(TARGET_DIR)/usr/include/dbus-1.0 \
 		$(TARGET_DIR)/usr/lib/pkgconfig
-	$(INSTALL) -m 0755 package/dbus/S97messagebus $(TARGET_DIR)/etc/init.d
+	$(INSTALL) -m 0755 package/dbus/S30dbus $(TARGET_DIR)/etc/init.d
 	rm -f $(TARGET_DIR)/etc/init.d/messagebus
 ifneq ($(BR2_HAVE_MANPAGES),y)
 	rm -rf $(TARGET_DIR)/usr/share/man
@@ -84,7 +84,7 @@
 	rm -f $(TARGET_DIR)/etc/dbus-1/session.conf
 	rm -f $(TARGET_DIR)/etc/dbus-1/system.conf
 	rmdir -p --ignore-fail-on-non-empty $(TARGET_DIR)/etc/dbus-1/system.d
-	rm -f $(TARGET_DIR)/etc/init.d/S97messagebus
+	rm -f $(TARGET_DIR)/etc/init.d/S30dbus
 	rm -f $(TARGET_DIR)/usr/lib/libdbus-1.so*
 	rm -f $(TARGET_DIR)/usr/bin/dbus-daemon
 	rm -rf $(TARGET_DIR)/tmp/dbus

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2008-01-30 13:57 vanokuten at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: vanokuten at uclibc.org @ 2008-01-30 13:57 UTC (permalink / raw)
  To: buildroot

Author: vanokuten
Date: 2008-01-30 05:57:31 -0800 (Wed, 30 Jan 2008)
New Revision: 20924

Log:
create /var/lib/dbus

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2008-01-29 10:33:34 UTC (rev 20923)
+++ trunk/buildroot/package/dbus/dbus.mk	2008-01-30 13:57:31 UTC (rev 20924)
@@ -65,7 +65,7 @@
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR) install
 
 $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
-	mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/etc/init.d
+	mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/var/lib/dbus $(TARGET_DIR)/etc/init.d
 	$(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIPCMD)' \
 		initdir=/etc/init.d -C $(DBUS_DIR) install-strip
 	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 \

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-11-26 15:47 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2007-11-26 15:47 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-11-26 07:47:41 -0800 (Mon, 26 Nov 2007)
New Revision: 20546

Log:
Really fix target install (typo in r20494)

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2007-11-26 15:39:02 UTC (rev 20545)
+++ trunk/buildroot/package/dbus/dbus.mk	2007-11-26 15:47:41 UTC (rev 20546)
@@ -67,7 +67,7 @@
 $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
 	mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/etc/init.d
 	$(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIPCMD)' \
-		initdir=/etc/init.d -C $(DBUS_DIR)/dbus install-strip
+		initdir=/etc/init.d -C $(DBUS_DIR) install-strip
 	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 \
 		$(TARGET_DIR)/usr/lib/libdbus-1.la \
 		$(TARGET_DIR)/usr/include/dbus-1.0 \

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-11-25 23:30 ulf at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: ulf at uclibc.org @ 2007-11-25 23:30 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-11-25 15:30:29 -0800 (Sun, 25 Nov 2007)
New Revision: 20534

Log:
Fix syntax error in dbus

Modified:
   trunk/buildroot/package/dbus/Config.in


Changeset:
Modified: trunk/buildroot/package/dbus/Config.in
===================================================================
--- trunk/buildroot/package/dbus/Config.in	2007-11-25 14:49:45 UTC (rev 20533)
+++ trunk/buildroot/package/dbus/Config.in	2007-11-25 23:30:29 UTC (rev 20534)
@@ -7,7 +7,7 @@
 
 	  http://www.freedesktop.org/wiki/Software/dbus
 
-comment "dbus not available (need expat or libxml2)
+comment "dbus not available (need expat or libxml2)"
 	depends on !BR2_PACKAGE_EXPAT && !BR2_PACKAGE_LIBXML2
 
 choice

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-11-25 14:49 ulf at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: ulf at uclibc.org @ 2007-11-25 14:49 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-11-25 06:49:45 -0800 (Sun, 25 Nov 2007)
New Revision: 20533

Log:
Fix dependency loop in dbus

Modified:
   trunk/buildroot/package/dbus/Config.in


Changeset:
Modified: trunk/buildroot/package/dbus/Config.in
===================================================================
--- trunk/buildroot/package/dbus/Config.in	2007-11-25 12:53:25 UTC (rev 20532)
+++ trunk/buildroot/package/dbus/Config.in	2007-11-25 14:49:45 UTC (rev 20533)
@@ -1,11 +1,15 @@
 config BR2_PACKAGE_DBUS
 	bool "dbus"
 	default n
+	depends on BR2_PACKAGE_EXPAT || BR2_PACKAGE_LIBXML2
 	help
 	  The D-Bus message bus system.
 
 	  http://www.freedesktop.org/wiki/Software/dbus
 
+comment "dbus not available (need expat or libxml2)
+	depends on !BR2_PACKAGE_EXPAT && !BR2_PACKAGE_LIBXML2
+
 choice
 	prompt "XML library to use"
 	depends BR2_PACKAGE_DBUS
@@ -17,11 +21,11 @@
 	  Expat is significant smaller.
 
 	config BR2_DBUS_EXPAT
-	       bool "Expat"
-	       select BR2_PACKAGE_EXPAT
+		bool "Expat"
+		depends on BR2_PACKAGE_EXPAT
 
 	config BR2_DBUS_LIBXML2
-	       bool "libxml2"
-	       select BR2_PACKAGE_LIBXML2
+		bool "libxml2"
+		depends on BR2_PACKAGE_LIBXML2
 
 endchoice

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-11-23 15:46 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2007-11-23 15:46 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-11-23 07:46:18 -0800 (Fri, 23 Nov 2007)
New Revision: 20504

Log:
Ups, STRIP is called STRIPCMD nowadays

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2007-11-23 15:45:30 UTC (rev 20503)
+++ trunk/buildroot/package/dbus/dbus.mk	2007-11-23 15:46:18 UTC (rev 20504)
@@ -66,7 +66,7 @@
 
 $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
 	mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/etc/init.d
-	$(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIP)' \
+	$(MAKE) DESTDIR=$(TARGET_DIR) STRIPPROG='$(STRIPCMD)' \
 		initdir=/etc/init.d -C $(DBUS_DIR)/dbus install-strip
 	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0 \
 		$(TARGET_DIR)/usr/lib/libdbus-1.la \

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-11-23 13:21 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2007-11-23 13:21 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-11-23 05:21:15 -0800 (Fri, 23 Nov 2007)
New Revision: 20498

Log:
Generate uuid at startup if needed

Modified:
   trunk/buildroot/package/dbus/S97messagebus


Changeset:
Modified: trunk/buildroot/package/dbus/S97messagebus
===================================================================
--- trunk/buildroot/package/dbus/S97messagebus	2007-11-23 13:11:42 UTC (rev 20497)
+++ trunk/buildroot/package/dbus/S97messagebus	2007-11-23 13:21:15 UTC (rev 20498)
@@ -22,6 +22,7 @@
 start() {
     echo -n "Starting system message bus: "
 
+    dbus-uuidgen --ensure
     dbus-daemon --system
     RETVAL=$?
     echo "done"

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-11-23 11:44 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2007-11-23 11:44 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-11-23 03:44:00 -0800 (Fri, 23 Nov 2007)
New Revision: 20495

Log:
Do a full install to staging_dir so pkgconfig files also gets installed

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2007-11-23 11:42:59 UTC (rev 20494)
+++ trunk/buildroot/package/dbus/dbus.mk	2007-11-23 11:44:00 UTC (rev 20495)
@@ -62,7 +62,7 @@
 	$(MAKE) -C $(DBUS_DIR) all
 
 $(STAGING_DIR)/usr/lib/libdbus-1.so: $(DBUS_DIR)/$(DBUS_BINARY)
-	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR)/dbus install
+	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR) install
 
 $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
 	mkdir -p $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/etc/init.d

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-11-23 10:00 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2007-11-23 10:00 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-11-23 02:00:07 -0800 (Fri, 23 Nov 2007)
New Revision: 20491

Log:
Use BR2_HAVE_MANPAGES

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2007-11-23 09:46:42 UTC (rev 20490)
+++ trunk/buildroot/package/dbus/dbus.mk	2007-11-23 10:00:07 UTC (rev 20491)
@@ -74,7 +74,9 @@
 	$(MAKE) DESTDIR=$(TARGET_DIR) initddir=/etc/init.d -C $(DBUS_DIR)/bus install
 	$(INSTALL) -m 0755 package/dbus/S97messagebus $(TARGET_DIR)/etc/init.d
 	rm -f $(TARGET_DIR)/etc/init.d/messagebus
+ifneq ($(BR2_HAVE_MANPAGES),y)
 	rm -rf $(TARGET_DIR)/usr/share/man
+endif
 	rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
 	rm -rf $(TARGET_DIR)/etc/rc.d
 

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-11-23  9:46 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2007-11-23  9:46 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-11-23 01:46:42 -0800 (Fri, 23 Nov 2007)
New Revision: 20490

Log:
soname changed

Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2007-11-23 09:27:05 UTC (rev 20489)
+++ trunk/buildroot/package/dbus/dbus.mk	2007-11-23 09:46:42 UTC (rev 20490)
@@ -70,7 +70,7 @@
 	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
 	rm -f $(TARGET_DIR)/usr/lib/libdbus-1.la \
 		$(TARGET_DIR)/usr/lib/libdbus-1.so
-	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libdbus-1.so.3.2.0
+	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libdbus-1.so.3.3.0
 	$(MAKE) DESTDIR=$(TARGET_DIR) initddir=/etc/init.d -C $(DBUS_DIR)/bus install
 	$(INSTALL) -m 0755 package/dbus/S97messagebus $(TARGET_DIR)/etc/init.d
 	rm -f $(TARGET_DIR)/etc/init.d/messagebus

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-11-22 17:12 jacmet at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: jacmet at uclibc.org @ 2007-11-22 17:12 UTC (permalink / raw)
  To: buildroot

Author: jacmet
Date: 2007-11-22 09:12:19 -0800 (Thu, 22 Nov 2007)
New Revision: 20476

Log:
Make XML library used by D-Bus selectable instead of requiring both Expat
and libxml2.


Modified:
   trunk/buildroot/package/dbus/Config.in
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/Config.in
===================================================================
--- trunk/buildroot/package/dbus/Config.in	2007-11-22 17:05:28 UTC (rev 20475)
+++ trunk/buildroot/package/dbus/Config.in	2007-11-22 17:12:19 UTC (rev 20476)
@@ -1,9 +1,27 @@
 config BR2_PACKAGE_DBUS
 	bool "dbus"
 	default n
-	select BR2_PACKAGE_EXPAT
-	select BR2_PACKAGE_LIBXML2
 	help
 	  The D-Bus message bus system.
 
 	  http://www.freedesktop.org/wiki/Software/dbus
+
+choice
+	prompt "XML library to use"
+	depends BR2_PACKAGE_DBUS
+	default BR2_DBUS_LIBXML2 if BR2_PACKAGE_LIBXML2
+	default BR2_DBUS_EXPAT
+	help
+	  Select the XML library to use with D-Bus. Select Expat
+	  unless you have specific reasons for using libxml2 as
+	  Expat is significant smaller.
+
+	config BR2_DBUS_EXPAT
+	       bool "Expat"
+	       select BR2_PACKAGE_EXPAT
+
+	config BR2_DBUS_LIBXML2
+	       bool "libxml2"
+	       select BR2_PACKAGE_LIBXML2
+
+endchoice

Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2007-11-22 17:05:28 UTC (rev 20475)
+++ trunk/buildroot/package/dbus/dbus.mk	2007-11-22 17:12:19 UTC (rev 20476)
@@ -11,6 +11,14 @@
 DBUS_BINARY:=bus/dbus-daemon
 DBUS_TARGET_BINARY:=usr/bin/dbus-daemon
 
+ifeq ($(strip $(BR2_DBUS_EXPAT)),y)
+DBUS_XML:=expat
+DBUS_XML_DEP:=expat
+else
+DBUS_XML:=libxml
+DBUS_XML_DEP:=libxml2-headers
+endif
+
 $(DL_DIR)/$(DBUS_SOURCE):
 	$(WGET) -P $(DL_DIR) $(DBUS_SITE)/$(DBUS_SOURCE)
 
@@ -44,14 +52,14 @@
 		--disable-static \
 		--enable-dnotify \
 		--without-x \
-		--without-xml \
+		--with-xml=$(DBUS_XML) \
 		--with-system-socket=/var/run/dbus/system_bus_socket \
 		--with-system-pid-file=/var/run/messagebus.pid \
 	)
 	touch $@
 
 $(DBUS_DIR)/$(DBUS_BINARY): $(DBUS_DIR)/.configured
-	$(MAKE) DBUS_BUS_LIBS="$(STAGING_DIR)/usr/lib/libexpat.so $(STAGING_DIR)/usr/lib/libxml2.so" -C $(DBUS_DIR) all
+	$(MAKE) -C $(DBUS_DIR) all
 
 $(STAGING_DIR)/usr/lib/libdbus-1.so: $(DBUS_DIR)/$(DBUS_BINARY)
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR)/dbus install
@@ -70,7 +78,7 @@
 	rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
 	rm -rf $(TARGET_DIR)/etc/rc.d
 
-dbus: uclibc expat libxml2-headers $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
+dbus: uclibc $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
 
 dbus-clean:
 	rm -f $(TARGET_DIR)/etc/dbus-1/session.conf

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-08-21 12:09 aldot at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: aldot at uclibc.org @ 2007-08-21 12:09 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-08-21 05:09:53 -0700 (Tue, 21 Aug 2007)
New Revision: 19613

Log:
- fix installation of dbus.


Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2007-08-21 11:25:30 UTC (rev 19612)
+++ trunk/buildroot/package/dbus/dbus.mk	2007-08-21 12:09:53 UTC (rev 19613)
@@ -57,14 +57,14 @@
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR)/dbus install
 
 $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
-	-mkdir $(TARGET_DIR)/var/run/dbus
+	-mkdir $(TARGET_DIR)/var/run/dbus $(TARGET_DIR)/etc/init.d
 	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(DBUS_DIR)/dbus install
 	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
 	rm -f $(TARGET_DIR)/usr/lib/libdbus-1.la \
 		$(TARGET_DIR)/usr/lib/libdbus-1.so
 	-$(STRIP) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libdbus-1.so.3.2.0
 	$(MAKE) DESTDIR=$(TARGET_DIR) initddir=/etc/init.d -C $(DBUS_DIR)/bus install
-	$(INSTALL) -m 0755 -D package/dbus/S97messagebus $(TARGET_DIR)/etc/init.d
+	$(INSTALL) -m 0755 package/dbus/S97messagebus $(TARGET_DIR)/etc/init.d
 	rm -f $(TARGET_DIR)/etc/init.d/messagebus
 	rm -rf $(TARGET_DIR)/usr/man
 	-rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-07-17 15:19 ulf at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: ulf at uclibc.org @ 2007-07-17 15:19 UTC (permalink / raw)
  To: buildroot

Author: ulf
Date: 2007-07-17 08:19:18 -0700 (Tue, 17 Jul 2007)
New Revision: 19136

Log:
Make dbus depend on libxml2 and link with lib

Modified:
   trunk/buildroot/package/dbus/Config.in
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/Config.in
===================================================================
--- trunk/buildroot/package/dbus/Config.in	2007-07-17 15:17:42 UTC (rev 19135)
+++ trunk/buildroot/package/dbus/Config.in	2007-07-17 15:19:18 UTC (rev 19136)
@@ -2,6 +2,7 @@
 	bool "dbus"
 	default n
 	select BR2_PACKAGE_EXPAT
+	select BR2_PACKAGE_LIBXML2
 	help
 	  The D-Bus message bus system.
 

Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2007-07-17 15:17:42 UTC (rev 19135)
+++ trunk/buildroot/package/dbus/dbus.mk	2007-07-17 15:19:18 UTC (rev 19136)
@@ -51,7 +51,7 @@
 	touch $@
 
 $(DBUS_DIR)/$(DBUS_BINARY): $(DBUS_DIR)/.configured
-	$(MAKE) DBUS_BUS_LIBS="$(STAGING_DIR)/usr/lib/libexpat.so" -C $(DBUS_DIR) all
+	$(MAKE) DBUS_BUS_LIBS="$(STAGING_DIR)/usr/lib/libexpat.so $(STAGING_DIR)/usr/lib/libxml2.so" -C $(DBUS_DIR) all
 
 $(STAGING_DIR)/usr/lib/libdbus-1.so: $(DBUS_DIR)/$(DBUS_BINARY)
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR)/dbus install
@@ -70,7 +70,7 @@
 	-rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
 	rm -rf $(TARGET_DIR)/etc/rc.d
 
-dbus: uclibc expat $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
+dbus: uclibc expat libxml2-headers $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
 
 dbus-clean:
 	rm -f $(TARGET_DIR)/etc/dbus-1/session.conf

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-07-08 13:20 aldot at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: aldot at uclibc.org @ 2007-07-08 13:20 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-07-08 06:20:46 -0700 (Sun, 08 Jul 2007)
New Revision: 19036

Log:
- fix looking for libexpat.so in wrong place (Cristian Ionescu-Idbohrn)
- bump version


Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2007-07-08 13:13:29 UTC (rev 19035)
+++ trunk/buildroot/package/dbus/dbus.mk	2007-07-08 13:20:46 UTC (rev 19036)
@@ -3,7 +3,7 @@
 # dbus
 #
 #############################################################
-DBUS_VER:=1.0.0
+DBUS_VER:=1.1.1
 DBUS_SOURCE:=dbus-$(DBUS_VER).tar.gz
 DBUS_SITE:=http://dbus.freedesktop.org/releases/dbus/
 DBUS_DIR:=$(BUILD_DIR)/dbus-$(DBUS_VER)
@@ -18,7 +18,7 @@
 
 $(DBUS_DIR)/.unpacked: $(DL_DIR)/$(DBUS_SOURCE)
 	$(DBUS_CAT) $(DL_DIR)/$(DBUS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-	touch $(DBUS_DIR)/.unpacked
+	touch $@
 
 $(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked
 	(cd $(DBUS_DIR); rm -rf config.cache; \
@@ -48,10 +48,10 @@
 		--with-system-socket=/var/run/dbus/system_bus_socket \
 		--with-system-pid-file=/var/run/messagebus.pid \
 	);
-	touch  $(DBUS_DIR)/.configured
+	touch $@
 
 $(DBUS_DIR)/$(DBUS_BINARY): $(DBUS_DIR)/.configured
-	$(MAKE) DBUS_BUS_LIBS="$(STAGING_DIR)/lib/libexpat.so" -C $(DBUS_DIR) all
+	$(MAKE) DBUS_BUS_LIBS="$(STAGING_DIR)/usr/lib/libexpat.so" -C $(DBUS_DIR) all
 
 $(STAGING_DIR)/usr/lib/libdbus-1.so: $(DBUS_DIR)/$(DBUS_BINARY)
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR)/dbus install
@@ -59,15 +59,15 @@
 $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
 	-mkdir $(TARGET_DIR)/var/run/dbus
 	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(DBUS_DIR)/dbus install
-	rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib/dbus-1.0
-	rm -f $(TARGET_DIR)/usr/lib/libdbus-1.la
-	rm -f $(TARGET_DIR)/usr/lib/libdbus-1.so
+	rm -rf $(TARGET_DIR)/usr/lib/dbus-1.0
+	rm -f $(TARGET_DIR)/usr/lib/libdbus-1.la \
+		$(TARGET_DIR)/usr/lib/libdbus-1.so
 	-$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libdbus-1.so.3.2.0
 	$(MAKE) DESTDIR=$(TARGET_DIR) initddir=/etc/init.d -C $(DBUS_DIR)/bus install
 	$(INSTALL) -m 0755 -D package/dbus/S97messagebus $(TARGET_DIR)/etc/init.d
 	rm -f $(TARGET_DIR)/etc/init.d/messagebus
 	rm -rf $(TARGET_DIR)/usr/man
-	rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
+	-rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
 	rm -rf $(TARGET_DIR)/etc/rc.d
 
 dbus: uclibc expat $(TARGET_DIR)/$(DBUS_TARGET_BINARY)

^ permalink raw reply	[flat|nested] 44+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/dbus
@ 2007-01-15 16:02 aldot at uclibc.org
  0 siblings, 0 replies; 44+ messages in thread
From: aldot at uclibc.org @ 2007-01-15 16:02 UTC (permalink / raw)
  To: buildroot

Author: aldot
Date: 2007-01-15 08:02:45 -0800 (Mon, 15 Jan 2007)
New Revision: 17313

Log:
- ignore error if var/run/dbus already exists. Thanks whirm for noticing


Modified:
   trunk/buildroot/package/dbus/dbus.mk


Changeset:
Modified: trunk/buildroot/package/dbus/dbus.mk
===================================================================
--- trunk/buildroot/package/dbus/dbus.mk	2007-01-15 16:01:34 UTC (rev 17312)
+++ trunk/buildroot/package/dbus/dbus.mk	2007-01-15 16:02:45 UTC (rev 17313)
@@ -58,7 +58,7 @@
 	$(MAKE) DESTDIR=$(STAGING_DIR) -C $(DBUS_DIR)/dbus install
 
 $(TARGET_DIR)/$(DBUS_TARGET_BINARY): $(STAGING_DIR)/usr/lib/libdbus-1.so
-	mkdir $(TARGET_DIR)/var/run/dbus
+	-mkdir $(TARGET_DIR)/var/run/dbus
 	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(DBUS_DIR)/dbus install
 	rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib/dbus-1.0
 	rm -f $(TARGET_DIR)/usr/lib/libdbus-1.la

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

end of thread, other threads:[~2009-02-24 11:13 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-23 11:43 [Buildroot] svn commit: trunk/buildroot/package/dbus jacmet at uclibc.org
2007-11-23 12:50 ` Ivan Kuten
2007-11-23 12:33   ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2009-02-24 11:13 jacmet at uclibc.org
2009-02-22 20:12 jacmet at uclibc.org
2009-01-31 22:53 jacmet at uclibc.org
2009-02-01  5:58 ` Hamish Moffatt
2009-02-01  6:31   ` Peter Korsgaard
2009-02-01 10:58     ` Ulf Samuelsson
2009-02-01 13:17       ` Peter Korsgaard
2009-01-31 21:01 ulf at uclibc.org
2009-01-31 18:39 jacmet at uclibc.org
2009-01-31 20:52 ` Ulf Samuelsson
2009-01-31 21:20   ` Peter Korsgaard
2009-01-31 21:55     ` Ulf Samuelsson
2009-01-31 22:26       ` Peter Korsgaard
2009-01-31 12:02 ulf at uclibc.org
2009-01-31 13:09 ` Peter Korsgaard
2009-01-30 13:54 jacmet at uclibc.org
2009-01-25 20:55 ulf at uclibc.org
2009-01-25 21:00 ` Peter Korsgaard
2009-01-25 23:31   ` Ulf Samuelsson
2009-01-26  6:02     ` Peter Korsgaard
2008-06-20 21:45 jacmet at uclibc.org
2008-06-15 20:20 jacmet at uclibc.org
2008-04-06 13:33 ulf at uclibc.org
2008-03-31 19:36 jacmet at uclibc.org
2008-03-12 14:51 ninevoltz at uclibc.org
2008-03-06 18:46 ninevoltz at uclibc.org
2008-03-04 12:19 jacmet at uclibc.org
2008-01-30 13:57 vanokuten at uclibc.org
2007-11-26 15:47 jacmet at uclibc.org
2007-11-25 23:30 ulf at uclibc.org
2007-11-25 14:49 ulf at uclibc.org
2007-11-23 15:46 jacmet at uclibc.org
2007-11-23 13:21 jacmet at uclibc.org
2007-11-23 11:44 jacmet at uclibc.org
2007-11-23 10:00 jacmet at uclibc.org
2007-11-23  9:46 jacmet at uclibc.org
2007-11-22 17:12 jacmet at uclibc.org
2007-08-21 12:09 aldot at uclibc.org
2007-07-17 15:19 ulf at uclibc.org
2007-07-08 13:20 aldot at uclibc.org
2007-01-15 16:02 aldot at uclibc.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox