summaryrefslogtreecommitdiffstats
path: root/meta-moblin
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-06-19 18:06:20 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-06-19 18:06:20 +0100
commitcd60a7eb241e7e658cfa88043ca0049845ebdecd (patch)
tree66ea5034858475aed63a906c5184ac20d6b30781 /meta-moblin
parent19e1d23dd1c46b11d929d8803f24121b7b8447d3 (diff)
downloadpoky-cd60a7eb241e7e658cfa88043ca0049845ebdecd.tar.gz
meta-moblin: Add recipes for most moblin beta components
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-moblin')
-rw-r--r--meta-moblin/packages/anerley/anerley_git.bb11
-rw-r--r--meta-moblin/packages/bisho/bisho_git.bb13
-rw-r--r--meta-moblin/packages/bognor-regis/bognor-regis_git.bb13
-rw-r--r--meta-moblin/packages/carrick/carrick_git.bb14
-rw-r--r--meta-moblin/packages/dalston/dalston_git.bb11
-rw-r--r--meta-moblin/packages/gconnman/gconnman_git.bb11
-rw-r--r--meta-moblin/packages/hornsey/hornsey_git.bb13
-rw-r--r--meta-moblin/packages/matchbox-netbook-session/matchbox-session-netbook/session5
-rw-r--r--meta-moblin/packages/matchbox-netbook-session/matchbox-session-netbook_0.1.bb169
-rw-r--r--meta-moblin/packages/moblin-cursor-theme/moblin-cursor-theme-0.1/moblin-cursor-theme-0.1.tar.bz2bin0 -> 106543 bytes
-rw-r--r--meta-moblin/packages/moblin-cursor-theme/moblin-cursor-theme_0.1.bb12
-rw-r--r--meta-moblin/packages/moblin-gtk-engine/moblin-gtk-engine_git.bb13
-rw-r--r--meta-moblin/packages/moblin-icon-theme/moblin-icon-theme-0.3/configurehack.patch27
-rw-r--r--meta-moblin/packages/moblin-icon-theme/moblin-icon-theme-0.3/moblin-icon-theme-0.3.tar.gzbin0 -> 2193197 bytes
-rw-r--r--meta-moblin/packages/moblin-icon-theme/moblin-icon-theme_0.3.bb13
-rw-r--r--meta-moblin/packages/moblin-icon-theme/moblin-icon-theme_git.bb12
-rw-r--r--meta-moblin/packages/moblin-sound-theme/moblin-sound-theme-0.1/moblin-sound-theme-0.1.tar.bz2bin0 -> 422383 bytes
-rw-r--r--meta-moblin/packages/moblin-sound-theme/moblin-sound-theme_0.1.bb7
-rw-r--r--meta-moblin/packages/moblin-user-skel/moblin-user-skel_git.bb20
-rw-r--r--meta-moblin/packages/moblin-web-browser/moblin-web-browser/xpidl.patch35
-rw-r--r--meta-moblin/packages/moblin-web-browser/moblin-web-browser_git.bb18
-rw-r--r--meta-moblin/packages/mutter-moblin/files/background-tile.pngbin0 -> 194031 bytes
-rw-r--r--meta-moblin/packages/mutter-moblin/files/startup-notify.patch51
-rw-r--r--meta-moblin/packages/mutter-moblin/mutter-moblin_git.bb37
-rw-r--r--meta-moblin/packages/mux/mux_git.bb13
-rw-r--r--meta-moblin/packages/nbtk/nbtk_git.bb16
26 files changed, 534 insertions, 0 deletions
diff --git a/meta-moblin/packages/anerley/anerley_git.bb b/meta-moblin/packages/anerley/anerley_git.bb
new file mode 100644
index 0000000000..373ab3cddb
--- /dev/null
+++ b/meta-moblin/packages/anerley/anerley_git.bb
@@ -0,0 +1,11 @@
1DESCRIPTION = "People widgets for Moblin User Experience"
2SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
3LICENSE = "LGPLv2.1"
4PV = "0.0+git${SRCPV}"
5PR = "r0"
6
7S = "${WORKDIR}/git"
8
9DEPENDS = "telepathy-glib glib-2.0 telepathy-mission-control nbtk"
10
11inherit autotools_stage
diff --git a/meta-moblin/packages/bisho/bisho_git.bb b/meta-moblin/packages/bisho/bisho_git.bb
new file mode 100644
index 0000000000..d3bfc58f35
--- /dev/null
+++ b/meta-moblin/packages/bisho/bisho_git.bb
@@ -0,0 +1,13 @@
1DESCRIPTION = "Web Services Settings"
2SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
3LICENSE = "GPLv2"
4PV = "0.0+git${SRCPV}"
5PR = "r0"
6
7DEPENDS = "gtk+ mojito mux"
8
9S = "${WORKDIR}/git"
10
11inherit autotools_stage
12
13FILES_${PN} += "${datadir}/icons/"
diff --git a/meta-moblin/packages/bognor-regis/bognor-regis_git.bb b/meta-moblin/packages/bognor-regis/bognor-regis_git.bb
new file mode 100644
index 0000000000..016e5082dc
--- /dev/null
+++ b/meta-moblin/packages/bognor-regis/bognor-regis_git.bb
@@ -0,0 +1,13 @@
1DESCRIPTION = "Media deamon and play queue manager"
2SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
3LICENSE = "GPLv2"
4PV = "0.0+git${SRCPV}"
5PR = "r0"
6
7S = "${WORKDIR}/git"
8
9DEPENDS = "glib-2.0 dbus-glib"
10
11FILES_${PN} += "${datadir}/dbus-1/services"
12
13inherit autotools_stage
diff --git a/meta-moblin/packages/carrick/carrick_git.bb b/meta-moblin/packages/carrick/carrick_git.bb
new file mode 100644
index 0000000000..28f8c51a00
--- /dev/null
+++ b/meta-moblin/packages/carrick/carrick_git.bb
@@ -0,0 +1,14 @@
1DESCIPTION = "Connection Management Panel Applet"
2SRC_URI = "git://git.moblin.org/${PN}-ng.git;protocol=git"
3LICENSE = "GPLv2"
4PV = "0.0+git${SRCPV}"
5PR = "r1"
6
7DEPENDS = "gconnman nbtk"
8RDEPENDS = "connman gconnman"
9
10S = "${WORKDIR}/git"
11
12FILES_${PN} += "${datadir}/icons/hicolor"
13
14inherit autotools_stage
diff --git a/meta-moblin/packages/dalston/dalston_git.bb b/meta-moblin/packages/dalston/dalston_git.bb
new file mode 100644
index 0000000000..c139806001
--- /dev/null
+++ b/meta-moblin/packages/dalston/dalston_git.bb
@@ -0,0 +1,11 @@
1DESCRIPTION = "System Information Icons"
2SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
3LICENSE = "LGPLv2.1"
4PV = "0.0+git${SRCPV}"
5PR = "r0"
6
7DEPENDS = "glib-2.0 gtk+ pulseaudio libcanberra libnotify nbtk"
8
9S = "${WORKDIR}/git"
10
11inherit autotools_stage
diff --git a/meta-moblin/packages/gconnman/gconnman_git.bb b/meta-moblin/packages/gconnman/gconnman_git.bb
new file mode 100644
index 0000000000..d3ba67a911
--- /dev/null
+++ b/meta-moblin/packages/gconnman/gconnman_git.bb
@@ -0,0 +1,11 @@
1DESCRIPTION = "Glib bindings to connman"
2SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
3LICENSE = "LGPLv2.1"
4PV = "0.0+git${SRCPV}"
5PR = "r0"
6
7S = "${WORKDIR}/git"
8
9DEPENDS = "connman glib-2.0 dbus-glib gtk+"
10
11inherit autotools_stage
diff --git a/meta-moblin/packages/hornsey/hornsey_git.bb b/meta-moblin/packages/hornsey/hornsey_git.bb
new file mode 100644
index 0000000000..a43904bfc7
--- /dev/null
+++ b/meta-moblin/packages/hornsey/hornsey_git.bb
@@ -0,0 +1,13 @@
1DESCRIPTION = "The Moblin Media Player"
2SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
3LICENSE = "LGPLv2.1"
4PV = "0.0+git${SRCPV}"
5PR = "r1"
6
7DEPENDS = "clutter clutter-gst bickley bognor-regis nbtk startup-notification libunique"
8
9S = "${WORKDIR}/git"
10
11FILES_${PN} += "${datadir}/icons"
12
13inherit autotools_stage
diff --git a/meta-moblin/packages/matchbox-netbook-session/matchbox-session-netbook/session b/meta-moblin/packages/matchbox-netbook-session/matchbox-session-netbook/session
new file mode 100644
index 0000000000..5cf9ee1bf3
--- /dev/null
+++ b/meta-moblin/packages/matchbox-netbook-session/matchbox-session-netbook/session
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3export LIBGL_ALWAYS_INDIRECT=1
4
5exec metacity --mutter-plugins=moblin-netbook
diff --git a/meta-moblin/packages/matchbox-netbook-session/matchbox-session-netbook_0.1.bb b/meta-moblin/packages/matchbox-netbook-session/matchbox-session-netbook_0.1.bb
new file mode 100644
index 0000000000..e318785ece
--- /dev/null
+++ b/meta-moblin/packages/matchbox-netbook-session/matchbox-session-netbook_0.1.bb
@@ -0,0 +1,169 @@
1DESCRIPTION = "Custom MB session files for poky"
2LICENSE = "GPL"
3SECTION = "x11"
4RDEPENDS = "formfactor gtk-engines initscripts matchbox-session"
5PR = "r15"
6
7# This package is architecture specific because the session script is modified
8# based on the machine architecture.
9PACKAGE_ARCH = "${MACHINE_ARCH}"
10
11SRC_URI = "file://session"
12S = "${WORKDIR}"
13
14do_install() {
15 install -d ${D}/${sysconfdir}/matchbox
16 install ${S}/session ${D}/${sysconfdir}/matchbox/session
17 chmod +x ${D}/${sysconfdir}/matchbox/session
18}
19
20pkg_postinst_${PN} () {
21#!/bin/sh -e
22if [ "x$D" != "x" ]; then
23 exit 1
24fi
25
26. ${sysconfdir}/init.d/functions
27
28# Theme
29gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
30 --direct --type string -s \
31 /apps/metacity/general/theme "Moblin-Netbook"
32
33gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
34 --direct --type string -s \
35 /apps/metacity/general/button_layout ":close"
36
37gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
38 --direct --type string -s \
39 /desktop/gnome/interface/gtk_theme "Moblin-Netbook"
40
41gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
42 --direct --type string -s \
43 /desktop/gnome/interface/icon_theme "moblin"
44
45gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
46 --direct --type string -s \
47 /desktop/gnome/peripherals/mouse/cursor_theme "moblin"
48
49gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
50 --direct --type string -s \
51 /desktop/gnome/interface/toolbar_style "icons"
52
53gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
54 --direct --type bool -s \
55 /desktop/gnome/interface/menus_have_icons false
56
57gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
58 --direct --type bool -s \
59 /desktop/gnome/interface/buttons_have_icons false
60
61gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
62 --direct --type string -s \
63 /desktop/gnome/sound/theme_name moblin
64
65# Window Actions
66gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
67 --direct --type string -s \
68 /apps/metacity/general/action_double_click_titlebar "none"
69gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
70 --direct --type string -s \
71 /apps/metacity/general/action_middle_click_titlebar "none"
72gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
73 --direct --type string -s \
74 /apps/metacity/general/action_right_click_titlebar "none"
75
76# UX Shell
77gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
78 --direct --type bool -s \
79 /apps/metacity/general/clutter_disabled false
80
81gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
82 --direct --type list --list-type string -s \
83 /apps/metacity/general/clutter_plugins '[moblin-netbook]'
84
85gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
86 --direct --type string -s \
87 /desktop/gnome/url-handlers/http/command 'moblin-web-browser %s'
88
89gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
90 --direct --type string -s \
91 /desktop/gnome/url-handlers/https/command 'moblin-web-browser %s'
92
93gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
94 --direct --type string -s \
95 /desktop/gnome/background/picture_filename \
96 '/usr/share/mutter-moblin/theme/myzone/toys.jpg'
97
98# Fonts
99gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
100 --direct --type string -s \
101 /desktop/gnome/interface/document_font_name \
102 'Liberation Sans 10'
103
104gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
105 --direct --type string -s \
106 /desktop/gnome/interface/font_name \
107 'Liberation Sans 10'
108
109gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
110 --direct --type string -s \
111 /desktop/gnome/interface/monospace_font_name \
112 'Liberation Mono 10'
113
114# Nautilus
115gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
116 --direct --type bool -s \
117 /apps/nautilus/preferences/always_use_browser true
118
119gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
120 --direct --type bool -s \
121 /apps/nautilus/icon_view/labels_beside_icons true
122
123gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
124 --direct --type string -s \
125 /apps/nautilus/icon_view/default_zoom_level large
126
127gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults \
128 --direct --type string -s \
129 /apps/gnome_settings_daemon/keybindings/power ""
130
131#
132# The interesting bit - we convert to run the system as the user "pokyuser"
133# and setup this user account as needed
134#
135if [ ! -d /home/pokyuser ]; then
136 adduser --disabled-password --ingroup users pokyuser
137
138 # Setup any .skel files
139 if [ -d ${sysconfdir}/skel ]; then
140 cp -pPR ${sysconfdir}/skel/.[a-zA-Z0-9]* /home/pokyuser/ || /bin/true
141 cp -pPR ${sysconfdir}/skel/* /home/pokyuser/ || /bin/true
142 fi
143
144 # Move any sample media into this user
145 if [ -d ${sysconfdir}/skel-media ]; then
146 mv ${sysconfdir}/skel-media/* /home/pokyuser/ || /bin/true
147 fi
148
149 chown pokyuser.users -R /home/pokyuser/* || /bin/true
150 chown pokyuser.users -R /home/pokyuser/.[a-zA-Z0-9]* || /bin/true
151
152 # Make sure Xorg is suid
153 chmod a+s /usr/bin/Xorg
154
155 # Tell X to run as this user
156 mkdir -p ${sysconfdir}/X11/
157 echo "pokyuser" > ${sysconfdir}/X11/Xusername
158
159 # Add pokyuser to the audio group
160 audiousers=`grep ^audio < /etc/group | cut -d ':' -f 4`
161 if [ "x$audiousers" == "x" ]; then
162 audiousers=pokyuser
163 else
164 audiousers=$audiousers,pokyuser
165 fi
166 sed -i -e "s/audio:\(.*\):\(.*\):\(.*\)/audio:\1:\2:$audiousers/" /etc/group
167fi
168
169}
diff --git a/meta-moblin/packages/moblin-cursor-theme/moblin-cursor-theme-0.1/moblin-cursor-theme-0.1.tar.bz2 b/meta-moblin/packages/moblin-cursor-theme/moblin-cursor-theme-0.1/moblin-cursor-theme-0.1.tar.bz2
new file mode 100644
index 0000000000..47c3d7e8f8
--- /dev/null
+++ b/meta-moblin/packages/moblin-cursor-theme/moblin-cursor-theme-0.1/moblin-cursor-theme-0.1.tar.bz2
Binary files differ
diff --git a/meta-moblin/packages/moblin-cursor-theme/moblin-cursor-theme_0.1.bb b/meta-moblin/packages/moblin-cursor-theme/moblin-cursor-theme_0.1.bb
new file mode 100644
index 0000000000..af3f447083
--- /dev/null
+++ b/meta-moblin/packages/moblin-cursor-theme/moblin-cursor-theme_0.1.bb
@@ -0,0 +1,12 @@
1
2SRC_URI = "file://${PN}-${PV}.tar.bz2"
3PR = "r0"
4
5FILES_${PN} =+ "${datadir}/icons/moblin"
6DEPENDS = "icon-naming-utils-native"
7
8
9do_install () {
10 install -d ${D}${datadir}/icons/moblin/
11 cp -r ${S}/cursors ${D}${datadir}/icons/moblin/
12}
diff --git a/meta-moblin/packages/moblin-gtk-engine/moblin-gtk-engine_git.bb b/meta-moblin/packages/moblin-gtk-engine/moblin-gtk-engine_git.bb
new file mode 100644
index 0000000000..2f79e1315e
--- /dev/null
+++ b/meta-moblin/packages/moblin-gtk-engine/moblin-gtk-engine_git.bb
@@ -0,0 +1,13 @@
1
2SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
3LICENSE = "LGPLv2.1"
4PV = "0.0+git${SRCPV}"
5PR = "r1"
6
7S = "${WORKDIR}/git"
8
9inherit autotools_stage
10
11FILES_${PN} = "${libdir}/gtk-2.0/*/engines/*.so ${datadir}/icons ${datadir}/themes"
12FILES_${PN}-dev = "${libdir}/gtk-2.0/*/engines/*"
13FILES_${PN}-dbg = "${libdir}/gtk-2.0/*/engines/.debug"
diff --git a/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme-0.3/configurehack.patch b/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme-0.3/configurehack.patch
new file mode 100644
index 0000000000..35fe60596c
--- /dev/null
+++ b/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme-0.3/configurehack.patch
@@ -0,0 +1,27 @@
1Index: moblin-icon-theme-0.3/configure.ac
2===================================================================
3--- moblin-icon-theme-0.3.orig/configure.ac 2009-05-16 17:49:28.000000000 +0100
4+++ moblin-icon-theme-0.3/configure.ac 2009-05-16 17:53:34.000000000 +0100
5@@ -10,20 +10,9 @@
6
7 UTILS_REQUIRED=0.8.7
8
9-AC_MSG_CHECKING([icon-naming-utils >= $UTILS_REQUIRED])
10-PKG_CHECK_EXISTS(icon-naming-utils >= $UTILS_REQUIRED,
11- have_utils=yes, have_utils=no)
12-if test "x$have_utils" = "xyes"; then
13- UTILS_PATH="`$PKG_CONFIG --variable=program_path icon-naming-utils`"
14- ICONMAP="$UTILS_PATH/icon-name-mapping"
15- AC_SUBST(ICONMAP)
16- AC_MSG_RESULT([yes])
17-else
18- AC_MSG_RESULT([no])
19- AC_MSG_ERROR([icon-naming-utils >= $UTILS_REQUIRED is required to build
20- and install sato-icon-theme])
21-fi
22
23+AC_PATH_PROG(ICONMAP, icon-name-mapping, icon-name-mapping)
24+AC_SUBST(ICONMAP)
25
26 AC_CONFIG_FILES([
27 Makefile
diff --git a/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme-0.3/moblin-icon-theme-0.3.tar.gz b/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme-0.3/moblin-icon-theme-0.3.tar.gz
new file mode 100644
index 0000000000..be5cf883ee
--- /dev/null
+++ b/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme-0.3/moblin-icon-theme-0.3.tar.gz
Binary files differ
diff --git a/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme_0.3.bb b/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme_0.3.bb
new file mode 100644
index 0000000000..80fd22b892
--- /dev/null
+++ b/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme_0.3.bb
@@ -0,0 +1,13 @@
1
2SRC_URI = "file://${PN}-${PV}.tar.gz"
3PR = "r1"
4
5DEPENDS = "icon-naming-utils-native"
6
7FILES_${PN} += "${datadir}/icons/"
8
9inherit autotools_stage
10
11do_install_append () {
12 mv "${D}${datadir}/icons/Moblin Netbook" ${D}${datadir}/icons/moblin
13}
diff --git a/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme_git.bb b/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme_git.bb
new file mode 100644
index 0000000000..a778ae16f4
--- /dev/null
+++ b/meta-moblin/packages/moblin-icon-theme/moblin-icon-theme_git.bb
@@ -0,0 +1,12 @@
1
2SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
3PV = "0.0+git${SRCPV}"
4PR = "r0"
5
6DEFAULT_PREFERENCE = "-1"
7
8BROKEN = "1"
9
10S = "${WORKDIR}/git"
11
12inherit autotools_stage
diff --git a/meta-moblin/packages/moblin-sound-theme/moblin-sound-theme-0.1/moblin-sound-theme-0.1.tar.bz2 b/meta-moblin/packages/moblin-sound-theme/moblin-sound-theme-0.1/moblin-sound-theme-0.1.tar.bz2
new file mode 100644
index 0000000000..34dcc6a1cd
--- /dev/null
+++ b/meta-moblin/packages/moblin-sound-theme/moblin-sound-theme-0.1/moblin-sound-theme-0.1.tar.bz2
Binary files differ
diff --git a/meta-moblin/packages/moblin-sound-theme/moblin-sound-theme_0.1.bb b/meta-moblin/packages/moblin-sound-theme/moblin-sound-theme_0.1.bb
new file mode 100644
index 0000000000..ef1e10839a
--- /dev/null
+++ b/meta-moblin/packages/moblin-sound-theme/moblin-sound-theme_0.1.bb
@@ -0,0 +1,7 @@
1
2SRC_URI = "file://${PN}-${PV}.tar.bz2"
3PR = "r0"
4
5inherit autotools_stage
6
7#FILES_${PN} =+ "${datadir}/icons/moblin"
diff --git a/meta-moblin/packages/moblin-user-skel/moblin-user-skel_git.bb b/meta-moblin/packages/moblin-user-skel/moblin-user-skel_git.bb
new file mode 100644
index 0000000000..ff71b5f92b
--- /dev/null
+++ b/meta-moblin/packages/moblin-user-skel/moblin-user-skel_git.bb
@@ -0,0 +1,20 @@
1SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
2PV = "0.0+git${SRCPV}"
3PR = "r0"
4
5S = "${WORKDIR}/git"
6
7do_compile () {
8 :
9}
10
11do_install () {
12 install -d ${D}${sysconfdir}/skel/.bkl-thumbnails/
13 cp -pPR ${S}/.bkl-thumbnails/* ${D}${sysconfdir}/skel/.bkl-thumbnails/
14
15 install -d ${D}${sysconfdir}/skel/.kozo/
16 cp -pPR ${S}/.kozo/* ${D}${sysconfdir}/skel/.kozo/
17
18 install -d ${D}${sysconfdir}/skel/.local/
19 cp -pPR ${S}/.local/* ${D}${sysconfdir}/skel/.local/
20}
diff --git a/meta-moblin/packages/moblin-web-browser/moblin-web-browser/xpidl.patch b/meta-moblin/packages/moblin-web-browser/moblin-web-browser/xpidl.patch
new file mode 100644
index 0000000000..a8675868a3
--- /dev/null
+++ b/meta-moblin/packages/moblin-web-browser/moblin-web-browser/xpidl.patch
@@ -0,0 +1,35 @@
1Index: git/configure.ac
2===================================================================
3--- git.orig/configure.ac 2009-06-10 15:01:55.000000000 +0100
4+++ git/configure.ac 2009-06-10 15:19:36.000000000 +0100
5@@ -36,6 +36,13 @@
6 MOZIDLDIR=`${PKG_CONFIG} --variable=idldir libxul-unstable`"/unstable"
7 AC_SUBST([MOZIDLDIR])
8
9+IDLPREFIX=
10+AC_ARG_WITH(idl-prefix, AC_HELP_STRING([--with-idl-prefix=DIR],[prefix to add to access to the idl files]), with_idl_prefix=${withval})
11+if test x"${with_idl_prefix}" != x ; then
12+ IDLPREFIX=${with_idl_prefix}
13+fi
14+AC_SUBST([IDLPREFIX])
15+
16 AC_PATH_PROG(DBUSBINDINGTOOL, dbus-binding-tool)
17
18 AC_OUTPUT([
19Index: git/libmwbpages/Makefile.am
20===================================================================
21--- git.orig/libmwbpages/Makefile.am 2009-06-10 15:01:55.000000000 +0100
22+++ git/libmwbpages/Makefile.am 2009-06-10 15:20:12.000000000 +0100
23@@ -23,10 +23,10 @@
24 mwb-start-page.lo : MwbIStartPage.h
25
26 MwbIStartPage.h : MwbIStartPage.idl
27- $(MOZHOME)/xpidl -I $(MOZIDLDIR) -m header $<
28+ xpidl -I $(IDLPREFIX)$(MOZIDLDIR) -m header $<
29
30 MwbIStartPage.xpt : MwbIStartPage.idl
31- $(MOZHOME)/xpidl -I $(MOZIDLDIR) -m typelib $<
32+ xpidl -I $(IDLPREFIX)$(MOZIDLDIR) -m typelib $<
33
34 xpt_DATA = MwbIStartPage.xpt
35 xptdir = $(MOZHOME)/components
diff --git a/meta-moblin/packages/moblin-web-browser/moblin-web-browser_git.bb b/meta-moblin/packages/moblin-web-browser/moblin-web-browser_git.bb
new file mode 100644
index 0000000000..bb7e2ff0d7
--- /dev/null
+++ b/meta-moblin/packages/moblin-web-browser/moblin-web-browser_git.bb
@@ -0,0 +1,18 @@
1DESCRIPTION = "Moblin web browser (based on clutter + mozilla-headless/mozilla-offscreen)"
2SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git \
3 file://xpidl.patch;patch=1"
4LICENSE = "LGPLv2.1"
5PV = "0.0+git${SRCPV}"
6PR = "r2"
7
8DEPENDS = "clutter clutter-mozembed clutter-gtk libunique mozilla-headless-services libccss nbtk mozilla-headless"
9
10S = "${WORKDIR}/git"
11
12EXTRA_OECONF = "--with-idl-prefix=${STAGING_DIR_TARGET}/"
13
14FILES_${PN} += "${libdir}/xulrunner-*/chrome/*"
15FILES_${PN} += "${libdir}/xulrunner-*/components/*"
16FILES_${PN}-dbg += "${libdir}/xulrunner-*/components/.debug/*"
17
18inherit autotools_stage
diff --git a/meta-moblin/packages/mutter-moblin/files/background-tile.png b/meta-moblin/packages/mutter-moblin/files/background-tile.png
new file mode 100644
index 0000000000..b71a55b679
--- /dev/null
+++ b/meta-moblin/packages/mutter-moblin/files/background-tile.png
Binary files differ
diff --git a/meta-moblin/packages/mutter-moblin/files/startup-notify.patch b/meta-moblin/packages/mutter-moblin/files/startup-notify.patch
new file mode 100644
index 0000000000..72ad42cd98
--- /dev/null
+++ b/meta-moblin/packages/mutter-moblin/files/startup-notify.patch
@@ -0,0 +1,51 @@
1Index: git/src/mnb-drop-down.c
2===================================================================
3--- git.orig/src/mnb-drop-down.c 2009-06-09 16:38:46.000000000 +0100
4+++ git/src/mnb-drop-down.c 2009-06-09 16:41:21.000000000 +0100
5@@ -68,6 +68,37 @@
6 gboolean hide_toolbar : 1;
7 };
8
9+
10+#include <dbus/dbus.h>
11+
12+static gboolean
13+emit_loaded_signal (gpointer user_data)
14+{
15+ DBusError error = DBUS_ERROR_INIT;
16+ DBusConnection *conn;
17+ DBusMessage *msg;
18+
19+ conn = dbus_bus_get (DBUS_BUS_SYSTEM, &error);
20+ if (!conn) {
21+ g_printerr ("Cannot connect to system bus: %s", error.message);
22+ dbus_error_free (&error);
23+ return FALSE;
24+ }
25+
26+ msg = dbus_message_new_signal ("/", "org.matchbox_project.desktop", "Loaded");
27+
28+ dbus_connection_send (conn, msg, NULL);
29+ dbus_message_unref (msg);
30+
31+ /* Flush explicitly because we're too lazy to integrate DBus into the main
32+ loop. We're only sending a signal, so if we got as far as here it's
33+ unlikely to block. */
34+ dbus_connection_flush (conn);
35+ dbus_connection_unref (conn);
36+
37+ return FALSE;
38+}
39+
40 static void
41 mnb_drop_down_get_property (GObject *object, guint property_id,
42 GValue *value, GParamSpec *pspec)
43@@ -137,6 +168,8 @@
44
45 g_signal_emit (actor, dropdown_signals[SHOW_COMPLETED], 0);
46 g_object_unref (actor);
47+
48+ g_idle_add (emit_loaded_signal, NULL);
49 }
50
51 static void
diff --git a/meta-moblin/packages/mutter-moblin/mutter-moblin_git.bb b/meta-moblin/packages/mutter-moblin/mutter-moblin_git.bb
new file mode 100644
index 0000000000..37d5b2158b
--- /dev/null
+++ b/meta-moblin/packages/mutter-moblin/mutter-moblin_git.bb
@@ -0,0 +1,37 @@
1DESCRIPTION = "A Moblin specific plugin for the Mutter composite window manager"
2SECTION = "x11/wm"
3LICENSE = "GPLv3"
4DEPENDS = "nbtk mutter gnome-menus mojito libjana anerley clutter-mozembed"
5PV = "2.25.2+git${SRCPV}"
6PR = "r3"
7
8SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git \
9 file://startup-notify.patch;patch=1 \
10 file://background-tile.png"
11
12FILES_${PN} += "${libdir}/metacity/plugins/clutter/*.so* ${datadir}/mutter-moblin-netbook-plugin"
13FILES_${PN}-dbg += "${libdir}/metacity/plugins/clutter/.debug/*"
14
15S = "${WORKDIR}/git"
16
17ASNEEDED = ""
18
19EXTRA_OECONF = "--enable-ahoghill --enable-netpanel --enable-people"
20
21inherit autotools_stage
22
23do_configure_prepend () {
24 rm -f ${S}/build/autotools/gtk-doc.m4
25 cp ${WORKDIR}/background-tile.png ${S}/data/theme/panel/
26}
27
28pkg_postinst_${PN} () {
29#!/bin/sh -e
30if [ "x$D" != "x" ]; then
31 exit 1
32fi
33
34. ${sysconfdir}/init.d/functions
35
36gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type list --list-type string --set /apps/metacity/general/clutter_plugins '[moblin-netbook]'
37}
diff --git a/meta-moblin/packages/mux/mux_git.bb b/meta-moblin/packages/mux/mux_git.bb
new file mode 100644
index 0000000000..b3e51a7ada
--- /dev/null
+++ b/meta-moblin/packages/mux/mux_git.bb
@@ -0,0 +1,13 @@
1DESCRIPTION = "GTK+ widgets for moblin"
2SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
3LICENSE = "LGPLv2.1"
4PV = "0.0+git${SRCPV}"
5PR = "r0"
6
7LICENSE = "LGPLv2.1"
8
9S = "${WORKDIR}/git"
10
11DEPENDS = "gtk+"
12
13inherit autotools_stage
diff --git a/meta-moblin/packages/nbtk/nbtk_git.bb b/meta-moblin/packages/nbtk/nbtk_git.bb
new file mode 100644
index 0000000000..5b1ecafbfb
--- /dev/null
+++ b/meta-moblin/packages/nbtk/nbtk_git.bb
@@ -0,0 +1,16 @@
1DESCRIPTION = "Moblin toolkit library for netbooks"
2SRC_URI = "git://git.moblin.org/${PN}.git;protocol=git"
3LICENSE = "LGPLv2.1"
4PV = "0.0+git${SRCPV}"
5PR = "r0"
6
7DEPENDS = "clutter libccss"
8
9S = "${WORKDIR}/git"
10
11inherit autotools_stage
12
13do_configure_prepend () {
14 echo "EXTRA_DIST=" > ${S}/gtk-doc.make
15 touch ${S}/INSTALL
16}