Commit Graph

65 Commits

Author SHA1 Message Date
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