[SCM] Polkit Qt 1 packaging branch, experimental, updated. debian/0.95.1-1-63-g70a4b59
Maximiliano Curia
maxy at moszumanska.debian.org
Sun Jan 25 17:53:36 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-req/polkit-qt-1.git;a=commitdiff;h=d9d3572
The following commit has been merged in the experimental branch:
commit d9d357299f8e0ada690f53ee2363da2edcf815d7
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date: Sun Jan 25 18:25:51 2015 +0100
Add basic autopkgtests support.
---
debian/changelog | 1 +
debian/control | 1 +
debian/libpolkit-qt-1-dev.acc.in | 22 ++++++++++++++++++++++
debian/libpolkit-qt5-1-dev.acc.in | 22 ++++++++++++++++++++++
debian/tests/acc | 11 +++++++++++
debian/tests/control | 6 ++++++
debian/tests/testsuite | 3 +++
7 files changed, 66 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 2780e93..62d4092 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,7 @@ polkit-qt-1 (0.112.0-1~) UNRELEASED; urgency=low
* Update watch file.
* Set rules to build the source twice.
* Update copyright information.
+ * Add basic autopkgtests support.
-- Maximiliano Curia <maxy at debian.org> Sun, 25 Jan 2015 17:16:11 +0100
diff --git a/debian/control b/debian/control
index 4f7fde5..ee566e4 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends: automoc,
pkg-kde-tools (>= 0.11)
Standards-Version: 3.9.6
Section: libs
+XS-Testsuite: autopkgtest
Homepage: https://projects.kde.org/projects/kdesupport/polkit-qt-1
Vcs-Git: git://anonscm.debian.org/pkg-kde/kde-req/polkit-qt-1.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-req/polkit-qt-1.git
diff --git a/debian/libpolkit-qt-1-dev.acc.in b/debian/libpolkit-qt-1-dev.acc.in
new file mode 100644
index 0000000..2badffb
--- /dev/null
+++ b/debian/libpolkit-qt-1-dev.acc.in
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+ 0.99.0
+</version>
+
+<headers>
+ /usr/include/polkit-qt-1/
+</headers>
+
+<libs>
+ /usr/lib/@@DEB_HOST_MULTIARCH@@/libpolkit-qt-agent-1.so
+ /usr/lib/@@DEB_HOST_MULTIARCH@@/libpolkit-qt-core-1.so
+ /usr/lib/@@DEB_HOST_MULTIARCH@@/libpolkit-qt-gui-1.so
+</libs>
+
+<gcc_options>
+ -fPIC
+</gcc_options>
+
+</descriptor>
diff --git a/debian/libpolkit-qt5-1-dev.acc.in b/debian/libpolkit-qt5-1-dev.acc.in
new file mode 100644
index 0000000..29eae76
--- /dev/null
+++ b/debian/libpolkit-qt5-1-dev.acc.in
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+ 0.112.0
+</version>
+
+<headers>
+ /usr/include/polkit-qt5-1/
+</headers>
+
+<libs>
+ /usr/lib/@@DEB_HOST_MULTIARCH@@/libpolkit-qt5-agent-1.so
+ /usr/lib/@@DEB_HOST_MULTIARCH@@/libpolkit-qt5-core-1.so
+ /usr/lib/@@DEB_HOST_MULTIARCH@@/libpolkit-qt5-gui-1.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..dabe645
--- /dev/null
+++ b/debian/tests/testsuite
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+dh_auto_test
--
Polkit Qt 1 packaging
More information about the pkg-kde-commits
mailing list