This is an automated email from the git hooks/post-receive script. smcv pushed a commit to branch master in repository game-data-packager.
commit d64c58283aca9d56eb9b35de3ce1aecaf26b3bcf Author: Simon McVittie <[email protected]> Date: Tue Dec 6 10:53:34 2016 +0000 In Debian packaging, set a temporary home directory for Inkscape to silence warnings and comply with proposed policy (#845715) --- debian/.gitignore | 1 + debian/changelog | 2 ++ debian/clean | 1 + debian/rules | 7 +++++++ 4 files changed, 11 insertions(+) diff --git a/debian/.gitignore b/debian/.gitignore index 943f927..f44225b 100644 --- a/debian/.gitignore +++ b/debian/.gitignore @@ -16,4 +16,5 @@ /quake3-server/ /quake4/ /quake4-server/ +/temp-home/ /tmp/ diff --git a/debian/changelog b/debian/changelog index a9de298..67bfa4a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ game-data-packager (48) UNRELEASED; urgency=medium * Internal changes: - Refactor doom2-masterlevels launcher [adetiste] - Add all and distclean Makefile targets [smcv] + - In Debian packaging, set a temporary home directory for Inkscape + to silence warnings and comply with proposed policy (#845715) -- Simon McVittie <[email protected]> Thu, 24 Nov 2016 08:15:30 +0100 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..4d16147 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +debian/temp-home/ diff --git a/debian/rules b/debian/rules index 0826265..aa404b5 100755 --- a/debian/rules +++ b/debian/rules @@ -7,12 +7,19 @@ export DH_OPTIONS include /usr/share/dpkg/pkg-info.mk %: + mkdir -p $(HOME) dh $@ --with python3,bash-completion options := \ BUILD_DATE="$$(dpkg-parsechangelog --show-field=Date)" \ $(NULL) +# Redirect Inkscape log files, etc. to a temporary directory +export HOME = $(CURDIR)/debian/temp-home +export XDG_CACHE_HOME = $(CURDIR)/debian/temp-home/.cache +export XDG_CONFIG_HOME = $(CURDIR)/debian/temp-home/.config +export XDG_DATA_HOME = $(CURDIR)/debian/temp-home/.local/share + override_dh_auto_configure: dh_auto_configure \ -- \ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

