summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2007-02-28 12:24:55 +0000
committerPhilip Balister <philip@balister.org>2007-02-28 12:24:55 +0000
commitb8fcd46c39c1973e9a649e186bf8f85c408d34d6 (patch)
tree2a8e390ac3abae49d406c85d600539ec4b8e0af0
parent3b2777f0f7b7e53b5168eacdc46b8aa8db4ccf8f (diff)
parent28a1342ea121686da11c9e4b8beb1e4095c7e5c3 (diff)
merge of '136c87650ffb3c5462d9cde38962c88081eb61d7'
and '2db9e92f543145d04b9a161be87e9c34388914e3'
-rw-r--r--classes/base.bbclass7
-rw-r--r--classes/opie.bbclass4
-rw-r--r--conf/bitbake.conf3
-rw-r--r--conf/distro/angstrom-2007.1.conf10
-rw-r--r--conf/machine/include/ixp4xx.conf2
-rw-r--r--conf/machine/nslu2be.conf3
-rw-r--r--conf/machine/nslu2le.conf2
-rw-r--r--packages/asterisk/asterisk_1.2.13.bb5
-rw-r--r--packages/asterisk/asterisk_1.2.14.bb5
-rw-r--r--packages/gpephone/libim-0.1/.mtn2git_empty0
-rw-r--r--packages/gpephone/libim-0.1/im-dbus-segfault.patch179
-rw-r--r--packages/gpephone/libim_0.1.bb5
-rw-r--r--packages/linux/linux/simpad/linux-2.6.20.SIMpad.ucb1x00-switches.patch60
-rw-r--r--packages/linux/linux_2.6.20.bb3
-rw-r--r--packages/madwifi/madwifi-ng_r.inc13
-rw-r--r--packages/openmoko-base/files/session13
-rw-r--r--packages/openmoko-base/openmoko-session_svn.bb16
-rw-r--r--packages/openmoko-examples/openmoko-panel-demo-simple_svn.bb8
-rw-r--r--packages/openmoko-examples/openmoko-panel-demo_svn.bb2
-rw-r--r--packages/opie-handwriting/opie-handwriting.inc5
-rw-r--r--packages/tasks/task-openmoko.bb6
-rw-r--r--packages/tslib/tslib_1.0.bb2
-rw-r--r--site/sparc-linux7
23 files changed, 292 insertions, 68 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index a08ba97fde..53139e19fa 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -51,6 +51,13 @@ def base_conditional(variable, checkvalue, truevalue, falsevalue, d):
else:
return falsevalue
+def base_less_or_equal(variable, checkvalue, truevalue, falsevalue, d):
+ import bb
+ if float(bb.data.getVar(variable,d,1)) <= float(checkvalue):
+ return truevalue
+ else:
+ return falsevalue
+
def base_contains(variable, checkvalues, truevalue, falsevalue, d):
import bb
matches = 0
diff --git a/classes/opie.bbclass b/classes/opie.bbclass
index d858439688..c3b9d13226 100644
--- a/classes/opie.bbclass
+++ b/classes/opie.bbclass
@@ -19,6 +19,10 @@ OPIE_CVS_PV = "1.2.2+cvs${SRCDATE}"
DEPENDS_prepend = "${@["libopie2 ", ""][(bb.data.getVar('PN', d, 1) == 'libopie2')]}"
+FILES_${PN}-dbg += " ${palmtopdir}/lib/.debug \
+ ${palmtopdir}/bin/.debug \
+ ${palmtopdir}/plugins/*/.debug "
+
# to be consistent, put all targets into workdir
# NOTE: leave one space at the end, other files are expecting that
EXTRA_QMAKEVARS_POST += "DESTDIR=${S} "
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index ab9a28d628..0bba2a2e15 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -124,7 +124,8 @@ FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \
/lib/*.a /lib/*.o ${datadir}/aclocal"
FILES_${PN}-locale = "${datadir}/locale"
FILES_${PN}-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug \
- /bin/.debug /sbin/.debug /lib/.debug ${libdir}/${PN}/.debug"
+ /bin/.debug /sbin/.debug /lib/.debug ${libdir}/${PN}/.debug \
+ ${libdir}/matchbox-panel/.debug"
# File manifest
diff --git a/conf/distro/angstrom-2007.1.conf b/conf/distro/angstrom-2007.1.conf
index 5198055136..f3c4a63217 100644
--- a/conf/distro/angstrom-2007.1.conf
+++ b/conf/distro/angstrom-2007.1.conf
@@ -8,7 +8,7 @@
#DISTRO_VERSION = "2007.3"
DISTRO_VERSION = "test-${DATE}"
-DISTRO_REVISION = "33"
+DISTRO_REVISION = "34"
require conf/distro/include/angstrom.inc
require conf/distro/include/sane-srcdates.inc
@@ -23,7 +23,8 @@ DISTRO_TYPE ?= "debug"
# will RRECOMMEND as much as possible content for a given language
# (locales, UI transalations, help, etc. - useless for pros, but really
# helpful for common users).
-IMAGE_LINGUAS = "en-gb"
+# Also, it appears that no locales fit in 16Mb for now. "C" locale rules!
+IMAGE_LINGUAS = '${@base_less_or_equal("ROOT_FLASH_SIZE", "16", "", "en-gb", d)}'
#Set the right arch for the feeds
#Alphabetically sorted
@@ -165,7 +166,9 @@ PREFERRED_PROVIDER_virtual/armeb-angstrom-linux-gnueabi-libc-for-gcc = "glibc-in
PREFERRED_PROVIDER_virtual/arm-linux-libc-for-gcc = "glibc-intermediate"
PREFERRED_PROVIDER_virtual/armeb-linux-libc-for-gcc = "glibc-intermediate"
PREFERRED_PROVIDER_virtual/powerpc-angstrom-linux-libc-for-gcc = "glibc-intermediate"
-PREFERRED_PROVIDER_virtual/mipsel-linux-libc-for-gcc = "glibc-intermediate"
+PREFERRED_PROVIDER_virtual/mipsel-angstrom-linux-libc-for-gcc = "glibc-intermediate"
+PREFERRED_PROVIDER_virtual/sparc-angstrom-linux-libc-for-gcc = "glibc-intermediate"
+
#shouldn't that be uclibc-initial????
PREFERRED_PROVIDER_virtual/arm-angstrom-linux-uclibcgnueabi-libc-for-gcc = "uclibc-initial"
@@ -192,6 +195,7 @@ PREFERRED_VERSION_glibc ?= "2.5"
PREFERRED_VERSION_glibc-intermediate_i686 ?= "2.4"
PREFERRED_VERSION_glibc-intermediate ?= "2.5"
+
PREFERRED_VERSION_glibc-initial ?= "2.5"
# To use an EABI compatible version 3 series gcc, either uncomment
diff --git a/conf/machine/include/ixp4xx.conf b/conf/machine/include/ixp4xx.conf
index 1bab2f5fc7..6f0d5b20eb 100644
--- a/conf/machine/include/ixp4xx.conf
+++ b/conf/machine/include/ixp4xx.conf
@@ -4,6 +4,8 @@
MACHINE_FEATURES = "kernel26 usbhost ext2"
+ROOT_FLASH_SIZE ?= "12"
+
EXTRA_IMAGECMD_jffs2 = "--pad --eraseblock=0x20000 -n"
PREFERRED_PROVIDER_virtual/kernel ?= "ixp4xx-kernel"
diff --git a/conf/machine/nslu2be.conf b/conf/machine/nslu2be.conf
index 3ca3baf952..87fab62b65 100644
--- a/conf/machine/nslu2be.conf
+++ b/conf/machine/nslu2be.conf
@@ -10,6 +10,9 @@ MACHINE_ARCH = "ixp4xxbe"
OVERRIDES = "local:${MACHINE}:nslu2:ixp4xx:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}"
+ROOT_FLASH_SIZE ?= "6"
+
require conf/machine/include/ixp4xx.conf
EXTRA_IMAGECMD_jffs2 += "--big-endian"
+
diff --git a/conf/machine/nslu2le.conf b/conf/machine/nslu2le.conf
index bbbd6cdeb4..16114a80fa 100644
--- a/conf/machine/nslu2le.conf
+++ b/conf/machine/nslu2le.conf
@@ -10,6 +10,8 @@ MACHINE_ARCH = "ixp4xxle"
OVERRIDES = "local:${MACHINE}:nslu2:ixp4xx:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:fail-fast:pn-${PN}"
+ROOT_FLASH_SIZE ?= "6"
+
require conf/machine/include/ixp4xx.conf
EXTRA_IMAGECMD_jffs2 += "--little-endian"
diff --git a/packages/asterisk/asterisk_1.2.13.bb b/packages/asterisk/asterisk_1.2.13.bb
index 42a3214f0a..3378f6e48b 100644
--- a/packages/asterisk/asterisk_1.2.13.bb
+++ b/packages/asterisk/asterisk_1.2.13.bb
@@ -2,7 +2,7 @@ DESCRIPTION="The Asterisk open source software PBX"
HOMEPAGE="www.asterisk.org"
LICENSE="GPL"
DEPENDS="ncurses zlib openssl curl alsa-lib libogg libvorbis popt"
-PR = "r1"
+PR = "r2"
SRC_URI="http://ftp.digium.com/pub/asterisk/releases/asterisk-${PV}.tar.gz \
file://uclibc-compat-getloadavg.patch;patch=1 \
@@ -15,8 +15,7 @@ export CROSS_COMPILE_BIN="${STAGING_BINDIR_CROSS}"
export CROSS_COMPILE_TARGET="${STAGING_DIR}/${HOST_SYS}"
export CROSS_ARCH="Linux"
-export CROSS_PROC="arm"
-export SUB_PROC="xscale"
+export CROSS_PROC="${TARGET_ARCH}"
export MAKECMDGOALS="dont-optimize"
diff --git a/packages/asterisk/asterisk_1.2.14.bb b/packages/asterisk/asterisk_1.2.14.bb
index 42a3214f0a..3378f6e48b 100644
--- a/packages/asterisk/asterisk_1.2.14.bb
+++ b/packages/asterisk/asterisk_1.2.14.bb
@@ -2,7 +2,7 @@ DESCRIPTION="The Asterisk open source software PBX"
HOMEPAGE="www.asterisk.org"
LICENSE="GPL"
DEPENDS="ncurses zlib openssl curl alsa-lib libogg libvorbis popt"
-PR = "r1"
+PR = "r2"
SRC_URI="http://ftp.digium.com/pub/asterisk/releases/asterisk-${PV}.tar.gz \
file://uclibc-compat-getloadavg.patch;patch=1 \
@@ -15,8 +15,7 @@ export CROSS_COMPILE_BIN="${STAGING_BINDIR_CROSS}"
export CROSS_COMPILE_TARGET="${STAGING_DIR}/${HOST_SYS}"
export CROSS_ARCH="Linux"
-export CROSS_PROC="arm"
-export SUB_PROC="xscale"
+export CROSS_PROC="${TARGET_ARCH}"
export MAKECMDGOALS="dont-optimize"
diff --git a/packages/gpephone/libim-0.1/.mtn2git_empty b/packages/gpephone/libim-0.1/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gpephone/libim-0.1/.mtn2git_empty
diff --git a/packages/gpephone/libim-0.1/im-dbus-segfault.patch b/packages/gpephone/libim-0.1/im-dbus-segfault.patch
new file mode 100644
index 0000000000..3ef6cd909d
--- /dev/null
+++ b/packages/gpephone/libim-0.1/im-dbus-segfault.patch
@@ -0,0 +1,179 @@
+Index: test/im_proxy.c
+===================================================================
+--- test/im_proxy.c (Revision 550)
++++ test/im_proxy.c (Arbeitskopie)
+@@ -26,7 +26,7 @@
+
+ open_log_file (IM_DBUS_LOG_FILE);
+
+- bus_conn = dbus_init ();
++ bus_conn = dbus_init_im ();
+ if (!bus_conn)
+ {
+ close_log_file ();
+Index: src/dbus-if.h
+===================================================================
+--- src/dbus-if.h (Revision 550)
++++ src/dbus-if.h (Arbeitskopie)
+@@ -25,7 +25,7 @@
+
+ #include <dbus/dbus.h>
+
+-DBusConnection *dbus_init (void);
++DBusConnection *dbus_init_im (void);
+ void dbus_add_msg_listener (const gchar *interface, const gchar *method,
+ void (*callback) ());
+
+Index: src/im_client_dbus.c
+===================================================================
+--- src/im_client_dbus.c (Revision 550)
++++ src/im_client_dbus.c (Arbeitskopie)
+@@ -63,7 +63,6 @@
+ *
+ *@note for inner usage only.
+ */
+-// static DBusMessageIter *_pIter = NULL;
+
+ evt_src_t *im_evt_src = NULL;
+
+@@ -116,7 +115,6 @@
+ char *cdata;
+ im_presence_t *presence;
+
+- //im_uri_t*user;
+ char *cuser;
+ char *desc;
+ im_presence_state_t state;
+@@ -165,7 +163,6 @@
+ prtl = tdata;
+ g_print ("=============|-evt_data: protocol = %d\n", tdata);
+
+- // im_uri_new(cuser, prtl, &user);
+ im_presence_new (prtl, NULL, &presence);
+ im_presence_set_from (presence, cuser);
+ im_presence_set_state (presence, state);
+@@ -569,20 +566,12 @@
+ _im_evt_get (evt_src_t *evt_src,
+ sid_t sid, evt_t **evt, int timeout, DBusMessageIter *pIter)
+ {
+-// int a[10240];
+ dbus_int32_t tdata;
+ evt_type_t evt_type = -1;
+ evt_data_free_t evt_data_free = NULL;
+ int asynch = 0;
+ evt_err_t rt = EVT_ERROR_NONE;
+
+-// int b[10240];
+-
+-/* a[0] = 1;
+- a[10239] = 2;
+- b[0] = 3;
+- b[10239] = 4;*/
+-// g_print("=============in %s:%s %d\n", __FILE__, __FUNCTION__, __LINE__);
+ dbus_message_iter_next (pIter);
+ if (dbus_message_iter_get_arg_type (pIter) != DBUS_TYPE_INT32)
+ return IM_ERROR_DBUS;
+@@ -671,51 +660,37 @@
+ if (asynch)
+ {
+ rt = im_client_incoming_asyn_handle (pIter, evt);
+-// g_print("in %s:%s %d\n", __FILE__, __FUNCTION__, __LINE__);
+ }
+ else
+ {
+ rt = im_client_incoming_evt_handle (pIter, evt);
+-// g_print("in %s:%s %d\n", __FILE__, __FUNCTION__, __LINE__);
+ }
+-// g_print("in %s:%s %d\n", __FILE__, __FUNCTION__, __LINE__);
+-// printf("++++++++++%d\n", rt);
+-// printf("%d %d %d %d\n",a[0], a[10239], b[0], b[10239]);
+ return rt;
+-// return EVT_ERROR_NONE;
+ };
+
+-// G_LOCK_DEFINE(_pIter);
+
+ void
+ im_client_incoming_evt (DBusMessage *message)
+ {
+ DBusMessageIter iter;
+
+-// G_LOCK(_pIter);
+-// _pIter = &iter;
+ dbus_message_iter_init (message, &iter);
+ if (dbus_message_iter_get_arg_type (&iter) == DBUS_TYPE_UINT32)
+ {
+ dbus_uint32_t sid;
+
+ dbus_message_iter_get_basic (&iter, &sid); //get sid
+- //evt_process(im_evt_src, sid, -1);
+ evt_t *evt = NULL;
+
+ if (_im_evt_get (im_evt_src, sid, &evt, -1, &iter) != EVT_ERROR_NONE)
+ {
+-// g_print("=============in %s:%s %d\n", __FILE__, __FUNCTION__, __LINE__);
+ g_message ("Error when receiving event: %s:%s %d\n", __FILE__,
+ __FUNCTION__, __LINE__);
+ return;
+ }
+-// g_print("=============in %s:%s %d\n", __FILE__, __FUNCTION__, __LINE__);
+ evt_call (im_evt_src, evt);
+ evt_release (im_evt_src, evt);
+ }
+-// _pIter = NULL;
+-// G_UNLOCK(_pIter);
+ }
+
+ im_err_t
+@@ -759,7 +734,7 @@
+ {
+ im_err_t rt = IM_ERROR_NONE;
+
+- bus_conn = dbus_init ();
++ bus_conn = dbus_init_im ();
+ if (!bus_conn)
+ {
+ return IM_ERROR_DBUS;
+@@ -789,8 +764,6 @@
+ DBusMessage *message = NULL;
+ DBusMessage *reply = NULL;
+
+- // int result;
+-
+ dbus_error_init (&error);
+
+ message = dbus_message_new_method_call (IM_DBUS_SERVICE,
+Index: src/Makefile.am
+===================================================================
+--- src/Makefile.am (Revision 550)
++++ src/Makefile.am (Arbeitskopie)
+@@ -1,7 +1,7 @@
+
+
+ # set the include path found by configure
+-INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/include \
++INCLUDES = -Wall -I$(top_srcdir)/src -I$(top_srcdir)/include \
+ -I$(top_srcdir)/src/log -I$(top_srcdir)/src/xmpp $(all_includes)
+
+ # the library search path.
+Index: src/dbus-if.c
+===================================================================
+--- src/dbus-if.c (Revision 550)
++++ src/dbus-if.c (Arbeitskopie)
+@@ -118,7 +118,7 @@
+ }
+
+ DBusConnection *
+-dbus_init (void)
++dbus_init_im (void)
+ {
+ DBusError error;
+ GMainLoop *mainloop;
+@@ -140,7 +140,6 @@
+
+ dbus_connection_add_filter (bus, msg_filter, mainloop, NULL);
+ g_main_loop_unref (mainloop);
+-
+ return bus;
+ }
+
diff --git a/packages/gpephone/libim_0.1.bb b/packages/gpephone/libim_0.1.bb
index 4d59957d79..5458f510aa 100644
--- a/packages/gpephone/libim_0.1.bb
+++ b/packages/gpephone/libim_0.1.bb
@@ -3,11 +3,12 @@ DESCRIPTION = "LiPS event model library."
SECTION = "gpe/libs"
PRIORITY = "optional"
DEPENDS = "glib-2.0 libgpg-error libgcrypt gnutls libidn iksemel gloox dbus-glib liblipsevent"
-PR = "r0"
+PR = "r1"
inherit gpephone pkgconfig autotools
-SRC_URI = "${GPEPHONE_MIRROR}/${P}/lips_im-${PV}.tar.gz"
+SRC_URI = "${GPEPHONE_MIRROR}/${P}/lips_im-${PV}.tar.gz \
+ file://im-dbus-segfault.patch;patch=1;pnum=0"
EXTRA_OECONF = "--with-session-bus-services-dir=${datadir}/dbus-1/services"
diff --git a/packages/linux/linux/simpad/linux-2.6.20.SIMpad.ucb1x00-switches.patch b/packages/linux/linux/simpad/linux-2.6.20.SIMpad.ucb1x00-switches.patch
index cbc2272eb2..3f28d9eace 100644
--- a/packages/linux/linux/simpad/linux-2.6.20.SIMpad.ucb1x00-switches.patch
+++ b/packages/linux/linux/simpad/linux-2.6.20.SIMpad.ucb1x00-switches.patch
@@ -1,6 +1,6 @@
diff -uNr linux-2.6.20.vanilla/drivers/mfd/Kconfig linux-2.6.20/drivers/mfd/Kconfig
---- linux-2.6.20.vanilla/drivers/mfd/Kconfig 2007-02-09 18:27:41.000000000 +0100
-+++ linux-2.6.20/drivers/mfd/Kconfig 2007-02-09 19:29:23.000000000 +0100
+--- linux-2.6.20.vanilla/drivers/mfd/Kconfig 2007-02-10 19:01:56.000000000 +0100
++++ linux-2.6.20/drivers/mfd/Kconfig 2007-02-14 16:30:15.000000000 +0100
@@ -23,4 +23,7 @@
tristate "Touchscreen interface support"
depends on MCP_UCB1200 && INPUT
@@ -10,8 +10,8 @@ diff -uNr linux-2.6.20.vanilla/drivers/mfd/Kconfig linux-2.6.20/drivers/mfd/Kcon
+ depends on MCP_UCB1200 && INPUT
endmenu
diff -uNr linux-2.6.20.vanilla/drivers/mfd/Makefile linux-2.6.20/drivers/mfd/Makefile
---- linux-2.6.20.vanilla/drivers/mfd/Makefile 2007-02-09 18:27:41.000000000 +0100
-+++ linux-2.6.20/drivers/mfd/Makefile 2007-02-09 19:29:23.000000000 +0100
+--- linux-2.6.20.vanilla/drivers/mfd/Makefile 2007-02-10 19:01:56.000000000 +0100
++++ linux-2.6.20/drivers/mfd/Makefile 2007-02-14 16:30:15.000000000 +0100
@@ -6,7 +6,7 @@
obj-$(CONFIG_MCP_SA11X0) += mcp-sa11x0.o
obj-$(CONFIG_MCP_UCB1200) += ucb1x00-core.o
@@ -23,8 +23,8 @@ diff -uNr linux-2.6.20.vanilla/drivers/mfd/Makefile linux-2.6.20/drivers/mfd/Mak
endif
diff -uNr linux-2.6.20.vanilla/drivers/mfd/ucb1x00-switches.c linux-2.6.20/drivers/mfd/ucb1x00-switches.c
--- linux-2.6.20.vanilla/drivers/mfd/ucb1x00-switches.c 1970-01-01 01:00:00.000000000 +0100
-+++ linux-2.6.20/drivers/mfd/ucb1x00-switches.c 2007-02-09 19:30:34.000000000 +0100
-@@ -0,0 +1,200 @@
++++ linux-2.6.20/drivers/mfd/ucb1x00-switches.c 2007-02-14 16:32:57.000000000 +0100
+@@ -0,0 +1,204 @@
+/*
+ * linux/drivers/mfd/ucb1x00-switches.c
+ *
@@ -65,7 +65,6 @@ diff -uNr linux-2.6.20.vanilla/drivers/mfd/ucb1x00-switches.c linux-2.6.20/drive
+ struct input_dev *idev = switches->idev;
+ ucb1x00_enable(switches->ucb);
+
-+ //check if it really is a event this is not real neccessary because input dev checkes it itself a second.
+ this=~ucb1x00_io_read(switches->ucb);
+ if (this==last) {
+ return;
@@ -76,48 +75,57 @@ diff -uNr linux-2.6.20.vanilla/drivers/mfd/ucb1x00-switches.c linux-2.6.20/drive
+
+ case 0:
+
-+ if ((this & (1<<0)) != 0) input_report_key(idev, KEY_PROG1, 1);
-+ else input_report_key(idev, KEY_PROG1, 0);
++ if
++ ((this & (1<<0)) != 0) input_report_key(idev, KEY_PROG1, 1);
++ else
++ input_report_key(idev, KEY_PROG1, 0);
+ break;
+
+ case 1:
+
-+ if ((this & (1<<1)) != 0) input_report_key(idev, KEY_PROG2, 1);
-+ else input_report_key(idev, KEY_PROG2, 0);
++ if
++ ((this & (1<<1)) != 0) input_report_key(idev, KEY_PROG2, 1);
++ else
++ input_report_key(idev, KEY_PROG2, 0);
+ break;
+
+ case 2:
+
-+ if ((this & (1<<2)) != 0) input_report_key(idev, KEY_UP, 1);
-+ else input_report_key(idev, KEY_UP, 0);
++ if
++ ((this & (1<<2)) != 0) input_report_key(idev, KEY_UP, 1);
++ else
++ input_report_key(idev, KEY_UP, 0);
+ break;
+
+ case 3:
+
-+ if ((this & (1<<3)) != 0) input_report_key(idev, KEY_DOWN, 1);
-+ else input_report_key(idev, KEY_DOWN, 0);
++ if
++ ((this & (1<<3)) != 0) input_report_key(idev, KEY_DOWN, 1);
++ else
++ input_report_key(idev, KEY_DOWN, 0);
+ break;
+
+ case 4:
+
-+ if ((this & (1<<4)) != 0) input_report_key(idev, KEY_LEFT, 1);
-+ else input_report_key(idev, KEY_LEFT, 0);
++ if
++ ((this & (1<<4)) != 0) input_report_key(idev, KEY_LEFT, 1);
++ else
++ input_report_key(idev, KEY_LEFT, 0);
+ break;
+
+ case 5:
+
-+ if ((this & (1<<5)) != 0) input_report_key(idev, KEY_RIGHT, 1);
-+ else input_report_key(idev, KEY_RIGHT, 0);
++ if
++ ((this & (1<<5)) != 0) input_report_key(idev, KEY_RIGHT, 1);
++ else
++ input_report_key(idev, KEY_RIGHT, 0);
+ break;
+
+ default:
+
+ printk(KERN_DEBUG "switches-ucb1x00 is BUGGY!!! \n");
-+
-+ }
-+
-+ ucb1x00_disable_irq(switches->ucb, UCB_IRQ_TSPX, UCB_FALLING);
-+
++
++ }
+}
+
+static int ucb1x00_switches_add(struct ucb1x00_dev *dev)
@@ -129,7 +137,6 @@ diff -uNr linux-2.6.20.vanilla/drivers/mfd/ucb1x00-switches.c linux-2.6.20/drive
+ switches = kzalloc(sizeof(struct ucb1x00_switches), GFP_KERNEL);
+ idev = input_allocate_device();
+
-+
+ if (!switches || !idev) {
+ err = -ENOMEM;
+ goto fail;
@@ -137,7 +144,6 @@ diff -uNr linux-2.6.20.vanilla/drivers/mfd/ucb1x00-switches.c linux-2.6.20/drive
+
+ switches->ucb = dev->ucb;
+
-+
+ idev->private = switches;
+ idev->name = "SIMpad Switches";
+ idev->id.product = switches->ucb->id;
@@ -191,14 +197,12 @@ diff -uNr linux-2.6.20.vanilla/drivers/mfd/ucb1x00-switches.c linux-2.6.20/drive
+ input_unregister_device(switches->idev);
+
+ for (i = 5; i >= 0; --i) {
-+
+ ucb1x00_disable_irq(switches->ucb, i, UCB_RISING | UCB_FALLING);
+
+ /* Only error conditions are ENOENT and EINVAL; silently
+ * ignore:
+ */
+ ucb1x00_free_irq(switches->ucb, i, NULL);
-+
+ }
+ ucb1x00_disable(switches->ucb);
+ kfree(switches);
diff --git a/packages/linux/linux_2.6.20.bb b/packages/linux/linux_2.6.20.bb
index f4372186e6..893856a16a 100644
--- a/packages/linux/linux_2.6.20.bb
+++ b/packages/linux/linux_2.6.20.bb
@@ -1,6 +1,7 @@
DESCRIPTION = "Linux Kernel"
SECTION = "kernel"
LICENSE = "GPL"
+PR = "r2"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://defconfig"
@@ -16,7 +17,7 @@ SRC_URI_append_simpad = "\
inherit kernel
KERNEL_IMAGETYPE = "bzImage"
-KERNEL_IMAGETYPE_simpad = "bzImage"
+KERNEL_IMAGETYPE_simpad = "zImage"
do_configure_prepend() {
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
diff --git a/packages/madwifi/madwifi-ng_r.inc b/packages/madwifi/madwifi-ng_r.inc
index bbd6215539..2124bfe6c1 100644
--- a/packages/madwifi/madwifi-ng_r.inc
+++ b/packages/madwifi/madwifi-ng_r.inc
@@ -4,17 +4,16 @@ PRIORITY = "optional"
LICENSE = "GPL"
RDEPENDS = "kernel (${KERNEL_VERSION})"
DEPENDS = "virtual/kernel"
-PR="r1"
+PR="r3"
+
+WACKELF_SRC_URI = ""
+WACKELF_SRC_URI_ixp4xx = " file://20-xscale-VFP-wackelf.patch;patch=1"
SRC_URI = "http://snapshots.madwifi.org/${PN}/${PN}-${PV}.tar.gz \
file://10-xscale-be-elf-copts.patch;patch=1 \
file://10-xscale-le-elf-copts.patch;patch=1 \
- file://10-sh4-le-elf-copts.patch;patch=1"
-
-SRC_URI_slugos = "http://snapshots.madwifi.org/${PN}/${PN}-${PV}.tar.gz \
- file://slugos-xscale-be-elf-copts.patch;patch=1 \
- file://slugos-xscale-le-elf-copts.patch;patch=1 \
- file://slugos-VFP-wackelf.patch;patch=1"
+ file://10-sh4-le-elf-copts.patch;patch=1 \
+ ${WACKELF_SRC_URI}"
S = "${WORKDIR}/${PN}-${PV}"
diff --git a/packages/openmoko-base/files/session b/packages/openmoko-base/files/session
index e6aeaa6c9d..41bb8a2439 100644
--- a/packages/openmoko-base/files/session
+++ b/packages/openmoko-base/files/session
@@ -2,16 +2,17 @@
SHOWCURSOR="no"
-rxvt &
-sleep 2
-
-matchbox-desktop --icon-size 100 \
+matchbox-desktop --icon-size 96 \
--icon-padding 60 \
--font sans-16 \
--titlefont sans-20:bold \
--bg img-tiled:/usr/share/themes/openmoko-standard/gtk-2.0/mokopanedwindow-upper-enclosing.png &
# --bg col-gradient-vertical:#000000,#aaaaaa &
-matchbox-panel --orientation north -b /usr/share/openmoko/pixmaps/openmoko-header-background.png &
-matchbox-panel --orientation south -b /usr/share/openmoko/pixmaps/openmoko-footer-background.png -ns -nm --id 2 &
+matchbox-panel --start-applets=showdesktop,systray,windowselector --end-applets=openmoko-panel-demo-simple,openmoko-panel-battery,openmoko-panel-clock &
+
+#start some old-style panel plugins to get a keyboard and battery status
+mbinputmgr &
+
+openmoko-footer &
exec matchbox-window-manager -use_titlebar no -use_cursor $SHOWCURSOR $@
diff --git a/packages/openmoko-base/openmoko-session_svn.bb b/packages/openmoko-base/openmoko-session_svn.bb
index 6cf588d9dc..00e4ec6117 100644
--- a/packages/openmoko-base/openmoko-session_svn.bb
+++ b/packages/openmoko-base/openmoko-session_svn.bb
@@ -1,22 +1,22 @@
DESCRIPTION = "Matchbox session files for OpenMoko"
SECTION = "openmoko/base"
-RDEPENDS = "matchbox matchbox-applet-startup-monitor gtk-theme-clearlooks"
+RDEPENDS = "matchbox gconf matchbox-applet-startup-monitor gtk-theme-clearlooks"
PV = "0.0+svn${SRCDATE}"
-PR = "r1"
+PR = "r5"
inherit openmoko-base
-SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE};module=etc;proto=https \
+SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE};module=etc;proto=http \
file://session"
S = "${WORKDIR}"
do_install() {
- cp -R ${S}/etc ${D}/etc
- rm -fR ${D}/etc/.svn
- rm -fR ${D}/etc/matchbox/.svn
- chmod -R 755 ${D}/etc
+ cp -R ${S}/etc ${D}/${sysconfdir}
+ rm -fR ${D}/${sysconfdir}/.svn
+ rm -fR ${D}/${sysconfdir}/matchbox/.svn
+ chmod -R 755 ${D}/${sysconfdir}
# DEMO only!
- install -m 0755 ${WORKDIR}/session ${D}/etc/matchbox/session
+ install -m 0755 ${WORKDIR}/session ${D}/${sysconfdir}/matchbox/session
}
pkg_postinst_openmoko-session () {
diff --git a/packages/openmoko-examples/openmoko-panel-demo-simple_svn.bb b/packages/openmoko-examples/openmoko-panel-demo-simple_svn.bb
index 40d0f1aa8e..9f80fbf7dc 100644
--- a/packages/openmoko-examples/openmoko-panel-demo-simple_svn.bb
+++ b/packages/openmoko-examples/openmoko-panel-demo-simple_svn.bb
@@ -3,9 +3,17 @@ SECTION = "openmoko/examples"
DEPENDS += "libmatchbox"
PV = "0.0.1+svn${SRCDATE}"
+PR = "r1"
+
inherit openmoko
do_configure_prepend() {
sed -i -e s:-Werror::g src/Makefile.am
}
+
+FILES_${PN} += "${libdir}/matchbox-panel/*.so.*"
+FILES_${PN}-dev += "${libdir}/matchbox-panel/*.so \
+ ${libdir}/matchbox-panel/*.la"
+FILES_${PN}-dbg += "${libdir}/matchbox-panel/.debug"
+
diff --git a/packages/openmoko-examples/openmoko-panel-demo_svn.bb b/packages/openmoko-examples/openmoko-panel-demo_svn.bb
index ea40dd608d..6121bcccbc 100644
--- a/packages/openmoko-examples/openmoko-panel-demo_svn.bb
+++ b/packages/openmoko-examples/openmoko-panel-demo_svn.bb
@@ -5,3 +5,5 @@ PV = "0.0.1+svn${SRCDATE}"
inherit openmoko
+PARALLEL_MAKE = ""
+
diff --git a/packages/opie-handwriting/opie-handwriting.inc b/packages/opie-handwriting/opie-handwriting.inc
index caecc65d58..86b9ab51c6 100644
--- a/packages/opie-handwriting/opie-handwriting.inc
+++ b/packages/opie-handwriting/opie-handwriting.inc
@@ -3,6 +3,7 @@ SECTION = "opie/inputmethods"
PRIORITY = "optional"
LICENSE = "GPL"
APPNAME = "qhandwriting"
+PR = "r1"
S = "${WORKDIR}/handwriting"
@@ -35,9 +36,9 @@ do_install() {
done
}
-PACKAGES = " opie-handwriting-classicset opie-handwriting-graffitiset opie-handwriting "
+PACKAGES += " opie-handwriting-classicset opie-handwriting-graffitiset "
-FILES_opie-handwriting = "${palmtopdir}/plugins/inputmethods/libqhandwriting.so*"
+FILES_${PN} = "${palmtopdir}/plugins/inputmethods/libqhandwriting.so*"
FILES_opie-handwriting-classicset = "${palmtopdir}/etc/qimpen/default.conf \
${palmtopdir}/etc/qimpen/combining.qpt \
${palmtopdir}/etc/qimpen/asciilower.qpt \
diff --git a/packages/tasks/task-openmoko.bb b/packages/tasks/task-openmoko.bb
index 57a0d045c1..1d748f1235 100644
--- a/packages/tasks/task-openmoko.bb
+++ b/packages/tasks/task-openmoko.bb
@@ -5,7 +5,7 @@ PACKAGE_ARCH = "all"
LICENSE = "MIT"
PROVIDES = "task-openmoko-everything"
-PR = "r27"
+PR = "r28"
PACKAGES = "\
task-openmoko-linux \
@@ -80,7 +80,7 @@ RDEPENDS_task-openmoko-ui = "\
gtk+ \
matchbox-common \
matchbox-wm \
- matchbox-panel \
+ matchbox-panel-2 \
xserver-kdrive-fbdev \
xserver-kdrive-common \
xserver-nodm-init \
@@ -101,7 +101,7 @@ RDEPENDS_task-openmoko-ui = "\
DESCRIPTION_task-openmoko-base = "OpenMoko: Main-Menu Launcher, Top Panel, and Footer"
RDEPENDS_task-openmoko-base = "\
openmoko-mainmenu \
- matchbox-panel \
+ matchbox-panel-2 \
openmoko-footer \
openmoko-taskmanager \
openmoko-panel-mainmenu \
diff --git a/packages/tslib/tslib_1.0.bb b/packages/tslib/tslib_1.0.bb
index 4ba53f0631..d6368b0fcf 100644
--- a/packages/tslib/tslib_1.0.bb
+++ b/packages/tslib/tslib_1.0.bb
@@ -4,7 +4,7 @@ AUTHOR = "Russell King w/ plugins by Chris Larson et. al."
SECTION = "base"
LICENSE = "LGPL"
-PR = "r8"
+PR = "r9"
SRC_URI = "http://download.berlios.de/tslib/tslib-1.0.tar.bz2 \
file://tslib-input_raw-grab_events.patch;patch=1 \
diff --git a/site/sparc-linux b/site/sparc-linux
index 49abe7c389..616510a38b 100644
--- a/site/sparc-linux
+++ b/site/sparc-linux
@@ -22,6 +22,13 @@ ac_cv_sizeof_unsigned_long=${ac_cv_sizeof_unsigned_long=4}
ac_cv_sizeof_unsigned_long_long=${ac_cv_sizeof_unsigned_long_long=8}
ac_cv_sizeof_signed_char=${ac_cv_sizeof_signed_char=1}
+ac_cv_sizeof_long_double=${ac_cv_sizeof_long_double=8}
+libc_cv_mlong_double_128ibm=${libc_cv_mlong_double_128ibm=yes}
+libc_cv_mlong_double_128=${libc_cv_mlong_double_128=yes}
+ac_cv_alignof_CORBA_long_double=4
+ac_cv_c_long_double=${ac_cv_c_long_double=yes}
+
+
ac_cv_sys_restartable_syscalls=yes
ac_cv_uchar=${ac_cv_uchar=no}
ac_cv_uint=${ac_cv_uint=yes}