From 8a23f45d14ef8179a9ec652e28da54169a594ac7 Mon Sep 17 00:00:00 2001 From: TomasM Date: Thu, 19 Oct 2017 11:10:28 -0400 Subject: [PATCH] firefox build --- Slax/debian/modules/fluxbox | 31 +++++++++++++---------- Slax/debian/rootcopy/etc/apt/sources.list | 19 ++++++++++++++ 2 files changed, 37 insertions(+), 13 deletions(-) create mode 100644 Slax/debian/rootcopy/etc/apt/sources.list diff --git a/Slax/debian/modules/fluxbox b/Slax/debian/modules/fluxbox index ce76368..c9870b9 100644 --- a/Slax/debian/modules/fluxbox +++ b/Slax/debian/modules/fluxbox @@ -1,21 +1,27 @@ #!/bin/bash -# first install stock version -apt-get install --no-install-recommends --yes fluxbox -. ../cleanup -savechanges /fluxbox-stock.sb - -# then, we want to patch it to implement window resizing! -# so we will recompile whole package +CWD=$(dirname $(readlink -f $0)) NAME=fluxbox VERSION=1.3.5 -REBUILD=/tmp/$NAME-rebuild-$$ -CWD=$(dirname $(readlink -f $0)) +# first install stock version apt-get update -apt-get build-dep $NAME +apt-get install --no-install-recommends --yes $NAME +. ../cleanup +savechanges /$NAME-stock.sb + +cd / +unsquashfs /$NAME-stock.sb + +# then, we want to patch it to implement window resizing! +# so we will recompile whole package + +REBUILD=/tmp/$NAME-rebuild-$$ + +apt-get update +apt-get --yes build-dep $NAME mkdir -p $REBUILD cd $REBUILD @@ -33,7 +39,6 @@ rm -Rf debian/$NAME/DEBIAN rm -Rf debian/$NAME/usr/share/doc rm -Rf debian/$NAME/usr/share/images -. ../cleanup -savechanges /fluxbox-mods.sb debian/$NAME +cp debian/$NAME/usr/bin/fluxbox /squashfs-root/usr/bin -# combine them together, todo +savechanges /fluxbox.sb /squashfs-root diff --git a/Slax/debian/rootcopy/etc/apt/sources.list b/Slax/debian/rootcopy/etc/apt/sources.list new file mode 100644 index 0000000..288232c --- /dev/null +++ b/Slax/debian/rootcopy/etc/apt/sources.list @@ -0,0 +1,19 @@ +# + +# deb cdrom:[Debian GNU/Linux 9.2.0 _Stretch_ - Official i386 NETINST 20171007-13:31]/ stretch main + + +# Line commented out by installer because it failed to verify: +#deb http://security.debian.org/debian-security stretch/updates main +# Line commented out by installer because it failed to verify: +#deb-src http://security.debian.org/debian-security stretch/updates main + +# stretch-updates, previously known as 'volatile' +# A network mirror was not selected during install. The following entries +# are provided as examples, but you should amend them as appropriate +# for your mirror of choice. +# +deb http://deb.debian.org/debian/ stretch main +deb-src http://deb.debian.org/debian/ stretch main + +deb http://deb.debian.org/debian/ stretch-updates main