[SCM] kguiaddons packaging branch, kubuntu_unstable, updated. debian/5.9.0-1-3-g99f15e0

Kubuntu CI (Harald Sitter) kubuntu-ci-guest at moszumanska.debian.org
Wed May 20 00:01:31 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/kguiaddons.git;a=commitdiff;h=ddb423b

The following commit has been merged in the kubuntu_unstable branch:
commit ddb423bc462aa933023bcbdf7ecafa2cc8c3b586
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Fri Jan 23 11:55:13 2015 +0100

    Add basic autopkgtests support.
---
 debian/changelog                  |  1 +
 debian/control                    |  1 +
 debian/libkf5guiaddons-dev.acc.in | 20 ++++++++++++++++++++
 debian/tests/acc                  | 11 +++++++++++
 debian/tests/control              |  6 ++++++
 debian/tests/testsuite            |  3 +++
 6 files changed, 42 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 888f9a7..d92bd24 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ kguiaddons (5.6.0-1~) UNRELEASED; urgency=medium
   * Update install files.
   * Update copyright information.
   * Update build dependencies to follow cmake.
+  * Add basic autopkgtests support.
 
  -- Maximiliano Curia <maxy at debian.org>  Fri, 23 Jan 2015 10:43:31 +0100
 
diff --git a/debian/control b/debian/control
index f4da125..b0e8b05 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends: cmake (>= 2.8.12),
                xauth,
                xvfb
 Standards-Version: 3.9.6
+XS-Testsuite: autopkgtest
 Section: libs
 Homepage: http://projects.kde.org/kguiaddons
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/frameworks/kguiaddons.git
diff --git a/debian/libkf5guiaddons-dev.acc.in b/debian/libkf5guiaddons-dev.acc.in
new file mode 100644
index 0000000..bb5dee6
--- /dev/null
+++ b/debian/libkf5guiaddons-dev.acc.in
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+    5.0.0
+</version>
+
+<headers>
+    /usr/include/KF5/KGuiAddons/
+</headers>
+
+<libs>
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5GuiAddons.so
+</libs>
+
+<gcc_options>
+    -fPIC
+</gcc_options>
+
+</descriptor>
diff --git a/debian/tests/acc b/debian/tests/acc
new file mode 100755
index 0000000..f8dc629
--- /dev/null
+++ b/debian/tests/acc
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+for in_file in debian/*.acc.in; do
+    out_file=${in_file%.in}
+    sed 's/@@DEB_HOST_MULTIARCH@@/'"${DEB_HOST_MULTIARCH}"'/' \
+        "${in_file}" > "${out_file}"
+done
+
+dh_acc
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..ed241e0
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,6 @@
+Tests: testsuite
+Depends: @, @builddeps@, build-essential
+Restrictions: build-needed
+
+Tests: acc
+Depends: @, dh-acc, exuberant-ctags
diff --git a/debian/tests/testsuite b/debian/tests/testsuite
new file mode 100755
index 0000000..f6083b5
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+xvfb-run -a dh_auto_test

-- 
kguiaddons packaging



More information about the pkg-kde-commits mailing list