[med-svn] [dcmtkpp] 01/02: Add documentation package

Julien Lamy lamy-guest at moszumanska.debian.org
Fri Jul 24 13:42:09 UTC 2015


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

lamy-guest pushed a commit to branch master
in repository dcmtkpp.

commit b00cdae5d83c8cf02192681822a6a75616bcb199
Author: Julien Lamy <lamy at unistra.fr>
Date:   Fri Jul 24 12:22:23 2015 +0200

    Add documentation package
---
 debian/control                           | 18 +++++++++++++++++-
 debian/libdcmtkpp0-doc.doc-base          |  9 +++++++++
 debian/libdcmtkpp0-doc.docs              |  1 +
 debian/libdcmtkpp0-doc.lintian-overrides |  4 ++++
 debian/rules                             |  4 ++++
 5 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index bcbca35..76c7f99 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,9 @@ Build-Depends: debhelper (>= 9),
                libicu-dev (>= 4.8.1.1),
                zlib1g-dev,
                libboost-test-dev (>= 1.46.1),
-               dcmtk (>= 3.6.0)
+               dcmtk (>= 3.6.0),
+               doxygen,
+               graphviz
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/dcmtkpp/trunk/
 Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/dcmtkpp/trunk/
@@ -47,3 +49,17 @@ Description: Wrappers around DCMTK to have an easier API (development files)
  SCU and SCP.
  .
  This package contains the development files.
+
+Package: libdcmtkpp0-doc
+Architecture: all
+Section: doc
+Depends: libjs-jquery,
+         ${misc:Depends}
+Description: Wrappers around DCMTK to have an easier API (documentation)
+ DCMTK++ is a set of wrappers around DCMTK, leveraging C++ constructs to have 
+ an easier API, notably for the networking part. Included are exception-based
+ error handling, generic access to datasets elements, standard JSON 
+ representation of datasets, explicit messages and generic implementation of
+ SCU and SCP.
+ .
+ This package contains the documentation files.
diff --git a/debian/libdcmtkpp0-doc.doc-base b/debian/libdcmtkpp0-doc.doc-base
new file mode 100644
index 0000000..4057ae5
--- /dev/null
+++ b/debian/libdcmtkpp0-doc.doc-base
@@ -0,0 +1,9 @@
+Document: dcmtkpp-doxygen
+Title: Documentation of DCMTK++
+Author: Julien Lamy
+Abstract: Doxygen-generated documentation of DCMTK++.
+Section: Science/Medicine
+
+Format: HTML
+Index: /usr/share/doc/libdcmtkpp0-doc/html/index.html
+Files: /usr/share/doc/libdcmtkpp0-doc/html/*.html
diff --git a/debian/libdcmtkpp0-doc.docs b/debian/libdcmtkpp0-doc.docs
new file mode 100644
index 0000000..8ef7856
--- /dev/null
+++ b/debian/libdcmtkpp0-doc.docs
@@ -0,0 +1 @@
+build/doc/html
diff --git a/debian/libdcmtkpp0-doc.lintian-overrides b/debian/libdcmtkpp0-doc.lintian-overrides
new file mode 100644
index 0000000..598e2c1
--- /dev/null
+++ b/debian/libdcmtkpp0-doc.lintian-overrides
@@ -0,0 +1,4 @@
+# According to Doxygen's maintainer:
+# Lintian will have to learn that a `jquery.js` embedded by Doxygen 
+# is a normal thing.
+libdcmtkpp0-doc: embedded-javascript-library
diff --git a/debian/rules b/debian/rules
index 04c0764..355e753 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,10 @@ LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 %:
 	dh $@ --builddirectory=build --parallel
 
+override_dh_auto_build:
+	dh_auto_build
+	doxygen && mv doc build
+
 override_dh_auto_test:
 	cd build && ../tests/run.sh
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/dcmtkpp.git



More information about the debian-med-commit mailing list