Delete old files, add new ones.

This commit is contained in:
Jeroen van Meeuwen (Fedora Unity) 2008-05-01 16:20:16 +02:00
parent 000cbcc316
commit a9beca90c3
15 changed files with 723 additions and 54 deletions

View File

@ -1,6 +1,6 @@
# fedora-live-desktop-en.ks
%include fedora-live-desktop.ks
%include fedora-livecd-desktop.ks
lang en_US.UTF-8
keyboard us

View File

@ -1,6 +1,9 @@
# fedora-live-desktop-en_US.ks
#
# Maintainer(s):
# - UNKNOWN
%include fedora-live-desktop.ks
%include fedora-livecd-desktop.ks
lang en_US.UTF-8
keyboard us

View File

@ -1,6 +1,9 @@
# fedora-live-desktop-nl_NL.ks
#
# Maintainer(s):
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
%include fedora-live-desktop.ks
%include fedora-livecd-desktop.ks
lang nl_NL.UTF-8
keyboard us

View File

@ -0,0 +1,14 @@
# fedora-live-electronic-lab-nl_NL.ks
#
# Maintainer(s):
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
%include fedora-live-electronic-lab.ks
lang nl_NL
keyboard us
timezone Europe/Amsterdam
%packages
@dutch-support
%end

View File

