Configurations for Debian packaging

This commit is contained in:
Marcel Kapfer 2018-03-09 12:20:14 +01:00
parent 217c758ad0
commit b20195f7fa
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09
4 changed files with 45 additions and 0 deletions

13
debian/dquilt vendored Normal file
View file

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

9
debian/git-buildpackage.conf vendored Normal file
View file

@ -0,0 +1,9 @@
# Configuration file for "gbp <command>"
[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

20
debian/pbuilder vendored Normal file
View file

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

View file

@ -17,3 +17,6 @@ stumpwm/stumpwmrc .stumpwmrc
x/xinitrc .xinitrc x/xinitrc .xinitrc
x/Xmodmap .Xmodmap x/Xmodmap .Xmodmap
x/Xresources .Xresources x/Xresources .Xresources
debian/dquilt .quiltrc-dpkg
debian/pbuilder .pbuilderrc
debian/git-buildpackage.conf .gbp.conf