diff options
author | Richard Purdie <richard@openedhand.com> | 2005-10-10 12:21:56 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-10-10 12:21:56 +0000 |
commit | bfea2526434422e8bd1aff9189e41c49bd7127d9 (patch) | |
tree | 3b91b38ec517af0201084982aeacb2461ea84068 | |
parent | 757723a16ef88a30a775b4e69bd0972468826d71 (diff) | |
download | poky-bfea2526434422e8bd1aff9189e41c49bd7127d9.tar.gz |
More syncing with OE, remove old dbus versions and old avahi version
git-svn-id: https://svn.o-hand.com/repos/poky@130 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | openembedded/packages/avahi/avahi_0.2.bb | 47 | ||||
-rw-r--r-- | openembedded/packages/dbus/dbus-0.36/cross.patch | 15 | ||||
-rw-r--r-- | openembedded/packages/dbus/dbus-0.36/dbus-1.init | 86 | ||||
-rw-r--r-- | openembedded/packages/dbus/dbus-0.36/no-bindings.patch | 12 | ||||
-rw-r--r-- | openembedded/packages/dbus/dbus-0.36/no-examples.patch | 10 | ||||
-rw-r--r-- | openembedded/packages/dbus/dbus-0.36/no-introspect.patch | 16 | ||||
-rw-r--r-- | openembedded/packages/dbus/dbus-0.36/tmpdir.patch | 30 | ||||
-rw-r--r-- | openembedded/packages/dbus/dbus-native_0.34.bb | 16 | ||||
-rw-r--r-- | openembedded/packages/dbus/dbus_0.34.bb | 14 | ||||
-rw-r--r-- | openembedded/packages/dbus/dbus_0.36.bb | 16 | ||||
-rw-r--r-- | openembedded/packages/settings-daemon/settings-daemon_svn.bb | 6 |
11 files changed, 3 insertions, 265 deletions
diff --git a/openembedded/packages/avahi/avahi_0.2.bb b/openembedded/packages/avahi/avahi_0.2.bb deleted file mode 100644 index 6b77b78088..0000000000 --- a/openembedded/packages/avahi/avahi_0.2.bb +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | DESCRIPTION = "Avahi implements the DNS-SD over Multicast DNS" | ||
2 | HOMEPAGE = "http://www.freedesktop.org/Software/Avahi" | ||
3 | LICENCE= "GPL" | ||
4 | DEPENDS = "expat libdaemon dbus" | ||
5 | RRECOMMENDS = "libnss-mdns" | ||
6 | SECTION = "net" | ||
7 | PRIORITY = "optional" | ||
8 | |||
9 | SRC_URI = "http://www.freedesktop.org/~lennart/avahi-${PV}.tar.gz" | ||
10 | |||
11 | # file://no-strict-ansi.patch;patch=1" | ||
12 | |||
13 | PACKAGES = "avahi-daemon libavahi-common libavahi-core libavahi-client avahi-dnsconfd libavahi-glib avahi-dev avahi-doc" | ||
14 | |||
15 | FILES_libavahi-common = "${libdir}/libavahi-common.so.*" | ||
16 | FILES_libavahi-core= "${libdir}/libavahi-core.so.*" | ||
17 | FILES_avahi-daemon = "${sbindir}/avahi-daemon \ | ||
18 | ${sysconfdir}/avahi/avahi-daemon.conf \ | ||
19 | ${sysconfdir}/avahi/services \ | ||
20 | ${sysconfdir}/dbus-1 \ | ||
21 | ${sysconfdir}/init.d/avahi-daemon \ | ||
22 | ${datadir}/avahi/introspection/*.introspect \ | ||
23 | ${datadir}/avahi/avahi-service.dtd" | ||
24 | FILES_libavahi-client = "${libdir}/libavahi-client.so.*" | ||
25 | FILES_avahi-dnsconfd = "${sbindir}/avahi-dnsconfd \ | ||
26 | ${sysconfdir}/avahi/avahi-dnsconfd.action \ | ||
27 | ${sysconfdir}/init.d/avahi-dnsconfd" | ||
28 | FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*" | ||
29 | |||
30 | CONFFILES_avahi-daemon = "${sysconfdir}/avahi/avahi-daemon.conf" | ||
31 | |||
32 | EXTRA_OECONF = "--with-distro=debian --disable-gtk --disable-python" | ||
33 | inherit autotools | ||
34 | inherit update-rc.d | ||
35 | |||
36 | INITSCRIPT_PACKAGES = "avahi-daemon avahi-dnsconfd" | ||
37 | INITSCRIPT_NAME_avahi-daemon = "avahi-daemon" | ||
38 | INITSCRIPT_NAME_avahi-dnsconfd = "avahi-dnsconfd" | ||
39 | |||
40 | pkg_postinst_avahi-daemon () { | ||
41 | grep avahi /etc/passwd || adduser --disabled-password --system --home /var/run/avahi-daemon avahi | ||
42 | } | ||
43 | |||
44 | pkg_postrm_avahi-daemon () { | ||
45 | deluser avahi || true | ||
46 | } | ||
47 | |||
diff --git a/openembedded/packages/dbus/dbus-0.36/cross.patch b/openembedded/packages/dbus/dbus-0.36/cross.patch deleted file mode 100644 index 6d1d9d8e7e..0000000000 --- a/openembedded/packages/dbus/dbus-0.36/cross.patch +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher | ||
4 | # | ||
5 | |||
6 | --- dbus-0.20/configure.in~cross | ||
7 | +++ dbus-0.20/configure.in | ||
8 | @@ -466,6 +466,7 @@ | ||
9 | exit (0); | ||
10 | ]])], | ||
11 | [have_abstract_sockets=yes], | ||
12 | + [have_abstract_sockets=no], | ||
13 | [have_abstract_sockets=no]) | ||
14 | AC_LANG_POP(C) | ||
15 | AC_MSG_RESULT($have_abstract_sockets) | ||
diff --git a/openembedded/packages/dbus/dbus-0.36/dbus-1.init b/openembedded/packages/dbus/dbus-0.36/dbus-1.init deleted file mode 100644 index adefe7c5b1..0000000000 --- a/openembedded/packages/dbus/dbus-0.36/dbus-1.init +++ /dev/null | |||
@@ -1,86 +0,0 @@ | |||
1 | #! /bin/sh | ||
2 | # -*- coding: utf-8 -*- | ||
3 | # Debian init.d script for D-BUS | ||
4 | # Copyright © 2003 Colin Walters <walters@debian.org> | ||
5 | |||
6 | set -e | ||
7 | |||
8 | DAEMON=/usr/bin/dbus-daemon-1 | ||
9 | NAME=dbus-1 | ||
10 | DAEMONUSER=messagebus | ||
11 | PIDDIR=/var/run/dbus | ||
12 | PIDFILE=$PIDDIR/pid | ||
13 | DESC="system message bus" | ||
14 | EVENTDIR=/etc/dbus-1/event.d | ||
15 | |||
16 | test -x $DAEMON || exit 0 | ||
17 | |||
18 | # Source defaults file; edit that file to configure this script. | ||
19 | ENABLED=1 | ||
20 | PARAMS="" | ||
21 | if [ -e /etc/default/dbus-1 ]; then | ||
22 | . /etc/default/dbus-1 | ||
23 | fi | ||
24 | |||
25 | test "$ENABLED" != "0" || exit 0 | ||
26 | |||
27 | start_it_up() | ||
28 | { | ||
29 | if [ ! -d $PIDDIR ]; then | ||
30 | mkdir -p $PIDDIR | ||
31 | chown $DAEMONUSER $PIDDIR | ||
32 | chgrp $DAEMONUSER $PIDDIR | ||
33 | fi | ||
34 | if [ -e $PIDFILE ]; then | ||
35 | PIDDIR=/proc/$(cat $PIDFILE) | ||
36 | if [ -d ${PIDDIR} -a "$(readlink -f ${PIDDIR}/exe)" = "${DAEMON}" ]; then | ||
37 | echo "$DESC already started; not starting." | ||
38 | else | ||
39 | echo "Removing stale PID file $PIDFILE." | ||
40 | rm -f $PIDFILE | ||
41 | fi | ||
42 | fi | ||
43 | echo -n "Starting $DESC: " | ||
44 | start-stop-daemon --start --quiet --pidfile $PIDFILE \ | ||
45 | --user $DAEMONUSER --exec $DAEMON -- --system $PARAMS | ||
46 | echo "$NAME." | ||
47 | if [ -d $EVENTDIR ]; then | ||
48 | run-parts --arg=start $EVENTDIR | ||
49 | fi | ||
50 | } | ||
51 | |||
52 | shut_it_down() | ||
53 | { | ||
54 | if [ -d $EVENTDIR ]; then | ||
55 | run-parts --reverse --arg=stop $EVENTDIR | ||
56 | fi | ||
57 | echo -n "Stopping $DESC: " | ||
58 | start-stop-daemon --stop --quiet --pidfile $PIDFILE \ | ||
59 | --user $DAEMONUSER | ||
60 | # We no longer include these arguments so that start-stop-daemon | ||
61 | # can do its job even given that we may have been upgraded. | ||
62 | # We rely on the pidfile being sanely managed | ||
63 | # --exec $DAEMON -- --system $PARAMS | ||
64 | echo "$NAME." | ||
65 | rm -f $PIDFILE | ||
66 | } | ||
67 | |||
68 | case "$1" in | ||
69 | start) | ||
70 | start_it_up | ||
71 | ;; | ||
72 | stop) | ||
73 | shut_it_down | ||
74 | ;; | ||
75 | restart|force-reload) | ||
76 | shut_it_down | ||
77 | sleep 1 | ||
78 | start_it_up | ||
79 | ;; | ||
80 | *) | ||
81 | echo "Usage: /etc/init.d/$NAME {start|stop|restart|force-reload}" >&2 | ||
82 | exit 1 | ||
83 | ;; | ||
84 | esac | ||
85 | |||
86 | exit 0 | ||
diff --git a/openembedded/packages/dbus/dbus-0.36/no-bindings.patch b/openembedded/packages/dbus/dbus-0.36/no-bindings.patch deleted file mode 100644 index 12ba00ff70..0000000000 --- a/openembedded/packages/dbus/dbus-0.36/no-bindings.patch +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | --- dbus-0.34/tools/Makefile.am.old 2005-06-27 21:48:44.000000000 +0100 | ||
2 | +++ dbus-0.34/tools/Makefile.am 2005-06-27 21:49:04.000000000 +0100 | ||
3 | @@ -6,9 +6,6 @@ | ||
4 | nodist_libdbus_glib_HEADERS = dbus-glib-bindings.h | ||
5 | libdbus_glibdir = $(includedir)/dbus-1.0/dbus | ||
6 | |||
7 | -dbus-glib-bindings.h: dbus-bus-introspect.xml $(top_builddir)/glib/dbus-binding-tool | ||
8 | - $(top_builddir)/glib/dbus-binding-tool --mode=glib-client --output=dbus-glib-bindings.h dbus-bus-introspect.xml | ||
9 | - | ||
10 | BUILT_SOURCES = dbus-glib-bindings.h dbus-bus-introspect.xml | ||
11 | |||
12 | else | ||
diff --git a/openembedded/packages/dbus/dbus-0.36/no-examples.patch b/openembedded/packages/dbus/dbus-0.36/no-examples.patch deleted file mode 100644 index 531646cfb0..0000000000 --- a/openembedded/packages/dbus/dbus-0.36/no-examples.patch +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | Index: dbus-0.36/glib/Makefile.am | ||
2 | =================================================================== | ||
3 | --- dbus-0.36.orig/glib/Makefile.am 2005-08-04 15:49:30.000000000 +0000 | ||
4 | +++ dbus-0.36/glib/Makefile.am 2005-09-02 12:42:17.000000000 +0000 | ||
5 | @@ -1,4 +1,4 @@ | ||
6 | -SUBDIRS = . examples | ||
7 | +#SUBDIRS = . examples | ||
8 | |||
9 | INCLUDES=-I$(top_srcdir) $(DBUS_CLIENT_CFLAGS) $(DBUS_GLIB_CFLAGS) $(DBUS_GLIB_TOOL_CFLAGS) -DDBUS_COMPILATION=1 -DDBUS_LOCALEDIR=\"$(prefix)/@DATADIRNAME@/locale\" | ||
10 | |||
diff --git a/openembedded/packages/dbus/dbus-0.36/no-introspect.patch b/openembedded/packages/dbus/dbus-0.36/no-introspect.patch deleted file mode 100644 index 822afccf03..0000000000 --- a/openembedded/packages/dbus/dbus-0.36/no-introspect.patch +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | Index: dbus-0.36/tools/Makefile.am | ||
2 | =================================================================== | ||
3 | --- dbus-0.36.orig/tools/Makefile.am 2005-07-08 16:25:28.000000000 +0000 | ||
4 | +++ dbus-0.36/tools/Makefile.am 2005-09-02 12:26:02.000000000 +0000 | ||
5 | @@ -21,11 +21,6 @@ | ||
6 | GTK_TOOLS= | ||
7 | endif | ||
8 | |||
9 | -if HAVE_GLIB | ||
10 | -dbus-bus-introspect.xml: $(top_builddir)/bus/dbus-daemon dbus-launch dbus-send $(top_builddir)/bus/dbus-daemon Makefile | ||
11 | - DBUS_TOP_BUILDDIR=$(top_builddir) $(srcdir)/run-with-tmp-session-bus.sh ./dbus-send --print-reply=literal --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.Introspectable.Introspect > dbus-bus-introspect.xml.tmp && mv dbus-bus-introspect.xml.tmp dbus-bus-introspect.xml | ||
12 | -endif | ||
13 | - | ||
14 | bin_PROGRAMS=dbus-send $(GLIB_TOOLS) dbus-launch dbus-cleanup-sockets $(GTK_TOOLS) | ||
15 | |||
16 | dbus_send_SOURCES= \ | ||
diff --git a/openembedded/packages/dbus/dbus-0.36/tmpdir.patch b/openembedded/packages/dbus/dbus-0.36/tmpdir.patch deleted file mode 100644 index 838b903f0a..0000000000 --- a/openembedded/packages/dbus/dbus-0.36/tmpdir.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | --- dbus-0.22/configure.in.orig 2004-08-13 00:57:16.000000000 +0200 | ||
2 | +++ dbus-0.22/configure.in 2004-12-30 21:15:57.000000000 +0100 | ||
3 | @@ -1047,15 +1048,18 @@ | ||
4 | AC_SUBST(ABSOLUTE_TOP_BUILDDIR) | ||
5 | |||
6 | #### Find socket directories | ||
7 | -if ! test -z "$TMPDIR" ; then | ||
8 | - DEFAULT_SOCKET_DIR=$TMPDIR | ||
9 | -elif ! test -z "$TEMP" ; then | ||
10 | - DEFAULT_SOCKET_DIR=$TEMP | ||
11 | -elif ! test -z "$TMP" ; then | ||
12 | - DEFAULT_SOCKET_DIR=$TMP | ||
13 | -else | ||
14 | - DEFAULT_SOCKET_DIR=/tmp | ||
15 | -fi | ||
16 | +#if ! test -z "$TMPDIR" ; then | ||
17 | +# DEFAULT_SOCKET_DIR=$TMPDIR | ||
18 | +#elif ! test -z "$TEMP" ; then | ||
19 | +# DEFAULT_SOCKET_DIR=$TEMP | ||
20 | +#elif ! test -z "$TMP" ; then | ||
21 | +# DEFAULT_SOCKET_DIR=$TMP | ||
22 | +#else | ||
23 | +# DEFAULT_SOCKET_DIR=/tmp | ||
24 | +#fi | ||
25 | + | ||
26 | +# checks disabled to avoid expanding this at build time | ||
27 | +DEFAULT_SOCKET_DIR=/tmp | ||
28 | |||
29 | if ! test -z "$with_test_socket_dir" ; then | ||
30 | TEST_SOCKET_DIR="$with_test_socket_dir" | ||
diff --git a/openembedded/packages/dbus/dbus-native_0.34.bb b/openembedded/packages/dbus/dbus-native_0.34.bb deleted file mode 100644 index a84530d4dc..0000000000 --- a/openembedded/packages/dbus/dbus-native_0.34.bb +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | include dbus.inc | ||
2 | |||
3 | SRC_URI_EXTRA="" | ||
4 | |||
5 | inherit native | ||
6 | |||
7 | S = "${WORKDIR}/dbus-${PV}" | ||
8 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/dbus" | ||
9 | DEPENDS = "glib-2.0-native" | ||
10 | |||
11 | do_stage() { | ||
12 | install -d ${STAGING_DATADIR}/dbus | ||
13 | install -m 0644 tools/dbus-bus-introspect.xml ${STAGING_DATADIR}/dbus | ||
14 | install -m 0644 tools/dbus-glib-bindings.h ${STAGING_DATADIR}/dbus | ||
15 | } | ||
16 | |||
diff --git a/openembedded/packages/dbus/dbus_0.34.bb b/openembedded/packages/dbus/dbus_0.34.bb deleted file mode 100644 index 35fed844e1..0000000000 --- a/openembedded/packages/dbus/dbus_0.34.bb +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | include dbus.inc | ||
2 | |||
3 | |||
4 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-native" | ||
5 | DEFAULT_PREFERENCE = "-1" | ||
6 | SRC_URI_EXTRA = "file://no-introspect.patch;patch=1 file://no-bindings.patch;patch=1" | ||
7 | |||
8 | FILES_${PN} += "${bindir}/dbus-daemon" | ||
9 | FILES_${PN}-dev += "${bindir}/dbus-binding-tool" | ||
10 | |||
11 | do_configure_prepend() { | ||
12 | install -m 0644 ${STAGING_DIR}/${BUILD_SYS}/share/dbus/dbus-bus-introspect.xml ${S}/tools/ | ||
13 | install -m 0644 ${STAGING_DIR}/${BUILD_SYS}/share/dbus/dbus-glib-bindings.h ${S}/tools/ | ||
14 | } | ||
diff --git a/openembedded/packages/dbus/dbus_0.36.bb b/openembedded/packages/dbus/dbus_0.36.bb deleted file mode 100644 index a45396adb9..0000000000 --- a/openembedded/packages/dbus/dbus_0.36.bb +++ /dev/null | |||
@@ -1,16 +0,0 @@ | |||
1 | include dbus.inc | ||
2 | |||
3 | |||
4 | DEPENDS = "expat glib-2.0 virtual/libintl dbus-native" | ||
5 | SRC_URI_EXTRA = " \ | ||
6 | file://no-introspect.patch;patch=1 \ | ||
7 | file://no-bindings.patch;patch=1 \ | ||
8 | file://no-examples.patch;patch=1" | ||
9 | |||
10 | FILES_${PN} += "${bindir}/dbus-daemon" | ||
11 | FILES_${PN}-dev += "${bindir}/dbus-binding-tool" | ||
12 | |||
13 | do_configure_prepend() { | ||
14 | install -m 0644 ${STAGING_DIR}/${BUILD_SYS}/share/dbus/dbus-bus-introspect.xml ${S}/tools/ | ||
15 | install -m 0644 ${STAGING_DIR}/${BUILD_SYS}/share/dbus/dbus-glib-bindings.h ${S}/tools/ | ||
16 | } | ||
diff --git a/openembedded/packages/settings-daemon/settings-daemon_svn.bb b/openembedded/packages/settings-daemon/settings-daemon_svn.bb index 45b498da59..738ebd2354 100644 --- a/openembedded/packages/settings-daemon/settings-daemon_svn.bb +++ b/openembedded/packages/settings-daemon/settings-daemon_svn.bb | |||
@@ -1,6 +1,7 @@ | |||
1 | DESCRIPTION = "Settings-daemon is a bridge between xst/gpe-confd and gconf" | 1 | DESCRIPTION = "Settings-daemon is a bridge between xst/gpe-confd and gconf" |
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | DEPENDS = "gconf glib-2.0" | 3 | DEPENDS = "gconf xst glib-2.0" |
4 | SECTION = "gpe" | ||
4 | 5 | ||
5 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ | 6 | SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \ |
6 | file://70settings-daemon" | 7 | file://70settings-daemon" |
@@ -9,10 +10,9 @@ S = "${WORKDIR}/${PN}" | |||
9 | 10 | ||
10 | inherit autotools pkgconfig gettext | 11 | inherit autotools pkgconfig gettext |
11 | 12 | ||
12 | FILES_${PN} = "${bindir} ${sysconfdir}" | 13 | FILES_${PN} = "${bindir} ${sysconfdir}" |
13 | 14 | ||
14 | do_install_append () { | 15 | do_install_append () { |
15 | install -d ${D}/${sysconfdir}/X11/Xsession.d | 16 | install -d ${D}/${sysconfdir}/X11/Xsession.d |
16 | install -m 755 ${WORKDIR}/70settings-daemon ${D}/${sysconfdir}/X11/Xsession.d/ | 17 | install -m 755 ${WORKDIR}/70settings-daemon ${D}/${sysconfdir}/X11/Xsession.d/ |
17 | } | 18 | } |
18 | |||