Commit Graph

135 Commits

Author SHA1 Message Date
Thomas Petazzoni
e6ce0f5bfb dbus: requires thread support
As can be seen on the build result at
http://autobuild.buildroot.org/results/20f1078ef7dc5f187b04c63ef70e8b43acf9bb3a/build-end.log,
D-Bus requires thread support in the toolchain.

This commit adjusts the Kconfig dependencies of D-Bus and all its
reverse dependencies to depend on thread support in the toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-25 18:25:43 +02:00
Arnout Vandecappelle (Essensium/Mind)
e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00
Arnout Vandecappelle (Essensium/Mind)
69e64c42b7 all packages: use new host-xxx-package macros
This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:18:03 +02:00
Yegor Yefremov
3515019934 dbus: bump to 1.4.20
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2012-04-24 22:08:48 +02:00
Maxime Ripard
f4a5eed474 Add the systemd package
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-31 23:41:49 +02:00
Luca Ceresoli
1a994d58af Remove stray $ character from a bunch of init scripts
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-15 22:11:25 +01:00
Arnout Vandecappelle (Essensium/Mind)
c312adc985 dbus: make it easier to select an XML library (select rather than depends on)
D-Bus requires an XML library, expat or libxml2.  There already is a choice
between them in the config menu, but it requires the user to first select
one of the libraries, and then select dbus.  With this patch, the choice
automatically selects the XML library.  Note that this removes the
automatic choice of libxml2 for dbus if libxml2 had already been selected,
i.e. in that case both libxml2 and expat will be selected unless the user
takes action.

An alternative would be to remove the choice completely, and to take the
path of bluez-utils: select BR2_PACKAGE_EXPAT if !BR2_PACKAGE_DBUS_LIBXML2

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-01-31 12:22:36 +01:00
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00
Yegor Yefremov
2990308404 dbus: bump to 1.4.16
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-26 00:49:53 +02:00
Yann E. MORIN
cfbfd488fe dbus: remove --program-prefix
--program-prefix is now set in the auto-target infrastructure.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-12 00:08:17 +02:00
Daniel Mack
60b9bbfca9 dbus: bump version to 1.4.14
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-07 21:32:42 +02:00
Peter Korsgaard
619b26d4ef dbus: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-21 11:39:37 +02:00
Daniel Mack
3c9dbb3c68 packages: dbus: use version 1.4.8
The exisiting br2 patch can be dropped.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-21 00:03:07 +02:00
Peter Korsgaard
0be744e495 package: apply libtool patch where possible
Now that we have libtool-2.2.x patch support, we can get rid of a bunch
of _LIBTOOL_PATH = NO, fixing (potential) cross link issues.

Notice: php not changed, as it uses a very old 1.5 version for the
embedded sqlite, where our buildroot-libtool-v1.5.patch doesn't apply.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-17 14:02:52 +01:00
Lionel Landwerlin
732cb780ee dbus: ensure startup script is well installed
If /etc/init.d does not exist, we need to be sure that the dbus
startup script is installed at the right place.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-13 00:13:55 +01:00
Thomas Petazzoni
478ea1a12d packages: remove unneeded _INSTALL_TARGET_OPT definitions
Now that <pkg>_INSTALL_TARGET_OPT always defaults to
'DESTDIR=$(TARGET_DIR) install', we can remove the
<pkg>_INSTALL_TARGET_OPT definition from a lot of packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-27 15:32:32 +02:00
Chih-Min Chao
bc833e7c9c dbus: bump to 1.2.24
Signed-off-by: Chih-Min Chao <cmchao@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-26 00:59:32 +02:00
Thomas Petazzoni
3dbdbda0b8 dbus: convert old-style hook to new-style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-12 19:26:52 +02:00
Thomas Petazzoni
593c18c0bb packages: remove useless HOST_*_LIBTOOL_PATCH
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-05-02 23:26:27 +02:00
Lionel Landwerlin
3470b376f2 dbus: fix target installation with BR2_HAVE_DEVFILES
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-01-28 22:54:44 +01:00
Peter Korsgaard
c63c2faf55 package: fix host build for packages with own libtool patch
Packages which also build a host variant and have LIBTOOL_PATCH = NO,
should also disable libtool patching for the host build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-30 13:48:02 +01:00
Peter Korsgaard
81c953073b dbus: fix host-dbus build
Use correct variable name for the host source directory for
DBUS_HOST_INTROSPECT, and use late binding as HOST_DBUS_DIR only gets
defined later on (by AUTOTARGETS).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15 23:42:57 +01:00
Thomas Petazzoni
368519f649 dbus: convert to autotools infrastructure for host package
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:35 +01:00
Thomas Petazzoni
6dc336b293 host-pkgconfig is now host-pkg-config
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-15 19:57:31 +01:00
Peter Korsgaard
b1c416bed6 dbus: fix rebuild for boards where /var/lib isn't a symlink
Based on patch by Sagaert Johan <sagaert.johan@skynet.be>

