first batch of OpenMoko2007.2 stuff
authorMichael Lauer <mickey@vanille-media.de>
Mon, 30 Jul 2007 11:35:50 +0000 (11:35 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Mon, 30 Jul 2007 11:35:50 +0000 (11:35 +0000)
16 files changed:
packages/openmoko2/.mtn2git_empty [new file with mode: 0644]
packages/openmoko2/libmokogsmd2_svn.bb [new file with mode: 0644]
packages/openmoko2/libmokojournal2_svn.bb [new file with mode: 0644]
packages/openmoko2/libmokopanelui2_svn.bb [new file with mode: 0644]
packages/openmoko2/libmokoui2_svn.bb [new file with mode: 0644]
packages/openmoko2/openmoko-contacts2_svn.bb [new file with mode: 0644]
packages/openmoko2/openmoko-dialer2_svn.bb [new file with mode: 0644]
packages/openmoko2/openmoko-icon-theme-standard_svn.bb [new file with mode: 0644]
packages/openmoko2/openmoko-session2.bb [new file with mode: 0644]
packages/openmoko2/openmoko-session2/.mtn2git_empty [new file with mode: 0644]
packages/openmoko2/openmoko-session2/etc/.mtn2git_empty [new file with mode: 0644]
packages/openmoko2/openmoko-session2/etc/matchbox/.mtn2git_empty [new file with mode: 0644]
packages/openmoko2/openmoko-session2/etc/matchbox/session [new file with mode: 0755]
packages/openmoko2/openmoko-session2/matchbox-session [new file with mode: 0644]
packages/openmoko2/openmoko-theme-standard2_svn.bb [new file with mode: 0644]
packages/openmoko2/openmoko-today2_svn.bb [new file with mode: 0644]

diff --git a/packages/openmoko2/.mtn2git_empty b/packages/openmoko2/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/openmoko2/libmokogsmd2_svn.bb b/packages/openmoko2/libmokogsmd2_svn.bb
new file mode 100644 (file)
index 0000000..3190eb3
--- /dev/null
@@ -0,0 +1,6 @@
+SECTION = "openmoko/libs"
+DEPENDS = "libgsmd glib-2.0"
+PV = "0.1.0+svn${SRCDATE}"
+
+inherit openmoko2
+
diff --git a/packages/openmoko2/libmokojournal2_svn.bb b/packages/openmoko2/libmokojournal2_svn.bb
new file mode 100644 (file)
index 0000000..e4874b9
--- /dev/null
@@ -0,0 +1,6 @@
+SECTION = "openmoko/libs"
+DEPENDS = "eds-dbus"
+PV = "0.1.0+svn${SRCDATE}"
+
+inherit openmoko2
+
diff --git a/packages/openmoko2/libmokopanelui2_svn.bb b/packages/openmoko2/libmokopanelui2_svn.bb
new file mode 100644 (file)
index 0000000..a4c4fe5
--- /dev/null
@@ -0,0 +1,6 @@
+SECTION = "openmoko/libs"
+DEPENDS = "gtk+"
+PV = "0.1.0+svn${SRCDATE}"
+
+inherit openmoko2
+
diff --git a/packages/openmoko2/libmokoui2_svn.bb b/packages/openmoko2/libmokoui2_svn.bb
new file mode 100644 (file)
index 0000000..a4c4fe5
--- /dev/null
@@ -0,0 +1,6 @@
+SECTION = "openmoko/libs"
+DEPENDS = "gtk+"
+PV = "0.1.0+svn${SRCDATE}"
+
+inherit openmoko2
+
diff --git a/packages/openmoko2/openmoko-contacts2_svn.bb b/packages/openmoko2/openmoko-contacts2_svn.bb
new file mode 100644 (file)
index 0000000..e44f387
--- /dev/null
@@ -0,0 +1,12 @@
+DESCRIPTION = "The OpenMoko address book"
+SECTION = "openmoko/pim"
+RDEPENDS = "libedata-book"
+PV = "0.1+svn${SRCDATE}"
+PR = "r2"
+
+inherit openmoko2
+
+SRC_URI = "svn://svn.o-hand.com/repos/contacts/branches/;module=hito;proto=http"
+S = "${WORKDIR}/hito/"
+
+EXTRA_OECONF = "--disable-gnome-vfs --with-frontend=openmoko"
diff --git a/packages/openmoko2/openmoko-dialer2_svn.bb b/packages/openmoko2/openmoko-dialer2_svn.bb
new file mode 100644 (file)
index 0000000..ccbd6f8
--- /dev/null
@@ -0,0 +1,11 @@
+DESCRIPTION = "The OpenMoko Dialer"
+SECTION = "openmoko/pim"
+DEPENDS = "libmokogsmd2 libmokoui2 libmokojournal2"
+PV = "0.1.0+svn${SRCDATE}"
+PR = "r1"
+
+inherit openmoko2
+
+EXTRA_OECONF = "--with-dbusbindir=${STAGING_BINDIR_NATIVE}"
+
+FILES_${PN} += "${datadir}/openmoko-dialer/ ${datadir}/dbus-1/services/"
diff --git a/packages/openmoko2/openmoko-icon-theme-standard_svn.bb b/packages/openmoko2/openmoko-icon-theme-standard_svn.bb
new file mode 100644 (file)
index 0000000..8029e1f
--- /dev/null
@@ -0,0 +1,19 @@
+DESCRIPTION = "Standard Gtk+ icon theme for the OpenMoko distribution"
+SECTION = "openmoko/base"
+PV = "0.1.0+svn${SRCDATE}"
+PR = "r1"
+
+inherit openmoko-base autotools
+
+SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=icons;proto=http"
+S = "${WORKDIR}/icons"
+
+PACKAGE_ARCH = "all"
+
+pkg_postinst_${PN} () {
+        if [ "x$D" != "x" ]; then
+                exit 1
+        fi
+        gtk-update-icon-cache -q /usr/share/icons/openmoko-standard
+}
+
diff --git a/packages/openmoko2/openmoko-session2.bb b/packages/openmoko2/openmoko-session2.bb
new file mode 100644 (file)
index 0000000..db37535
--- /dev/null
@@ -0,0 +1,31 @@
+DESCRIPTION = "Custom MB session files for poky"
+LICENSE = "GPL"
+SECTION = "x11"
+RDEPENDS = "matchbox-applet-startup-monitor matchbox-panel-2"
+# RDEPENDS = "matchbox-applet-startup-monitor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato"
+# RCONFLICTS = "matchbox-common matchbox-sato"
+PR = "r19"
+
+SRC_URI = "file://etc file://matchbox-session"
+S = ${WORKDIR}
+
+do_install() {
+       install -d ${D}/${bindir}
+       install -m 0755 ${S}/matchbox-session ${D}/${bindir}
+       cp -R ${S}/etc ${D}/etc
+       rm -fR ${D}/etc/.svn
+       rm -fR ${D}/etc/matchbox/.svn
+       chmod -R 755 ${D}/etc
+}
+
+pkg_postinst_openmoko-session2 () {
+#!/bin/sh -e
+if [ "x$D" != "x" ]; then
+    exit 1
+fi
+
+gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme openmoko-standard-2
+gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme openmoko-standard
+gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 5"
+gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type int --set /desktop/poky/peripherals/mouse/drag_threshold 8
+}
diff --git a/packages/openmoko2/openmoko-session2/.mtn2git_empty b/packages/openmoko2/openmoko-session2/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/openmoko2/openmoko-session2/etc/.mtn2git_empty b/packages/openmoko2/openmoko-session2/etc/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/openmoko2/openmoko-session2/etc/matchbox/.mtn2git_empty b/packages/openmoko2/openmoko-session2/etc/matchbox/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/openmoko2/openmoko-session2/etc/matchbox/session b/packages/openmoko2/openmoko-session2/etc/matchbox/session
new file mode 100755 (executable)
index 0000000..787d9c7
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+SHOWCURSOR="no"
+
+openmoko-today &
+openmoko-dialer &
+
+matchbox-window-manager -use_titlebar yes -use_desktop_mode decorated -theme openmoko-standard-2 -use_cursor $SHOWCURSOR $@ &
+
+exec matchbox-panel --start-applets showdesktop --end-applets clock,battery,systray,startup --titlebar
+
diff --git a/packages/openmoko2/openmoko-session2/matchbox-session b/packages/openmoko2/openmoko-session2/matchbox-session
new file mode 100644 (file)
index 0000000..65f1ce7
--- /dev/null
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# Very simple session manager for matchbox tools
+#
+
+# Uncomment below to enable parsing of debian menu entrys
+# export MB_USE_DEB_MENUS=1 
+
+if [ -e $HOME/.matchbox/session ]
+then
+exec $HOME/.matchbox/session
+fi
+
+if [ -e /etc/matchbox/session ]
+then
+exec /etc/matchbox/session
+fi
+
+# Default files to run if $HOME/.matchbox/session or /etc/matchbox/session
+# dont exist. 
+
+matchbox-desktop &
+matchbox-panel  --orientation south &
+exec matchbox-window-manager $@
diff --git a/packages/openmoko2/openmoko-theme-standard2_svn.bb b/packages/openmoko2/openmoko-theme-standard2_svn.bb
new file mode 100644 (file)
index 0000000..b925edc
--- /dev/null
@@ -0,0 +1,23 @@
+DESCRIPTION = "Standard Gtk+ theme for the OpenMoko distribution"
+SECTION = "openmoko/base"
+RCONFLICTS = "openmoko-theme-standard"
+PV = "0.1.0+srvn${SRCDATE}"
+PR = "r1"
+
+inherit openmoko2
+
+SRC_URI = "svn://svn.openmoko.org/trunk/src/target/OM-2008/artwork/themes;module=openmoko-standard-2;proto=http"
+S = "${WORKDIR}/openmoko-standard-2"
+
+do_install() {
+       find ${WORKDIR} -name ".svn" | xargs rm -rf
+       install -d ${D}${datadir}/themes/openmoko-standard-2/gtk-2.0
+       cp -fpPR ${S}/* ${D}${datadir}/themes/openmoko-standard-2/
+       rm -rf ${D}${datadir}/themes/openmoko-standard-2/patches/
+       
+       install -d ${D}${sysconfdir}/gtk-2.0
+       echo 'include "${datadir}/themes/openmoko-standard-2/gtk-2.0/gtkrc"' >> ${D}${sysconfdir}/gtk-2.0/gtkrc
+}
+
+PACKAGE_ARCH = "all"
+FILES_${PN} = "${datadir} ${sysconfdir}"
diff --git a/packages/openmoko2/openmoko-today2_svn.bb b/packages/openmoko2/openmoko-today2_svn.bb
new file mode 100644 (file)
index 0000000..6781601
--- /dev/null
@@ -0,0 +1,5 @@
+DESCRIPTION = "The OpenMoko Application Launcher"
+SECTION = "openmoko/pim"
+DEPENDS = "startup-notification dbus-glib libice libsm"
+
+inherit openmoko2 gtk-icon-cache