On 2014-08-13 05:30 +0200, Nicolas Boulenguez wrote:

> Source: ncurses-doc

It seems you fell prey to #650386 here, there is no ncurses-doc source
package. :-(

> 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.

Yes, I had seen the duplication warning in the PTS.  Thanks for taking
care of that.

> 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

This looks a bit fragile since we could easily miss new files under
doc/, instead I have used dh_installdoc's -X option to exclude the Ada
files.

> 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>.

Applied.

Cheers,
       Sven


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to