Permalink
Browse files

add first xPad cookbook

implemented the Chrome OS conceptual Tablet UI:
http://www.chromium.org/chromium-os/user-experience/form-factors/tablet

split into two recipes: the scim-fvkbd for virtual keyboard;
and the touchweb for the webkit-based browser

also fvkbd/scim-panel-vkb-gtk binary files are added
  • Loading branch information...
1 parent 5d7febe commit 7f71167f25f7dddcb2c1ed2a14807f2bcfaee490 @penk committed Dec 20, 2010
View
@@ -0,0 +1,75 @@
+# mkxpud project config
+
+[config]
+# short project description
+MKXPUD_NAME="xPad browser-only edition"
+# you can skip the package manager handling by setting this to `skip'
+MKXPUD_PKGMGR="apt-get install -y"
+# set to `true' if you want to include host /dev nodes
+MKXPUD_HOST_DEV="false"
+
+# specified the Linux kernel version to be used
+MKXPUD_KERNEL="2.6.35.7"
+MKXPUD_KERNEL_IMAGE="deploy/vmlinuz-2.6.35.7"
+MKXPUD_MOD_PATH="/lib/modules/2.6.35.7"
+
+[module]
+# kernel modules to be included into rootfs
+isofs
+e1000
+8139cp ne2k-pci pcnet32
+snd-intel8x0
+ahci
+acpi_cpufreq cpufreq_ondemand
+
+#i915 drm intel-agp agpgart i2c-algo-bit i2c-core i2c-i801
+#ali-agp amd64-agp amd-k7-agp ati-agp efficeon-agp nvidia-agp sis-agp sworks-agp via-agp
+#i810 i830 mga r128 radeon savage sis tdfx via
+
+[recipe]
+# packages and files to be included into rootfs
+initramfs
+lucid-core-utils
+lucid-x11
+lucid-xorg
+ubuntu-sound
+ubuntu-network
+lucid-wireless-tools
+ubuntu-artwork
+ubuntu-dbus
+ubuntu-cjkfont
+#lucid-scim-chewing
+ubuntu-scim-fvkbd
+ubuntu-touchweb
+
+[prepare]
+# commands executed before building
+# download kernel modules, unpack to build system
+if [ ! -e /lib/modules/2.6.35.7 ]; then wget http://download.xpud.org/xpud-2.6.35.7-mod.tgz -P skeleton/archive/; tar xzf skeleton/archive/xpud-2.6.35.7-mod.tgz -C /;
+fi;
+
+[action]
+#tar xzf kernel/module/wl-module.tar.gz -C $MKXPUD_TARGET/lib/modules/2.6.30.5/ ;
+#rm -rf $MKXPUD_TARGET/lib/udev/devices/*
+
+[overwrite]
+# files to be overwritten
+/etc/passwd
+/etc/group
+
+[obfuscate]
+# NOTE: compressing perl and bash saves about 0.1MB but compressed files are executed slower
+# files to be compressed with `upx' or `shc'
+#/usr/local/bin/Xvesa
+#/usr/bin/perl
+#/bin/bash
+#/bin/busybox
+#/bin/mount
+#/opt/apps/usr/bin/mplayer
+#/usr/share/firefox/firefox-bin
+
+[remove]
+# files to be removed after rootfs extraction
+
+[image]
+gz iso
@@ -0,0 +1,70 @@
+# recipe file
+
+[name]
+scim-fvkbd
+
+[package]
+scim-chewing
+scim-bridge-client-gtk
+
+[action]
+
+[binary]
+/usr/bin/scim
+/usr/bin/scim-bridge
+/usr/bin/scim-config-agent
+/usr/bin/scim-setup
+
+[data]
+
+/usr/share/scim/icons
+
+/usr/share/libchewing3
+/usr/lib/libchewing.so.3
+/usr/lib/libchewing.so.3.0.1
+
+/usr/lib/gtk-2.0/2.10.0/immodule-files.d/scim-bridge-client-gtk.immodules
+/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules
+/usr/lib/gtk-2.0/2.10.0/immodules/im-scim-bridge.so
+
+/usr/lib/gtk-2.0/2.10.0/loaders
+/usr/lib/gtk-2.0/2.10.0/loader-files.d
+
+/usr/lib/scim-1.0/scim-helper-manager
+/usr/lib/scim-1.0/1.4.0/FrontEnd/x11.so
+/usr/lib/scim-1.0/1.4.0/FrontEnd/socket.so
+/usr/lib/scim-1.0/1.4.0/Config/simple.so
+/usr/lib/scim-1.0/1.4.0/Config/socket.so
+/usr/lib/scim-1.0/1.4.0/Filter/sctc.so
+/usr/lib/scim-1.0/1.4.0/SetupUI/aaa-panel-setup.so
+/usr/lib/scim-1.0/1.4.0/SetupUI/aaa-imengine-setup.so
+/usr/lib/scim-1.0/1.4.0/SetupUI/aaa-frontend-setup.so
+/usr/lib/scim-1.0/1.4.0/SetupUI/panel-vkb-setup.la
+/usr/lib/scim-1.0/1.4.0/SetupUI/panel-vkb-setup.a
+/usr/lib/scim-1.0/1.4.0/SetupUI/aaa-panel-setup.a
+/usr/lib/scim-1.0/1.4.0/SetupUI/chewing-imengine-setup.so
+/usr/lib/scim-1.0/1.4.0/SetupUI/aaa-panel-setup.la
+/usr/lib/scim-1.0/1.4.0/SetupUI/panel-vkb-setup.so
+/usr/lib/scim-1.0/1.4.0/SetupUI/panel-gtk-setup.so
+/usr/lib/scim-1.0/1.4.0/SetupUI/table-imengine-setup.so
+/usr/lib/scim-1.0/1.4.0/Helper/setup.so
+/usr/lib/scim-1.0/1.4.0/IMEngine/chewing.so
+/usr/lib/scim-1.0/1.4.0/IMEngine/socket.so
+/usr/lib/scim-1.0/scim-helper-launcher
+/usr/lib/scim-1.0/scim-launcher
+/usr/lib/scim-1.0/scim-panel-gtk
+
+## FIXME
+
+/usr/lib/libscim-gtkutils-1.0.so.8
+/usr/lib/libscim-gtkutils-1.0.so.8.2.4
+/usr/lib/libscim-x11utils-1.0.so.8
+/usr/lib/libscim-x11utils-1.0.so.8.2.4
+
+[config]
+
+/root/.scim
+
+[post_action]
+
+tar zxvf skeleton/archive/fvkbd.tgz -C $MKXPUD_TARGET/
@@ -0,0 +1,46 @@
+# recipe file
+
+[name]
+ubuntu-touchweb
+
+[package]
+gnome-terminal
+
+[action]
+# download libwebkit and install deb
+if [ ! -e skeleton/archive/libwebkit_r72896-1_i386.deb ]; then wget http://xpud.org/download/packages/libwebkit_r72896-1_i386.deb -P skeleton/archive/; dpkg -i skeleton/archive/libwebkit_r72896-1_i386.deb; fi;
+
+[binary]
+/usr/bin/gnome-terminal
+/usr/local/bin/gtouchweb
+
+[data]
+/usr/share/gnome-terminal
+/usr/lib/gconv/gconv-modules
+/usr/lib/gconv/UTF-16.so
+
+/usr/local/lib/libwebkitgtk-1.0.so
+/usr/local/lib/libwebkitgtk-1.0.so.0
+/usr/local/lib/libwebkitgtk-1.0.so.0.4.0
+
+[config]
+/etc/termcap
+/root/.gconf
+
+/etc/pulse
+/etc/fonts
+
+/etc/gtk-2.0
+
+[overwrite]
+
+/usr/share/themes/Human/cursor.theme
+/usr/share/icons/default/index.theme
+/init
+/sbin/init
+/etc/inittab
+
+/usr/local/bin/post-boot.sh
+#/usr/lib/mozilla/plugins/libflashplayer.so
+
+[alternative]
Binary file not shown.

0 comments on commit 7f71167

Please sign in to comment.