[SCM] plasma-workspace packaging branch, master, updated. 931e7b5153cdc14924b82999d92627435ba85879

Maximiliano Curia maxy at moszumanska.debian.org
Sat Mar 21 18:50:07 UTC 2015


Gitweb-URL: http://git.debian.org/?p=pkg-kde/plasma/plasma-workspace.git;a=commitdiff;h=4197f43

The following commit has been merged in the master branch:
commit 4197f43eabc41407de3bbb8b8cfac28552c8d15b
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Tue Feb 10 16:15:54 2015 +0100

    Add basic autopkgtests support.
---
 debian/changelog                   |  1 +
 debian/control                     |  1 +
 debian/plasma-workspace-dev.acc.in | 27 +++++++++++++++++++++++++++
 debian/tests/acc                   | 11 +++++++++++
 debian/tests/control               |  6 ++++++
 debian/tests/testsuite             |  3 +++
 6 files changed, 49 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6eafa8c..2d39e2e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ plasma-workspace (4:5.2.0-1~) UNRELEASED; urgency=medium
     follow cmake.
   * Update copyright information.
   * Update install files.
+  * Add basic autopkgtests support.
 
  -- Maximiliano Curia <maxy at debian.org>  Mon, 09 Feb 2015 14:31:36 +0100
 
diff --git a/debian/control b/debian/control
index d442312..e0dcec3 100644
--- a/debian/control
+++ b/debian/control
@@ -75,6 +75,7 @@ Build-Depends: baloo-kf5-dev (>= 5.0.0),
                xcb-proto,
                xvfb
 Standards-Version: 3.9.6
+XS-Testsuite: autopkgtest
 Homepage: https://projects.kde.org/projects/kde/workspace/plasma-workspace
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-kde/plasma/plasma-workspace.git
 Vcs-Git: git://anonscm.debian.org/pkg-kde/plasma/plasma-workspace.git
diff --git a/debian/plasma-workspace-dev.acc.in b/debian/plasma-workspace-dev.acc.in
new file mode 100644
index 0000000..85ef29b
--- /dev/null
+++ b/debian/plasma-workspace-dev.acc.in
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+    5.2.0
+</version>
+
+<headers>
+    /usr/include/KDE/Plasma/Weather/Ion
+    /usr/include/kworkspace5/
+    /usr/include/plasma/geolocation/
+    /usr/include/plasma/weather/
+    /usr/include/taskmanager/
+</headers>
+
+<libs>
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libworkspace5.so
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libplasma-geolocation-interface.so
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libtaskmanager.so
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libweather_ion.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..d9b40f1
--- /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

-- 
plasma-workspace packaging



More information about the pkg-kde-commits mailing list