Dbus rebuilds fails if /var/lib/dbus is a symlink (which it will be),
and the existing workaround only worked if /var/lib is a symlink to
/tmp, which isn't always the case.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-11-25 10:22:42 +01:00
Peter Korsgaard
3fdf0bffb8 buildroot: silence ./configure step when building with 'make -s'
We have been passing -q to ./configure when using 'make -s' for
packages using Makefile.autotools.in for some time. Do the same
for packages using autotools, but not using the
Makefile.autotools.in infrastructure, taking care to not do it
for packages with hand written configure scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:24:42 +02:00
Peter Korsgaard
91717c0148 dbus: prefer expat if available even if libxml2 also is
dbus-glib needs dbus to be compiled with expat support, so prefer that
mode even if libxml2 is also enabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-27 21:45:11 +02:00
Will Newton
422ce6536b package: Remove unnecessary dependencies on uclibc.
A C library will have been built by the toolchain makefiles, so there is no
need for packages to explicitly depend on uclibc.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 20:22:38 +02:00
Jean-Christian de Rivaz
3de4ce5b32 Update dbus to version 1.2.16
Signed-off-by: Jean-Christian de Rivaz <jc@eclis.ch>
2009-08-08 19:07:21 +02:00
Peter Korsgaard
e493fc6ce5 dbus: fix rebuild if /var/lib is a symlink to /tmp for target
/tmp/dbus will end up being a recursive symlink to itself on the build host.
2009-04-21 15:10:39 +00:00
Peter Korsgaard
91149af9f3 package: provide download target for host packages 2009-03-24 10:58:04 +00:00
Peter Korsgaard
073db18bac dbus: fix for read-only rootfs
Similar to how it's handled by avahi - Make sure /var/lib/dbus is a
symlink to /tmp/dbus.
2009-03-23 09:44:07 +00:00
Peter Korsgaard
c3285dcd21 dbus: put local state files in /var and not /usr/var
For read only rootfs'es - Like it used to be.
2009-03-20 07:47:29 +00:00
Peter Korsgaard
584eb85c7f dbus: fix host build
Hunk missing from r25755.
2009-03-19 11:44:56 +00:00
Peter Korsgaard
e7b38c71ce package: add STAMP_DIR and use for host builds
Move stamp (dependency) files outside the (version specific) source
directories, so other packages can hardcode dependencies on them instead
of having to use <PACKAGE>_VERSION variables.

