summaryrefslogtreecommitdiff
path: root/packages/images/illume-image.bb
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2008-11-20 00:32:27 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2008-11-20 12:44:20 +0100
commitfab4d77a40225a08db96f5b6f92235f5961e727a (patch)
tree5f50bafb727ce44d140c2533ecb944ec9d7b670a /packages/images/illume-image.bb
parent5db37869c589d73a868b7d7ff47c5dde28723def (diff)
illume-image: new recipe. Rasterman's own illume-image (WIP, needs refactoring)
Diffstat (limited to 'packages/images/illume-image.bb')
-rw-r--r--packages/images/illume-image.bb200
1 files changed, 200 insertions, 0 deletions
diff --git a/packages/images/illume-image.bb b/packages/images/illume-image.bb
new file mode 100644
index 0000000000..82edb7668a
--- /dev/null
+++ b/packages/images/illume-image.bb
@@ -0,0 +1,200 @@
+#------------------------------------------------------
+# Rasterman Illume Image Recipe
+#------------------------------------------------------
+
+IMAGE_LINGUAS = ""
+
+# getting the base system up
+BASE_INSTALL = "\
+ ${MACHINE_TASK_PROVIDER} \
+ task-base \
+ netbase \
+ sysfsutils \
+ modutils-initscripts \
+ module-init-tools-depmod \
+ prelink \
+ exquisite \
+ exquisite-themes \
+ exquisite-theme-illume \
+# rsync \
+# screen \
+# fbset \
+# fbset-modes \
+"
+
+# Some machines don't set a *runtime* provider for X, so default to Xfbdev here
+# virtual/xserver won't work, since the kdrive recipes will build multiple xserver packages
+XSERVER ?= "xserver-kdrive-fbdev"
+
+# getting an X window system up
+X_INSTALL = "\
+ glibc-utils \
+ glibc-charmap-utf-8 \
+ glibc-binary-localedata-en-us \
+ glibc-binary-localedata-de-de \
+ glibc-binary-localedata-fr-fr \
+ glibc-binary-localedata-pt-br \
+ glibc-binary-localedata-ca-es \
+ glibc-binary-localedata-zh-cn \
+ glibc-binary-localedata-zh-tw \
+ glibc-binary-localedata-bg-bg \
+ glibc-binary-localedata-cs-cz \
+ glibc-binary-localedata-da-dk \
+ glibc-binary-localedata-nl-nl \
+ glibc-binary-localedata-fi-fi \
+ glibc-binary-localedata-hu-hu \
+ glibc-binary-localedata-it-it \
+ glibc-binary-localedata-ja-jp \
+ glibc-binary-localedata-ko-kr \
+ glibc-binary-localedata-nb-no \
+ glibc-binary-localedata-pl-pl \
+ glibc-binary-localedata-ru-ru \
+ glibc-binary-localedata-sk-sk \
+ glibc-binary-localedata-sl-si \
+ glibc-binary-localedata-es-ar \
+ glibc-binary-localedata-sv-se \
+ e-wm \
+ e-wm-config-illume \
+ e-wm-config-standard \
+ e-wm-config-netbook \
+ e-wm-config-minimalist \
+ e-wm-config-scaleable \
+ ${XSERVER} \
+ xserver-kdrive-splash-illume \
+ xserver-kdrive-common \
+ xserver-nodm-init \
+ xauth \
+ xhost \
+ xset \
+ xrandr \
+ \
+ fontconfig-utils \
+ \
+ ttf-dejavu-common \
+ ttf-dejavu-sans \
+# ttf-dejavu-serif \
+ ttf-dejavu-sans-mono \
+ ttf-arphic-uming \
+ \
+"
+
+# useful command line tools
+TOOLS_INSTALL = "\
+# bash \
+ dosfstools \
+# iptables \
+ lsof \
+ mickeydbus \
+ mickeyterm \
+ mtd-utils \
+ nano \
+ powertop \
+ s3c24xx-gpio \
+ sysstat \
+# tcpdump \
+"
+
+# audio
+AUDIO_INSTALL = "\
+ alsa-oss \
+ alsa-state \
+ alsa-utils-aplay \
+ alsa-utils-amixer \
+ gst-meta-audio \
+ ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugin-mad', d)} \
+ gst-plugin-modplug \
+ gst-plugin-sid \
+ fso-sounds \
+"
+
+GTK_INSTALL = "\
+# openmoko-calculator2 \
+ vala-terminal \
+# gpe-scap \
+# tangogps \
+"
+
+GAMES_INSTALL = "\
+# numptyphysics \
+"
+
+# FIXME these should rather be part of alsa-state,
+# once Om stabilizes them...
+AUDIO_INSTALL_append_om-gta01 = "\
+ openmoko-alsa-scenarios \
+"
+AUDIO_INSTALL_append_om-gta02 = "\
+ openmoko-alsa-scenarios \
+"
+
+# python
+PYTHON_INSTALL = "\
+ task-python-efl \
+ python-codecs \
+ python-gst \
+"
+
+# zhone
+ZHONE_INSTALL = "\
+# gsm0710muxd \
+# frameworkd \
+# fso-gpsd \
+## zhone \
+"
+
+# additional apps
+APPS_INSTALL = "\
+# tichy \
+# gpe-gallery \
+# gpe-sketchbook \
+# gpe-filemanager \
+# vagalume \
+# starling \
+ elementary-alarm \
+"
+
+IMAGE_INSTALL = "\
+ ${BASE_INSTALL} \
+ ${X_INSTALL} \
+ ${GTK_INSTALL} \
+ ${GAMES_INSTALL} \
+ ${AUDIO_INSTALL} \
+ ${TOOLS_INSTALL} \
+ ${PYTHON_INSTALL} \
+ ${ZHONE_INSTALL} \
+ ${APPS_INSTALL} \
+"
+inherit image
+
+# perform some convenience tweaks to the rootfs
+fso_rootfs_postprocess() {
+ curdir=$PWD
+ cd ${IMAGE_ROOTFS}
+ # date/time
+ date "+%m%d%H%M%Y" >./etc/timestamp
+ # alias foo
+ echo "alias pico=nano" >>./etc/profile
+# echo "alias fso='cd /local/pkg/fso'" >>./etc/profile
+ echo "alias ipkg='opkg'" >>./etc/profile
+ # dns
+ echo "nameserver 208.67.222.222" >>./etc/resolv.conf
+ echo "nameserver 208.67.220.220" >>./etc/resolv.conf
+ # nfs
+ mkdir -p ./local/pkg
+ echo >>./etc/fstab
+# echo "# NFS Host" >>./etc/fstab
+# echo "192.168.0.200:/local/pkg /local/pkg nfs noauto,nolock,soft,rsize=32768,wsize=32768 0 0" >>./etc/fstab
+ # fix .desktop files for illume
+ desktop=`find ./usr/share/applications -name "*.desktop"`
+ for file in $desktop; do
+ echo "Categories=Office;" >>$file
+ done
+ # minimal gtk theme foo
+ mkdir -p ./etc/gtk-2.0/
+ echo 'gtk-font-name = "Sans 5"' >> ./etc/gtk-2.0/gtkrc
+ # fix strange iconv/gconf bug
+ ln -s libc.so.6 ./lib/libc.so
+ cd $curdir
+}
+
+ROOTFS_POSTPROCESS_COMMAND += "fso_rootfs_postprocess"