Source: ncurses-doc
Severity: wishlist
Tags: patch

Hello.
The ncurses upstream author publishes a separate tarball containing
the Ada binding, and I am packaging it for Debian. The documentation
is in libncursesada-doc, and may not be repeated in ncurses-doc.
You may be interested in the attached patch.
diff --git a/debian/ncurses-doc.docs b/debian/ncurses-doc.docs
index 30d29de..2ad0ff2 100644
--- a/debian/ncurses-doc.docs
+++ b/debian/ncurses-doc.docs
@@ -1 +1,8 @@
-doc/*
+doc/hackguide.doc
+doc/html/NCURSES-Programming-HOWTO.html
+doc/html/announce.html
+doc/html/hackguide.html
+doc/html/index.html
+doc/html/man
+doc/html/ncurses-intro.html
+doc/ncurses-intro.doc
diff --git a/debian/patches/do_not_embed_ada_doc.diff b/debian/patches/do_not_embed_ada_doc.diff
new file mode 100644
index 0000000..ed21887
--- /dev/null
+++ b/debian/patches/do_not_embed_ada_doc.diff
@@ -0,0 +1,20 @@
+Description: link to Ada binding doc in separate package
+ The Ada binding is packaged separately, there is no need to duplicate
+ the documentation in ncurses-doc. Replace the internal link with an
+ hyperlink.
+Author: Nicolas Boulenguez <[email protected]>
+Forwarded: not-needed
+
+--- a/doc/html/index.html
++++ b/doc/html/index.html
+@@ -43,7 +43,9 @@
+ <LI>The <a href="announce.html">Announcement</a> of the current version of ncurses.
+ <LI>An <a href="ncurses-intro.html">Introduction</a> into (n)curses programming.
+ <LI>A <a href="hackguide.html">hackers guide</a> to ncurses.
+-<LI>A description of the <a href="Ada95.html">Ada95 binding</a>, by J&uuml;rgen Pfeifer.
++<LI>A description of the <a href="../../libncursesada-doc/Ada95.html">Ada95 binding</a>, by
++  J&uuml;rgen Pfeifer (only available if you have installed the
++  libncursesada-doc Debian package).
+ <li>A <a href="NCURSES-Programming-HOWTO.html">A short tutorial</a>, by Pradeep Padala.
+ </UL><P>
+ We also have HTML versions of all the ncurses <a href="man">manpages</a>.
diff --git a/debian/patches/series b/debian/patches/series
index a8e078e..f9a3056 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 02-debian-backspace.diff
 03-debian-ncursesconfig-omit-L.diff
+do_not_embed_ada_doc.diff

Reply via email to