# Fedora Xfce Spin 
# (c) Rahul Sundaram <sundaram@fedoraproject.org>
# GPlv2 or later


repo --name=fedora8 --baseurl=http://nighthawk.pnq.redhat.com/redhat/released/Fedora/8/Everything/i386/os/ 
repo --name=fedora8updates --baseurl=http://nighthawk.pnq.redhat.com/redhat/fedora/updates/8/i386/

# bugs and enhancements related to the Xfce spin
# https://bugzilla.redhat.com/show_bug.cgi?id=427814 s-c-d dep on metacity
# https://bugzilla.redhat.com/show_bug.cgi?id=427768 pykickstart inheritance bug
# https://bugzilla.redhat.com/show_bug.cgi?id=427812 desktop backgrounds split
# https://bugzilla.redhat.com/show_bug.cgi?id=427833 totem dep bloat
# https://bugzilla.redhat.com/show_bug.cgi?id=427834 NM-gnome dep bloat
# PulseAudio must be enabled by default. Update is already in updates-testing

# -- end --

%include livecd-fedora-8-base-desktop.ks

%packages

firefox
NetworkManager-vpnc
NetworkManager-openvpn
NetworkManager-gnome

# we don't include @office so that we don't get OOo.  but some nice bits

abiword
gnumeric
evince
#gimp
#inkscape
#planner
#dia
galculator

# development 
geany

# games. Which ones are light and good?


# More Desktop stuff 

xdg-user-dirs
@java
totem
totem-mozplugin
pidgin
claws-mail
# where is xfburn?
brasero
xchat-gnome
drivel
quodlibet
gftp
mirage
tracker-search-tool

# Command line

powertop
wget
irssi
mutt
yum-utils

# xfce packages

# xfce packages
@xfce-desktop
gtk-xfce-engine
orage
xarchiver

#this isn't packaged yet
#xfmedia

xfce4-taskmanager
thunar-volman
thunar-archive-plugin
thunar-media-tags-plugin

# how do I add volume and trash plugin to the top panel by default?

xfce4-battery-plugin
xfce4-clipman-plugin
xfce4-cpugraph-plugin
xfce4-datetime-plugin
xfce4-dict-plugin
xfce4-diskperf-plugin
xfce4-eyes-plugin
xfce4-fsguard-plugin
xfce4-genmon-plugin
#redundant with verve plugin
#xfce4-minicmd-plugin
xfce4-mount-plugin
xfce4-netload-plugin
xfce4-notes-plugin
xfce4-places-plugin
xfce4-quicklauncher-plugin
xfce4-screenshooter-plugin
xfce4-sensors-plugin
xfce4-smartbookmark-plugin
xfce4-systemload-plugin
xfce4-timer-plugin
xfce4-volstatus-icon
xfce4-verve-plugin
#we use NetworkManager-gnome. So this is redundant  
#xfce4-wavelan-plugin
xfce4-weather-plugin
xfce4-websearch-plugin

# this one a compatibility layer for GNOME applets and depends on it
#xfce4-xfapplet-plugin

xfce4-xkb-plugin
xfwm4-themes



# language support

@afrikaans-support
@albanian-support
@arabic-support
@armenian-support
@assamese-support
@basque-support
@belarusian-support
@bengali-support
@bhutanese-support
@bosnian-support
@brazilian-support
@breton-support
@british-support
@bulgarian-support
@catalan-support
@chinese-support
@croatian-support
@czech-support
@danish-support
@dutch-support
@estonian-support
@ethiopic-support
@faeroese-support
@filipino-support
@finnish-support
@french-support
@gaelic-support
@galician-support
@georgian-support
@german-support
@greek-support
@gujarati-support
@hebrew-support
@hindi-support
@hungarian-support
@icelandic-support
@indonesian-support
@inuktitut-support
@irish-support
@italian-support
@japanese-support
@kannada-support
@khmer-support
@korean-support
@lao-support
@latvian-support
@lithuanian-support
@malay-support
@malayalam-support
@maori-support
@marathi-support
@northern-sotho-support
@norwegian-support
@oriya-support
@persian-support
@polish-support
@portuguese-support
@punjabi-support
@romanian-support
@russian-support
@samoan-support
@serbian-support
@sinhala-support
@slovak-support
@slovenian-support
@somali-support
@southern-ndebele-support
@southern-sotho-support
@spanish-support
@swati-support
@swedish-support
@tagalog-support
@tamil-support
@telugu-support
@thai-support
@tibetan-support
@tonga-support
@tsonga-support
@tswana-support
@turkish-support
@ukrainian-support
@urdu-support
@venda-support
@vietnamese-support
@welsh-support
@xhosa-support
@zulu-support

# dictionaries are big
-aspell-*
-man-pages-*
-scim-tables-*
-wqy-bitmap-fonts
-dejavu-fonts-experimental
-dejavu-fonts

# more fun with space saving 
-scim-lang-chinese
scim-chewing
scim-pinyin
-gimp-help

# save some space
-autofs
-nss_db
-sendmail

#system-config-printer does this better
#xfprint has now been made as optional in comps
-xfprint


%end

%post
cat >> /etc/rc.d/init.d/fedora-live << EOF
# disable screensaver locking
gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s -t bool /apps/gnome-screensaver/lock_enabled false >/dev/null
# set up timed auto-login for after 60 seconds
sed -i -e 's/\[daemon\]/[daemon]\nTimedLoginEnable=true\nTimedLogin=fedora\nTimedLoginDelay=60/' /etc/gdm/custom.conf
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
    cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /home/fedora/.face
    chown fedora:fedora /home/fedora/.face
    # TODO: would be nice to get e-d-s to pick this one up too... but how?
fi


# xfce configuration

# create /etc/sysconfig/desktop (needed for installation)

cat > /etc/sysconfig/desktop <<ANOTHEREOF
PREFERRED=/usr/bin/startxfce4
ANOTHEREOF

# make fedora user use Xfce

#echo "startxfce4" > /home/fedora/.Xclients
#chmod a+x /home/fedora/.Xclients
#chown fedora:fedora /home/fedora/.Xclients
EOF

%end

