[libwx-glcanvas-perl] 03/03: Add build-dependencies, description, and use xvfb for tests

Nicolas Dandrimont nicolas.dandrimont at crans.org
Mon Nov 4 00:37:44 UTC 2013


This is an automated email from the git hooks/post-receive script.

dandrimont-guest pushed a commit to branch master
in repository libwx-glcanvas-perl.

commit dd85434ff9eefda2c331dc0f181f11746ac1a0bb
Author: Nicolas Dandrimont <nicolas.dandrimont at crans.org>
Date:   Mon Nov 4 01:37:33 2013 +0100

    Add build-dependencies, description, and use xvfb for tests
---
 debian/control |   15 ++++++++++-----
 debian/rules   |    6 ++++++
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index d239fb5..39ee140 100644
--- a/debian/control
+++ b/debian/control
@@ -4,8 +4,13 @@ Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Nicolas Dandrimont <olasd at debian.org>
 Build-Depends: debhelper (>= 9.20120312),
+ libglu1-mesa-dev | libglu-dev,
+ libgl1-mesa-dev | libgl-dev,
  libwx-perl (>= 0.57),
- perl
+ perl,
+ xbase-clients,
+ xfonts-base,
+ xvfb
 Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libwx-glcanvas-perl.git
 Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libwx-glcanvas-perl.git
@@ -15,7 +20,7 @@ Package: libwx-glcanvas-perl
 Architecture: any
 Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends},
  libwx-perl (>= 0.57)
-Description: interface to wxWidgets' OpenGL canvas
- (no description was found)
- .
- This description was automagically extracted from the module by dh-make-perl.
+Description: Perl interface to wxWidgets' OpenGL canvas
+ Wx::GLCanvas is an extension module allowing the integration of an
+ OpenGL Canvas in Perl programs using the wxWidgets toolkit. It does so
+ by wrapping the wxWidgets wxGLCanvas class.
diff --git a/debian/rules b/debian/rules
index 2d33f6a..0b8eeb2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,9 @@
 
 %:
 	dh $@
+
+override_dh_auto_test:
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	# Gtk needs a X server to be imported, hence the need for xvfb-run
+	xvfb-run -a dh_auto_test
+endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libwx-glcanvas-perl.git



More information about the Pkg-perl-cvs-commits mailing list