summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-12-01 22:01:58 +0100
committer Eric Hameleers <alien@slackware.com>2015-12-01 22:01:58 +0100
commiteb3056451a40a04b1e51f6fa8b7d9b55e5430a27 (patch)
treed05143c79ba368859b77cbc3a00a37a24c2509e6
parente890e493a849f8966e8ab34b4a478bce3282ec74 (diff)
downloadliveslak-eb3056451a40a04b1e51f6fa8b7d9b55e5430a27.tar.gz
liveslak-eb3056451a40a04b1e51f6fa8b7d9b55e5430a27.tar.xz
make_slackware_live.sh: add support for Mate SlackBuild (MSB)
-rwxr-xr-xmake_slackware_live.sh27
-rw-r--r--pkglists/msb.conf8
-rw-r--r--pkglists/msb.lst66
3 files changed, 91 insertions, 10 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index 9833597..000981c 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# $Id: make_slackware_live.sh,v 1.9 2015/11/29 15:06:46 root Exp root $
+# $Id: make_slackware_live.sh,v 1.10 2015/12/01 20:56:40 root Exp root $
# Copyright 2014, 2015 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
@@ -61,10 +61,10 @@ LIVEPW=${LIVEPW:-"live"}
LIVE_HOSTNAME=${LIVE_HOSTNAME:-"darkstar"}
# What type of Live image?
-# Choices are: SLACKWARE, XFCE, KDE4, PLASMA5.
+# Choices are: SLACKWARE, XFCE, KDE4, PLASMA5, MSB.
LIVEDE=${LIVEDE:-"SLACKWARE"}
-# What runlevel to use if adding a DE like: XFCE, KDE4, PLASMA5.
+# What runlevel to use if adding a DE like: XFCE, KDE4, PLASMA5, MSB.
RUNLEVEL=${RUNLEVEL:-4}
# Use the graphical syslinux menu (YES or NO)?
@@ -115,7 +115,7 @@ SL_PKGROOT=${SL_REPO}/slackware${DIRSUFFIX}-${SL_VERSION}/slackware${DIRSUFFIX}
SL_PATCHROOT=${SL_REPO}/slackware${DIRSUFFIX}-${SL_VERSION}/patches/packages
# List of Slackware package series - each will become a squashfs module:
-SEQ_SLACKWARE="tagfile:a,ap,d,e,f,k,kde,kdei,l,n,t,tcl,x,xap,xfce,y slackextra"
+SEQ_SLACKWARE="tagfile:a,ap,d,e,f,k,kde,kdei,l,n,t,tcl,x,xap,xfce,y pkglist:slackextra"
# Stripped-down Slackware with XFCE as the Desktop Environment:
# - each series will become a squashfs module:
@@ -123,11 +123,15 @@ SEQ_XFCEBASE="min,xbase,xapbase,xfcebase"
# Stripped-down Slackware with KDE4 as the Desktop Environment:
# - each series will become a squashfs module:
-SEQ_KDE4BASE="min,xbase,xapbase,kde4base"
+SEQ_KDE4BASE="pkglist:min,xbase,xapbase,kde4base"
# List of Slackware package series with Plasma5 instead of KDE 4 (full install):
# - each will become a squashfs module:
-SEQ_PLASMA5="tagfile:a,ap,d,e,f,k,l,n,t,tcl,x,xap,xfce,y slackextra,kde4plasma5,plasma5 local:slackpkg+"
+SEQ_PLASMA5="tagfile:a,ap,d,e,f,k,l,n,t,tcl,x,xap,xfce,y pkglist:slackextra,kde4plasma5,plasma5 local:slackpkg+"
+
+# List of Slackware package series with MSB instead of KDE 4 (full install):
+# - each will become a squashfs module:
+SEQ_MSB="tagfile:a,ap,d,e,f,k,l,n,t,tcl,x,xap,xfce,y pkglist:slackextra,msb local:slackpkg+"
# List of kernel modules required for a live medium to boot properly:
KMODS=${KMODS:-"squashfs:overlay:loop:xhci-pci:ehci-pci:uhci_hcd:usb-storage:hid:usbhid:hid_generic:jbd:mbcache:ext3:ext4:isofs:fat:nls_cp437:nls_iso8859-1:msdos:vfat"}
@@ -219,7 +223,7 @@ function install_pkgs() {
if [ -f ${PKGFILE} ]; then
echo "-- Loading package list '$PKGFILE'."
else
- echo "-- Mandatory package list file is missing! Exiting..."
+ echo "-- Mandatory package list file '$PKGFILE' is missing! Exiting."
exit 1
fi
@@ -358,7 +362,7 @@ do
case $Option in
h ) cat <<-"EOH"
-----------------------------------------------------------------
- $Id: make_slackware_live.sh,v 1.9 2015/11/29 15:06:46 root Exp root $
+ $Id: make_slackware_live.sh,v 1.10 2015/12/01 20:56:40 root Exp root $
-----------------------------------------------------------------
EOH
echo "Usage:"
@@ -505,11 +509,12 @@ case "$LIVEDE" in
XFCE) MSEQ="${SEQ_XFCEBASE}" ;;
KDE4) MSEQ="${SEQ_KDE4BASE}" ;;
PLASMA5) MSEQ="${SEQ_PLASMA5}" ;;
+ MSB) MSEQ="${SEQ_MSB}" ;;
*) echo "** Unsupported configuration '$LIVEDE'"; exit 1 ;;
esac
# Do we need to create/include additional module(s) defined by a pkglist:
-if [ -n "$SEQ_ADDMOD" -a -f ${LIVE_TOOLDIR}/pkglists/${SEQ_ADDMOD}.lst ]; then
+if [ -n "$SEQ_ADDMOD" ]; then
MSEQ="${MSEQ} pkglist:${SEQ_ADDMOD}"
fi
@@ -927,6 +932,8 @@ elif [ "$LIVEDE" = "KDE4" ]; then
ln -sf xinitrc.kde ${LIVE_ROOTDIR}/etc/X11/xinit/xinitrc
elif [ "$LIVEDE" = "PLASMA5" ]; then
ln -sf xinitrc.plasma ${LIVE_ROOTDIR}/etc/X11/xinit/xinitrc
+elif [ "$LIVEDE" = "MSB" ]; then
+ ln -sf xinitrc.mate-session ${LIVE_ROOTDIR}/etc/X11/xinit/xinitrc
else
ln -sf xinitrc.xfce ${LIVE_ROOTDIR}/etc/X11/xinit/xinitrc
fi
@@ -1147,7 +1154,7 @@ if [ -f ${LIVE_TOOLDIR}/optional/*.sxz ]; then
fi
if [ "$LIVEDE" != "XFCE" -a -f ${LIVE_TOOLDIR}/graphics/*.sxz ]; then
- # KDE/PLASMA will profit; add custom (proprietary) graphics drivers:
+ # KDE/PLASMA/MSB will profit; add custom (proprietary) graphics drivers:
echo "-- Adding binary GPU drivers."
cp ${LIVE_TOOLDIR}/graphics/*.sxz ${LIVE_MOD_OPT}/
fi
diff --git a/pkglists/msb.conf b/pkglists/msb.conf
new file mode 100644
index 0000000..8158f3e
--- /dev/null
+++ b/pkglists/msb.conf
@@ -0,0 +1,8 @@
+SL_REPO="/mnt/auto/sox/ftp/pub/Linux/Slackware/msb/testing/1.12/${SL_ARCH}"
+
+# Package root directory:
+SL_PKGROOT=${SL_REPO}
+
+# Patches root directory:
+SL_PATCHROOT=""
+
diff --git a/pkglists/msb.lst b/pkglists/msb.lst
new file mode 100644
index 0000000..f9f447d
--- /dev/null
+++ b/pkglists/msb.lst
@@ -0,0 +1,66 @@
+# MSB deps:
+atkmm
+cairomm
+docutils
+gksu
+glade
+glibmm
+gssdp
+gtk-engines
+gtkmm3
+gtksourceview3
+gupnp
+libgksu
+libgnomecanvas
+libgtop
+libsigc++
+libunique3
+libwnck3
+mm-common
+murrine
+pangomm
+pangox-compat
+rarian
+vte3
+yelp-tools
+yelp-xsl
+zenity
+
+# MSB base:
+caja
+engrampa
+eom
+libmatekbd
+libmatemixer
+libmateweather
+marco
+mate-backgrounds
+mate-common
+mate-control-center
+mate-desktop
+mate-icon-theme
+mate-media
+mate-menus
+mate-notification-daemon
+mate-panel
+mate-polkit
+mate-power-manager
+mate-screensaver
+mate-session-manager
+mate-settings-daemon
+mate-system-monitor
+mate-terminal
+mate-themes
+
+# MSB extra:
+atril
+caja-dropbox
+caja-extensions
+galculator
+mate-applets
+mate-icon-theme-faenza
+mate-netspeed
+mate-sensors-applet
+mate-utils
+mozo
+pluma