SoAS: add defaults to sugar package, move a bunch of package selection to comps group

Signed-off-by: Peter Robinson <pbrobinson@fedoraproject.org>
This commit is contained in:
Peter Robinson 2020-02-19 00:01:04 +00:00
parent 4860ea2def
commit d1e8a6668b

View File

@ -9,6 +9,12 @@
firewall --enabled --service=mdns,presence firewall --enabled --service=mdns,presence
%packages %packages
# == Core Sugar Platform ==
@sugar-desktop
# explicitly remove a bunch of extra stuff
-openbox
-@fonts -@fonts
-@dial-up -@dial-up
-@multimedia -@multimedia
@ -30,6 +36,8 @@ firewall --enabled --service=mdns,presence
-abrt-cli -abrt-cli
-ibus* -ibus*
-hyperv-daemons -hyperv-daemons
-sane-backends
-sane-backends-drivers-scanners
# Add some extra fonts # Add some extra fonts
dejavu-sans-fonts dejavu-sans-fonts
@ -39,38 +47,12 @@ aajohan-comfortaa-fonts
sil-abyssinica-fonts sil-abyssinica-fonts
vlgothic-fonts vlgothic-fonts
# == Core Sugar Platform ==
@sugar-desktop
-sugar-ruler
sugar-cp-updater
lightdm
lightdm-gtk
# Write breaks unless we do this (we don't need it anyway) # Write breaks unless we do this (we don't need it anyway)
# enable for testing in the F17 dev cycle
@input-methods @input-methods
# Needed for wifi, bluetooth and WWAN connection support # Needed for wifi, bluetooth and WWAN connection support
@networkmanager-submodules @networkmanager-submodules
# == Platform Components ==
# from http://wiki.sugarlabs.org/go/0.94/Platform_Components
alsa-plugins-pulseaudio
alsa-utils
gstreamer1-plugins-base
gstreamer1-plugins-good
gstreamer1-plugins-bad-free
gstreamer-plugins-espeak
pulseaudio
pulseaudio-utils
# explicitly remove openbox and hopefully deal with what firstboot wants
-openbox
# remove deps that come from god knows where
-sane-backends
-sane-backends-drivers-scanners
# Usefulness for DSL connections as per: # Usefulness for DSL connections as per:
# http://bugs.sugarlabs.org/ticket/1951 # http://bugs.sugarlabs.org/ticket/1951
rp-pppoe rp-pppoe
@ -82,7 +64,6 @@ livecd-tools
# Get the Sugar boot screen # Get the Sugar boot screen
-plymouth-system-theme -plymouth-system-theme
-plymouth-theme-charge -plymouth-theme-charge
sugar-logos
%end %end
@ -102,44 +83,6 @@ dracut -N -f /boot/initramfs-$KERNEL_VERSION.img $KERNEL_VERSION
# Note that running rpm recreates the rpm db files which aren't needed or wanted # Note that running rpm recreates the rpm db files which aren't needed or wanted
rm -f /var/lib/rpm/__db* rm -f /var/lib/rpm/__db*
# Add our activities to the favorites
cat > /usr/share/sugar/data/activities.defaults << EOF
org.laptop.WebActivity
org.laptop.HelpActivity
org.laptop.Chat
org.laptop.sugar.ReadActivity
org.laptop.sugar.GetBooksActivity
org.laptop.AbiWordActivity
org.laptop.TurtleArtActivity
org.laptop.Calculate
org.laptop.Clock
org.laptop.ImageViewerActivity
org.laptop.Memorize
org.laptop.physics
org.laptop.Pippy
org.laptop.RecordActivity
org.laptop.Oficina
org.laptop.StopWatchActivity
org.laptop.community.Finance
org.laptop.community.TypingTurtle
org.laptop.sugar.Jukebox
org.laptop.Words
org.eq.FotoToon
org.gnome.Labyrinth
com.laptop.Ruler
org.sugarlabs.AbacusActivity
org.sugarlabs.IRC
org.sugarlabs.InfoSlicer
org.sugarlabs.PortfolioActivity
org.sugarlabs.StoryActivity
org.sugarlabs.VisualMatchActivity
com.garycmartin.Moon
mulawa.Countries
tv.alterna.Clock
vu.lux.olpc.Maze
vu.lux.olpc.Speak
EOF
cat > /etc/sysconfig/desktop <<EOF cat > /etc/sysconfig/desktop <<EOF
PREFERRED=/usr/bin/sugar PREFERRED=/usr/bin/sugar
DISPLAYMANAGER=/usr/sbin/lightdm DISPLAYMANAGER=/usr/sbin/lightdm