[SCM] khtml packaging branch, master, updated. 0da14f7eb14271f3a3ece37bd56a9b22680ecbd6

Maximiliano Curia maxy at moszumanska.debian.org
Tue Feb 24 17:12:07 UTC 2015


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

The following commit has been merged in the master branch:
commit 352ed7342c1bd6c004a6415c91dfcc362ee429af
Author: Maximiliano Curia <maxy at gnuservers.com.ar>
Date:   Thu Feb 5 10:13:01 2015 +0100

    Add acc autopkgtests.
---
 debian/changelog              |  1 +
 debian/libkf5khtml-dev.acc.in | 20 ++++++++++++++++++++
 debian/tests/acc              | 11 +++++++++++
 debian/tests/control          |  3 +++
 4 files changed, 35 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 4beab20..4e194bf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ khtml (5.6.0-1~) UNRELEASED; urgency=medium
   * Bump Standards-Version to 3.9.6, no changes needed.
   * Update copyright information.
   * Update install files.
+  * Add acc autopkgtests.
 
  -- Maximiliano Curia <maxy at debian.org>  Thu, 05 Feb 2015 09:19:16 +0100
 
diff --git a/debian/libkf5khtml-dev.acc.in b/debian/libkf5khtml-dev.acc.in
new file mode 100644
index 0000000..1a18e99
--- /dev/null
+++ b/debian/libkf5khtml-dev.acc.in
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<descriptor>
+
+<version>
+    5.4.0
+</version>
+
+<headers>
+    /usr/include/KF5/KHtml/
+</headers>
+
+<libs>
+    /usr/lib/@@DEB_HOST_MULTIARCH@@/libKF5Html.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
index 53e743e..744fce7 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,3 +2,6 @@ Tests: testsuite
 Depends: @, @builddeps@, build-essential,
          xvfb, xauth, dbus-x11, openbox
 Restrictions: rw-build-tree
+
+Tests: acc
+Depends: @, dh-acc, exuberant-ctags

-- 
khtml packaging



More information about the pkg-kde-commits mailing list