diff options
author | Richard Purdie <richard@openedhand.com> | 2007-08-14 12:34:51 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-08-14 12:34:51 +0000 |
commit | da5f93acafbdd3d74488945db29782f757d35d49 (patch) | |
tree | 2add49a5f28d35914f37e315e9c6de477a5c8f75 /meta-openmoko/packages/openmoko2 | |
parent | fd817142ba52cd0b15d5836112ead2fb00b7f4c4 (diff) | |
download | poky-da5f93acafbdd3d74488945db29782f757d35d49.tar.gz |
Add meta-openmoko
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2492 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta-openmoko/packages/openmoko2')
13 files changed, 175 insertions, 0 deletions
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 @@ | |||
1 | require openmoko-libs.inc | ||
2 | |||
3 | DEPENDS = "libgsmd glib-2.0" | ||
4 | PR = "r1" | ||
5 | REAL_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 @@ | |||
1 | require openmoko-libs.inc | ||
2 | |||
3 | DEPENDS = "eds-dbus" | ||
4 | PR = "r1" | ||
5 | REAL_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 @@ | |||
1 | require openmoko-libs.inc | ||
2 | |||
3 | DEPENDS = "gtk+" | ||
4 | PV = "0.0.5+svn${SRCDATE}" | ||
5 | REAL_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 @@ | |||
1 | require openmoko.inc | ||
2 | |||
3 | DESCRIPTION = "The OpenMoko address book" | ||
4 | RDEPENDS = "libedata-book" | ||
5 | PV = "0.1+svn${SRCDATE}" | ||
6 | PR = "r2" | ||
7 | |||
8 | SRC_URI = "svn://svn.o-hand.com/repos/contacts/branches/;module=hito;proto=http" | ||
9 | |||
10 | S = "${WORKDIR}/hito/" | ||
11 | |||
12 | EXTRA_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 @@ | |||
1 | require openmoko.inc | ||
2 | |||
3 | DESCRIPTION = "The OpenMoko Dialer" | ||
4 | DEPENDS += "libmokogsmd2 libmokoui2 libmokojournal2" | ||
5 | REAL_PN = "openmoko-dialer2" | ||
6 | PR = "r1" | ||
7 | |||
8 | EXTRA_OECONF = "--with-dbusbindir=${STAGING_BINDIR_NATIVE}" | ||
9 | |||
10 | FILES_${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 @@ | |||
1 | DESCRIPTION = "Standard Gtk+ icon theme for the OpenMoko distribution" | ||
2 | SECTION = "openmoko/base" | ||
3 | PV = "0.0+svn${SRCDATE}" | ||
4 | PR = "r1" | ||
5 | |||
6 | inherit openmoko-base autotools | ||
7 | |||
8 | SRC_URI = "${OPENMOKO_MIRROR}/src/target/2007.2/artwork;module=icons;proto=http" | ||
9 | S = "${WORKDIR}/icons" | ||
10 | |||
11 | PACKAGE_ARCH = "all" | ||
12 | |||
13 | pkg_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 @@ | |||
1 | HOMEPAGE = "http://www.openmoko.org" | ||
2 | LICENSE = "GPL" | ||
3 | PV = "0.0.1+svn${SRCDATE}" | ||
4 | |||
5 | inherit autotools pkgconfig | ||
6 | |||
7 | SRC_URI = "svn://svn.openmoko.org/trunk/src/target/OM-2007.2/libraries;module=${REAL_PN};proto=http" | ||
8 | |||
9 | S = "${WORKDIR}/${PN}" | ||
10 | |||
11 | do_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 @@ | |||
1 | DESCRIPTION = "Custom MB session files for poky" | ||
2 | LICENSE = "GPL" | ||
3 | SECTION = "x11" | ||
4 | RDEPENDS = "matchbox-applet-startup-monitor gtk-sato-engine matchbox-theme-sato gtk-theme-sato matchbox-panel-2 matchbox-desktop-sato" | ||
5 | RCONFLICTS = "matchbox-common matchbox-sato" | ||
6 | PR = "r19" | ||
7 | |||
8 | SRC_URI = "file://etc file://matchbox-session" | ||
9 | S = ${WORKDIR} | ||
10 | |||
11 | do_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 | |||
20 | pkg_postinst_openmoko-session2 () { | ||
21 | #!/bin/sh -e | ||
22 | if [ "x$D" != "x" ]; then | ||
23 | exit 1 | ||
24 | fi | ||
25 | |||
26 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/theme openmoko-standard-2 | ||
27 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/icon_theme openmoko-standard | ||
28 | gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type string --set /desktop/poky/interface/font_name "Sans 5" | ||
29 | gconftool-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 | |||
3 | SHOWCURSOR="no" | ||
4 | |||
5 | openmoko-today & | ||
6 | openmoko-dialer & | ||
7 | |||
8 | matchbox-window-manager -use_titlebar yes -use_desktop_mode decorated -theme openmoko-standard-2 -use_cursor $SHOWCURSOR $@ & | ||
9 | |||
10 | exec 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 | |||
9 | if [ -e $HOME/.matchbox/session ] | ||
10 | then | ||
11 | exec $HOME/.matchbox/session | ||
12 | fi | ||
13 | |||
14 | if [ -e /etc/matchbox/session ] | ||
15 | then | ||
16 | exec /etc/matchbox/session | ||
17 | fi | ||
18 | |||
19 | # Default files to run if $HOME/.matchbox/session or /etc/matchbox/session | ||
20 | # dont exist. | ||
21 | |||
22 | matchbox-desktop & | ||
23 | matchbox-panel --orientation south & | ||
24 | exec 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 @@ | |||
1 | require openmoko.inc | ||
2 | |||
3 | DESCRIPTION = "Standard Gtk+ theme for the OpenMoko distribution" | ||
4 | SECTION = "openmoko/base" | ||
5 | RCONFLICTS = "openmoko-theme-standard" | ||
6 | PACKAGE_ARCH = "all" | ||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI = "svn://svn.openmoko.org/trunk/src/target/OM-2007.2/artwork/themes;module=openmoko-standard-2;proto=http" | ||
10 | |||
11 | S = "${WORKDIR}/openmoko-standard-2" | ||
12 | |||
13 | do_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 | |||
23 | FILES_${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 @@ | |||
1 | require openmoko.inc | ||
2 | |||
3 | DESCRIPTION = "OpenMoko Today application" | ||
4 | SECTION = "openmoko/pim" | ||
5 | DEPENDS += "startup-notification dbus-glib libice libsm libmokoui2" | ||
6 | REAL_PN = "openmoko-today2" | ||
7 | |||
8 | inherit 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 @@ | |||
1 | HOMEPAGE = "http://www.openmoko.org" | ||
2 | LICENSE = "GPL" | ||
3 | DEPENDS = "gtk+ eds-dbus" | ||
4 | PV = "0.0.1+svn${SRCDATE}" | ||
5 | |||
6 | SRC_URI = "svn://svn.openmoko.org/trunk/src/target/OM-2007.2/applications;module=${REAL_PN};proto=http" | ||
7 | |||
8 | S = "${WORKDIR}/${REAL_PN}" | ||
9 | |||
10 | inherit autotools | ||