summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2005-09-02 13:00:13 +0000
committerRichard Purdie <richard@openedhand.com>2005-09-02 13:00:13 +0000
commit255a4ed2bfbf928d5c12d74e48b3759de7241e0d (patch)
tree81db022dbcfa024e01599370de88039b22f1f0d8
parent6de1ae1e2e610b0120a0fcd914f39dfa27ce1e9e (diff)
downloadpoky-255a4ed2bfbf928d5c12d74e48b3759de7241e0d.tar.gz
Remove gtk xsettings patch. Add dbus 0.36
git-svn-id: https://svn.o-hand.com/repos/poky@16 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--openembedded/packages/dbus/dbus-0.36/cross.patch15
-rw-r--r--openembedded/packages/dbus/dbus-0.36/dbus-1.init86
-rw-r--r--openembedded/packages/dbus/dbus-0.36/no-bindings.patch12
-rw-r--r--openembedded/packages/dbus/dbus-0.36/no-examples.patch10
-rw-r--r--openembedded/packages/dbus/dbus-0.36/no-introspect.patch16
-rw-r--r--openembedded/packages/dbus/dbus-0.36/tmpdir.patch30
-rw-r--r--openembedded/packages/dbus/dbus-native_0.34.bb2
-rw-r--r--openembedded/packages/dbus/dbus.inc (renamed from openembedded/packages/dbus/dbus_0.34.inc)0
-rw-r--r--openembedded/packages/dbus/dbus_0.34.bb2
-rw-r--r--openembedded/packages/dbus/dbus_0.36.bb16
-rw-r--r--openembedded/packages/gtk+/gtk+-2.6.7/xsettings.patch16
-rw-r--r--openembedded/packages/gtk+/gtk+-2.8.3/xsettings.patch16
-rw-r--r--openembedded/packages/gtk+/gtk+_2.6.7.bb3
-rw-r--r--openembedded/packages/gtk+/gtk+_2.8.3.bb4
-rw-r--r--openembedded/packages/meta/meta-oh.bb1
-rw-r--r--readme.txt3
16 files changed, 194 insertions, 38 deletions
diff --git a/openembedded/packages/dbus/dbus-0.36/cross.patch b/openembedded/packages/dbus/dbus-0.36/cross.patch
new file mode 100644
index 0000000000..6d1d9d8e7e
--- /dev/null
+++ b/openembedded/packages/dbus/dbus-0.36/cross.patch
@@ -0,0 +1,15 @@
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
new file mode 100644
index 0000000000..adefe7c5b1
--- /dev/null
+++ b/openembedded/packages/dbus/dbus-0.36/dbus-1.init
@@ -0,0 +1,86 @@
1#! /bin/sh
2# -*- coding: utf-8 -*-
3# Debian init.d script for D-BUS
4# Copyright © 2003 Colin Walters <walters@debian.org>
5
6set -e
7
8DAEMON=/usr/bin/dbus-daemon-1
9NAME=dbus-1
10DAEMONUSER=messagebus
11PIDDIR=/var/run/dbus
12PIDFILE=$PIDDIR/pid
13DESC="system message bus"
14EVENTDIR=/etc/dbus-1/event.d
15
16test -x $DAEMON || exit 0
17
18# Source defaults file; edit that file to configure this script.
19ENABLED=1
20PARAMS=""
21if [ -e /etc/default/dbus-1 ]; then
22 . /etc/default/dbus-1
23fi
24
25test "$ENABLED" != "0" || exit 0
26
27start_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
52shut_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
68case "$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 ;;
84esac
85
86exit 0
diff --git a/openembedded/packages/dbus/dbus-0.36/no-bindings.patch b/openembedded/packages/dbus/dbus-0.36/no-bindings.patch
new file mode 100644
index 0000000000..12ba00ff70
--- /dev/null
+++ b/openembedded/packages/dbus/dbus-0.36/no-bindings.patch
@@ -0,0 +1,12 @@
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
new file mode 100644
index 0000000000..531646cfb0
--- /dev/null
+++ b/openembedded/packages/dbus/dbus-0.36/no-examples.patch
@@ -0,0 +1,10 @@
1Index: 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
new file mode 100644
index 0000000000..822afccf03
--- /dev/null
+++ b/openembedded/packages/dbus/dbus-0.36/no-introspect.patch
@@ -0,0 +1,16 @@
1Index: 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
new file mode 100644
index 0000000000..838b903f0a
--- /dev/null
+++ b/openembedded/packages/dbus/dbus-0.36/tmpdir.patch
@@ -0,0 +1,30 @@
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
index 916f7ad8e2..a84530d4dc 100644
--- a/openembedded/packages/dbus/dbus-native_0.34.bb
+++ b/openembedded/packages/dbus/dbus-native_0.34.bb
@@ -1,4 +1,4 @@
1include dbus_${PV}.inc 1include dbus.inc
2 2
3SRC_URI_EXTRA="" 3SRC_URI_EXTRA=""
4 4
diff --git a/openembedded/packages/dbus/dbus_0.34.inc b/openembedded/packages/dbus/dbus.inc
index 1c63c37fdf..1c63c37fdf 100644
--- a/openembedded/packages/dbus/dbus_0.34.inc
+++ b/openembedded/packages/dbus/dbus.inc
diff --git a/openembedded/packages/dbus/dbus_0.34.bb b/openembedded/packages/dbus/dbus_0.34.bb
index a1d19897cc..35fed844e1 100644
--- a/openembedded/packages/dbus/dbus_0.34.bb
+++ b/openembedded/packages/dbus/dbus_0.34.bb
@@ -1,4 +1,4 @@
1include dbus_${PV}.inc 1include dbus.inc
2 2
3 3
4DEPENDS = "expat glib-2.0 virtual/libintl dbus-native" 4DEPENDS = "expat glib-2.0 virtual/libintl dbus-native"
diff --git a/openembedded/packages/dbus/dbus_0.36.bb b/openembedded/packages/dbus/dbus_0.36.bb
new file mode 100644
index 0000000000..a45396adb9
--- /dev/null
+++ b/openembedded/packages/dbus/dbus_0.36.bb
@@ -0,0 +1,16 @@
1include dbus.inc
2
3
4DEPENDS = "expat glib-2.0 virtual/libintl dbus-native"
5SRC_URI_EXTRA = " \
6 file://no-introspect.patch;patch=1 \
7 file://no-bindings.patch;patch=1 \
8 file://no-examples.patch;patch=1"
9
10FILES_${PN} += "${bindir}/dbus-daemon"
11FILES_${PN}-dev += "${bindir}/dbus-binding-tool"
12
13do_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/gtk+/gtk+-2.6.7/xsettings.patch b/openembedded/packages/gtk+/gtk+-2.6.7/xsettings.patch
deleted file mode 100644
index b63e262d34..0000000000
--- a/openembedded/packages/gtk+/gtk+-2.6.7/xsettings.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1--- gtk+-2.4.4/gdk/x11/gdkevents-x11.c.old Sun Aug 22 17:14:00 2004
2+++ gtk+-2.4.4/gdk/x11/gdkevents-x11.c Sun Aug 22 17:14:00 2004
3@@ -2827,10 +2827,9 @@
4 {
5 GdkScreenX11 *screen = data;
6
7- if (xsettings_client_process_event (screen->xsettings_client, (XEvent *)xevent))
8- return GDK_FILTER_REMOVE;
9- else
10- return GDK_FILTER_CONTINUE;
11+ xsettings_client_process_event (screen->xsettings_client, (XEvent *)xevent);
12+
13+ return GDK_FILTER_CONTINUE;
14 }
15
16 static void
diff --git a/openembedded/packages/gtk+/gtk+-2.8.3/xsettings.patch b/openembedded/packages/gtk+/gtk+-2.8.3/xsettings.patch
deleted file mode 100644
index b63e262d34..0000000000
--- a/openembedded/packages/gtk+/gtk+-2.8.3/xsettings.patch
+++ /dev/null
@@ -1,16 +0,0 @@
1--- gtk+-2.4.4/gdk/x11/gdkevents-x11.c.old Sun Aug 22 17:14:00 2004
2+++ gtk+-2.4.4/gdk/x11/gdkevents-x11.c Sun Aug 22 17:14:00 2004
3@@ -2827,10 +2827,9 @@
4 {
5 GdkScreenX11 *screen = data;
6
7- if (xsettings_client_process_event (screen->xsettings_client, (XEvent *)xevent))
8- return GDK_FILTER_REMOVE;
9- else
10- return GDK_FILTER_CONTINUE;
11+ xsettings_client_process_event (screen->xsettings_client, (XEvent *)xevent);
12+
13+ return GDK_FILTER_CONTINUE;
14 }
15
16 static void
diff --git a/openembedded/packages/gtk+/gtk+_2.6.7.bb b/openembedded/packages/gtk+/gtk+_2.6.7.bb
index 2e81792799..54e0e0e6e1 100644
--- a/openembedded/packages/gtk+/gtk+_2.6.7.bb
+++ b/openembedded/packages/gtk+/gtk+_2.6.7.bb
@@ -6,7 +6,7 @@ SECTION = "libs"
6PRIORITY = "optional" 6PRIORITY = "optional"
7MAINTAINER = "Philip Blundell <pb@handhelds.org>" 7MAINTAINER = "Philip Blundell <pb@handhelds.org>"
8DEPENDS = "glib-2.0 pango atk jpeg libpng xext libxcursor gtk-doc libgcrypt" 8DEPENDS = "glib-2.0 pango atk jpeg libpng xext libxcursor gtk-doc libgcrypt"
9PR = "r1" 9PR = "r2"
10 10
11SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \ 11SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \
12 file://no-demos.patch;patch=1 \ 12 file://no-demos.patch;patch=1 \
@@ -18,7 +18,6 @@ SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.6/gtk+-${PV}.tar.bz2 \
18 file://disable-tooltips.patch;patch=1 \ 18 file://disable-tooltips.patch;patch=1 \
19 file://gtklabel-resize-patch;patch=1 \ 19 file://gtklabel-resize-patch;patch=1 \
20 file://menu-deactivate.patch;patch=1 \ 20 file://menu-deactivate.patch;patch=1 \
21 file://xsettings.patch;patch=1 \
22 file://scroll-timings.patch;patch=1 \ 21 file://scroll-timings.patch;patch=1 \
23 file://small-gtkfilesel.patch;patch=1 \ 22 file://small-gtkfilesel.patch;patch=1 \
24 file://migration.patch;patch=1;pnum=0 \ 23 file://migration.patch;patch=1;pnum=0 \
diff --git a/openembedded/packages/gtk+/gtk+_2.8.3.bb b/openembedded/packages/gtk+/gtk+_2.8.3.bb
index f697e6ae54..cf32491db7 100644
--- a/openembedded/packages/gtk+/gtk+_2.8.3.bb
+++ b/openembedded/packages/gtk+/gtk+_2.8.3.bb
@@ -13,12 +13,12 @@ SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v2.8/gtk+-${PV}.tar.bz2 \
13 file://automake-lossage.patch;patch=1 \ 13 file://automake-lossage.patch;patch=1 \
14 file://hardcoded_libtool.patch;patch=1 \ 14 file://hardcoded_libtool.patch;patch=1 \
15 file://disable-tooltips.patch;patch=1 \ 15 file://disable-tooltips.patch;patch=1 \
16 file://gtklabel-resize-patch;patch=1 16 file://gtklabel-resize-patch;patch=1"
17# file://menu-deactivate.patch;patch=1 \ 17# file://menu-deactivate.patch;patch=1 \
18# file://xsettings.patch;patch=1 \ 18# file://xsettings.patch;patch=1 \
19# file://scroll-timings.patch;patch=1 \ 19# file://scroll-timings.patch;patch=1 \
20# file://small-gtkfilesel.patch;patch=1 \ 20# file://small-gtkfilesel.patch;patch=1 \
21# file://migration.patch;patch=1;pnum=0" 21# file://migration.patch;patch=1;pnum=0
22# file://no-demos.patch;patch=1 22# file://no-demos.patch;patch=1
23# file://gtk+-handhelds.patch;patch=1 23# file://gtk+-handhelds.patch;patch=1
24# file://single-click.patch;patch=1 24# file://single-click.patch;patch=1
diff --git a/openembedded/packages/meta/meta-oh.bb b/openembedded/packages/meta/meta-oh.bb
index 09e56c5ef7..cf28f2b5e5 100644
--- a/openembedded/packages/meta/meta-oh.bb
+++ b/openembedded/packages/meta/meta-oh.bb
@@ -17,6 +17,7 @@ oh-task-base = "\
17 matchbox \ 17 matchbox \
18 xcursor-transparent-theme \ 18 xcursor-transparent-theme \
19 xserver-kdrive-common \ 19 xserver-kdrive-common \
20 gtk+ \
20 avahi \ 21 avahi \
21 rxvt \ 22 rxvt \
22 xhost \ 23 xhost \
diff --git a/readme.txt b/readme.txt
index d35ba30043..3f3fad72b1 100644
--- a/readme.txt
+++ b/readme.txt
@@ -14,6 +14,9 @@ MACHINE = "nokia770"
14 14
15in build/conf/local.conf 15in build/conf/local.conf
16 16
17NOTE: The above commands must be run in the build directory. Running
18them anywhere else will cause confusion.
19
17Notes: 20Notes:
18=== 21===
19 22