xfce: Add XFCE (4.6.1) based image (WIP!)
authorDavid-John Willis <John.Willis@Distant-earth.com>
Tue, 13 Oct 2009 08:54:30 +0000 (09:54 +0100)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Tue, 13 Oct 2009 08:54:30 +0000 (09:54 +0100)
recipes/images/pandora-xfce-image.bb [new file with mode: 0755]
recipes/tasks/task-pandora-xfce.bb [new file with mode: 0755]

diff --git a/recipes/images/pandora-xfce-image.bb b/recipes/images/pandora-xfce-image.bb
new file mode 100755 (executable)
index 0000000..c4f3400
--- /dev/null
@@ -0,0 +1,38 @@
+# XFCE image for the 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-xfce-image"
+
+SPLASH = "psplash-omap3pandora"
+
+DEPENDS = "task-base"
+
+IMAGE_INSTALL += " \
+    task-pandora-xfce \
+    ${SPLASH} \        
+"
+
+IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
+
+#zap root password for release images
+#ROOTFS_POSTPROCESS_COMMAND += '${@base_conditional("DISTRO_TYPE", "release", "zap_root_password; ", "",d)}'
+
+# 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-xfce.bb b/recipes/tasks/task-pandora-xfce.bb
new file mode 100755 (executable)
index 0000000..890dd93
--- /dev/null
@@ -0,0 +1,147 @@
+DESCRIPTION = "Task file for the XFCE 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 \
+"  
+
+GSTREAMER = " \
+  gst-ffmpeg \
+  gst-omapfb \
+  gst-plugin-pulse \
+  gst-plugins-base-meta \
+  gst-plugins-good-meta \
+  gst-plugins-bad-meta \
+#  gst-plugins-ugly-meta \
+"
+
+PERL = " \
+  perl \
+#  task-perl-module-all \
+#  libnet-dbus-perl \
+  libxml-parser-perl \
+  libxml-twig-perl \
+"
+
+PULSEAUDIO = " \
+  pulseaudio-alsa-wrapper \
+  pulseaudio-esd-wrapper \
+  pulseaudio-module-gconf \
+  libasound-module-ctl-pulse \
+  libasound-module-pcm-pulse \
+"
+
+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} \
+  ${GSTREAMER} \
+  ${PERL} \
+  ${PULSEAUDIO} \
+  ${XSERVER_BASE} \
+       \
+       angstrom-x11-base-depends \
+       \
+#      pandora-auto-startx \
+#      pandora-first-run-wizard \
+       \
+       task-xfce46-base \
+       task-xfce46-extras \    
+       \
+#      gnome-packagekit \
+       \
+       rxvt-unicode \
+       xkbd \
+       xst \
+       xhost \
+       xrdb \
+       libgtkstylus \
+       suspend-desktop \
+       teleport \
+       xauth \
+       gdk-pixbuf-loader-png \
+       gdk-pixbuf-loader-xpm \
+       gdk-pixbuf-loader-jpeg \
+       pango-module-basic-x \
+       pango-module-basic-fc \
+       gpe-theme-clearlooks \
+       xcursor-transparent-theme \     
+       angstrom-zeroconf-audio \
+       angstrom-led-config \   
+       mime-support \
+       xterm xmms \
+       firefox \
+       hicolor-icon-theme gnome-icon-theme \
+       jaaa nmap iperf gnuplot \
+       abiword \
+       gnumeric \
+       gimp \
+       pidgin \
+       gnome-games \
+       stalonetray \
+       synergy \
+       x11vnc angstrom-x11vnc-xinit \
+       angstrom-gnome-icon-theme-enable \
+       networkmanager network-manager-applet \
+       gnome-bluetooth \
+"