2010-06-07 05:02:00 +00:00
|
|
|
%include ../fedora-livecd-desktop.ks
|
2009-09-07 20:26:30 +00:00
|
|
|
|
|
|
|
%packages
|
|
|
|
gdb
|
|
|
|
strace
|
|
|
|
ltrace
|
|
|
|
libdrm
|
|
|
|
pidgin
|
|
|
|
mc
|
|
|
|
vim
|
|
|
|
nano
|
|
|
|
wget
|
|
|
|
xorg-x11-apps
|
|
|
|
gtk-recordmydesktop
|
|
|
|
gconf-editor
|
|
|
|
gimp
|
2010-02-04 15:24:01 +00:00
|
|
|
nautilus-open-terminal
|
|
|
|
abiword
|
2009-09-07 20:26:30 +00:00
|
|
|
# save some space
|
|
|
|
-empathy
|
2010-02-04 15:24:01 +00:00
|
|
|
-gnome-games
|
2009-09-07 20:26:30 +00:00
|
|
|
-brasero*
|
|
|
|
-sound-juicer
|
|
|
|
-gthumb
|
|
|
|
-gnome-backgrounds
|
|
|
|
-desktop-backgrounds*
|
|
|
|
-evolution
|
2010-02-04 15:24:01 +00:00
|
|
|
-shotwell
|
|
|
|
-planner
|
|
|
|
-openoffice*
|
|
|
|
-java*
|
2009-09-07 20:26:30 +00:00
|
|
|
# brand as fedora test spin
|
|
|
|
fedora-logos
|
|
|
|
-generic-logos
|
2011-04-09 06:09:15 +00:00
|
|
|
# glib2 is needed to set up favorites, though it probably gets pulled in anyway.
|
|
|
|
glib2
|
2009-09-07 20:26:30 +00:00
|
|
|
%end
|
|
|
|
|
|
|
|
%post
|
|
|
|
# Set Test_Day:Current as default browser homepage
|
2011-04-09 07:06:32 +00:00
|
|
|
unzip -c /usr/lib/firefox-*/omni.jar chrome/en-US/locale/browser/browser.properties -d /tmp
|
|
|
|
cat << EOF > /tmp/chrome/en-US/locale/browser/browser.properties
|
2009-09-07 20:26:30 +00:00
|
|
|
browser.startup.homepage=https://fedoraproject.org/wiki/Test_Day:Current
|
|
|
|
EOF
|
2011-04-09 07:06:32 +00:00
|
|
|
(cd /tmp; zip /usr/lib/firefox-*/omni.jar chrome/en-US/locale/browser/browser.properties)
|
|
|
|
rm -f /tmp/chrome/en-US/locale/browser/browser.properties
|
2009-09-07 20:26:30 +00:00
|
|
|
|
|
|
|
# Create a .desktop link for Test Day wiki
|
|
|
|
mkdir -p /etc/skel/Desktop
|
|
|
|
cat << EOF > /etc/skel/Desktop/testday-wiki.desktop
|
|
|
|
[Desktop Entry]
|
|
|
|
Encoding=UTF-8
|
|
|
|
Name=Participate in a Test Day
|
|
|
|
Type=Link
|
|
|
|
URL=https://fedoraproject.org/wiki/Test_Day:Current
|
|
|
|
Icon=gnome-fs-bookmark
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# Create a .desktop link for Test Day IRC chat
|
|
|
|
cat << EOF > /etc/skel/Desktop/testday-irc.desktop
|
|
|
|
[Desktop Entry]
|
|
|
|
Encoding=UTF-8
|
|
|
|
Name=Connect to a Test Day chat
|
|
|
|
Type=Link
|
|
|
|
URL=http://webchat.freenode.net/?channels=fedora-test-day
|
|
|
|
Icon=gnome-fs-bookmark
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# Add gnome-terminal shortcut to desktop
|
|
|
|
cp /usr/share/applications/gnome-terminal.desktop /etc/skel/Desktop
|
2011-04-09 06:09:15 +00:00
|
|
|
|
|
|
|
# Change the favorites using a vendor override. (Adding a profile would
|
|
|
|
# be another way to do this.)
|
|
|
|
cat << EOF > /usr/share/glib-2.0/schemas/qa-testday.gschema.override
|
|
|
|
[org/gnome/shell]
|
|
|
|
favorite-apps=['mozilla-firefox.desktop', 'nautilus.desktop', 'testday-wiki.desktop', 'testday-irc.desktop', 'gnome-terminal.desktop']
|
|
|
|
EOF
|
|
|
|
glib-compile-schemas
|
2009-09-07 20:26:30 +00:00
|
|
|
%end
|