diff --git a/debian/dquilt b/debian/dquilt new file mode 100644 index 0000000..56da850 --- /dev/null +++ b/debian/dquilt @@ -0,0 +1,13 @@ +d=. +while [ ! -d $d/debian -a `readlink -e $d` != / ]; + do d=$d/..; done +if [ -d $d/debian ] && [ -z $QUILT_PATCHES ]; then + # if in Debian packaging tree with unset $QUILT_PATCHES + QUILT_PATCHES="debian/patches" + QUILT_PATCH_OPTS="--reject-format=unified" + QUILT_DIFF_ARGS="-p ab --no-timestamps --no-index --color=auto" + QUILT_REFRESH_ARGS="-p ab --no-timestamps --no-index" + QUILT_COLORS="diff_hdr=1;32:diff_add=1;34:" + \ + "diff_rem=1;31:diff_hunk=1;33:diff_ctx=35:diff_cctx=33" + if ! [ -d $d/debian/patches ]; then mkdir $d/debian/patches; fi +fi diff --git a/debian/git-buildpackage.conf b/debian/git-buildpackage.conf new file mode 100644 index 0000000..3ab5637 --- /dev/null +++ b/debian/git-buildpackage.conf @@ -0,0 +1,9 @@ +# Configuration file for "gbp " + +[DEFAULT] +# the default build command: +builder = git-pbuilder -i -I -us -uc +# use pristine-tar: +pristine-tar = True +# Use color when on a terminal, alternatives: on/true, off/false or auto +color = auto diff --git a/debian/pbuilder b/debian/pbuilder new file mode 100644 index 0000000..d4f3e14 --- /dev/null +++ b/debian/pbuilder @@ -0,0 +1,20 @@ +AUTO_DEBSIGN="${AUTO_DEBSIGN:-no}" +PDEBUILD_PBUILDER=cowbuilder +HOOKDIR="/var/cache/pbuilder/hooks" +MIRRORSITE="http://deb.debian.org/debian/" +#APTCACHE=/var/cache/pbuilder/aptcache +APTCACHE=/var/cache/apt/archives +#BUILDRESULT=/var/cache/pbuilder/result/ +BUILDRESULT=../ +EXTRAPACKAGES="ccache lintian libeatmydata1" + +# enable to use libeatmydata1 for pbuilder +#export LD_PRELOAD=${LD_PRELOAD+$LD_PRELOAD:}libeatmydata.so + +# enable ccache for pbuilder +export PATH="/usr/lib/ccache${PATH+:$PATH}" +export CCACHE_DIR="/var/cache/pbuilder/ccache" +BINDMOUNTS="${CCACHE_DIR}" + +# parallel make +DEBBUILDOPTS=-j4 diff --git a/links.list b/links.list index 500ff1b..6ae78c4 100644 --- a/links.list +++ b/links.list @@ -17,3 +17,6 @@ stumpwm/stumpwmrc .stumpwmrc x/xinitrc .xinitrc x/Xmodmap .Xmodmap x/Xresources .Xresources +debian/dquilt .quiltrc-dpkg +debian/pbuilder .pbuilderrc +debian/git-buildpackage.conf .gbp.conf