@ -0,0 +1,237 @@
# Description : Live image for Fedora Electronic Lab
# last updated: 10 October 2007
%include fedora-live-base.ks
%packages
# KDE basic packages
kdebase
kde-filesystem
kdelibs
kdenetwork
kdegraphics
kdeutils
knetworkmanager
kde-settings
kmenu-gnome
kdesvn
yakuake
# include default fedora wallpaper
desktop-backgrounds-basic
wget
# some projects based on ghdl and gtkwave needs
zlib-devel
#project management
vym
koffice-kspread
koffice-kword
koffice-kplato
koffice-filters
# some other extra packages
ntfsprogs
ntfs-3g
synaptics
setroubleshoot
smolt
smolt-firstboot
syslinux
gnupg
hal-cups-utils
# we don't want these
-dos2unix
-firefox
-authconfig-gtk
-PolicyKit-gnome
-gnome-doc-utils-stylesheets
# ignore comps.xml and make sure these packages are included
kpowersave
rhgb
#vlsi
alliance-doc
irsim
gds2pov
magic-doc
toped
xcircuit
qucs
netgen
#Hardware Description Languages
gtkwave
iverilog
drawtiming
ghdl
freehdl
#spice
ngspice
gnucap
#gspiceui
#gwave
#PCB and schematics
geda-gschem
geda-examples
geda-gsymcheck
geda-gattrib
geda-utils
geda-docs
geda-gnetlist
gerbv
gresistor
kicad
pcb
#Micro Programming
piklab
ktechlab
pikloops
sdcc
# Serial Port Terminals
gtkterm
picocom
minicom
#embedded
arm-gp2x-linux*
avr-*
avrdude
dfu-programmer
avarice
uisp
#computing
octave
%end
%post
###### Fedora Electronic Lab ####################################################
# Fedora Electronic Lab: Kwin buttons
cat > /usr/share/kde-settings/kde-profile/default/share/config/kwinrc <<EOF
[Style]
ButtonsOnLeft=MB
ButtonsOnRight=FIAX
CustomButtonPositions=true
EOF
# kill stupid klipper
cat > /usr/share/kde-settings/kde-profile/default/share/config/klipperrc <<EOF
[General]
AutoStart=false
EOF
# use the LCD_Style clock as alliance's windows demand a lot of space on kicker
cat > /usr/share/kde-settings/kde-profile/default/share/config/clock_panelappletrc <<EOF
[Digital]
LCD_Style=false
Show_Date=false
Show_Seconds=true
[General]
Type=Digital
EOF
cat > /usr/share/kde-settings/kde-profile/default/share/config/kxkbrc <<EOF
[Layout]
DisplayNames=
EnableXkbOptions=false
IncludeGroups=
LayoutList=us,de,fr,jp
Model=pc104
Options=
ResetOldOptions=false
ShowFlag=true
ShowSingle=true
StickySwitching=false
StickySwitchingDepth=2
SwitchMode=Global
Use=true
EOF
# Chitlesh doesn't like the KDE icon on the kicker, but fedora's
# This is a feature for Fedora and not for KDE
cp -fp /usr/share/icons/Bluecurve/16x16/apps/gnome-main-menu.png /usr/share/icons/crystalsvg/16x16/apps/kmenu.png
cp -fp /usr/share/icons/Bluecurve/24x24/apps/gnome-main-menu.png /usr/share/icons/crystalsvg/22x22/apps/kmenu.png
cp -fp /usr/share/icons/Bluecurve/32x32/apps/gnome-main-menu.png /usr/share/icons/crystalsvg/32x32/apps/kmenu.png
cp -fp /usr/share/icons/Bluecurve/48x48/apps/gnome-main-menu.png /usr/share/icons/crystalsvg/48x48/apps/kmenu.png
###### KDE #####################################################################
# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF
DESKTOP="KDE"
DISPLAYMANAGER="KDE"
EOF
# add initscript qnd # Fedora Electronic Lab: KDE keyboard layouts
cat >> /etc/rc.d/init.d/fedora-live << EOF
if [ -e /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png ] ; then
# use image also for kdm
mkdir -p /usr/share/apps/kdm/faces
cp /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png /usr/share/apps/kdm/faces/fedora.face.icon
fi
# make fedora user use KDE
echo "startkde" > /home/fedora/.xsession
chmod a+x /home/fedora/.xsession
chown fedora:fedora /home/fedora/.xsession
# set up autologin for user fedora
sed -i 's/#AutoLoginEnable=true/AutoLoginEnable=true/' /etc/kde/kdm/kdmrc
sed -i 's/#AutoLoginUser=fred/AutoLoginUser=fedora/' /etc/kde/kdm/kdmrc
# set up user fedora as default user and preselected user
sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc
sed -i 's/#DefaultUser=johndoe/DefaultUser=fedora/' /etc/kde/kdm/kdmrc
# disable screensaver
sed -i 's/Enabled=true/Enabled=false/' /usr/share/kde-settings/kde-profile/default/share/config/kdesktoprc
# workaround to put liveinst on desktop and in menu
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
EOF
# and set up gnome-keyring to startup/shutdown in kde
mkdir -p /etc/skel/.kde/env /etc/skel/.kde/shutdown
cat > /etc/skel/.kde/env/start-custom.sh << EOF
#!/bin/sh
eval \`gnome-keyring-daemon\`
export GNOME_KEYRING_PID
export GNOME_KEYRING_SOCKET
EOF
chmod 755 /etc/skel/.kde/env/start-custom.sh
cat > /etc/skel/.kde/shutdown/stop-custom.sh << EOF
#/bin/sh
if [-n "$GNOME_KEYRING_PID"];then
kill $GNOME_KEYRING_PID
fi
EOF
chmod 755 /etc/skel/.kde/shutdown/stop-custom.sh
###### Fedora Electronic Lab ####################################################
# FEL doesn't need these and boots slowly
/sbin/chkconfig --del anacron
/sbin/chkconfig --del sendmail
/sbin/chkconfig --del nfs
/sbin/chkconfig --del nfslock
/sbin/chkconfig --del rpcidmapd
/sbin/chkconfig --del rpcbind
%end

View File

@ -3,7 +3,7 @@
# Maintainer(s):
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
%include fedora-live-kde.ks
%include fedora-livecd-kde.ks
lang nl_NL
keyboard us

View File

@ -1,69 +1,63 @@
%include fedora-live-base.ks
%include livecd-fedora-base-desktop.ks
%packages
@kde-desktop
kdegames
k3b
# include nm-applet directly
NetworkManager-gnome
# unwanted packages from @kde-desktop
# don't include these for now to fit on a cd
# digikam (~11 megs), ktorrent (~3 megs), amarok (~14 megs),
# kdegames (~23 megs)
-amarok
-digikam
-kdeedu
-scribus
#-ktorrent
#-kdegames
#-kftpgrabber*
# KDE 3
koffice-kword
koffice-kspread
koffice-kpresenter
koffice-filters
twinkle
k3b
filelight
krusader
# twinkle (~10 megs)
#twinkle
# some extras
fuse
# if it is enough space include koffice-krita (~40 megs)
koffice-krita
# some other extra packages
gnupg
synaptics
hal-cups-utils
nss-mdns
# ignore comps.xml and make sure these packages are included
kpowersave
rhgb
man-pages
smolt-firstboot
knetworkmanager
#some changes that we don't want...
-specspo
-scribus
-kdeaddons
-kdemultimedia-extras
-kdeartwork-extras
-kmymoney2
-basket
-speedcrunch
-autofs
# additional fonts
@fonts
fonts-ISO8859-2
#cjkunifonts-ukai
madan-fonts
fonts-KOI8-R
fonts-KOI8-R-100dpi
tibetan-machine-uni-fonts
# FIXME/TODO: recheck the removals here
# try to remove some packages from livecd-fedora-base-desktop.ks
-scim*
-gdm
-authconfig-gtk
-m17n*
-PolicyKit-gnome
-gnome-doc-utils-stylesheets
-anthy
-kasumi
-pygtkglext
-python-devel
-libchewing
# workaround for the moment (requirements of hplip)
python-imaging
python-reportlab
# save some space (from @base)
-make
-nss_db
-autofs
%end
%post
# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF
DESKTOP="KDE"
DISPLAYMANAGER="KDE"
DISPLAYMANAGER="KDM"
EOF
# add initscript
@ -88,11 +82,12 @@ sed -i 's/#AutoLoginUser=fred/AutoLoginUser=fedora/' /etc/kde/kdm/kdmrc
sed -i 's/#PreselectUser=Default/PreselectUser=Default/' /etc/kde/kdm/kdmrc
sed -i 's/#DefaultUser=johndoe/DefaultUser=fedora/' /etc/kde/kdm/kdmrc
# disable screensaver
sed -i 's/Enabled=true/Enabled=false/' /usr/share/kde-settings/kde-profile/default/share/config/kdesktoprc
# workaround to put liveinst on desktop and in menu
sed -i 's/NoDisplay=true/NoDisplay=false/' /usr/share/applications/liveinst.desktop
EOF
# add liveinst.desktop to favorites menu
mkdir -p /home/fedora/.kde/share/config/
cat > /home/fedora/.kde/share/config/kickoffrc << MENU_EOF
[Favorites]
FavoriteURLs=/usr/share/applications/kde4/konqbrowser.desktop,/usr/share/applications/kde4/dolphin.desktop,/usr/share/applications/kde4/systemsettings.desktop,/usr/share/applications/liveinst.desktop
MENU_EOF
chown -R fedora:fedora /home/fedora/.kde/
%end

View File

@ -0,0 +1,14 @@
# fedora-live-developer-nl_NL.ks
#
# Maintainer(s):
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
%include fedora-livedvd-developer.ks
lang nl_NL
keyboard us
timezone Europe/Amsterdam
%packages
@dutch-support
%end

116
fedora-livedvd-developer.ks Normal file
View File

@ -0,0 +1,116 @@
%include fedora-live-base.ks
part / --size 6000
%packages --ignoremissing
# Libraries
@development-libs
@gnome-software-development
@java-development
# SCM tools
bazaar
bzr
cogito
cvs2cl
cvsutils
git
mercurial
monotone
quilt
# IDEs
@eclipse
anjuta
anjuta-docs
codeblocks
pida
# General developer tools
@authoring-and-publishing
@development-tools
@editors
@system-tools
@virtualization
ElectricFence
alleyoop
crash
dejagnu
dogtail
elfutils-devel
emacs
emacs-el
expect
frysk-gnome
gconf-editor
gettext-devel
gnuplot
hexedit
inkscape
intltool
lynx
maven2
mutt
scons
sharutils
socat
sox
sysprof
tcp_wrappers-devel
tcsh
texi2html
xchat
# RPM/Fedora-specific tools
@buildsys-build
createrepo
koji
livecd-tools
mock
rpmdevtools
rpmlint
eclipse-demos
# Should we?
#@sql-server
#@mysql
#@ruby
#@web-development
#@x-software-development
# I think this is going to be too big on x86_64
#*-devel
%end
%post
# Enable debuginfo repository (useful for frysk, gdb, etc.)
awk '
BEGIN {
debuginfo = 0
}
/^\[.*\]/ {
if (/debuginfo/) {
debuginfo = 1
} else {
debuginfo = 0
}
print
next
}
/enabled=0/ && debuginfo {
print "enabled=1"
next
}
{
print
next
}' < /etc/yum.repos.d/fedora.repo > /etc/yum.repos.d/fedora.repo.tmp
mv /etc/yum.repos.d/fedora.repo{.tmp,}
cat >> /etc/rc.d/init.d/fedora-live << EOF
# Put link to demonstration videos on the desktop
pushd /home/fedora/Desktop
ln -s /usr/share/eclipse-demos-0.0.1 "Eclipse demonstration videos"
popd
EOF
%end

View File

@ -0,0 +1,14 @@
# fedora-live-games-nl_NL.ks
#
# Maintainer(s):
# - Jeroen van Meeuwen <kanarip a fedoraunity.org>
%include fedora-livedvd-games.ks
lang nl_NL
keyboard us
timezone Europe/Amsterdam
%packages
@dutch-support
%end

164
fedora-livedvd-games.ks Normal file
View File

@ -0,0 +1,164 @@
%include fedora-live-base.ks
part / --size 8000
# customize repo configuration for local builds
# repo --name=development --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
%packages --ignoremissing
# games
# traditional (big)
abuse
alienarena
armacycles-ad
asc
asc-music
astromenace
beneath-a-steel-sky-cd
blobAndConquer
boswars
bzflag
#croquet (pending)
crossfire-client
egoboo
FlightGear
flight-of-the-amazon-queen-cd
freeciv
freecol
freedoom
freedroidrpg
frozen-bubble
gl-117
lincity-ng
manaworld
maniadrive
maniadrive-music
nethack-vultures
neverball
nexuiz
openarena
pinball
scorched3d
supertux
supertuxkart
torcs
tremulous
#vdrift
vegastrike
warzone2100
wesnoth
widelands
worminator
wormux
xpilot-ng
# traditional (small)
ballz
blobwars
bombardier
bsd-games
clanbomber
gnubg
gnugo
hedgewars
liquidwar
londonlaw
machineball
nazghul-haxima
nethack
openlierox
quake3
quake3-demo
quarry
Ri-li
rogue
rott-shareware
scorchwentbonkers
seahorse-adventures
stormbaancoureur
ularn
urbanterror
vavoom
worldofpadman
# arcade classics(ish) (big)
auriferous
duel3
lmarbles
raidem
raidem-music
trackballs
trackballs-music
uqm
uqm-content-3domusic
uqm-content-voice
# arcade classics(ish) (small)
ballbuster
dd2
KoboDeluxe
lacewing
Maelstrom
methane
njam
seahorse-adventures
shippy
tecnoballz
#(xgalaga renamed)
xgalaxy
zasx
# falling blocks games (small)
crack-attack
crystal-stacker
fbg
gemdropx
gweled
# puzzles (big)
enigma
fillets-ng
pingus
# puzzles (small)
escape
magicor
mirrormagic
pychess
rocksndiamonds
# card games
poker2d
# educational/simulation
bygfoot
celestia
childsplay
gcompris
stellarium
tuxpaint
tuxpaint-stamps
tuxtype2
# kde based games
ksirk
poker2d-kde
taxipilot
# utilities
dosbox
games-menus
wget
%end

109
fedora-livedvd-kde.ks Normal file
View File

@ -0,0 +1,109 @@
%include livecd-fedora-kde.ks
%packages
# add full 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
# and some extra packages
koffice-*
%end
%post
# Use gdm here for language selection
# create /etc/sysconfig/desktop (needed for installation)
cat > /etc/sysconfig/desktop <<EOF
DESKTOP="KDE"
#DISPLAYMANAGER="KDE"
EOF
%end