From e1f8ae8290b79dc518f86f9b3629674c5515cf3c Mon Sep 17 00:00:00 2001 From: TomasM Date: Wed, 18 Oct 2017 08:48:47 -0400 Subject: [PATCH] build scripts for modules --- Slax/debian/modules/fluxbox | 28 ++++++++++++++++++++++++++++ Slax/debian/modules/xorg | 18 ++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 Slax/debian/modules/fluxbox create mode 100644 Slax/debian/modules/xorg diff --git a/Slax/debian/modules/fluxbox b/Slax/debian/modules/fluxbox new file mode 100644 index 0000000..cc0add8 --- /dev/null +++ b/Slax/debian/modules/fluxbox @@ -0,0 +1,28 @@ +#!/bin/bash + +NAME=fluxbox +VERSION=1.3.5 + +REBUILD=/tmp/$NAME-rebuild-$$ +CWD=$(dirname $(readlink -f $0)) + +apt-get update +apt-get build-dep $NAME + +mkdir -p $REBUILD +cd $REBUILD + +apt-get source $NAME + +cd $NAME-$VERSION + +cat $CWD/patches/fluxbox-border-resize.diff > debian/patches/fluxbox-border-resize.diff +echo fluxbox-border-resize.diff >> debian/patches/series + +dpkg-buildpackage -us -uc + +rm -Rf debian/$NAME/DEBIAN +rm -Rf debian/$NAME/usr/share/doc +rm -Rf debian/$NAME/usr/share/images + +savechanges /03-fluxbox.sb debian/$NAME diff --git a/Slax/debian/modules/xorg b/Slax/debian/modules/xorg new file mode 100644 index 0000000..d84ca43 --- /dev/null +++ b/Slax/debian/modules/xorg @@ -0,0 +1,18 @@ + +apt-get update +apt-get install --yes --no-install-recommends xserver-xorg xinit xterm blackbox libxcursor1 breeze-cursor-theme + +# default cursor is white +ln -sf /etc/X11/cursors/Breeze_Snow.theme /etc/alternatives/x-cursor-theme + +cp cleanup /tmp +# install x11 server utils, apt-get would add cpp dependency, bullshit! +cd /tmp +apt-get download x11-xserver-utils +dpkg -x x11-xserver-utils*.deb /tmp/x11utils +cd /tmp/x11utils +cp -aR * / + +/tmp/cleanup + +savechanges /02-xorg.sb