[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Small package or big dependencies?



I've just realized that the problem discussed above in connection with
filestore also affects the pandoc packages. The library, libghc6-pandoc-dev,
assumes the availability of data files which are only installed with the
pandoc binary package:

/usr/share/pandoc-1.5.1.1/data/LaTeXMathML.js
/usr/share/pandoc-1.5.1.1/data/MathMLinHTML.js
/usr/share/pandoc-1.5.1.1/reference.odt
/usr/share/pandoc-1.5.1.1/s5/default/framing.css
/usr/share/pandoc-1.5.1.1/s5/default/opera.css
/usr/share/pandoc-1.5.1.1/s5/default/outline.css
/usr/share/pandoc-1.5.1.1/s5/default/pretty.css
/usr/share/pandoc-1.5.1.1/s5/default/print.css
/usr/share/pandoc-1.5.1.1/s5/default/s5-core.css
/usr/share/pandoc-1.5.1.1/s5/default/slides.js.comment
/usr/share/pandoc-1.5.1.1/s5/default/slides.js.packed
/usr/share/pandoc-1.5.1.1/templates/context.template
/usr/share/pandoc-1.5.1.1/templates/docbook.template
/usr/share/pandoc-1.5.1.1/templates/html.template
/usr/share/pandoc-1.5.1.1/templates/latex.template
/usr/share/pandoc-1.5.1.1/templates/man.template
/usr/share/pandoc-1.5.1.1/templates/markdown.template
/usr/share/pandoc-1.5.1.1/templates/mediawiki.template
/usr/share/pandoc-1.5.1.1/templates/opendocument.template
/usr/share/pandoc-1.5.1.1/templates/plain.template
/usr/share/pandoc-1.5.1.1/templates/rst.template
/usr/share/pandoc-1.5.1.1/templates/rtf.template
/usr/share/pandoc-1.5.1.1/templates/texinfo.template

So a user who just installs the library (or something else
that depends on it) would find that it does not work properly.

I think the upshot of our discussion is that these files should be
installed by a separate libghc6-pandoc-data package, and both
pandoc and libghc6-pandoc-dev should depend on a precise version
of this package.  (I'm cc'ing Jonas, who maintains the debian
package for pandoc.)

In fact, the problem may arise for gitit as well, if you decide
to make the library available in libghc6-gitit-dev, as well as
the binary.

All of this is making me think that it would be good to automate
the procedure now, rather than having to do this manually for every
library that depends on data files.

John


Reply to: