[beignet] 05/09: Declare Built-Using for statically linked libclang

Rebecca Palmer rnpalmer-guest at moszumanska.debian.org
Thu Nov 12 22:23:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

rnpalmer-guest pushed a commit to branch master
in repository beignet.

commit d2ae0f2f034e3b6acdefe4d71e7607019500af02
Author: Rebecca N. Palmer <rebecca_palmer at zoho.com>
Date:   Tue Nov 10 21:30:32 2015 +0000

    Declare Built-Using for statically linked libclang
    
    (We can't use dynamic libclang because it doesn't provide all
    the functionality we use - #698247)
---
 debian/changelog | 1 +
 debian/control   | 1 +
 debian/rules     | 3 +++
 3 files changed, 5 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b31ca5a..6d466d8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ beignet (1.1.1-2) UNRELEASED; urgency=medium
   * Add patches to support LLVM 3.6/3.7,
     use system default version. (Closes: #803643)
   * Fix two printf bugs.
+  * Declare Built-Using for statically linked libclang.
 
  -- Rebecca N. Palmer <rebecca_palmer at zoho.com>  Mon, 09 Nov 2015 21:47:04 +0000
 
diff --git a/debian/control b/debian/control
index e8b250c..43d2933 100644
--- a/debian/control
+++ b/debian/control
@@ -29,6 +29,7 @@ Package: beignet-opencl-icd
 Architecture: i386 amd64 kfreebsd-i386 kfreebsd-amd64 hurd-i386 x32
 Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Built-Using: ${Clang}
 Breaks: beignet0.0.1, beignet (<< 1.0.1)
 Replaces: beignet0.0.1, beignet (<< 1.0.1)
 Provides: opencl-icd
diff --git a/debian/rules b/debian/rules
index c0760fe..0052be6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,6 @@ override_dh_auto_configure:
 
 override_dh_strip:
 	dh_strip --dbg-package=beignet-opencl-icd-dbg
+
+override_dh_gencontrol:
+	dh_gencontrol -- -VClang="$(shell dpkg-query -f '$${source:Package} (= $${source:Version}), \n' -W libclang-?.?-dev | grep -e '= [0-9]')"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/beignet.git



More information about the Pkg-opencl-commits mailing list