From 3aa99574453b599cf4269bcea4b46997641855ef Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Mon, 8 Aug 2016 23:05:28 +0200 Subject: XFCE: add tigervnc and HP printer support. While still staying below the CDROM size limit of 737.280.000 bytes, I was able to add lftp, fltk and tigervnc (because I need them), cdrtools and dosfstools (because iso2usb.sh needs them), as well as hplip and net-snmp to complement the recently added cups packages. I hope the XFCE variant now has a fully functional print support. --- make_slackware_live.sh | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'make_slackware_live.sh') 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 -- cgit v1.2.3