summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake_slackware_live.sh19
-rw-r--r--pkglists/xapbase.lst3
-rw-r--r--pkglists/xbase.lst4
3 files changed, 24 insertions, 2 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 3ca6234..afcabd6 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -387,10 +387,25 @@ function install_pkgs() {
if [ "$TRIM" = "doc" -o "$TRIM" = "mandoc" -o "$LIVEDE" = "XFCE" ]; then
# Remove undesired (too big for a live OS) document subdirectories:
(cd "${2}/usr/doc" && find . -type d -mindepth 2 -maxdepth 2 -exec rm -rf {} \;)
+ rm -rf "$2"/usr/share/gtk-doc
+ rm -rf "$2"/usr/share/help
+ # Remove residual bloat:
+ rm -f "${2}"/usr/doc/*/*.{html,css,xml,pdf,db,bz2,xz}
fi
if [ "$TRIM" = "mandoc" ]; then
- # Also remove man pages:
- rm -rf "$2"/usr/man
+ # Also remove man and info pages:
+ rm -rf "$2"/usr/man "$2"/usr/info
+ fi
+ if [ "$LIVEDE" = "XFCE" ]; then
+ # By pruning stuff that no one likely needs anyway,
+ # we make room for packages we would otherwise not be able to add.
+ # MySQL embedded is only used by Amarok:
+ rm -f "$2"/usr/bin/mysql*embedded*
+ # I am against torture:
+ rm -f "$2"/usr/bin/smbtorture
+ # Also remove some of the big unused/esoteric static libraries:
+ rm -rf "$2"/usr/lib${DIRSUFFIX}/{libaudiofile,libgdk,libglib,libgtk}.a
+ rm -rf "$2"/usr/lib${DIRSUFFIX}/{liblftp*,libnl}.a
fi
# End install_pkgs
diff --git a/pkglists/xapbase.lst b/pkglists/xapbase.lst
index 5977e12..f8b768b 100644
--- a/pkglists/xapbase.lst
+++ b/pkglists/xapbase.lst
@@ -5,6 +5,7 @@ audacious
audacious-plugins
blueman
cairomm
+fltk
geeqie
gftp
gimp
@@ -18,6 +19,7 @@ hexchat
imagemagick
js185
libsigc++
+lftp
mozilla-firefox
#mozilla-thunderbird
network-manager-applet
@@ -28,6 +30,7 @@ rdesktop
rxvt
sane
seamonkey-solibs
+tigervnc
vim-gvim
x11-ssh-askpass
x3270
diff --git a/pkglists/xbase.lst b/pkglists/xbase.lst
index f17cf86..1fcd6ec 100644
--- a/pkglists/xbase.lst
+++ b/pkglists/xbase.lst
@@ -20,6 +20,7 @@ bigreqsproto
bluez
boost
cairo
+cdrtools
cgmanager
compositeproto
cups
@@ -33,6 +34,7 @@ dejavu-fonts-ttf
desktop-file-utils
djvulibre
dmxproto
+dosfstools
dri2proto
dri3proto
elfutils
@@ -97,6 +99,7 @@ gtkspell
gvfs
harfbuzz
hicolor-icon-theme
+hplip
hunspell
iceauth
ico
@@ -240,6 +243,7 @@ mozilla-nss
mpg123
mtdev
neon
+net-snmp
nettle
newt
nfs-utils