firefox build

This commit is contained in:
TomasM
2017-10-19 11:10:28 -04:00
parent 4da9f3f760
commit 8a23f45d14
2 changed files with 37 additions and 13 deletions
+18 -13
View File
@@ -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