This is important as the variables in the make rules are evaluated when
the rules is seen, which might be before the dependent makefile is parsed
(and hence <PACKAGE>_VERSION variable is known, screwing up stuff.

The downside of this is that the package isn't automatically rebuilt
when the version changes (E.G. by a svn update) and you now also have to
remove the stamp files next to $(BUILD_DIR)/<PACKAGE>-* to force a rebuild.
2009-03-19 11:06:47 +00:00
Peter Korsgaard
77754571b2 pkgconfig: add pkgconfig package for target
The host versions shouldn't be visible in Kconfig, so remove the
reference to BR2_PACKAGE_PKGCONFIG everywhere and prefix the host targets
with host-.

At the same time add pkgconfig for the target (E.G. for development) and
let BR2_PACKAGE_PKGCONFIG control that package.

Notice: all defconfigs in the tree have been updated, but make sure to
disable the pkgconfig package (unless you want it) if you use an external
config, otherwise you'll end up with pkgconfig and glib2 in the target.
2009-03-18 19:19:10 +00:00
Peter Korsgaard
4311f0fe39 package: fix host path
And generate dbus introspect xml for dbus-glib.
2009-03-17 13:48:15 +00:00
Peter Korsgaard
1549e9f366 dbus: add host-dbus support 2009-03-16 20:58:15 +00:00
Peter Korsgaard
592f072e42 dbus: compile with X support if libX11 is available 2009-03-16 20:57:56 +00:00
Peter Korsgaard
d1eeba7069 dbus: fix expat typo 2009-02-24 11:13:56 +00:00
Peter Korsgaard
71a55254a4 dbus: convert to Makefile.autotools.in and bump version 2009-02-22 20:12:50 +00:00
Peter Korsgaard
1fb44d3bfd dbus: revert r25194 (Unbreak Peters 'fixes' to dbus for a second time)
It was a bogus revert.
2009-01-31 22:53:35 +00:00
Ulf Samuelsson
f777dee1d4 Unbreak Peters 'fixes' to dbus for a second time 2009-01-31 21:01:24 +00:00
Peter Korsgaard
398dfc42b7 dbus: revert to pre-r25021 situation
Revert to pre-r25021 situation, but add extra comments explaining the
situation.
2009-01-31 18:39:55 +00:00
Ulf Samuelsson
8bf5071cf3 dbus dependencies needs to be ready before ./configure 2009-01-31 12:02:40 +00:00
Peter Korsgaard
9ce75bf893 dbus: fix xml dependency and stop continous rebuilds 2009-01-30 13:54:47 +00:00
Peter Korsgaard
e4051615c4 dbus: revert r25156 (Fix dbus dependency on libxml2, without rebuild, works but may need refinement)
As discussed on the list - Too complicated and wrong.
2009-01-30 13:54:42 +00:00
Ulf Samuelsson
4b25f84ab9 Fix dbus dependency on libxml2, without rebuild, works but may need refinement 2009-01-30 07:40:14 +00:00
Ulf Samuelsson
9d68c3bdb2 Stop dbus continuos rebuild, fix deps 2009-01-25 20:55:31 +00:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
f49f4b2ac0 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.
2008-06-20 21:45:21 +00:00
Peter Korsgaard
a5ac61715b buildroot: s/depends/depends on/
The new kconfig is more strict regarding depends/depends on, so fixup
the tree.
2008-06-19 19:06:25 +00:00
Peter Korsgaard
e1cfbc5645 dbus: depend on exact XML dep so it isn't always considered out-of-date 2008-06-15 20:20:33 +00:00
Peter Korsgaard
565e05c8a1 packages: fix pkgconfig depencies and select pkgconfig where needed 2008-06-14 21:01:16 +00:00
Ulf Samuelsson
6db7ee17dd Make sure XML deps are available before building dbus 2008-04-06 13:32:59 +00:00
Peter Korsgaard
6b8ffd5024 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.
2008-03-31 19:36:08 +00:00
John Voltz
cd1d1fa6de fix dbus makefile to install with or without stripping 2008-03-12 14:51:32 +00:00
John Voltz
4a2d892edc fixed dbus makefile 2008-03-06 18:46:36 +00:00
Peter Korsgaard
f26f26fb62 dbus: start earlier
Start dbus early enough so other services can use it (E.G. avahi).
2008-03-04 12:19:13 +00:00
Ivan Kuten
25f6af28ee create /var/lib/dbus 2008-01-30 13:57:31 +00:00
Peter Korsgaard
9730f75ae0 Really fix target install (typo in r20494) 2007-11-26 15:47:41 +00:00
Ulf Samuelsson
309600e11d Fix syntax error in dbus 2007-11-25 23:30:29 +00:00
Ulf Samuelsson
38b99b0381 Fix dependency loop in dbus 2007-11-25 14:49:45 +00:00
Peter Korsgaard
4094140f52 Ups, STRIP is called STRIPCMD nowadays 2007-11-23 15:46:18 +00:00
Peter Korsgaard
37661a1bbf Generate uuid at startup if needed 2007-11-23 13:21:15 +00:00
Peter Korsgaard
7138b4b13a Do a full install to staging_dir so pkgconfig files also gets installed 2007-11-23 11:44:00 +00:00
Peter Korsgaard
0fa9e71d30 Fix target install, install helper programs as well as strip executables 2007-11-23 11:42:59 +00:00
Peter Korsgaard
cf825074e6 Use BR2_HAVE_MANPAGES 2007-11-23 10:00:07 +00:00
Peter Korsgaard
03293846a3 soname changed 2007-11-23 09:46:42 +00:00
Peter Korsgaard
00de7fc62f Make XML library used by D-Bus selectable instead of requiring both Expat
and libxml2.
2007-11-22 17:12:19 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
e4c6340a94 - cleanup and fixes (Cristian Ionescu-Idbohrn) 2007-09-17 12:30:31 +00:00
Bernhard Reutner-Fischer
98a7a4c9d2 - misc cleanups (Cristian Ionescu-Idbohrn) 2007-08-28 21:42:44 +00:00
Bernhard Reutner-Fischer
6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Bernhard Reutner-Fischer
1aa33d8aab - fix installation of dbus. 2007-08-21 12:09:53 +00:00
Ulf Samuelsson
e4ead9c13c Remove switches if sstrip is run 2007-08-21 01:53:57 +00:00
Ulf Samuelsson
256c7267a7 Make dbus depend on libxml2 and link with lib 2007-07-17 15:19:18 +00:00
Ulf Samuelsson
32ea433d09 Use <package>_VERSION in all <package>.mk instead of <package>_VER 2007-07-11 14:20:47 +00:00
Bernhard Reutner-Fischer
fcc96a41bb - fix looking for libexpat.so in wrong place (Cristian Ionescu-Idbohrn)
- bump version
2007-07-08 13:20:46 +00:00
Bernhard Reutner-Fischer
74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
"Steven J. Hill"
6b00c90d70 Rename all INIT scripts to have the numerical prefixes to easily see the start-up order. 2007-05-09 22:48:41 +00:00
Bernhard Reutner-Fischer
56f4eae10d - ignore error if var/run/dbus already exists. Thanks whirm for noticing 2007-01-15 16:02:45 +00:00
"Steven J. Hill"
ceb2859765 Add packages for D-Bus and G-Lib interface library too. 2007-01-14 03:45:06 +00:00