[game-data-packager] 08/12: Build-depend on dbus and wrap dh_auto_build in dbus-run-session

Simon McVittie smcv at debian.org
Mon Jul 3 22:42:14 UTC 2017


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 d471d0d1b0aebc1e1b960d76e91f210db3f1f17a
Author: Simon McVittie <smcv at debian.org>
Date:   Mon Jul 3 11:12:07 2017 +0100

    Build-depend on dbus and wrap dh_auto_build in dbus-run-session
    
    So that Inkscape stops warning about inability to access the session bus
---
 debian/changelog | 3 +++
 debian/control   | 1 +
 debian/rules     | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 3351f1e..eaeae73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,9 @@ game-data-packager (53) UNRELEASED; urgency=medium
     - debian/copyright: Sync Source with Vcs-Git [smcv]
     - debian/copyright: Declare overall license to be GPL-2, not
       GPL-2+ [smcv]
+    - Build-depend on dbus and wrap dh_auto_build in dbus-run-session,
+      so that Inkscape stops warning about inability to access the
+      session bus [smcv]
 
  -- Simon McVittie <smcv at debian.org>  Mon, 12 Jun 2017 13:05:12 +0200
 
diff --git a/debian/control b/debian/control
index 229d96e..348a6b6 100644
--- a/debian/control
+++ b/debian/control
@@ -10,6 +10,7 @@ Uploaders:
  Simon McVittie <smcv at debian.org>,
 Build-Depends:
  bash-completion,
+ dbus,
  debhelper (>= 10~),
  dh-apparmor,
  dh-python,
diff --git a/debian/rules b/debian/rules
index 2cb68b0..abda1ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,7 +31,7 @@ override_dh_auto_configure:
 		$(NULL)
 
 override_dh_auto_build:
-	dh_auto_build \
+	dbus-run-session -- dh_auto_build \
 		-- \
 		$(options) \
 		$(NULL)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list