From 8658c31c6255dcc1cf4a7c7c56426cb358737249 Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Tue, 13 Oct 2009 09:49:36 +0100 Subject: [PATCH] pandora-gnome-image: Add initial support for a Gnome (2.27/2.28 hybrid) image. --- recipes/images/pandora-gnome-image.bb | 38 +++++ recipes/tasks/task-pandora-gnome.bb | 202 ++++++++++++++++++++++++++ 2 files changed, 240 insertions(+) create mode 100755 recipes/images/pandora-gnome-image.bb create mode 100755 recipes/tasks/task-pandora-gnome.bb diff --git a/recipes/images/pandora-gnome-image.bb b/recipes/images/pandora-gnome-image.bb new file mode 100755 index 0000000..eff9f50 --- /dev/null +++ b/recipes/images/pandora-gnome-image.bb @@ -0,0 +1,38 @@ +# Gnome image for Pandora handheld console + +XSERVER ?= " \ + xserver-xorg \ + xf86-input-evdev \ + xf86-input-mouse \ + xf86-video-fbdev \ + xf86-input-keyboard \ +" + +IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" + +inherit image + +export IMAGE_BASENAME = "pandora-gnome-image" + +#IMAGE_INIT_MANAGER = "upstart upstart-sysvcompat" +IMAGE_LOGIN_MANAGER = "shadow" + +SPLASH = "psplash-omap3pandora" + +DEPENDS = "task-base" + +IMAGE_INSTALL += " \ + task-pandora-gnome \ + ${SPLASH} \ + " + +IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp" + +# Helper to say what image we built, include GIT tag and image name. +PANDORA_VERSION_FILE = "${IMAGE_ROOTFS}/${sysconfdir}/op-version" +ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Tag Name: `git tag|tail -n 1`> ${PANDORA_VERSION_FILE};cd $OLD_PWD;" +ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo VERSION: `git-log -n1 --pretty=oneline|awk '{print $1}'` >> ${PANDORA_VERSION_FILE}; cd $OLD_PWD;" +ROOTFS_POSTPROCESS_COMMAND += "OLD_PWD=$PWD; cd `dirname '${FILE_DIRNAME}'`; echo Branch: ` git branch |awk '/*/{print $2}'` >> ${PANDORA_VERSION_FILE}; cd $OLD_PWD;" +ROOTFS_POSTPROCESS_COMMAND += "echo Image Builder: '${LOGNAME}'@`cat /etc/hostname` >> ${PANDORA_VERSION_FILE};" +ROOTFS_POSTPROCESS_COMMAND += "echo Time Stamp: `date -R` >> ${PANDORA_VERSION_FILE};" +ROOTFS_POSTPROCESS_COMMAND += "echo Base Image Name: '${IMAGE_BASENAME}' >> ${PANDORA_VERSION_FILE};" diff --git a/recipes/tasks/task-pandora-gnome.bb b/recipes/tasks/task-pandora-gnome.bb new file mode 100755 index 0000000..82b8733 --- /dev/null +++ b/recipes/tasks/task-pandora-gnome.bb @@ -0,0 +1,202 @@ +DESCRIPTION = "Task file for the 'gnome' Pandora image" + +# Don't forget to bump the PR if you change it. + +PR = "r3.1" + +inherit task + +ANGSTROM_EXTRA_INSTALL ?= "" + +APPS = " \ + abiword \ + cheese \ + claws-mail \ + epiphany epiphany-extensions \ + swfdec swfdec-gnome swfdec-mozilla \ + evince \ + gcalctool \ + gedit \ + gimp \ + gnome-games \ + gnome-mplayer \ + gnumeric \ + gphoto2 \ + gthumb \ + pidgin \ + synergy \ + vnc \ + x11vnc angstrom-x11vnc-xinit \ + xmms \ + xterm \ +" + +FONTS = " \ + font-adobe-75dpi \ + fontconfig fontconfig-utils font-util \ + ttf-arphic-uming \ + ttf-dejavu-common \ + ttf-dejavu-sans \ + ttf-dejavu-serif \ + ttf-dejavu-sans-mono \ + ttf-liberation-sans \ + ttf-liberation-serif \ + ttf-liberation-mono \ + xorg-minimal-fonts \ +" + +GNOME = " \ + at-spi \ + file-roller \ + gconf gconf-editor \ + gdm \ + gnome-control-center \ + gnome-applets \ + gnome-bluetooth \ + gnome-desktop \ + gnome-doc-utils \ + gnome-keyring gnome-keyring-pam-plugin \ + gnome-media \ + gnome-menus \ + gnome-mime-data \ +# gnome-packagekit packagekit packagekit-gtkmodule \ + gnome-panel libpanel-applet libgweather-locationdata\ + gnome-power-manager gnome-power-manager-applets \ + gnome-python \ +# gnome-python-extras \ + gnome-python-desktop \ + gnome-screensaver \ + gnome-session \ + gnome-settings-daemon \ + gnome-system-monitor \ +# gnome-system-tools system-tools-backends\ + gnome-terminal \ +# gnome-utils \ + gnome-vfs \ + gnome-vfs-plugin-bzip2 \ + gnome-vfs-plugin-computer \ + gnome-vfs-plugin-dns-sd \ + gnome-vfs-plugin-file \ + gnome-vfs-plugin-ftp \ + gnome-vfs-plugin-gzip \ + gnome-vfs-plugin-http \ + gnome-vfs-plugin-network \ + gnome-vfs-plugin-nntp \ + gnome-vfs-plugin-sftp \ + gnome-vfs-plugin-tar \ + gvfs \ + metacity \ + nautilus nautilus-cd-burner desktop-file-utils\ + networkmanager network-manager-applet \ +#networkmanager-openvpn \ + policykit-gnome policykit \ + zenity \ +" + +GSTREAMER = " \ + gst-ffmpeg \ + gst-omapfb \ + gst-plugin-pulse \ + gst-plugins-base-meta \ + gst-plugins-good-meta \ + gst-plugins-bad-meta \ +# gst-plugins-ugly-meta \ +" + +UIM = " \ + uim \ + uim-common \ + uim-utils \ + uim-gtk2.0 \ + uim-anthy \ + uim-fep \ + uim-skk \ + uim-xim \ +" + +PERL = " \ + perl \ +# task-perl-module-all \ +# libnet-dbus-perl \ + libxml-parser-perl \ + libxml-twig-perl \ +" + +PRINT = " \ + cups \ + cups-backend-hal \ +# cups-gs \ + gnome-cups-manager \ + gtk-printbackend-cups \ +# gutenprint \ + hal-cups-utils \ +" + +PULSEAUDIO = " \ + pulseaudio-alsa-wrapper \ + pulseaudio-esd-wrapper \ + pulseaudio-module-gconf \ + libasound-module-ctl-pulse \ + libasound-module-pcm-pulse \ +" + +THEMES = " \ + gnome-icon-theme \ + gnome-themes \ + gtk-engine-clearlooks \ + gtk-engine-glide \ + gtk-engine-thinice \ + gtk-engine-redmond95 \ + gtk-theme-clearlooks \ + gtk-theme-thinice \ + gtk-theme-redmond \ + hicolor-icon-theme \ +# sound-theme-freedesktop \ +" + +TOTEM = " \ +# totem \ +# totem-browser-plugin \ +# totem-plugin-bemused \ +# totem-plugin-gromit \ +# totem-plugin-media-player-keys \ +# totem-plugin-ontop \ +# totem-plugin-properties \ +# totem-plugin-screensaver \ +# totem-plugin-skipto \ +# totem-plugin-thumbnail \ +" + +XSERVER_BASE = " \ + ${XSERVER} \ + dbus-x11 \ + desktop-file-utils \ + iso-codes \ + mime-support \ + notification-daemon inotify-tools \ + xauth \ +# xdg-utils \ + xhost \ + xinetd \ + xinit \ + xlsfonts \ + xrdb \ + xrefresh \ + xset \ + xvinfo \ +" + +RDEPENDS_${PN} = "\ + task-pandora-core \ + ${ANGSTROM_EXTRA_INSTALL} \ + ${APPS} \ + ${FONTS} \ + ${GNOME} \ + ${GSTREAMER} \ + ${PERL} \ + ${PRINT} \ + ${PULSEAUDIO} \ + ${THEMES} \ + ${TOTEM} \ + ${XSERVER_BASE} \ +" -- 2.39.2