Package: libsigc++-2.0-doc
Version: 2.2.10-0.2
Severity: important
Tags: patch

The devhelp file shipped in libsigc++-2.0-doc [1] expects the API
reference to be installed under
/usr/share/doc/libsigc++-2.0/reference/html,
the location upstream installs it by default.
Also, other packages, like gtkmm, glibmm, cairomm, pangomm look
for that directory when searching for the libsigc++ doxygen tag file.

The attached patch adds a symlink, so both the devhelp documentation
works again and 3rd party packages find the doxygen tag file.

Michael


[1] /usr/share/devhelp/books/libsigc++-2.0/libsigc++-2.0.devhelp2
-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

libsigc++-2.0-doc depends on no packages.

Versions of packages libsigc++-2.0-doc recommends:
ii  libsigc++-2.0-dev  2.2.10-0.2

libsigc++-2.0-doc suggests no packages.

-- no debconf information
diff --git a/debian/libsigc++-2.0-doc.links b/debian/libsigc++-2.0-doc.links
new file mode 100644
index 0000000..c5c4180
--- /dev/null
+++ b/debian/libsigc++-2.0-doc.links
@@ -0,0 +1 @@
+usr/share/doc/libsigc++-2.0-doc usr/share/doc/libsigc++-2.0
diff --git a/debian/rules b/debian/rules
index 0552331..132c238 100755
--- a/debian/rules
+++ b/debian/rules
@@ -120,6 +120,7 @@ install-stamp: build arrange
 	dh_installdocs
 	dh_installexamples -plibsigc++-2.0-doc examples/*.cc
 	dh_installchangelogs ChangeLog
+	dh_link
 
 	touch install-stamp
 

Reply via email to