[Pkg-gnupg-commit] [gpgme] 02/04: ship documentation as well in an arch:all package
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Oct 13 00:01:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch experimental
in repository gpgme.
commit 06ada4a72114fac6d7ae907aadfeff513966cbb7
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Wed Oct 12 13:12:31 2016 -0400
ship documentation as well in an arch:all package
---
debian/control | 26 ++++++++++++++++++++++++++
debian/libgpgmepp-dev.links | 2 ++
debian/libgpgmepp-doc.doc-base | 18 ++++++++++++++++++
debian/libgpgmepp-doc.docs | 2 ++
debian/libgpgmepp6.docs | 1 +
debian/libqgpgme6.docs | 1 +
debian/rules | 7 +++++++
7 files changed, 57 insertions(+)
diff --git a/debian/control b/debian/control
index 9090cee..dc36f04 100644
--- a/debian/control
+++ b/debian/control
@@ -22,6 +22,13 @@ Build-Depends:
scdaemon,
swig,
texinfo,
+Build-Depends-Indep:
+ doxygen,
+ graphviz,
+ texlive-fonts-recommended,
+ texlive-latex-base,
+ texlive-latex-extra,
+ texlive-latex-recommended,
Standards-Version: 3.9.8
Homepage: https://www.gnupg.org/related_software/gpgme/
Vcs-Git: https://anonscm.debian.org/git/pkg-gnupg/gpgme.git
@@ -152,6 +159,8 @@ Depends:
qtbase5-dev,
${misc:Depends},
${shlibs:Depends},
+Recommends:
+ libgpgmepp-doc (= ${binary:Version}),
Breaks:
kdepimlibs5-dev (<= 4:4.14.10-5),
Replaces:
@@ -165,3 +174,20 @@ Description: C++ and Qt bindings for GPGME (development files)
.
This package contains the headers and other files needed to compile
against either of these libraries.
+
+Package: libgpgmepp-doc
+Section: doc
+Architecture: all
+Depends:
+ ${misc:Depends},
+Suggests:
+ libgpgmepp-dev,
+Description: C++ and Qt bindings for GPGME (documentation for developers)
+ GpgME++ (aka GpgMEpp) is a C++ wrapper (or C++ bindings) for the
+ GnuPG project's GPGME (GnuPG Made Easy) library.
+ .
+ QGpgME is a library that provides GPGME integration with QEventLoop
+ and some Qt datatypes (e.g. QByteArray).
+ .
+ This package contains documentation for developers describing how to
+ use these packages.
diff --git a/debian/libgpgmepp-dev.links b/debian/libgpgmepp-dev.links
new file mode 100644
index 0000000..e08e7fd
--- /dev/null
+++ b/debian/libgpgmepp-dev.links
@@ -0,0 +1,2 @@
+usr/share/doc/libgpgmepp6/README usr/share/doc/libgpgmepp-dev/README.gpgmepp
+usr/share/doc/libqgpgme/README usr/share/doc/libgpgmepp-dev/README.qgpgme
diff --git a/debian/libgpgmepp-doc.doc-base b/debian/libgpgmepp-doc.doc-base
new file mode 100644
index 0000000..dd83c12
--- /dev/null
+++ b/debian/libgpgmepp-doc.doc-base
@@ -0,0 +1,18 @@
+Document: libgpgmepp-qgpgme
+Title: Programmer documentation for GpgMEpp and QGpgME
+Abstract:
+ GpgMEpp is the canonical C++ binding for GPGME, "GnuPG Made Easy".
+ QGpgME is a binding to Qt on top of GpgMEpp, and is integrated into
+ the Qt event model.
+ .
+ This is documentation designed to help programmers and system
+ designers make use of these higher-level bindings to use GnuPG in an
+ automated fashion.
+Section: Programming/C++
+
+Format: html
+Index: /usr/share/doc/libgpgmepp-doc/html/index.html
+Files: /usr/share/doc/libgpgmepp-doc/html/* /usr/share/doc/libgpgmepp-doc/html/*/*
+
+Format: pdf
+Files: /usr/share/doc/libgpgmepp-doc/refman.pdf.gz
diff --git a/debian/libgpgmepp-doc.docs b/debian/libgpgmepp-doc.docs
new file mode 100644
index 0000000..2aa2ee8
--- /dev/null
+++ b/debian/libgpgmepp-doc.docs
@@ -0,0 +1,2 @@
+lang/qt/doc/generated/html/
+lang/qt/doc/generated/latex/refman.pdf
diff --git a/debian/libgpgmepp6.docs b/debian/libgpgmepp6.docs
new file mode 100644
index 0000000..341871d
--- /dev/null
+++ b/debian/libgpgmepp6.docs
@@ -0,0 +1 @@
+lang/cpp/README
diff --git a/debian/libqgpgme6.docs b/debian/libqgpgme6.docs
new file mode 100644
index 0000000..44b4e5a
--- /dev/null
+++ b/debian/libqgpgme6.docs
@@ -0,0 +1 @@
+lang/qt/README
diff --git a/debian/rules b/debian/rules
index 30b2e53..5499394 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,3 +29,10 @@ override_dh_gencontrol-arch:
-Tdebian/python-pyme.substvars \
-Pdebian/python-pyme \
-Odebian/python-pyme/DEBIAN/control
+
+override_dh_auto_build-indep:
+ make -C lang/qt/doc
+ make -C lang/qt/doc/generated/latex
+
+override_dh_installdocs:
+ dh_installdocs -X.md5
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gpgme.git
More information about the Pkg-gnupg-commit
mailing list