firefox build

pull/40/head
TomasM 2017-10-19 11:10:28 -04:00
parent 4da9f3f760
commit 8a23f45d14
2 changed files with 37 additions and 13 deletions

View File

@ -1,21 +1,27 @@
#!/bin/bash #!/bin/bash
# first install stock version CWD=$(dirname $(readlink -f $0))
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
NAME=fluxbox NAME=fluxbox
VERSION=1.3.5 VERSION=1.3.5
REBUILD=/tmp/$NAME-rebuild-$$ # first install stock version
CWD=$(dirname $(readlink -f $0))
apt-get update 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 mkdir -p $REBUILD
cd $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/doc
rm -Rf debian/$NAME/usr/share/images rm -Rf debian/$NAME/usr/share/images
. ../cleanup cp debian/$NAME/usr/bin/fluxbox /squashfs-root/usr/bin
savechanges /fluxbox-mods.sb debian/$NAME
# combine them together, todo savechanges /fluxbox.sb /squashfs-root

View File

@ -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