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 +++++++++++++++++-- pkglists/xapbase.lst | 3 +++ pkglists/xbase.lst | 4 ++++ 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 -- cgit v1.2.3