diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-04 16:53:07 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-03-04 16:53:07 +0000 |
commit | 0a7e1e3ffcbe600af074d3773041c95ed28d7799 (patch) | |
tree | eabba0f27c9bfb702fd972f9d4d08b87981b740c /meta/packages/dbus | |
parent | dfb52cedd076c66c12644b1b09b3750772bd93bc (diff) | |
download | poky-0a7e1e3ffcbe600af074d3773041c95ed28d7799.tar.gz |
dbus: upgrade 1.1.4 to 1.1.20 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3905 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/dbus')
-rw-r--r-- | meta/packages/dbus/dbus-native_1.1.20.bb | 18 | ||||
-rw-r--r-- | meta/packages/dbus/dbus-native_1.1.4.bb | 31 | ||||
-rw-r--r-- | meta/packages/dbus/dbus.inc | 74 | ||||
-rw-r--r-- | meta/packages/dbus/dbus_1.1.20.bb | 5 | ||||
-rw-r--r-- | meta/packages/dbus/dbus_1.1.4.bb | 3 |
5 files changed, 72 insertions, 59 deletions
diff --git a/meta/packages/dbus/dbus-native_1.1.20.bb b/meta/packages/dbus/dbus-native_1.1.20.bb new file mode 100644 index 0000000000..3578572d47 --- /dev/null +++ b/meta/packages/dbus/dbus-native_1.1.20.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | require dbus.inc | ||
2 | inherit native | ||
3 | |||
4 | DEPENDS = "glib-2.0-native libxml2-native expat-native" | ||
5 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus-${PV}" | ||
6 | |||
7 | do_stage() { | ||
8 | oe_runmake install | ||
9 | autotools_stage_all | ||
10 | |||
11 | # for dbus-glib-native introspection generation | ||
12 | install -d ${STAGING_DATADIR}/dbus | ||
13 | install -m 0644 bus/session.conf ${STAGING_DATADIR}/dbus/session.conf | ||
14 | } | ||
15 | |||
16 | do_install() { | ||
17 | : | ||
18 | } | ||
diff --git a/meta/packages/dbus/dbus-native_1.1.4.bb b/meta/packages/dbus/dbus-native_1.1.4.bb deleted file mode 100644 index 55889a1a8b..0000000000 --- a/meta/packages/dbus/dbus-native_1.1.4.bb +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | DESCRIPTION = "message bus system for applications to talk to one another" | ||
2 | HOMEPAGE = "http://www.freedesktop.org/Software/dbus" | ||
3 | LICENSE = "GPL" | ||
4 | SECTION = "base" | ||
5 | |||
6 | PR = "r0" | ||
7 | |||
8 | DEPENDS = "glib-2.0-native libxml2-native expat-native" | ||
9 | |||
10 | DEFAULT_PREFERENCE = "-1" | ||
11 | |||
12 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus-${PV}" | ||
13 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | ||
14 | file://cross.patch;patch=1 \ | ||
15 | " | ||
16 | |||
17 | inherit autotools pkgconfig gettext native | ||
18 | |||
19 | S = "${WORKDIR}/dbus-${PV}" | ||
20 | |||
21 | EXTRA_OECONF = " --disable-tests --disable-checks --disable-xml-docs \ | ||
22 | --disable-doxygen-docs --with-xml=expat --without-x" | ||
23 | |||
24 | do_stage () { | ||
25 | oe_runmake install | ||
26 | autotools_stage_all | ||
27 | |||
28 | # for dbus-glib-native introspection generation | ||
29 | install -d ${STAGING_DATADIR}/dbus | ||
30 | install -m 0644 bus/session.conf ${STAGING_DATADIR}/dbus/session.conf | ||
31 | } | ||
diff --git a/meta/packages/dbus/dbus.inc b/meta/packages/dbus/dbus.inc index 256ccde0b4..5cf5e91069 100644 --- a/meta/packages/dbus/dbus.inc +++ b/meta/packages/dbus/dbus.inc | |||
@@ -1,18 +1,17 @@ | |||
1 | SECTION = "base" | ||
2 | PR = "r0" | ||
3 | HOMEPAGE = "http://dbus.freedesktop.org" | ||
4 | DESCRIPTION = "Message bus system for applications to talk to one another" | 1 | DESCRIPTION = "Message bus system for applications to talk to one another" |
2 | HOMEPAGE = "http://dbus.freedesktop.org" | ||
3 | SECTION = "base" | ||
5 | LICENSE = "GPL" | 4 | LICENSE = "GPL" |
6 | DEPENDS = "expat glib-2.0 virtual/libintl virtual/libx11" | 5 | DEPENDS = "expat glib-2.0 virtual/libintl virtual/libx11" |
7 | 6 | ||
8 | DEFAULT_PREFERENCE = "-1" | 7 | SRC_URI = "\ |
9 | 8 | http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | |
10 | SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \ | 9 | file://cross.patch;patch=1 \ |
11 | file://cross.patch;patch=1 \ | 10 | file://tmpdir.patch;patch=1 \ |
12 | file://tmpdir.patch;patch=1 \ | 11 | file://fix-install-daemon.patch;patch=1 \ |
13 | file://fix-install-daemon.patch;patch=1 \ | 12 | file://dbus-1.init \ |
14 | file://dbus-1.init" | 13 | " |
15 | 14 | S = "${WORKDIR}/dbus-${PV}" | |
16 | 15 | ||
17 | inherit autotools pkgconfig update-rc.d gettext | 16 | inherit autotools pkgconfig update-rc.d gettext |
18 | 17 | ||
@@ -21,8 +20,25 @@ INITSCRIPT_PARAMS = "defaults" | |||
21 | 20 | ||
22 | CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session.conf" | 21 | CONFFILES_${PN} = "${sysconfdir}/dbus-1/system.conf ${sysconfdir}/dbus-1/session.conf" |
23 | 22 | ||
24 | FILES_${PN} = "${bindir}/dbus-daemon ${bindir}/dbus-launch ${bindir}/dbus-cleanup-sockets ${bindir}/dbus-send ${bindir}/dbus-monitor ${bindir}/dbus-uuidgen ${sysconfdir} ${datadir}/dbus-1/services ${libdir}/lib*.so.*" | 23 | DEBIANNAME_${PN} = "dbus-1" |
25 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include" | 24 | |
25 | PACKAGES =+ "${PN}-lib" | ||
26 | |||
27 | FILES_${PN} = "\ | ||
28 | ${bindir}/dbus-daemon* \ | ||
29 | ${bindir}/dbus-uuidgen \ | ||
30 | ${bindir}/dbus-launch \ | ||
31 | ${bindir}/dbus-cleanup-sockets \ | ||
32 | ${bindir}/dbus-send \ | ||
33 | ${bindir}/dbus-monitor \ | ||
34 | ${libexecdir}/dbus* \ | ||
35 | ${sysconfdir} \ | ||
36 | ${datadir}/dbus-1/services \ | ||
37 | ${datadir}/dbus-1/system-services \ | ||
38 | " | ||
39 | FILES_${PN}-lib = "${libdir}/lib*.so.*" | ||
40 | RRECOMMENDS_${PN}-lib = "${PN}" | ||
41 | FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool ${libdir}/" | ||
26 | 42 | ||
27 | pkg_postinst_dbus() { | 43 | pkg_postinst_dbus() { |
28 | #!/bin/sh | 44 | #!/bin/sh |
@@ -38,15 +54,24 @@ MESSAGEHOME=/var/run/dbus | |||
38 | mkdir -p $MESSAGEHOME || true | 54 | mkdir -p $MESSAGEHOME || true |
39 | chgrp "$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || addgroup "$MESSAGEUSER" | 55 | chgrp "$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || addgroup "$MESSAGEUSER" |
40 | chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --ingroup "$MESSAGEUSER" "$MESSAGEUSER" | 56 | chown "$MESSAGEUSER"."$MESSAGEUSER" "$MESSAGEHOME" 2>/dev/null || adduser --system --home "$MESSAGEHOME" --no-create-home --disabled-password --ingroup "$MESSAGEUSER" "$MESSAGEUSER" |
57 | |||
41 | grep -q netdev: /etc/group || addgroup netdev | 58 | grep -q netdev: /etc/group || addgroup netdev |
59 | chmod u+s /usr/libexec/dbus-daemon-launch-helper | ||
42 | } | 60 | } |
43 | 61 | ||
44 | EXTRA_OECONF = "--disable-qt --disable-qt3 --disable-gtk --disable-tests \ | 62 | EXTRA_OECONF = "\ |
45 | --disable-asserts --disable-xml-docs --disable-doxygen-docs \ | 63 | --disable-qt \ |
46 | --with-xml=expat --with-x" | 64 | --disable-qt3 \ |
47 | 65 | --disable-gtk \ | |
48 | 66 | --disable-tests \ | |
49 | do_stage () { | 67 | --disable-checks \ |
68 | --disable-xml-docs \ | ||
69 | --disable-doxygen-docs \ | ||
70 | --with-xml=expat \ | ||
71 | --with-x \ | ||
72 | " | ||
73 | |||
74 | do_stage() { | ||
50 | oe_libinstall -so -C dbus libdbus-1 ${STAGING_LIBDIR} | 75 | oe_libinstall -so -C dbus libdbus-1 ${STAGING_LIBDIR} |
51 | 76 | ||
52 | autotools_stage_includes | 77 | autotools_stage_includes |
@@ -55,12 +80,11 @@ do_stage () { | |||
55 | install -m 0644 dbus/dbus-arch-deps.h ${STAGING_LIBDIR}/dbus-1.0/include/dbus/ | 80 | install -m 0644 dbus/dbus-arch-deps.h ${STAGING_LIBDIR}/dbus-1.0/include/dbus/ |
56 | } | 81 | } |
57 | 82 | ||
58 | do_install_append () { | 83 | do_install_append() { |
59 | install -d ${D}${sysconfdir}/init.d | 84 | install -d ${D}${sysconfdir}/init.d |
60 | install -m 0755 ${WORKDIR}/dbus-1.init ${D}${sysconfdir}/init.d/dbus-1 | 85 | install -m 0755 ${WORKDIR}/dbus-1.init ${D}${sysconfdir}/init.d/dbus-1 |
61 | } | 86 | # the stock install seems to install the libtool wrapper script, so we have to copy this manually :M: |
62 | 87 | if [ -e bus/.libs/dbus-daemon-launch-helper ]; then | |
63 | python populate_packages_prepend () { | 88 | install -m 0755 bus/.libs/dbus-daemon-launch-helper ${D}${libexecdir}/ |
64 | if (bb.data.getVar('DEBIAN_NAMES', d, 1)): | 89 | fi |
65 | bb.data.setVar('PKG_dbus', 'dbus-1', d) | ||
66 | } | 90 | } |
diff --git a/meta/packages/dbus/dbus_1.1.20.bb b/meta/packages/dbus/dbus_1.1.20.bb new file mode 100644 index 0000000000..c951fc79ec --- /dev/null +++ b/meta/packages/dbus/dbus_1.1.20.bb | |||
@@ -0,0 +1,5 @@ | |||
1 | include dbus.inc | ||
2 | |||
3 | PR = "r1" | ||
4 | |||
5 | SRC_URI += "file://fix-dbus-launch-x11.patch;patch=1" | ||
diff --git a/meta/packages/dbus/dbus_1.1.4.bb b/meta/packages/dbus/dbus_1.1.4.bb deleted file mode 100644 index e90a67e290..0000000000 --- a/meta/packages/dbus/dbus_1.1.4.bb +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | require dbus.inc | ||
2 | |||
3 | PR = "r2" | ||