]> spindle.queued.net Git - midori/commitdiff
use xvfb for tests and use --with quilt
authorRyan Niebur <ryanryan52@gmail.com>
Fri, 15 May 2009 05:25:09 +0000 (22:25 -0700)
committerRyan Niebur <ryanryan52@gmail.com>
Fri, 15 May 2009 05:25:09 +0000 (22:25 -0700)
* use xvfb for tests
* use 'dh --with quilt' for patching instead of including
  /usr/share/quilt/quilt.make

debian/changelog
debian/control
debian/rules

index 658b7669a01868fa8ac7c84d275613f2eea2e3ec..b0a276e94605ac016fc56c1c3d12687f0d592773 100644 (file)
@@ -3,8 +3,11 @@ midori (0.1.6-2) UNRELEASED; urgency=low
   * adopt package: set myself as maintainer, remove uploaders, remove dm
     flag (Closes: #528731)
   * rearrange the debian/rules file
+  * use xvfb for tests
+  * use 'dh --with quilt' for patching instead of including
+    /usr/share/quilt/quilt.make
 
- -- Ryan Niebur <ryanryan52@gmail.com>  Thu, 14 May 2009 22:14:14 -0700
+ -- Ryan Niebur <ryanryan52@gmail.com>  Thu, 14 May 2009 22:24:31 -0700
 
 midori (0.1.6-1) experimental; urgency=low
 
index bc0611b6a1e3f262266541a5fd3881a83ac0394c..2159a52bd8f5d2b6b1f5c8307b3f73e4eec944b0 100644 (file)
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Ryan Niebur <ryanryan52@gmail.com>
 Build-Depends:
  debhelper (>= 7.2),
- quilt,
+ quilt (>= 0.46-7),
  libgtk2.0-dev (>= 2.10),
  libglib2.0-dev,
  libwebkit-dev (>= 1.1),
@@ -19,6 +19,10 @@ Build-Depends:
  libunique-dev (>= 1.0.6),
  python-docutils,
  libsoup2.4-dev (>= 2.25.2),
+# For testing under xvfb:
+ xvfb,
+ xauth,
+ xfonts-base
 # Disabled optional dependencies:
 Build-Conflicts:
  gtk-doc-tools,
index 6b4388e321f8abb522d00f958e95c554543c4d4f..c56398018868680a3407885492e392785c994504 100755 (executable)
@@ -1,13 +1,7 @@
 #!/usr/bin/make -f
 
-include /usr/share/quilt/quilt.make
-
 %:
-       dh $@
-
-clean: unpatch
-
-build binary-arch: patch
+       dh --with quilt $@
 
 override_dh_auto_clean:
        ./waf --nocache distclean
@@ -20,7 +14,7 @@ override_dh_auto_build:
        ./waf --nocache build --debug full
 
 override_dh_auto_test:
-       ./waf --nocache check
+       xvfb-run ./waf --nocache check
 
 override_dh_auto_install:
        ./waf --nocache install --destdir debian/tmp