summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-openmoko/packages/images/poky-image-openmoko.bb20
-rw-r--r--meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb5
-rw-r--r--meta-openmoko/packages/openmoko2/libmokojournal2_svn.bb5
-rw-r--r--meta-openmoko/packages/openmoko2/libmokoui2_svn.bb5
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-contacts2_svn.bb12
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-dialer2_svn.bb10
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-icon-theme-standard_svn.bb19
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-libs.inc13
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-session2.bb30
-rwxr-xr-xmeta-openmoko/packages/openmoko2/openmoko-session2/etc/matchbox/session11
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-session2/matchbox-session24
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-theme-standard2_svn.bb23
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko-today2_svn.bb8
-rw-r--r--meta-openmoko/packages/openmoko2/openmoko.inc10
14 files changed, 195 insertions, 0 deletions
diff --git a/meta-openmoko/packages/images/poky-image-openmoko.bb b/meta-openmoko/packages/images/poky-image-openmoko.bb
new file mode 100644
index 0000000000..f1fc5905af
--- /dev/null
+++ b/meta-openmoko/packages/images/poky-image-openmoko.bb
@@ -0,0 +1,20 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5PR = "r3"
6
7IMAGE_FEATURES += "apps-console-core ${X11_IMAGE_FEATURES} apps-x11-games"
8
9inherit poky-image
10
11IMAGE_INSTALL += "openmoko-today2 openmoko-dialer2 openmoko-theme-standard2 dates web eds-dbus tasks"
12IMAGE_INSTALL += "openmoko-contacts2 openmoko-session2 \
13 matchbox-keyboard \
14 matchbox-stroke \
15 matchbox-config-gtk \
16 matchbox-themes-gtk \
17 matchbox-applet-startup-monitor \
18 xcursor-transparent-theme \
19 openmoko-icon-theme-standard \
20 settings-daemon"
diff --git a/meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb b/meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb
new file mode 100644
index 0000000000..e4baa81054
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/libmokogsmd2_svn.bb
@@ -0,0 +1,5 @@
1require openmoko-libs.inc
2
3DEPENDS = "libgsmd glib-2.0"
4PR = "r1"
5REAL_PN = "libmokogsmd2"
diff --git a/meta-openmoko/packages/openmoko2/libmokojournal2_svn.bb b/meta-openmoko/packages/openmoko2/libmokojournal2_svn.bb
new file mode 100644
index 0000000000..6730426a3d
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/libmokojournal2_svn.bb
@@ -0,0 +1,5 @@
1require openmoko-libs.inc
2
3DEPENDS = "eds-dbus"
4PR = "r1"
5REAL_PN = "libmokojournal2"
diff --git a/meta-openmoko/packages/openmoko2/libmokoui2_svn.bb b/meta-openmoko/packages/openmoko2/libmokoui2_svn.bb
new file mode 100644
index 0000000000..b845caa331
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/libmokoui2_svn.bb
@@ -0,0 +1,5 @@
1require openmoko-libs.inc
2
3DEPENDS = "gtk+"
4PV = "0.0.5+svn${SRCDATE}"
5REAL_PN = "libmokoui2"
diff --git a/meta-openmoko/packages/openmoko2/openmoko-contacts2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-contacts2_svn.bb
new file mode 100644
index 0000000000..bd872dd79d
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-contacts2_svn.bb
@@ -0,0 +1,12 @@
1require openmoko.inc
2
3DESCRIPTION = "The OpenMoko address book"
4RDEPENDS = "libedata-book"
5PV = "0.1+svn${SRCDATE}"
6PR = "r2"
7
8SRC_URI = "svn://svn.o-hand.com/repos/contacts/branches/;module=hito;proto=http"
9
10S = "${WORKDIR}/hito/"
11
12EXTRA_OECONF = "--disable-gnome-vfs --with-frontend=openmoko"
diff --git a/meta-openmoko/packages/openmoko2/openmoko-dialer2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-dialer2_svn.bb
new file mode 100644
index 0000000000..38b31eea5d
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-dialer2_svn.bb
@@ -0,0 +1,10 @@
1require openmoko.inc
2
3DESCRIPTION = "The OpenMoko Dialer"
4DEPENDS += "libmokogsmd2 libmokoui2 libmokojournal2"
5REAL_PN = "openmoko-dialer2"
6PR = "r1"
7
8EXTRA_OECONF = "--with-dbusbindir=${STAGING_BINDIR_NATIVE}"
9
10FILES_${PN} += "${datadir}/openmoko-dialer/ ${datadir}/dbus-1/services/"
diff --git a/meta-openmoko/packages/openmoko2/openmoko-icon-theme-standard_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-icon-theme-standard_svn.bb
new file mode 100644
index 0000000000..efc9ce03a5
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-icon-theme-standard_svn.bb
@@ -0,0 +1,19 @@
1DESCRIPTION = "Standard Gtk+ icon theme for the OpenMoko distribution"
2SECTION = "openmoko/base"
3PV = "0.0+svn${SRCDATE}"
4PR = "r1"
5
6inherit openmoko-base autotools
7
8SRC_URI = "${OPENMOKO_MIRROR}/src/target/2007.2/artwork;module=icons;proto=http"
9S = "${WORKDIR}/icons"
10
11PACKAGE_ARCH = "all"
12
13pkg_postinst_${PN} () {
14 if [ "x$D" != "x" ]; then
15 exit 1
16 fi
17 gtk-update-icon-cache -q /usr/share/icons/openmoko-standard
18}
19
diff --git a/meta-openmoko/packages/openmoko2/openmoko-libs.inc b/meta-openmoko/packages/openmoko2/openmoko-libs.inc
new file mode 100644
index 0000000000..9166934fee
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-libs.inc
@@ -0,0 +1,13 @@
1HOMEPAGE = "http://www.openmoko.org"
2LICENSE = "GPL"
3PV = "0.0.1+svn${SRCDATE}"
4
5inherit autotools pkgconfig
6
7SRC_URI = "svn://svn.openmoko.org/trunk/src/target/OM-2007.2/libraries;module=${REAL_PN};proto=http"
8
9S = "${WORKDIR}/${PN}"
10
11do_stage() {
12 autotools_stage_all
13}
diff --git a/meta-openmoko/packages/openmoko2/openmoko-session2.bb b/meta-openmoko/packages/openmoko2/openmoko-session2.bb
new file mode 100644
index 0000000000..38a560461d
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-session2.bb
@@ -0,0 +1,30 @@
1DESCRIPTION = "Custom MB session files for poky"
2LICENSE = "GPL"
3SECTION = "x11"
4RDEPENDS = "matchbox-applet-startup-monitor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato"
5RCONFLICTS = "matchbox-common matchbox-sato"
6PR = "r19"
7
8SRC_URI = "file://etc file://matchbox-session"
9S = ${WORKDIR}
10
11do_install() {
12 install -d ${D}/${bindir}
13 install -m 0755 ${S}/matchbox-session ${D}/${bindir}
14 cp -R ${S}/etc ${D}/etc
15 rm -fR ${D}/etc/.svn
16 rm -fR ${D}/etc/matchbox/.svn
17 chmod -R 755 ${D}/etc
18}
19
20pkg_postinst_openmoko-session2 () {
21#!/bin/sh -e
22if [ "x$D" != "x" ]; then
23 exit 1
24fi
25
26gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme openmoko-standard-2
27gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme openmoko-standard
28gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 5"
29gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/poky/peripherals/mouse/drag_threshold 8
30}
diff --git a/meta-openmoko/packages/openmoko2/openmoko-session2/etc/matchbox/session b/meta-openmoko/packages/openmoko2/openmoko-session2/etc/matchbox/session
new file mode 100755
index 0000000000..787d9c72ba
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-session2/etc/matchbox/session
@@ -0,0 +1,11 @@
1#!/bin/sh
2
3SHOWCURSOR="no"
4
5openmoko-today &
6openmoko-dialer &
7
8matchbox-window-manager -use_titlebar yes -use_desktop_mode decorated -theme openmoko-standard-2 -use_cursor $SHOWCURSOR $@ &
9
10exec matchbox-panel --start-applets showdesktop --end-applets clock,battery,systray,startup --titlebar
11
diff --git a/meta-openmoko/packages/openmoko2/openmoko-session2/matchbox-session b/meta-openmoko/packages/openmoko2/openmoko-session2/matchbox-session
new file mode 100644
index 0000000000..65f1ce72ca
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-session2/matchbox-session
@@ -0,0 +1,24 @@
1#!/bin/sh
2#
3# Very simple session manager for matchbox tools
4#
5
6# Uncomment below to enable parsing of debian menu entrys
7# export MB_USE_DEB_MENUS=1
8
9if [ -e $HOME/.matchbox/session ]
10then
11exec $HOME/.matchbox/session
12fi
13
14if [ -e /etc/matchbox/session ]
15then
16exec /etc/matchbox/session
17fi
18
19# Default files to run if $HOME/.matchbox/session or /etc/matchbox/session
20# dont exist.
21
22matchbox-desktop &
23matchbox-panel --orientation south &
24exec matchbox-window-manager $@
diff --git a/meta-openmoko/packages/openmoko2/openmoko-theme-standard2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-theme-standard2_svn.bb
new file mode 100644
index 0000000000..43a1fd41d0
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-theme-standard2_svn.bb
@@ -0,0 +1,23 @@
1require openmoko.inc
2
3DESCRIPTION = "Standard Gtk+ theme for the OpenMoko distribution"
4SECTION = "openmoko/base"
5RCONFLICTS = "openmoko-theme-standard"
6PACKAGE_ARCH = "all"
7PR = "r1"
8
9SRC_URI = "svn://svn.openmoko.org/trunk/src/target/OM-2007.2/artwork/themes;module=openmoko-standard-2;proto=http"
10
11S = "${WORKDIR}/openmoko-standard-2"
12
13do_install() {
14 find ${WORKDIR} -name ".svn" | xargs rm -rf
15 install -d ${D}${datadir}/themes/openmoko-standard-2/gtk-2.0
16 cp -fpPR ${S}/* ${D}${datadir}/themes/openmoko-standard-2/
17 rm -rf ${D}${datadir}/themes/openmoko-standard-2/patches/
18
19 install -d ${D}${sysconfdir}/gtk-2.0
20 echo 'include "${datadir}/themes/openmoko-standard-2/gtk-2.0/gtkrc"' >> ${D}${sysconfdir}/gtk-2.0/gtkrc
21}
22
23FILES_${PN} = "${datadir} ${sysconfdir}"
diff --git a/meta-openmoko/packages/openmoko2/openmoko-today2_svn.bb b/meta-openmoko/packages/openmoko2/openmoko-today2_svn.bb
new file mode 100644
index 0000000000..fc6aba99a2
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko-today2_svn.bb
@@ -0,0 +1,8 @@
1require openmoko.inc
2
3DESCRIPTION = "OpenMoko Today application"
4SECTION = "openmoko/pim"
5DEPENDS += "startup-notification dbus-glib libice libsm libmokoui2"
6REAL_PN = "openmoko-today2"
7
8inherit gtk-icon-cache
diff --git a/meta-openmoko/packages/openmoko2/openmoko.inc b/meta-openmoko/packages/openmoko2/openmoko.inc
new file mode 100644
index 0000000000..d5462be530
--- /dev/null
+++ b/meta-openmoko/packages/openmoko2/openmoko.inc
@@ -0,0 +1,10 @@
1HOMEPAGE = "http://www.openmoko.org"
2LICENSE = "GPL"
3DEPENDS = "gtk+ eds-dbus"
4PV = "0.0.1+svn${SRCDATE}"
5
6SRC_URI = "svn://svn.openmoko.org/trunk/src/target/OM-2007.2/applications;module=${REAL_PN};proto=http"
7
8S = "${WORKDIR}/${REAL_PN}"
9
10inherit autotools