[SCM] kdbusaddons packaging branch, kubuntu_unstable, updated. debian/5.9.0-1-3-g50bd3e0
Kubuntu CI (Harald Sitter)
kubuntu-ci-guest at moszumanska.debian.org
Wed May 20 00:00:39 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/kdbusaddons.git;a=commitdiff;h=089054c
The following commit has been merged in the kubuntu_unstable branch:
commit 089054ca878b5c9ccf6478f81cebd6261a346024
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Fri Jan 23 07:12:27 2015 +0100
Add basic autopkgtests support.
---
debian/changelog | 1 +
debian/control | 1 +
debian/libkf5dbusaddons-dev.acc.in | 20 ++++++++++++++++++++
debian/tests/acc | 11 +++++++++++
debian/tests/control | 7 +++++++
debian/tests/testsuite | 2 ++
6 files changed, 42 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index a69bcb6..fa4f660 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ kdbusaddons (5.6.0-1~) UNRELEASED; urgency=medium
* Update install files.
* Bump Standards-Version to 3.9.6, no changes needed.
* Update copyright information.
+ * Add basic autopkgtests support.
-- Maximiliano Curia <maxy at debian.org> Thu, 22 Jan 2015 20:29:56 +0100
diff --git a/debian/control b/debian/control
index 51a003e..aa934f1 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends: cmake,
qttools5-dev-tools,
libqt5x11extras5-dev
Standards-Version: 3.9.6
+XS-Testsuite: autopkgtest
Homepage: https://projects.kde.org/projects/frameworks/kdbusaddons
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/frameworks/kdbusaddons.git
Vcs-Git: git://anonscm.debian.org/pkg-kde/frameworks/kdbusaddons.git
diff --git a/debian/libkf5dbusaddons-dev.acc.in b/debian/libkf5dbusaddons-dev.acc.in
new file mode 100644
index 0000000..272d3b1
--- /dev/null
+++ b/debian/libkf5dbusaddons-dev.acc.in
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+ 5.0.0
+</version>
+
+<headers>
+ /usr/include/KF5/KDBusAddons/
+</headers>
+
+<libs>
+ /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5DBusAddons.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..baf81dc
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,7 @@
+Tests: testsuite
+Depends: @, @builddeps@, build-essential,
+ dbus-x11
+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..ec71fef
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,2 @@
+#!/bin/sh
+dbus-launch --exit-with-session dh_auto_test
--
kdbusaddons packaging
More information about the pkg-kde-commits
mailing list