summaryrefslogtreecommitdiff
path: root/packages/nonworking/maemo
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-08-17 00:45:58 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-08-17 00:45:58 +0000
commitcec44b21030fd1945b8bf58ebca799ceb2e92622 (patch)
tree076b93356ffa6331b12ce555bcc1e5cc7d5e82c7 /packages/nonworking/maemo
parent2ce85bb3df0cf49c7a8b5b147a4b4717d0f5b8cd (diff)
nonworking: move a bunch of maemo/hildon stuff to nonworking.
* it depended on some gtk+osso package which was dropped in 2006
Diffstat (limited to 'packages/nonworking/maemo')
-rw-r--r--packages/nonworking/maemo/hildon-base-lib_0.8.6-2.bb20
-rw-r--r--packages/nonworking/maemo/hildon-fm_0.9.1-2.bb19
-rw-r--r--packages/nonworking/maemo/hildon-initscripts/.mtn2git_empty0
-rw-r--r--packages/nonworking/maemo/hildon-initscripts/hildon-initscripts-source.patch109
-rw-r--r--packages/nonworking/maemo/hildon-initscripts_0.8.14-1.bb11
-rw-r--r--packages/nonworking/maemo/hildon-lgpl/.mtn2git_empty0
-rw-r--r--packages/nonworking/maemo/hildon-lgpl/hildon-lgpl-noWerror.patch11
-rw-r--r--packages/nonworking/maemo/hildon-lgpl_0.9.14-2.bb26
-rw-r--r--packages/nonworking/maemo/hildon-libs/.mtn2git_empty0
-rw-r--r--packages/nonworking/maemo/hildon-libs/hildon-libs-no-werror.patch11
-rw-r--r--packages/nonworking/maemo/hildon-libs_0.9.6-2.bb24
-rw-r--r--packages/nonworking/maemo/hildon-navigator/.mtn2git_empty0
-rw-r--r--packages/nonworking/maemo/hildon-navigator/source.patch11
-rw-r--r--packages/nonworking/maemo/hildon-navigator_0.9.6-2.bb13
-rw-r--r--packages/nonworking/maemo/osso-screenshot-tool_1.20-1.bb9
-rw-r--r--packages/nonworking/maemo/osso-thumbnail_0.3.1-1.bb22
-rw-r--r--packages/nonworking/maemo/sapwood/.mtn2git_empty0
-rw-r--r--packages/nonworking/maemo/sapwood/cflags.patch17
-rw-r--r--packages/nonworking/maemo/sapwood/sockets.patch113
-rw-r--r--packages/nonworking/maemo/sapwood_1.20-1.bb23
20 files changed, 439 insertions, 0 deletions
diff --git a/packages/nonworking/maemo/hildon-base-lib_0.8.6-2.bb b/packages/nonworking/maemo/hildon-base-lib_0.8.6-2.bb
new file mode 100644
index 0000000000..58d7f54a8b
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-base-lib_0.8.6-2.bb
@@ -0,0 +1,20 @@
+PR = "r0"
+LICENSE = "LGPL"
+
+DEPENDS = "gtk+-2.6.4-1.osso7 outo"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/h/hildon-base-lib/hildon-base-lib_${PV}.tar.gz"
+
+S = "${WORKDIR}/hildon-base-lib-0.8.6"
+EXTRA_OECONF = "--enable-shared --disable-gtk-doc"
+
+inherit pkgconfig autotools
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/hildon-base-lib
+ install -d ${STAGING_LIBDIR}
+ install -m 644 hildon-base-dnotify.h hildon-base-types.h ${STAGING_INCDIR}/hildon-base-lib
+ install .libs/libhildonbase.so ${STAGING_LIBDIR}/libhildonbase.so
+ install .libs/libhildonbase.so.0 ${STAGING_LIBDIR}/libhildonbase.so.0
+ install .libs/libhildonbase.so.0.0.1 ${STAGING_LIBDIR}/libhildonbase.so.0.0.1
+}
diff --git a/packages/nonworking/maemo/hildon-fm_0.9.1-2.bb b/packages/nonworking/maemo/hildon-fm_0.9.1-2.bb
new file mode 100644
index 0000000000..40654295f9
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-fm_0.9.1-2.bb
@@ -0,0 +1,19 @@
+PR = "r1"
+LICENSE = "GPL LGPL"
+
+DEPENDS = "gtk+-2.6.4-1.osso7 outo libxi libxt libpng gconf hildon-lgpl osso-thumbnail osso-gwconnect"
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/h/hildon-fm/hildon-fm_${PV}.tar.gz"
+
+S = "${WORKDIR}/hildon-fm-0.9.1"
+FILES_${PN} += "${libdir}/outo/*.so"
+
+inherit pkgconfig autotools
+
+EXTRA_OECONF = "--disable-gtk-doc"
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/hildon-fm/hildon-widgets
+ install -d ${STAGING_LIBDIR}
+ install -m 644 hildon-fm/*.h ${STAGING_INCDIR}/hildon-fm/hildon-widgets
+ install -m 755 hildon-fm/.libs/*.so* ${STAGING_LIBDIR}
+}
diff --git a/packages/nonworking/maemo/hildon-initscripts/.mtn2git_empty b/packages/nonworking/maemo/hildon-initscripts/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-initscripts/.mtn2git_empty
diff --git a/packages/nonworking/maemo/hildon-initscripts/hildon-initscripts-source.patch b/packages/nonworking/maemo/hildon-initscripts/hildon-initscripts-source.patch
new file mode 100644
index 0000000000..8e25b5f8a0
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-initscripts/hildon-initscripts-source.patch
@@ -0,0 +1,109 @@
+diff -ur af-sb-init.sh.in.old af-sb-init.sh.in
+--- af-sb-init.sh.in.old 2005-06-14 16:45:53.000000000 +0200
++++ af-sb-init.sh.in 2005-06-14 16:48:46.000000000 +0200
+@@ -45,7 +45,7 @@
+ exit 2
+ fi
+
+-source $AF_DEFS
++. $AF_DEFS
+
+ # let's use /var/run as pid dir and make sure it is not a link
+ export AF_PIDDIR=/var/run
+@@ -64,14 +64,14 @@
+ export HOME="/home/$USER"
+ export MYDOCSDIR=$HOME/MyDocs
+
+-source $DIR/osso-gtk.defs
++. $DIR/osso-gtk.defs
+
+ # Let's use SB launcher wrapper
+ export LAUNCHWRAPPER=/usr/bin/scratchbox-launcher.sh
+
+ # Check our environment
+ if [ -e /targets/links/scratchbox.config ]; then
+- source /targets/links/scratchbox.config
++ . /targets/links/scratchbox.config
+ if echo $SBOX_CPUTRANSPARENCY_METHOD | grep "sbrsh$" >/dev/null; then
+ if [ -z "$SBOX_TARGET_NAME" ]; then
+ echo "$0: SBOX_CPUTRANSPARENCY_METHOD defined but SBOX_TARGET_NAME not!"
+@@ -102,7 +102,7 @@
+
+ fi
+
+-# we need to save these, because the source commands below messes them up
++# we need to save these, because the . commands below messes them up
+ TMPSTART=$START
+ TMPSTOP=$STOP
+ if [ "$STOP" = "TRUE" ]; then
+@@ -118,16 +118,16 @@
+ dbus-systembus;
+ do
+ if [ -e $DIR/$svc.defs ]; then
+- source $DIR/$svc.defs
++ . $DIR/$svc.defs
+ fi
+ if [ -e $DIR/$svc.sh ]; then
+- source $DIR/$svc.sh stop
++ . $DIR/$svc.sh stop
+ fi
+ done
+
+ # stop
+ if [ -r /usr/bin/osso-connectivity-ui.sh ]; then
+- source /usr/bin/osso-connectivity-ui.sh stop
++ . /usr/bin/osso-connectivity-ui.sh stop
+ fi
+
+ # remove dbus own dbus pid file
+@@ -193,14 +193,14 @@
+ statusbar;
+ do
+ if [ -e $DIR/$svc.defs ]; then
+- source $DIR/$svc.defs
++ . $DIR/$svc.defs
+ fi
+ if [ -e $DIR/$svc.sh ]; then
+- source $DIR/$svc.sh start
++ . $DIR/$svc.sh start
+ fi
+ done
+
+ if [ -e /usr/bin/osso-connectivity-ui.sh ]; then
+- source /usr/bin/osso-connectivity-ui.sh start
++ . /usr/bin/osso-connectivity-ui.sh start
+ fi
+ fi
+diff -ur run-standalone.sh.old run-standalone.sh
+--- run-standalone.sh.old 2005-06-14 16:45:53.000000000 +0200
++++ run-standalone.sh 2005-06-14 16:48:46.000000000 +0200
+@@ -2,7 +2,7 @@
+
+ if [ -e /etc/osso-af-init/af-defines.sh ]
+ then
+- source /etc/osso-af-init/af-defines.sh
++ . /etc/osso-af-init/af-defines.sh
+ else
+ echo "/etc/osso-af-init/af-defines.sh not found!"
+ exit 1
+@@ -10,7 +10,7 @@
+
+ for i in /etc/osso-af-init/*.defs
+ do
+- source $i
++ . $i
+ done
+
+ $*
+diff -ur scratchbox-launcher.sh.old scratchbox-launcher.sh
+--- scratchbox-launcher.sh.old 2005-06-14 16:45:53.000000000 +0200
++++ scratchbox-launcher.sh 2005-06-14 16:48:46.000000000 +0200
+@@ -35,7 +35,7 @@
+ PIDFILE="$AF_PIDDIR/$BASENAME-$TMPSVC.pid"
+
+ if [ -e /targets/links/scratchbox.config ]; then
+- source /targets/links/scratchbox.config
++ . /targets/links/scratchbox.config
+ if echo $SBOX_CPUTRANSPARENCY_METHOD | grep "sbrsh$" >/dev/null; then
+ if [ -z "$SBOX_TARGET_NAME" ]; then
+ echo "$0: SBOX_CPUTRANSPARENCY_METHOD defined but SBOX_TARGET_NAME not!"
diff --git a/packages/nonworking/maemo/hildon-initscripts_0.8.14-1.bb b/packages/nonworking/maemo/hildon-initscripts_0.8.14-1.bb
new file mode 100644
index 0000000000..ef93f007cb
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-initscripts_0.8.14-1.bb
@@ -0,0 +1,11 @@
+PR = "r2"
+LICENSE = "GPL"
+
+DEPENDS = "gtk+-2.6.4-1.osso7 matchbox-wm dbus osso-esd"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/h/${PN}/${PN}_${PV}.tar.gz \
+ file://hildon-initscripts-source.patch;patch=1;pnum=0"
+
+S = "${WORKDIR}/hildon-initscripts-0.8.14"
+
+inherit autotools pkgconfig
diff --git a/packages/nonworking/maemo/hildon-lgpl/.mtn2git_empty b/packages/nonworking/maemo/hildon-lgpl/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-lgpl/.mtn2git_empty
diff --git a/packages/nonworking/maemo/hildon-lgpl/hildon-lgpl-noWerror.patch b/packages/nonworking/maemo/hildon-lgpl/hildon-lgpl-noWerror.patch
new file mode 100644
index 0000000000..5f47dac7cc
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-lgpl/hildon-lgpl-noWerror.patch
@@ -0,0 +1,11 @@
+--- /tmp/hildon-lgpl-0.9.14/configure.ac 2005-05-22 21:57:07.000000000 +0200
++++ hildon-lgpl-0.9.14/configure.ac 2005-05-26 09:21:09.170471824 +0200
+@@ -14,7 +14,7 @@
+ PKG_CHECK_MODULES(OUTO, outo >= 0.1.1)
+ AC_SUBST(OUTO_CFLAGS)
+
+-CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wmissing-prototypes -Wmissing-declarations -Werror -DHILDON_USE_TIMESTAMPING"
++CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wmissing-prototypes -Wmissing-declarations -DHILDON_USE_TIMESTAMPING"
+
+ GTK_VERSION=2.6.4
+
diff --git a/packages/nonworking/maemo/hildon-lgpl_0.9.14-2.bb b/packages/nonworking/maemo/hildon-lgpl_0.9.14-2.bb
new file mode 100644
index 0000000000..c4ec3a50cf
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-lgpl_0.9.14-2.bb
@@ -0,0 +1,26 @@
+LICENSE = "LGPL"
+
+DEPENDS = "gtk+-2.6.4-1.osso7 outo libxtst libmatchbox libxi libxt libpng gconf"
+
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/h/hildon-lgpl/hildon-lgpl_${PV}.tar.gz \
+ file://hildon-lgpl-noWerror.patch;patch=1"
+
+S = "${WORKDIR}/hildon-lgpl-0.9.14"
+EXTRA_OECONF = "--enable-shared --disable-gtk-doc"
+
+inherit pkgconfig autotools
+
+FILES_${PN} += " ${libdir}/outo/*.so"
+
+do_install_prepend() {
+ install -d ${D}/${libdir}
+ install hildon-lgpl/.libs/libhildonlgpl.so.0.4.0 ${D}/${libdir}/libhildonlgpl.so
+
+}
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/hildon-widgets
+ install -d ${STAGING_LIBDIR}
+ install -m 644 hildon-lgpl/*.h ${STAGING_INCDIR}/hildon-widgets
+ install hildon-lgpl/.libs/libhildonlgpl.so.0.4.0 ${STAGING_LIBDIR}/libhildonlgpl.so
+}
diff --git a/packages/nonworking/maemo/hildon-libs/.mtn2git_empty b/packages/nonworking/maemo/hildon-libs/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-libs/.mtn2git_empty
diff --git a/packages/nonworking/maemo/hildon-libs/hildon-libs-no-werror.patch b/packages/nonworking/maemo/hildon-libs/hildon-libs-no-werror.patch
new file mode 100644
index 0000000000..8b1c09eced
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-libs/hildon-libs-no-werror.patch
@@ -0,0 +1,11 @@
+--- configure.ac 2005-05-27 16:56:43.219843424 +0200
++++ hildon-libs-0.9.6/configure.ac 2005-05-27 16:57:03.699730008 +0200
+@@ -17,7 +17,7 @@
+ # -pedantic removed due to D-BUS; should be replaced after D-BUS is no
+ # longer broken in this regard...
+
+-CFLAGS="$CFLAGS -Wall -ansi -Wmissing-prototypes -Wmissing-declarations -Werror"
++CFLAGS="$CFLAGS -Wall -ansi -Wmissing-prototypes -Wmissing-declarations"
+
+ GTK_VERSION=2.6.4
+
diff --git a/packages/nonworking/maemo/hildon-libs_0.9.6-2.bb b/packages/nonworking/maemo/hildon-libs_0.9.6-2.bb
new file mode 100644
index 0000000000..947f22ce66
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-libs_0.9.6-2.bb
@@ -0,0 +1,24 @@
+PR = "r1"
+LICENSE = "LGPL"
+
+DEPENDS = "dbus hildon-lgpl hildon-fm outo gtk+-2.6.4-1.osso7"
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/h/${PN}/${PN}_${PV}.tar.gz \
+ file://hildon-libs-no-werror.patch;patch=1"
+
+S = "${WORKDIR}/hildon-libs-0.9.6"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--disable-gtk-doc"
+
+
+FILES_${PN} += "${libdir}/outo/*.so"
+
+do_stage() {
+ install -d ${STAGING_LIBDIR}/outo
+ install -m755 ${S}/ut/.libs/libhildonwidgets_unittests.so ${STAGING_LIBDIR}/outo
+ install -m755 ${S}/ut/.libs/libhildonwidgets_clock_unittests.so ${STAGING_LIBDIR}/outo
+ install -m755 ${S}/hildon-widgets/.libs/libhildonwidgets.so* ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/hildon-widgets
+ install -m 644 hildon-widgets/*.h ${STAGING_INCDIR}/hildon-widgets
+}
diff --git a/packages/nonworking/maemo/hildon-navigator/.mtn2git_empty b/packages/nonworking/maemo/hildon-navigator/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-navigator/.mtn2git_empty
diff --git a/packages/nonworking/maemo/hildon-navigator/source.patch b/packages/nonworking/maemo/hildon-navigator/source.patch
new file mode 100644
index 0000000000..e56f42f0f9
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-navigator/source.patch
@@ -0,0 +1,11 @@
+--- navigator-launch.sh.old 2005-06-14 17:19:23.000000000 +0200
++++ navigator-launch.sh 2005-06-14 17:19:37.000000000 +0200
+@@ -20,7 +20,7 @@
+ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ # 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/packages/nonworking/maemo/hildon-navigator_0.9.6-2.bb b/packages/nonworking/maemo/hildon-navigator_0.9.6-2.bb
new file mode 100644
index 0000000000..6772dbd118
--- /dev/null
+++ b/packages/nonworking/maemo/hildon-navigator_0.9.6-2.bb
@@ -0,0 +1,13 @@
+PR = "r2"
+LICENSE = "GPL"
+
+DEPENDS = "gtk+-2.6.4-1.osso7 libmatchbox gconf hildon-lgpl libosso osso-af-settings hildon-base-lib"
+
+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-navigator-0.9.6"
+
+inherit autotools pkgconfig
+
+#FILES_${PN} += " ${libdir}/outo/*.so"
diff --git a/packages/nonworking/maemo/osso-screenshot-tool_1.20-1.bb b/packages/nonworking/maemo/osso-screenshot-tool_1.20-1.bb
new file mode 100644
index 0000000000..5568191fdf
--- /dev/null
+++ b/packages/nonworking/maemo/osso-screenshot-tool_1.20-1.bb
@@ -0,0 +1,9 @@
+PR = "r0"
+LICENSE = ""
+
+DEPENDS = "gtk+-2.6.4-1.osso7"
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.tar.gz"
+
+S = "${WORKDIR}/${PN}-1.20"
+
+inherit pkgconfig autotools
diff --git a/packages/nonworking/maemo/osso-thumbnail_0.3.1-1.bb b/packages/nonworking/maemo/osso-thumbnail_0.3.1-1.bb
new file mode 100644
index 0000000000..866e755b0d
--- /dev/null
+++ b/packages/nonworking/maemo/osso-thumbnail_0.3.1-1.bb
@@ -0,0 +1,22 @@
+PR = "r2"
+LICENSE = ""
+
+DEPENDS = "gtk+-2.6.4-1.osso7 osso-gnome-vfs2"
+SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/osso-thumbnail/osso-thumbnail_${PV}.tar.gz"
+
+S = "${WORKDIR}/osso-thumbnail-0.3.1"
+
+inherit pkgconfig autotools
+EXTRA_OECONF = "--disable-gtk-doc"
+
+
+do_stage() {
+ install -d ${STAGING_INCDIR}
+ install -d ${STAGING_LIBDIR}
+ install -m 644 thumbs/*.h ${STAGING_INCDIR}
+ install thumbs/.libs/libossothumbnail.so ${STAGING_LIBDIR}
+ install thumbs/.libs/libossothumbnail.so.0 ${STAGING_LIBDIR}
+ install thumbs/.libs/libossothumbnail.so.0.0.3 ${STAGING_LIBDIR}
+}
+
+
diff --git a/packages/nonworking/maemo/sapwood/.mtn2git_empty b/packages/nonworking/maemo/sapwood/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/nonworking/maemo/sapwood/.mtn2git_empty
diff --git a/packages/nonworking/maemo/sapwood/cflags.patch b/packages/nonworking/maemo/sapwood/cflags.patch
new file mode 100644
index 0000000000..841a9dd350
--- /dev/null
+++ b/packages/nonworking/maemo/sapwood/cflags.patch
@@ -0,0 +1,17 @@
+--- src/Makefile.am.old 2005-06-09 19:25:34.000000000 +0200
++++ src/Makefile.am 2005-06-09 19:27:14.000000000 +0200
+@@ -19,12 +19,14 @@
+
+ libsapwood_la_LDFLAGS = -avoid-version -module -Wl,-z,defs
+ libsapwood_la_LIBADD = $(GTK_LIBS)
++libsapwood_la_CFLAGS = $(AM_CFLAGS)
+
+ daemondir = $(libdir)/sapwood
+ daemon_PROGRAMS = sapwood-server
+
+ sapwood_server_SOURCES = sapwood-server.c sapwood-proto.c sapwood-proto.h
+ sapwood_server_LDADD = $(GDK_LIBS)
++sapwood_server_CFLAGS = $(AM_CFLAGS)
+
+ MAINTAINERCLEANFILES = Makefile.in
+
diff --git a/packages/nonworking/maemo/sapwood/sockets.patch b/packages/nonworking/maemo/sapwood/sockets.patch
new file mode 100644
index 0000000000..1568206e2a
--- /dev/null
+++ b/packages/nonworking/maemo/sapwood/sockets.patch
@@ -0,0 +1,113 @@
+--- configure.in.old 2005-06-10 17:04:52.000000000 +0200
++++ configure.in 2005-06-10 17:20:47.000000000 +0200
+@@ -13,61 +13,61 @@
+ AC_PROG_MAKE_SET
+
+ dnl abstract sockets namespace checks, from dbus
+-AC_ARG_ENABLE(abstract-sockets,
+- [AC_HELP_STRING([--enable-abstract-sockets],
+- [use abstract socket namespace (linux only)])],
+- [enable_abstract_sockets=$enableval],
+- [enable_abstract_sockets=auto])
+-
+-AC_MSG_CHECKING(abstract socket namespace)
+-AC_RUN_IFELSE([AC_LANG_PROGRAM(
+-[[
++#AC_ARG_ENABLE(abstract-sockets,
++# [AC_HELP_STRING([--enable-abstract-sockets],
++# [use abstract socket namespace (linux only)])],
++# [enable_abstract_sockets=$enableval],
++# [enable_abstract_sockets=no])
++#
++#AC_MSG_CHECKING(abstract socket namespace)
++#AC_RUN_IFELSE([AC_LANG_PROGRAM(
++#[[
+ #include <sys/types.h>
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+ #include <errno.h>
+-]],
+-[[
+- int listen_fd;
+- struct sockaddr_un addr;
+-
+- listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
+-
+- if (listen_fd < 0)
+- {
+- fprintf (stderr, "socket() failed: %s\n", strerror (errno));
+- exit (1);
+- }
+-
+- memset (&addr, '\0', sizeof (addr));
+- addr.sun_family = AF_UNIX;
+- strcpy (addr.sun_path, "X/tmp/sapwood-fake-socket-path-used-in-configure-test");
+- addr.sun_path[0] = '\0'; /* this is what makes it abstract */
+-
+- if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
+- {
+- fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
+- strerror (errno));
+- exit (1);
+- }
+- else
+- exit (0);
+-]])],
+- [have_abstract_sockets=yes],
+- [have_abstract_sockets=no])
+-AC_MSG_RESULT($have_abstract_sockets)
+-
+-if test x$enable_abstract_sockets = xyes; then
+- if test x$have_abstract_sockets = xno; then
+- AC_MSG_ERROR([Abstract sockets explicitly required, and support not detected.])
+- fi
+-fi
+-
+-if test x$enable_abstract_sockets = xno; then
+- have_abstract_sockets=no
+-fi
++#]],
++#[[
++# int listen_fd;
++# struct sockaddr_un addr;
++#
++# listen_fd = socket (PF_UNIX, SOCK_STREAM, 0);
++
++# if (listen_fd < 0)
++# {
++# fprintf (stderr, "socket() failed: %s\n", strerror (errno));
++# exit (1);
++# }
++#
++# memset (&addr, '\0', sizeof (addr));
++# addr.sun_family = AF_UNIX;
++# strcpy (addr.sun_path, "X/tmp/sapwood-fake-socket-path-used-in-configure-test");
++# addr.sun_path[0] = '\0'; /* this is what makes it abstract */
++#
++# if (bind (listen_fd, (struct sockaddr*) &addr, SUN_LEN (&addr)) < 0)
++# {
++# fprintf (stderr, "Abstract socket namespace bind() failed: %s\n",
++# strerror (errno));
++# exit (1);
++# }
++# else
++# exit (0);
++#]])],
++# [have_abstract_sockets=no],
++# [have_abstract_sockets=no])
++#AC_MSG_RESULT($have_abstract_sockets)
++
++#if test x$enable_abstract_sockets = xyes; then
++# if test x$have_abstract_sockets = xno; then
++# AC_MSG_ERROR([Abstract sockets explicitly required, and support not detected.])
++# fi
++#fi
++
++#if test x$enable_abstract_sockets = xno; then
++have_abstract_sockets=no
++#fi
+
+ if test x$have_abstract_sockets = xyes; then
+ AC_DEFINE(HAVE_ABSTRACT_SOCKETS,1,[Have abstract socket namespace])
diff --git a/packages/nonworking/maemo/sapwood_1.20-1.bb b/packages/nonworking/maemo/sapwood_1.20-1.bb
new file mode 100644
index 0000000000..8cd52fa602
--- /dev/null
+++ b/packages/nonworking/maemo/sapwood_1.20-1.bb
@@ -0,0 +1,23 @@
+PR = "r1"
+LICENSE = "GPL"
+SECTION = "x11/base"
+DESCRIPTION = "GTK theme engine Sapwood"
+DEPENDS = "gtk+-2.6.4-1.osso7"
+
+FILES_${PN} += "${libdir}/gtk-2.0/2.4.0/engines/"
+
+SRC_URI = "http://stage.maemo.org/pool/maemo/ossw/source/s/${PN}/${PN}_${PV}.tar.gz \
+ file://cflags.patch;patch=1;pnum=0 \
+ file://sockets.patch;patch=1;pnum=0"
+
+S = "${WORKDIR}/${PN}-1.20"
+EXTRA_OECONF = "--enable-abstract-sockets=no"
+
+inherit autotools pkgconfig
+
+do_install_append () {
+ install -d ${D}${sysconfdir}/osso-af-init
+ install -m755 ${S}/debian/sapwood-server.sh ${D}${sysconfdir}/osso-af-init/sapwood-server.sh
+}
+
+