summaryrefslogtreecommitdiff
path: root/recipes/maemo
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/maemo')
-rw-r--r--recipes/maemo/audiofile_0.2.6-3osso4.bb26
-rw-r--r--recipes/maemo/hildon-control-panel/config-path.patch14
-rw-r--r--recipes/maemo/hildon-control-panel/noWerror.patch11
-rw-r--r--recipes/maemo/hildon-control-panel_0.9.1-1.2.bb19
-rw-r--r--recipes/maemo/hildon-status-bar/source.patch11
-rw-r--r--recipes/maemo/hildon-status-bar_0.8.11-1.bb12
-rw-r--r--recipes/maemo/lessertunjo_0.0.10.bb22
-rw-r--r--recipes/maemo/libosso-help/help-header-pp.patch18
-rw-r--r--recipes/maemo/libosso-help/no-Werror.patch33
-rw-r--r--recipes/maemo/libosso-help_1.0.01.bb21
-rw-r--r--recipes/maemo/libosso_0.8.9.bb15
-rw-r--r--recipes/maemo/nokia770-init/fixup-770.sh25
-rw-r--r--recipes/maemo/nokia770-init_1.0.bb43
-rw-r--r--recipes/maemo/osso-af-settings_0.8.5.bb6
-rw-r--r--recipes/maemo/osso-af-startup/launch-no-o.patch9
-rw-r--r--recipes/maemo/osso-af-startup/osso-af-startup-source.patch229
-rw-r--r--recipes/maemo/osso-af-startup_0.28-1.bb45
-rw-r--r--recipes/maemo/osso-af-utils_0.4.bb7
-rw-r--r--recipes/maemo/osso-app-killer_0.4-3.bb13
-rw-r--r--recipes/maemo/osso-application-installer/fix-buildsystem.patch65
-rw-r--r--recipes/maemo/osso-application-installer_1.0.03-1.bb19
-rw-r--r--recipes/maemo/osso-bttools_0.25.1.bb9
-rw-r--r--recipes/maemo/osso-core-config_200515.1.bb42
-rw-r--r--recipes/maemo/osso-dsp-headers_0.1.bb20
-rw-r--r--recipes/maemo/osso-esd/qa-silence.patch13
-rw-r--r--recipes/maemo/osso-esd_0.5.bb17
-rw-r--r--recipes/maemo/osso-gwconnect/osso-gwconnect-stdio.patch10
-rw-r--r--recipes/maemo/osso-gwconnect_0.70.1.bb18
-rw-r--r--recipes/maemo/osso-gwobex_0.26.1.bb17
-rw-r--r--recipes/maemo/osso-sounds_0.3-1.bb30
-rw-r--r--recipes/maemo/sdk-default-icons_0.2-1.bb19
-rw-r--r--recipes/maemo/sdk-default-theme-config_1.0-1.bb20
-rw-r--r--recipes/maemo/sdk-default-theme_0.1-1.bb19
-rw-r--r--recipes/maemo/tscalib/makefile.patch24
-rw-r--r--recipes/maemo/tscalib_0.0.1-3.bb18
-rw-r--r--recipes/maemo/xpext/auxdir.patch13
-rw-r--r--recipes/maemo/xpext_1.0-5.bb22
-rw-r--r--recipes/maemo/xsp/xsp-fix-pc.patch10
-rw-r--r--recipes/maemo/xsp_1.0.0-8.bb16
39 files changed, 1000 insertions, 0 deletions
diff --git a/recipes/maemo/audiofile_0.2.6-3osso4.bb b/recipes/maemo/audiofile_0.2.6-3osso4.bb
new file mode 100644
index 0000000000..7b9e0c1cbe
--- /dev/null
+++ b/recipes/maemo/audiofile_0.2.6-3osso4.bb
@@ -0,0 +1,26 @@
+DEFAULT_PREFERENCE = "-1"
+PR = "r0"
+SECTION = "libs"
+LICENSE = "LGPL GPL"
+DESCRIPTION = "The Audio File Library provides a uniform and elegant \
+API for accessing a variety of audio file formats, such as AIFF/AIFF-C, \
+WAVE, NeXT/Sun .snd/.au, Berkeley/IRCAM/CARL Sound File, Audio Visual \
+Research, Amiga IFF/8SVX, and NIST SPHERE."
+
+PACKAGES += "${PN}-bin"
+FILES_${PN} = "${libdir}/libaudiofile*.so.*"
+FILES_${PN}-dev += "${bindir}/*-config"
+FILES_${PN}-bin += "${bindir}"
+RPROVIDES_${PN} += "audiofile"
+
+SRC_URI = "http://stage.maemo.org/pool/maemo/ossw/source/a/${PN}/${PN}_${PV}.tar.gz"
+
+S = "${WORKDIR}/${PN}-0.2.6"
+
+inherit autotools pkgconfig binconfig
+
+do_stage () {
+ install -m 0644 libaudiofile/audiofile.h libaudiofile/aupvlist.h libaudiofile/af_vfs.h ${STAGING_INCDIR}/
+ oe_libinstall -C libaudiofile libaudiofile ${STAGING_LIBDIR}
+ install -m 0644 audiofile.m4 ${STAGING_DATADIR}/aclocal/
+}
diff --git a/recipes/maemo/hildon-control-panel/config-path.patch b/recipes/maemo/hildon-control-panel/config-path.patch
new file mode 100644
index 0000000000..ccee27d9ce
--- /dev/null
+++ b/recipes/maemo/hildon-control-panel/config-path.patch
@@ -0,0 +1,14 @@
+--- configure.ac.old 2005-06-09 18:11:18.000000000 +0200
++++ configure.ac 2005-06-09 18:22:01.000000000 +0200
+@@ -53,9 +53,9 @@
+ AC_SUBST(HILDONBASELIB_CFLAGS)
+
+ PKG_CHECK_MODULES(OSSOSETTINGS, osso-af-settings >= 0.8.1)
+-localedir=`pkg-config osso-af-settings --variable=localedir`
++localedir="${prefix}/share/locale"
+ AC_SUBST(localedir)
+-hildondesktopentrydir=`pkg-config osso-af-settings --variable=desktopentrydir`
++hildondesktopentrydir="${prefix}/share/applications/hildon"
+ AC_SUBST(hildondesktopentrydir)
+
+ PKG_CHECK_MODULES(LIBOSSOHELP, libossohelp >= 0.0.4)
diff --git a/recipes/maemo/hildon-control-panel/noWerror.patch b/recipes/maemo/hildon-control-panel/noWerror.patch
new file mode 100644
index 0000000000..4cbb744fd4
--- /dev/null
+++ b/recipes/maemo/hildon-control-panel/noWerror.patch
@@ -0,0 +1,11 @@
+--- configure.ac~ 2005-07-03 18:54:13.000000000 +0200
++++ configure.ac 2005-07-03 18:54:13.000000000 +0200
+@@ -33,7 +33,7 @@
+ # D-BUS headers do not compile with -pedantic. Once they are fixed,
+ #return the flag
+ #CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wmissing-prototypes -Wmissing-declarations -Werror"
+-CFLAGS="$CFLAGS -Wall -ansi -Wmissing-prototypes -Wmissing-declarations -Werror -lcrypt"
++CFLAGS="$CFLAGS -Wall -ansi -Wmissing-prototypes -Wmissing-declarations -lcrypt"
+ AC_SUBST(CFLAGS)
+
+ PKG_CHECK_MODULES(OSSO,libosso >= 0.0.3)
diff --git a/recipes/maemo/hildon-control-panel_0.9.1-1.2.bb b/recipes/maemo/hildon-control-panel_0.9.1-1.2.bb
new file mode 100644
index 0000000000..a50a0b18f5
--- /dev/null
+++ b/recipes/maemo/hildon-control-panel_0.9.1-1.2.bb
@@ -0,0 +1,19 @@
+PR = "r2"
+LICENSE = "GPL"
+
+DEPENDS = "hildon-lgpl hildon-base-lib osso-af-settings libosso hildon-libs osso-af-settings libosso-help"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/h/${PN}/${PN}_${PV}.tar.gz \
+ file://config-path.patch;patch=1;pnum=0 \
+ file://noWerror.patch;patch=1;pnum=0"
+
+S = "${WORKDIR}/hildon-control-panel-0.9.1"
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${libdir}/dbus-1.0 ${datadir}/applications"
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/hildon-cp-plugin
+ install -m 644 *.h ${STAGING_INCDIR}/hildon-cp-plugin
+} \ No newline at end of file
diff --git a/recipes/maemo/hildon-status-bar/source.patch b/recipes/maemo/hildon-status-bar/source.patch
new file mode 100644
index 0000000000..dd5e82b710
--- /dev/null
+++ b/recipes/maemo/hildon-status-bar/source.patch
@@ -0,0 +1,11 @@
+--- status-bar-launch.sh.old 2005-06-14 17:12:10.000000000 +0200
++++ status-bar-launch.sh 2005-06-14 17:12:15.000000000 +0200
+@@ -21,7 +21,7 @@
+ # 02110-1301 USA
+ #
+
+-source af.conf
++. af.conf
+
+ if [ "$1" != "start" ] && [ "$1" != "stop" ] && [ "$1" != "restart" ]; then
+ echo "Usage: $0 {start|stop|restart}"
diff --git a/recipes/maemo/hildon-status-bar_0.8.11-1.bb b/recipes/maemo/hildon-status-bar_0.8.11-1.bb
new file mode 100644
index 0000000000..ea8f21349d
--- /dev/null
+++ b/recipes/maemo/hildon-status-bar_0.8.11-1.bb
@@ -0,0 +1,12 @@
+PR = "r1"
+LICENSE = "GPL"
+
+DEPENDS = "hildon-lgpl libosso hildon-libs"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/h/${PN}/${PN}_${PV}.tar.gz \
+ file://source.patch;patch=1;pnum=0"
+
+S = "${WORKDIR}/hildon-status-bar-0.8.11"
+
+inherit autotools pkgconfig
+
diff --git a/recipes/maemo/lessertunjo_0.0.10.bb b/recipes/maemo/lessertunjo_0.0.10.bb
new file mode 100644
index 0000000000..e084d1e050
--- /dev/null
+++ b/recipes/maemo/lessertunjo_0.0.10.bb
@@ -0,0 +1,22 @@
+LICENSE = "LGPL"
+
+DEPENDS = "gconf-osso hildon-libs dbus libosso"
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/l/lessertunjo/lessertunjo_${PV}-3.tar.gz"
+
+inherit pkgconfig
+
+S = "${WORKDIR}/lessertunjo"
+LDFLAGS += " -losso -L${STAGING_LIBDIR} -I${STAGING_INCDIR} -I${STAGING_LIBDIR}/dbus-1.0/include -I${STAGING_INCDIR}/dbus-1.0 -I${STAGING_INCDIR}/glib-2.0 -I${STAGING_INCDIR}/gconf/2"
+
+
+do_install() {
+ install -d ${D}${libdir}
+ install -m 755 *so.0.0.10 ${D}${libdir}
+}
+
+do_stage() {
+ oe_libinstall -so libshadowapp libshadowappd ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}
+ install -m 644 *.h ${STAGING_INCDIR}
+
+}
diff --git a/recipes/maemo/libosso-help/help-header-pp.patch b/recipes/maemo/libosso-help/help-header-pp.patch
new file mode 100644
index 0000000000..d0769911d2
--- /dev/null
+++ b/recipes/maemo/libosso-help/help-header-pp.patch
@@ -0,0 +1,18 @@
+--- helplib/osso-helplib.h.old 2005-06-09 17:47:50.000000000 +0200
++++ helplib/osso-helplib.h 2005-06-09 17:48:03.000000000 +0200
+@@ -76,7 +76,7 @@
+ const gchar *help_id,
+ guint flags );
+
+-// Helper macros (deprecated)
++/* Helper macros (deprecated) */
+ #define ossohelp_dialog( osso, help_id ) \
+ ossohelp_show( (osso), (help_id), OSSO_HELP_SHOW_DIALOG )
+ #define ossohelp_exists( help_id ) \
+@@ -86,5 +86,5 @@
+ }
+ #endif
+
+-#endif // OSSO_HELPLIB_H
++#endif /* OSSO_HELPLIB_H */
+
diff --git a/recipes/maemo/libosso-help/no-Werror.patch b/recipes/maemo/libosso-help/no-Werror.patch
new file mode 100644
index 0000000000..b50d50fc51
--- /dev/null
+++ b/recipes/maemo/libosso-help/no-Werror.patch
@@ -0,0 +1,33 @@
+--- configure.ac.old 2005-06-09 17:27:01.000000000 +0200
++++ configure.ac 2005-06-09 17:27:20.000000000 +0200
+@@ -29,7 +29,7 @@
+ # Set compilation flags
+
+ CFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wmissing-declarations \
+- -pedantic-errors -Wcast-align -std=c99 -Werror"
++ -Wcast-align -std=c99"
+
+ # So says the Coding Spec (doesn't -Wall cover these..?!?)
+ CFLAGS+="-Wunreachable-code -Wcast-align"
+--- helplib/Makefile.am.old 2005-06-09 17:33:08.000000000 +0200
++++ helplib/Makefile.am 2005-06-09 17:33:47.000000000 +0200
+@@ -21,7 +21,7 @@
+
+ # Disable this only if system libs give warnings:
+ #
+-libossohelp_la_CFLAGS+=-pedantic-errors -Werror
++#libossohelp_la_CFLAGS+=-pedantic-errors
+
+ libossohelp_la_includedir = $(includedir)
+ libossohelp_la_include_HEADERS = osso-helplib.h
+--- helptest/Makefile.am.old 2005-06-09 17:34:44.000000000 +0200
++++ helptest/Makefile.am 2005-06-09 17:34:55.000000000 +0200
+@@ -23,7 +23,7 @@
+
+ # Disable this only if system libs give warnings:
+ #
+-helptest_CFLAGS+=-pedantic-errors -Werror
++#helptest_CFLAGS+=-pedantic-errors
+
+ helptest_SOURCES = \
+ helptest.c
diff --git a/recipes/maemo/libosso-help_1.0.01.bb b/recipes/maemo/libosso-help_1.0.01.bb
new file mode 100644
index 0000000000..867cc66b7d
--- /dev/null
+++ b/recipes/maemo/libosso-help_1.0.01.bb
@@ -0,0 +1,21 @@
+LICENSE = "LGPL"
+PR = "r0"
+
+DEPENDS = "libosso hildon-lgpl hildon-base-lib hildon-libs"
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/libo/${PN}/libosso-help_${PV}.tar.gz \
+ file://no-Werror.patch;patch=1;pnum=0 \
+ file://help-header-pp.patch;patch=1;pnum=0"
+
+inherit pkgconfig autotools
+
+S = "${WORKDIR}/libosso-help-sdk-${PV}"
+
+#FILES_${PN} += "${libdir}/dbus-1.0/services/ ${libdir}/outo/*.so ${libdir}/outo/*bin ${libdir}/outo/mimedummy.doc"
+
+do_stage() {
+ install -d ${STAGING_INCDIR}
+ install -m 644 helplib/*.h ${STAGING_INCDIR}
+ install -m644 helplib/.libs/libossohelp.so ${STAGING_LIBDIR}
+ install -m644 helplib/.libs/libossohelp.so.0 ${STAGING_LIBDIR}
+ install -m644 helplib/.libs/libossohelp.so.0.0.0 ${STAGING_LIBDIR}
+}
diff --git a/recipes/maemo/libosso_0.8.9.bb b/recipes/maemo/libosso_0.8.9.bb
new file mode 100644
index 0000000000..90767d78d1
--- /dev/null
+++ b/recipes/maemo/libosso_0.8.9.bb
@@ -0,0 +1,15 @@
+LICENSE = "LGPL"
+PR = "r2"
+
+DEPENDS = "glib-2.0 dbus outo"
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/libo/libosso/libosso_${PV}-1.tar.gz"
+
+inherit pkgconfig autotools
+
+FILES_${PN} += "${libdir}/dbus-1.0/services/ ${libdir}/outo/*.so ${libdir}/outo/*bin ${libdir}/outo/mimedummy.doc"
+
+do_stage() {
+ install -d ${STAGING_INCDIR}
+ install -m 644 src/*.h ${STAGING_INCDIR}
+ install -m644 src/.libs/libosso.so ${STAGING_LIBDIR}
+}
diff --git a/recipes/maemo/nokia770-init/fixup-770.sh b/recipes/maemo/nokia770-init/fixup-770.sh
new file mode 100644
index 0000000000..b65fb131e3
--- /dev/null
+++ b/recipes/maemo/nokia770-init/fixup-770.sh
@@ -0,0 +1,25 @@
+#! /bin/sh
+case "$1" in
+ start)
+ echo -n "Unmounting virtual fs from initrd"
+ umount /mnt/initfs/sys
+ umount /mnt/initfs/proc
+ ln -s /dev/vc/0 /dev/tty0
+ ln -s /dev/vc/1 /dev/tty1
+ ln -s /dev/vc/2 /dev/tty2
+ ln -s /dev/vc/3 /dev/tty3
+ ln -s /dev/vc/4 /dev/tty4
+ ln -s /dev/vc/5 /dev/tty5
+ ln -s /dev/vc/6 /dev/tty6
+ ln -s /dev/vc/7 /dev/tty7
+ ;;
+ stop)
+ ;;
+ *)
+ echo "Usage: $SCRIPTNAME {start|stop}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0
+ \ No newline at end of file
diff --git a/recipes/maemo/nokia770-init_1.0.bb b/recipes/maemo/nokia770-init_1.0.bb
new file mode 100644
index 0000000000..0079940945
--- /dev/null
+++ b/recipes/maemo/nokia770-init_1.0.bb
@@ -0,0 +1,43 @@
+LICENSE = "GPL"
+PR = "r6"
+
+DEPENDS = "base-passwd"
+
+SRC_URI = "file://fixup-770.sh"
+
+COMPATIBLE_MACHINE = "(nokia770|nokia800)"
+
+inherit update-rc.d
+
+INITSCRIPT_NAME = "fixup-770.sh"
+INITSCRIPT_PARAMS = "defaults 01"
+
+FILES_${PN} = "${sysconfdir} ${libdir}"
+
+do_install () {
+ install -d ${D}${sysconfdir}/init.d
+ install -m 755 ${WORKDIR}/fixup-770.sh ${D}/${sysconfdir}/init.d/fixup-770.sh
+
+ install -d ${D}/lib/firmware
+}
+
+pkg_postinst () {
+#!/bin/sh
+
+# can't do adduser stuff offline
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+
+# set up some links to firmware and modules in initrd
+ mkdir -p /lib/firmware
+ ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3825.arm /lib/firmware/3825.arm
+ ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3826.arm /lib/firmware/3826.arm
+ ln -sf /mnt/initfs/usr/lib/hotplug/firmware/bc4fw.bin /lib/firmware/bc4fw.bin
+ ln -sf /mnt/initfs/usr/lib/hotplug/firmware/brf6150fw.bin /lib/firmware/brf6150fw.bin
+ ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3825.arm /lib/firmware/mtlm3825.arm
+ ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3826.arm /lib/firmware/mtlm3826.arm
+
+# rm -rf /lib/modules
+# ln -s /mnt/initfs/lib/modules /lib/modules
+}
diff --git a/recipes/maemo/osso-af-settings_0.8.5.bb b/recipes/maemo/osso-af-settings_0.8.5.bb
new file mode 100644
index 0000000000..e7da65b6ed
--- /dev/null
+++ b/recipes/maemo/osso-af-settings_0.8.5.bb
@@ -0,0 +1,6 @@
+LICENSE = "LGPL"
+
+DEPENDS = ""
+SRC_URI = "http://stage.maemo.org:80/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}-1.tar.gz"
+
+inherit autotools pkgconfig
diff --git a/recipes/maemo/osso-af-startup/launch-no-o.patch b/recipes/maemo/osso-af-startup/launch-no-o.patch
new file mode 100644
index 0000000000..1c90bb93b9
--- /dev/null
+++ b/recipes/maemo/osso-af-startup/launch-no-o.patch
@@ -0,0 +1,9 @@
+--- services/launch-wrapper.sh.old 2005-06-15 12:46:19.000000000 +0200
++++ services/launch-wrapper.sh 2005-06-15 12:46:32.000000000 +0200
+@@ -38,5 +38,5 @@
+
+ if [ $START = TRUE ]; then
+ echo "Starting $SVC"
+- /sbin/start-stop-daemon --start -x $CMD -p $PIDFILE -o -m -q -- $PARAMS &
++ /sbin/start-stop-daemon --start -x $CMD -p $PIDFILE -m -q -- $PARAMS &
+ fi
diff --git a/recipes/maemo/osso-af-startup/osso-af-startup-source.patch b/recipes/maemo/osso-af-startup/osso-af-startup-source.patch
new file mode 100644
index 0000000000..e96e624818
--- /dev/null
+++ b/recipes/maemo/osso-af-startup/osso-af-startup-source.patch
@@ -0,0 +1,229 @@
+diff -ur services.orig/af-defines.sh services/af-defines.sh
+--- services.orig/af-defines.sh 2005-06-14 16:25:27.000000000 +0200
++++ services/af-defines.sh 2005-06-14 16:32:54.000000000 +0200
+@@ -29,7 +29,7 @@
+ fi
+
+ # no existence check because user does not have rights to delete the file
+-source /etc/osso-af-init/locale
++. /etc/osso-af-init/locale
+
+ # The MyDocs directory
+ export MYDOCSDIR=$HOME/MyDocs
+diff -ur services.orig/dbus-sessionbus.sh services/dbus-sessionbus.sh
+--- services.orig/dbus-sessionbus.sh 2005-06-14 16:25:27.000000000 +0200
++++ services/dbus-sessionbus.sh 2005-06-14 16:32:54.000000000 +0200
+@@ -19,8 +19,8 @@
+ esac
+
+ if [ $START = TRUE ]; then
+- source $LAUNCHWRAPPER_NICE start "$SVC" $PROG --session
++ . $LAUNCHWRAPPER_NICE start "$SVC" $PROG --session
+ else
+ # giving parameter also here so that dsmetool works...
+- source $LAUNCHWRAPPER_NICE stop "$SVC" $PROG --session
++ . $LAUNCHWRAPPER_NICE stop "$SVC" $PROG --session
+ fi
+Only in services: fixsource.sh~
+diff -ur services.orig/real-af-base-apps services/real-af-base-apps
+--- services.orig/real-af-base-apps 2005-06-14 16:25:27.000000000 +0200
++++ services/real-af-base-apps 2005-06-14 16:32:54.000000000 +0200
+@@ -7,7 +7,7 @@
+ DIR=/etc/osso-af-init
+
+ AF_DEFS=$DIR/af-defines.sh
+-source $AF_DEFS || exit 2
++. $AF_DEFS || exit 2
+
+ case "$1" in
+ start) START=TRUE
+@@ -29,43 +29,43 @@
+
+
+ if [ $START = TRUE ]; then
+- source $DIR/osso-gtk.defs
++ . $DIR/osso-gtk.defs
+
+ if [ -f $DIR/tasknav.defs ]; then
+- source $DIR/tasknav.defs
++ . $DIR/tasknav.defs
+ fi
+- source $DIR/tasknav.sh start
++ . $DIR/tasknav.sh start
+
+ # first evil sleep hack in attempt to boost Task Navigator startup
+ # (this should also reduce context switches)
+ sleep 5
+
+ if [ -f $DIR/home.defs ]; then
+- source $DIR/home.defs
++ . $DIR/home.defs
+ fi
+- source $DIR/home.sh start
++ . $DIR/home.sh start
+
+ # second evil sleep hack in attempt to boost Home startup
+ sleep 5
+
+ if [ -f $DIR/statusbar.defs ]; then
+- source $DIR/statusbar.defs
++ . $DIR/statusbar.defs
+ fi
+- source $DIR/statusbar.sh start
++ . $DIR/statusbar.sh start
+
+ if [ -f $DIR/ke-recv.sh ]; then
+- source $DIR/ke-recv.sh start
++ . $DIR/ke-recv.sh start
+ fi
+
+ if [ -f $DIR/keyboard.defs ]; then
+- source $DIR/keyboard.defs
++ . $DIR/keyboard.defs
+ fi
+- source $DIR/keyboard.sh start
++ . $DIR/keyboard.sh start
+
+ # LD_PRELOAD script (only for media-server)
+ LDPRELOADSCRIPT=/usr/bin/connectivity_preload.sh
+ if [ -f $LDPRELOADSCRIPT ]; then
+- source $LDPRELOADSCRIPT
++ . $LDPRELOADSCRIPT
+ fi
+ if [ -x $DIR/osso-media-server.sh ]; then
+ $DIR/osso-media-server.sh start
+@@ -73,17 +73,17 @@
+ unset LD_PRELOAD
+
+ if [ -x /usr/bin/clipboard-manager ]; then
+- source $LAUNCHWRAPPER start clipboard-manager /usr/bin/clipboard-manager
++ . $LAUNCHWRAPPER start clipboard-manager /usr/bin/clipboard-manager
+ fi
+ else
+ if [ -x /usr/bin/clipboard-manager ]; then
+- source $LAUNCHWRAPPER stop clipboard-manager /usr/bin/clipboard-manager
++ . $LAUNCHWRAPPER stop clipboard-manager /usr/bin/clipboard-manager
+ fi
+- source $DIR/keyboard.sh stop
++ . $DIR/keyboard.sh stop
+ if [ -f $DIR/ke-recv.sh ]; then
+- source $DIR/ke-recv.sh stop
++ . $DIR/ke-recv.sh stop
+ fi
+- source $DIR/statusbar.sh stop
+- source $DIR/home.sh stop
+- source $DIR/tasknav.sh stop
++ . $DIR/statusbar.sh stop
++ . $DIR/home.sh stop
++ . $DIR/tasknav.sh stop
+ fi
+diff -ur services.orig/real-af-services services/real-af-services
+--- services.orig/real-af-services 2005-06-14 16:25:27.000000000 +0200
++++ services/real-af-services 2005-06-14 16:32:54.000000000 +0200
+@@ -7,7 +7,7 @@
+ DIR=/etc/osso-af-init
+
+ AF_DEFS=$DIR/af-defines.sh
+-source $AF_DEFS || exit 2
++. $AF_DEFS || exit 2
+
+ case "$1" in
+ start) START=TRUE
+@@ -30,21 +30,21 @@
+
+ if [ $START = TRUE ]; then
+ # GConf daemon (probably started already by D-BUS)
+- source $DIR/gconf-daemon.sh start
++ . $DIR/gconf-daemon.sh start
+
+ # Must be before D-BUS session bus is started!
+- source $DIR/osso-gtk.defs
++ . $DIR/osso-gtk.defs
+
+ # opera needs some definitions
+ if [ -f $DIR/browser.defs ]; then
+- source $DIR/browser.defs
++ . $DIR/browser.defs
+ fi
+ # LD_PRELOAD script (only for the session bus environment)
+ LDPRELOADSCRIPT=/usr/bin/connectivity_preload.sh
+ if [ -f $LDPRELOADSCRIPT ]; then
+- source $LDPRELOADSCRIPT
++ . $LDPRELOADSCRIPT
+ fi
+- source $DIR/dbus-sessionbus.sh start
++ . $DIR/dbus-sessionbus.sh start
+ unset LD_PRELOAD
+
+ # Wait until X is ready
+@@ -58,12 +58,12 @@
+ INC=`expr $INC + 1`
+ done
+
+- source $DIR/sapwood-server.sh start
++ . $DIR/sapwood-server.sh start
+
+ if [ -f $DIR/matchbox.defs ]; then
+- source $DIR/matchbox.defs
++ . $DIR/matchbox.defs
+ fi
+- source $DIR/matchbox.sh start
++ . $DIR/matchbox.sh start
+
+ # wait until system D-BUS is ready (some stuff started by init
+ # after us assume it is running)
+@@ -79,7 +79,7 @@
+ # LD_PRELOAD script (only for media-server)
+ LDPRELOADSCRIPT=/usr/bin/connectivity_preload.sh
+ if [ -f $LDPRELOADSCRIPT ]; then
+- source $LDPRELOADSCRIPT
++ . $LDPRELOADSCRIPT
+ fi
+ if [ -x $DIR/osso-media-server.sh ]; then
+ $DIR/osso-media-server.sh start
+@@ -88,8 +88,8 @@
+ fi
+ else
+ $DIR/osso-media-server.sh stop
+- source $DIR/matchbox.sh stop
+- source $DIR/sapwood-server.sh stop
+- source $DIR/dbus-sessionbus.sh stop
+- source $DIR/gconf-daemon.sh stop
++ . $DIR/matchbox.sh stop
++ . $DIR/sapwood-server.sh stop
++ . $DIR/dbus-sessionbus.sh stop
++ . $DIR/gconf-daemon.sh stop
+ fi
+diff -ur services.orig/real-af-startup services/real-af-startup
+--- services.orig/real-af-startup 2005-06-14 16:25:27.000000000 +0200
++++ services/real-af-startup 2005-06-14 16:32:54.000000000 +0200
+@@ -7,7 +7,7 @@
+ DIR=/etc/osso-af-init
+
+ AF_DEFS=$DIR/af-defines.sh
+-source $AF_DEFS || exit 2
++. $AF_DEFS || exit 2
+
+ case "$1" in
+ start) START=TRUE
+@@ -30,7 +30,7 @@
+
+ if [ $START = TRUE ]; then
+ # Wizards and Connectivity use Gtk
+- source $DIR/osso-gtk.defs
++ . $DIR/osso-gtk.defs
+
+ if [ -x /sbin/devlock-blocker ]; then
+ # this blocks until the device is unlocked
+@@ -54,9 +54,9 @@
+ if [ -x /usr/bin/suw -a -e $HOME/first-boot-flag ]; then
+ # we need to start VKB for the wizard...
+ if [ -f $DIR/keyboard.defs ]; then
+- source $DIR/keyboard.defs
++ . $DIR/keyboard.defs
+ fi
+- source $DIR/keyboard.sh start
++ . $DIR/keyboard.sh start
+ # give VKB some time to start
+ sleep 5
+ rm -f $HOME/first-boot-flag
diff --git a/recipes/maemo/osso-af-startup_0.28-1.bb b/recipes/maemo/osso-af-startup_0.28-1.bb
new file mode 100644
index 0000000000..7727692e06
--- /dev/null
+++ b/recipes/maemo/osso-af-startup_0.28-1.bb
@@ -0,0 +1,45 @@
+LICENSE = "unknown"
+PR = "r4"
+
+PACKAGES= "${PN} osso-af-services osso-af-base-apps"
+DEPENDS = ""
+RDEPENDS_osso-af-services = "${PN}"
+RDEPENDS_osso-af-base-apps = "${PN}"
+
+SRC_URI = "http://stage.maemo.org:80/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.tar.gz \
+ file://osso-af-startup-source.patch;patch=1;pnum=0 \
+ file://launch-no-o.patch;patch=1;pnum=0"
+
+S = "${WORKDIR}/${PN}-0.28"
+
+FILES_${PN} = "${sysconfdir}/osso-af-init ${sysconfdir}/init.d/af-startup"
+FILES_osso-af-services = "${sysconfdir}/init.d/af-services"
+FILES_osso-af-base-apps = "${sysconfdir}/init.d/af-base-apps"
+
+INITSCRIPT_PACKAGES = "${PACKAGES}"
+INITSCRIPT_NAME_${PN} = "af-startup"
+INITSCRIPT_PARAMS_${PN} = "defaults 50"
+INITSCRIPT_NAME_osso-af-services = "af-services"
+INITSCRIPT_PARAMS_osso-af-services = "defaults 22"
+INITSCRIPT_NAME_osso-af-base-apps = "af-base-apps"
+INITSCRIPT_PARAMS_osso-af-base-apps = "defaults 51"
+
+inherit autotools update-rc.d
+
+do_install () {
+ install -d ${D}${sysconfdir}/osso-af-init
+ install -m 755 ${S}/services/af-defines.sh ${D}/${sysconfdir}/osso-af-init/af-defines.sh
+ install -m 755 ${S}/services/dbus-sessionbus.sh ${D}/${sysconfdir}/osso-af-init/dbus-sessionbus.sh
+ install -m 755 ${S}/services/launch-wrapper.sh ${D}/${sysconfdir}/osso-af-init/launch-wrapper.sh
+ install -m 755 ${S}/services/locale ${D}/${sysconfdir}/osso-af-init/locale
+ install -m 755 ${S}/services/nice-launch-wrapper-tryrestart.sh ${D}/${sysconfdir}/osso-af-init/nice-launch-wrapper-tryrestart.sh
+ install -m 755 ${S}/services/nice-launch-wrapper.sh ${D}/${sysconfdir}/osso-af-init/nice-launch-wrapper.sh
+ install -m 755 ${S}/services/real-af-base-apps ${D}/${sysconfdir}/osso-af-init/real-af-base-apps
+ install -m 755 ${S}/services/real-af-services ${D}/${sysconfdir}/osso-af-init/real-af-services
+ install -m 755 ${S}/services/real-af-startup ${D}/${sysconfdir}/osso-af-init/real-af-startup
+
+ install -d ${D}${sysconfdir}/init.d
+ install -m 755 ${S}/top-scripts/af-base-apps ${D}/${sysconfdir}/init.d/af-base-apps
+ install -m 755 ${S}/top-scripts/af-services ${D}/${sysconfdir}/init.d/af-services
+ install -m 755 ${S}/top-scripts/af-startup ${D}/${sysconfdir}/init.d/af-startup
+}
diff --git a/recipes/maemo/osso-af-utils_0.4.bb b/recipes/maemo/osso-af-utils_0.4.bb
new file mode 100644
index 0000000000..f8fc7b2729
--- /dev/null
+++ b/recipes/maemo/osso-af-utils_0.4.bb
@@ -0,0 +1,7 @@
+LICENSE = "LGPL"
+
+DEPENDS = "virtual/libx11 dbus libosso"
+SRC_URI = "http://stage.maemo.org:80/pool/maemo/ossw/source/o/osso-af-utils/osso-af-utils_${PV}-1.tar.gz"
+
+inherit autotools pkgconfig
+
diff --git a/recipes/maemo/osso-app-killer_0.4-3.bb b/recipes/maemo/osso-app-killer_0.4-3.bb
new file mode 100644
index 0000000000..96de1cd03a
--- /dev/null
+++ b/recipes/maemo/osso-app-killer_0.4-3.bb
@@ -0,0 +1,13 @@
+PR = "r0"
+LICENSE = "GPL"
+
+DEPENDS = "libosso"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.tar.gz"
+
+S = "${WORKDIR}/${PN}-0.4"
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${libdir}/dbus-1.0"
+
diff --git a/recipes/maemo/osso-application-installer/fix-buildsystem.patch b/recipes/maemo/osso-application-installer/fix-buildsystem.patch
new file mode 100644
index 0000000000..d89522bbb5
--- /dev/null
+++ b/recipes/maemo/osso-application-installer/fix-buildsystem.patch
@@ -0,0 +1,65 @@
+diff -urbB osso-application-installer-1.0.03_old/configure.ac osso-application-installer-1.0.03/configure.ac
+--- osso-application-installer-1.0.03_old/configure.ac 2005-05-22 22:06:52.000000000 +0200
++++ osso-application-installer-1.0.03/configure.ac 2005-06-30 12:19:24.000000000 +0200
+@@ -38,9 +38,9 @@
+ AC_SUBST(CP_CFLAGS)
+ AC_SUBST(CP_LIBS)
+
+-cp_pluginlibdir=`pkg-config hildon-control-panel --variable=pluginlibdir`
++cp_pluginlibdir=${libdir}/hildon-control-panel
+ AC_SUBST(cp_pluginlibdir)
+-cp_plugindesktopdir=`pkg-config hildon-control-panel --variable=plugindesktopentrydir`
++cp_plugindesktopdir=${datadir}/applications/hildon-control-panel
+ AC_SUBST(cp_plugindesktopdir)
+
+ # Localisation-related
+@@ -52,12 +52,12 @@
+ AM_GLIB_GNU_GETTEXT
+
+ # Mime crap
+-dnl MIME-type registration check (2.6 / 2.8 version)
+-AC_PATH_PROG(UPDATE_MIME_DATABASE, update-mime-database, no)
+-AM_CONDITIONAL(HAVE_26_MIME, test x$UPDATE_MIME_DATABASE != xno)
++#dnl MIME-type registration check (2.6 / 2.8 version)
++#AC_PATH_PROG(UPDATE_MIME_DATABASE, update-mime-database, no)
++#AM_CONDITIONAL(HAVE_26_MIME, test x$UPDATE_MIME_DATABASE != xno)
+
+-AC_PATH_PROG(UPDATE_DESKTOP_DATABASE, update-desktop-database, no)
+-AM_CONDITIONAL(HAVE_28_MIME, test x$UPDATE_DESKTOP_DATABASE != xno)
++#AC_PATH_PROG(UPDATE_DESKTOP_DATABASE, update-desktop-database, no)
++#AM_CONDITIONAL(HAVE_28_MIME, test x$UPDATE_DESKTOP_DATABASE != xno)
+
+
+ applicationinstallerlocaledir=${datadir}/locale
+@@ -76,7 +76,7 @@
+ AC_SUBST(hildonpixmapdir)
+ AC_SUBST(hildonstatusbarlibdir)
+
+-dbuslibpathdir=`$PKG_CONFIG --variable=libdir dbus-1`
++dbuslibpathdir=${libdir}
+ dbusconfdir=/etc/dbus-1/system.d
+ dbusservdir=${dbuslibpathdir}/dbus-1.0/services
+ AC_SUBST(dbuslibpathdir)
+diff -urbB osso-application-installer-1.0.03_old/mime/Makefile.am osso-application-installer-1.0.03/mime/Makefile.am
+--- osso-application-installer-1.0.03_old/mime/Makefile.am 2005-05-22 22:06:52.000000000 +0200
++++ osso-application-installer-1.0.03/mime/Makefile.am 2005-06-30 12:19:24.000000000 +0200
+@@ -2,19 +2,3 @@
+ mime_DATA = osso-application-installer.xml
+
+ EXTRA_DIST = $(mime_DATA)
+-
+-install-data-hook:
+-if HAVE_26_MIME
+- $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
+-endif
+-if HAVE_28_MIME
+- $(UPDATE_DESKTOP_DATABASE)
+-endif
+-
+-uninstall-hook:
+-if HAVE_26_MIME
+- $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(datadir)/mime"
+-endif
+-if HAVE_28_MIME
+- $(UPDATE_DESKTOP_DATABASE)
+-endif
diff --git a/recipes/maemo/osso-application-installer_1.0.03-1.bb b/recipes/maemo/osso-application-installer_1.0.03-1.bb
new file mode 100644
index 0000000000..7380255c81
--- /dev/null
+++ b/recipes/maemo/osso-application-installer_1.0.03-1.bb
@@ -0,0 +1,19 @@
+PR = "r0"
+LICENSE = "GPL"
+
+DEPENDS = "hildon-lgpl hildon-base-lib libosso hildon-libs hildon-control-panel shared-mime-info"
+RDEPENDS = "shared-mime-info"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.tar.gz \
+ file://fix-buildsystem.patch;patch=1"
+
+S = "${WORKDIR}/osso-application-installer-1.0.03"
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${libdir}/dbus-1.0 ${libdir}/hildon-control-panel/*.so ${datadir}/applications ${datadir}/mime"
+
+pkg_postinst () {
+ echo "Updating MIME database... this may take a while."
+ ${bindir}/update-mime-database ${datadir}/mime
+}
diff --git a/recipes/maemo/osso-bttools_0.25.1.bb b/recipes/maemo/osso-bttools_0.25.1.bb
new file mode 100644
index 0000000000..9bb31ea205
--- /dev/null
+++ b/recipes/maemo/osso-bttools_0.25.1.bb
@@ -0,0 +1,9 @@
+LICENSE = "LGPL"
+
+DEPENDS = "dbus glib-2.0 libosso bluez-libs"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/osso-bttools/osso-bttools_${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+FILES_${PN} += "${libdir}/dbus-1.0/services/"
diff --git a/recipes/maemo/osso-core-config_200515.1.bb b/recipes/maemo/osso-core-config_200515.1.bb
new file mode 100644
index 0000000000..999a23e41e
--- /dev/null
+++ b/recipes/maemo/osso-core-config_200515.1.bb
@@ -0,0 +1,42 @@
+LICENSE = "unknown"
+PR = "r6"
+
+DEPENDS = "base-passwd osso-af-startup"
+RDEPENDS = "base-passwd osso-af-startup"
+
+SRC_URI = "http://stage.maemo.org:80/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.tar.gz"
+
+
+inherit autotools update-rc.d
+
+FILES_${PN} = "${sysconfdir}/osso-af-init ${sysconfdir}/init.d/"
+
+INITSCRIPT_NAME = "x-server.sh"
+INITSCRIPT_PARAMS = "defaults 21"
+
+
+do_install () {
+ install -d ${D}${sysconfdir}/osso-af-init
+ install -m 755 ${S}/x-server.defs ${D}/${sysconfdir}/osso-af-init/x-server.defs
+
+ install -d ${D}${sysconfdir}/init.d
+ install -m 755 ${S}/x-server.sh ${D}/${sysconfdir}/init.d/x-server.sh
+}
+
+pkg_postinst () {
+#!/bin/sh
+
+# can't do adduser stuff offline
+if [ "x$D" != "x" ]; then
+ exit 1
+fi
+
+MAEMOUSER=user
+MAEMOHOME=/home/user
+
+addgroup "$MAEMOUSER"
+mkdir -p $MAEMOHOME/MyDocs || true
+adduser --system --home "$MAEMOHOME" --no-create-home --disabled-password --ingroup "$MAEMOUSER" "$MAEMOUSER"
+chown -R "$MAEMOUSER"."$MAEMOUSER" "$MAEMOHOME" 2>/dev/null
+chgrp "$MAEMOUSER" "$MAEMOHOME" 2>/dev/null
+}
diff --git a/recipes/maemo/osso-dsp-headers_0.1.bb b/recipes/maemo/osso-dsp-headers_0.1.bb
new file mode 100644
index 0000000000..1cce84b9cc
--- /dev/null
+++ b/recipes/maemo/osso-dsp-headers_0.1.bb
@@ -0,0 +1,20 @@
+PR = "r0"
+LICENSE = "GPL"
+
+DEPENDS = ""
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.orig.tar.gz"
+
+inherit autotools pkgconfig
+
+headers = "a_igeq.h amrnb_socket_node.h audio_socket_node.h pcm_socket_node.h \
+ a_imumdrc.h amrwb_socket_node.h interface_common.h video_socket_node.h \
+ aac_socket_node.h audio_pp_socket_node.h mp3_socket_node.h"
+
+do_stage () {
+
+ install -d ${STAGING_INCDIR}/dsp
+ for h in ${headers}; do
+ install -m 0644 ${S}/include/dsp/$h ${STAGING_INCDIR}/dsp/$h
+ done
+} \ No newline at end of file
diff --git a/recipes/maemo/osso-esd/qa-silence.patch b/recipes/maemo/osso-esd/qa-silence.patch
new file mode 100644
index 0000000000..734311310f
--- /dev/null
+++ b/recipes/maemo/osso-esd/qa-silence.patch
@@ -0,0 +1,13 @@
+Index: esd/configure.in
+===================================================================
+--- esd.orig/configure.in 2005-03-14 12:13:59.000000000 +0000
++++ esd/configure.in 2009-03-07 10:43:45.000000000 +0000
+@@ -167,7 +167,7 @@
+ AC_CHECK_HEADERS(CoreAudio/CoreAudio.h)
+ # mme_api.h directly includes other files from the mme subdir
+ xCPPFLAGS="$CPPFLAGS"
+- CPPFLAGS="$CPPFLAGS -I/usr/include/mme"
++ CPPFLAGS="$CPPFLAGS -I${MME_INCDIR}"
+ AC_CHECK_HEADERS(mme/mme_api.h)
+ CPPFLAGS="$xCPPFLAGS"
+
diff --git a/recipes/maemo/osso-esd_0.5.bb b/recipes/maemo/osso-esd_0.5.bb
new file mode 100644
index 0000000000..c952725ba4
--- /dev/null
+++ b/recipes/maemo/osso-esd_0.5.bb
@@ -0,0 +1,17 @@
+PR = "r0"
+LICENSE = "GPL"
+PROVIDES = "esd"
+RPROVIDES_${PN} = "esd"
+
+DEPENDS = "audiofile osso-dsp-headers"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.orig.tar.gz \
+ file://qa-silence.patch;patch=1"
+
+# for qa-silence.patch:
+export MME_INCDIR = "${STAGING_INCDIR}/mme"
+
+S = "${WORKDIR}/esd"
+
+inherit autotools pkgconfig
+
diff --git a/recipes/maemo/osso-gwconnect/osso-gwconnect-stdio.patch b/recipes/maemo/osso-gwconnect/osso-gwconnect-stdio.patch
new file mode 100644
index 0000000000..22a304b3cc
--- /dev/null
+++ b/recipes/maemo/osso-gwconnect/osso-gwconnect-stdio.patch
@@ -0,0 +1,10 @@
+--- /tmp/osso-gwconnect-0.70.2/src/btcond-rfcomm.c 2005-05-16 21:36:41.000000000 +0200
++++ osso-gwconnect-0.70.2/src/btcond-rfcomm.c 2005-05-26 14:42:18.154141048 +0200
+@@ -23,6 +23,7 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <errno.h>
++#include <stdio.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
diff --git a/recipes/maemo/osso-gwconnect_0.70.1.bb b/recipes/maemo/osso-gwconnect_0.70.1.bb
new file mode 100644
index 0000000000..9d5626d375
--- /dev/null
+++ b/recipes/maemo/osso-gwconnect_0.70.1.bb
@@ -0,0 +1,18 @@
+LICENSE = ""
+
+DEPENDS = "dbus gconf glib-2.0 libosso bluez-libs"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/osso-gwconnect/osso-gwconnect_${PV}.tar.gz \
+ file://osso-gwconnect-stdio.patch;patch=1"
+
+EXTRA_OECONF = "--disable-mce"
+
+FILES_${PN} += "${libdir}/dbus-1.0/services/"
+
+inherit pkgconfig autotools
+
+do_stage() {
+ install -d ${STAGING_INCDIR}
+ install -m 644 src/*.h ${STAGING_INCDIR}
+}
+
diff --git a/recipes/maemo/osso-gwobex_0.26.1.bb b/recipes/maemo/osso-gwobex_0.26.1.bb
new file mode 100644
index 0000000000..38011800c9
--- /dev/null
+++ b/recipes/maemo/osso-gwobex_0.26.1.bb
@@ -0,0 +1,17 @@
+LICENSE = "LGPL"
+
+DEPENDS = "glib-2.0 openobex dbus libxml2 osso-gwconnect"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/osso-gwobex/osso-gwobex_${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+
+do_stage() {
+ install -d ${STAGING_INCDIR}
+ install -d ${STAGING_LIBDIR}
+ install -m 644 src/*.h ${STAGING_INCDIR}
+ install -m 755 src/.libs/*.so* ${STAGING_LIBDIR}
+}
+
+
diff --git a/recipes/maemo/osso-sounds_0.3-1.bb b/recipes/maemo/osso-sounds_0.3-1.bb
new file mode 100644
index 0000000000..662eefd9f8
--- /dev/null
+++ b/recipes/maemo/osso-sounds_0.3-1.bb
@@ -0,0 +1,30 @@
+PR = "r0"
+LICENSE = "GPL"
+
+DEPENDS = "audiofile"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.tar.gz"
+
+S = "${WORKDIR}/${PN}-0.3"
+
+datafiles = "game-chess_check.wav ui-charging_started.wav game-chess_checkmate.wav \
+ ui-clock_alarm.mp3 game-chess_illegal_move.wav ui-confirmation_note.wav \
+ game-chess_piece_capture.wav ui-connection_lost.wav \
+ game-chess_successful_movement.wav ui-default_beep.wav \
+ game-chess_successful_selection.wav ui-general_warning.wav \
+ game-chess_unsuccesful_selection.wav ui-information_note.wav \
+ game-mahjong_correct_combination.wav ui-key_press.wav \
+ game-mahjong_hint_usage.wav ui-new_email.wav \
+ game-mahjong_incorrect_combination.wav ui-operation_ready.wav \
+ game-mahjong_incorrect_selection.wav ui-pen_down.wav \
+ game-mahjong_shuffle_usage.wav ui-recharge_battery.wav \
+ game-mahjong_successful_selection.wav ui-shutdown.wav \
+ game-mahjong_undo_usage.wav ui-wake_up_tune.wav \
+ ui-battery_low.wav ui-wrong_charger.wav"
+
+do_install () {
+ install -d ${D}/${datadir}/sounds
+ for h in ${datafiles}; do
+ install -m 0644 ${S}/usr/share/sounds/$h ${D}/${datadir}/sounds/$h
+ done
+}
diff --git a/recipes/maemo/sdk-default-icons_0.2-1.bb b/recipes/maemo/sdk-default-icons_0.2-1.bb
new file mode 100644
index 0000000000..d23cc6935f
--- /dev/null
+++ b/recipes/maemo/sdk-default-icons_0.2-1.bb
@@ -0,0 +1,19 @@
+PR = "r0"
+LICENSE = "GPL"
+
+DEPENDS = ""
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/s/${PN}/${PN}_${PV}.tar.gz"
+
+S = "${WORKDIR}/${PN}"
+
+FILES_${PN} = "${datadir}"
+
+
+do_install() {
+
+ install -d ${D}/${datadir}
+ cp -pPR ${S}/icons/ ${D}/${datadir}/
+
+}
+
diff --git a/recipes/maemo/sdk-default-theme-config_1.0-1.bb b/recipes/maemo/sdk-default-theme-config_1.0-1.bb
new file mode 100644
index 0000000000..9b9d0f3a58
--- /dev/null
+++ b/recipes/maemo/sdk-default-theme-config_1.0-1.bb
@@ -0,0 +1,20 @@
+PR = "r0"
+LICENSE = "GPL"
+
+DEPENDS = "sdk-default-theme"
+RDEPENDS = "sdk-default-theme"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/s/${PN}/${PN}_${PV}.tar.gz"
+
+S = "${WORKDIR}/${PN}-1.0"
+
+FILES_${PN} = "${datadir}"
+
+
+do_install() {
+
+ install -d ${D}/${datadir}
+ cp -pPR ${S}/themes/ ${D}/${datadir}/
+
+}
+
diff --git a/recipes/maemo/sdk-default-theme_0.1-1.bb b/recipes/maemo/sdk-default-theme_0.1-1.bb
new file mode 100644
index 0000000000..7e1808da76
--- /dev/null
+++ b/recipes/maemo/sdk-default-theme_0.1-1.bb
@@ -0,0 +1,19 @@
+PR = "r0"
+LICENSE = "GPL"
+
+DEPENDS = ""
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/s/${PN}/${PN}_${PV}.tar.gz"
+
+S = "${WORKDIR}/${PN}-0.1"
+
+FILES_${PN} = "${datadir}"
+
+
+do_install() {
+
+ install -d ${D}/${datadir}
+ cp -pPR ${S}/themes/ ${D}/${datadir}/
+
+}
+
diff --git a/recipes/maemo/tscalib/makefile.patch b/recipes/maemo/tscalib/makefile.patch
new file mode 100644
index 0000000000..7bfab4f142
--- /dev/null
+++ b/recipes/maemo/tscalib/makefile.patch
@@ -0,0 +1,24 @@
+--- Makefile.orig 2005-06-20 18:44:26.000000000 +0200
++++ Makefile 2005-06-20 18:43:56.000000000 +0200
+@@ -1,6 +1,4 @@
+
+-CC = gcc
+-CFLAGS = -Os
+ LIBS = -lts
+ PREFIX = /usr/local
+
+@@ -20,11 +18,11 @@
+ rm -rf $(OBJECTS) $(TARGET) .depends
+
+ install: $(TARGET)
+- install -d -m 755 $(PREFIX)/bin
+- install -c -m 755 $(TARGET) $(PREFIX)/bin/$(TARGET)
++ install -d -m 755 $(DESTDIR)/$(PREFIX)/bin
++ install -c -m 755 $(TARGET) $(DESTDIR)/$(PREFIX)/bin/$(TARGET)
+
+ .depends:
+- $(CC) -MM $(SOURCES) > .depends
++ $(CC) -MM $(CFLAGS) $(SOURCES) > .depends
+
+
+ -include .depends
diff --git a/recipes/maemo/tscalib_0.0.1-3.bb b/recipes/maemo/tscalib_0.0.1-3.bb
new file mode 100644
index 0000000000..a02b9fd4f4
--- /dev/null
+++ b/recipes/maemo/tscalib_0.0.1-3.bb
@@ -0,0 +1,18 @@
+PR = "r0"
+LICENSE = "GPL"
+DEPENDS = "virtual/xserver tslib"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/t/${PN}/${PN}_${PV}.tar.gz \
+ file://makefile.patch;patch=1;pnum=0"
+
+S = "${WORKDIR}/${PN}"
+
+inherit autotools pkgconfig
+
+do_compile () {
+ oe_runmake PREFIX=${prefix}
+}
+
+do_install() {
+ oe_runmake PREFIX=${prefix} DESTDIR=${D} install
+}
diff --git a/recipes/maemo/xpext/auxdir.patch b/recipes/maemo/xpext/auxdir.patch
new file mode 100644
index 0000000000..da5841a132
--- /dev/null
+++ b/recipes/maemo/xpext/auxdir.patch
@@ -0,0 +1,13 @@
+--- configure.ac.old 2005-06-03 12:53:28.000000000 +0200
++++ configure.ac 2005-06-03 12:54:29.000000000 +0200
+@@ -25,9 +25,9 @@
+
+ AC_PREREQ([2.57])
+ AC_INIT([spext], [1.0], [lauri.leukkunen@nokia.com], spext)
++AC_CONFIG_AUX_DIR(.)
+ AM_INIT_AUTOMAKE([dist-bzip2])
+ AM_MAINTAINER_MODE
+-AC_CONFIG_AUX_DIR(.)
+
+ dnl PKG_CHECK_MODULES(FIXESEXT, fixesext)
+
diff --git a/recipes/maemo/xpext_1.0-5.bb b/recipes/maemo/xpext_1.0-5.bb
new file mode 100644
index 0000000000..71fcad27cf
--- /dev/null
+++ b/recipes/maemo/xpext_1.0-5.bb
@@ -0,0 +1,22 @@
+PR = "r1"
+LICENSE= "MIT"
+DESCRIPTION = "X Server Nokia 770 extensions library"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+DEPENDS = "virtual/libx11 libxext"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/${PN}/${PN}_${PV}.tar.gz \
+ file://auxdir.patch;patch=1;pnum=0"
+S = "${WORKDIR}/xpext-1.0"
+
+inherit autotools pkgconfig
+
+do_configure_prepend () {
+ cd ${S}
+ chmod +x ./autogen.sh
+ ./autogen.sh
+}
+
+do_stage() {
+ autotools_stage_all
+}
diff --git a/recipes/maemo/xsp/xsp-fix-pc.patch b/recipes/maemo/xsp/xsp-fix-pc.patch
new file mode 100644
index 0000000000..18bc67cdd9
--- /dev/null
+++ b/recipes/maemo/xsp/xsp-fix-pc.patch
@@ -0,0 +1,10 @@
+--- Xsp/xsp.pc.in~ 2009-01-07 13:06:07.000000000 +0100
++++ Xsp/xsp.pc.in 2009-01-07 13:06:07.000000000 +0100
+@@ -6,5 +6,5 @@
+ Name: Xsp
+ Description: X Sputnik Library
+ Version: @PACKAGE_VERSION@
+-Cflags: -I${includedir} @XSP_CFLAGS@ @X_CFLAGS@
+-Libs: -L${libdir} -lXsp @XSP_LIBS@ @X_LIBS@
++Cflags: -I${includedir}
++Libs: -L${libdir} -lXsp -lX11
diff --git a/recipes/maemo/xsp_1.0.0-8.bb b/recipes/maemo/xsp_1.0.0-8.bb
new file mode 100644
index 0000000000..50de83c204
--- /dev/null
+++ b/recipes/maemo/xsp_1.0.0-8.bb
@@ -0,0 +1,16 @@
+PR = "r2"
+LICENSE= "MIT"
+DESCRIPTION = "X Server Nokia 770 extensions library"
+SECTION = "x11/libs"
+PRIORITY = "optional"
+DEPENDS = "virtual/libx11 libxext xpext"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/xsp/${PN}_${PV}.tar.gz \
+ file://xsp-fix-pc.patch;patch=1"
+S = "${WORKDIR}/Xsp"
+
+inherit autotools pkgconfig
+
+do_stage() {
+ autotools_stage_all
+}