[Pkg-lyx-devel] Re: dvipost (hopefully) ready for Debian
Matej Cepl
ceplm at seznam.cz
Thu May 18 18:32:30 UTC 2006
The last posting of this (hopefully ;-) ).
-----------------------------------------------------
Hi,
I have created cleaned up version with things I was able to fix quickly
fixed and the rest is in TODO.Debian file. The package is available at
http://matej.ceplovi.cz/progs/debian/lyx/
Per Olofsson wrote:
> * It should be possible to have TeXlive installed instead of teTex. It
> should probably depend on tetex-bin | texlive-base-bin or something.
I am not sure what to do about this. I have tried to look at the package
which seems similar to dvipost (dvipsk-ja), and they Depends: on
libc6 (>= 2.3.5-1), libkpathsea4, tetex-bin (>= 3.0), tetex-base
We probably don't need libkpathsea4, but my feeling is that I would rather
have tex-common (or tetex-base|texlive-base), but it seems to me that
tex-common is meant as the lowest common denominator of TeX-related
packages.
Can you chime in something authoritative from Debian TeX policy (with
reference to the section), please?
> BTW, is it really necessary to depend on TeX at all? Can't this
> package be used without TeX, if you have a DVI file? Maybe you
> should just recommend TeX instead?
Is there anybody who uses groff for generating DVI files with dvipost
commands (I don't know if it is possible at all, but that's the only
possible reason I can imagine why would somebody install dvipost without
TeX)? The logic is the same as that lyx-common depends on tetex-bin.
> * There are missing ending newlines in postinst and postrm.
fixed (probably result of using kwrite/kate which does not automatically add
one LF to the end of the file.
> * You should use dh_installtex instead of running texhash manually (I
> think). Have you read the TeX policy in the tex-common package? Also
> see the dh_installtex(1) manpage.
I was not able to make head and toes of dh_installtex. We probably need just
to install dvipost.sty to $TEXMF/tex/latex/dvipost. From the little I was
able to find in Debian TeX policy, it seems to me that dh_installtex is
recommended, not required. Is it correct?
Do you have some example package which would install .sty file? I tried to
take a look at lmodern package and find its debian/rules file to be the
most horrible thing under the earth (basically throws out of the window all
dh_* commands and does everything by sed, install, etc).
> * Do you really need to create those directories listed in
> debian/dirs?
Yeah, we do need debian/dirs -- upstream is generated and doesn't install
into other prefix than /usr well. Instead of fighting autoconf & co. I will
rather have debian/dirs file. If you know how to fix Makefile.in go ahead
and do it.
> * The configure script checks things by running kpsewhich and
> tex. These are not listed in the Build-Depends. You should probably
> try to hardwire these values, or, if you must, build-depend on TeX.
I did put tetex-bin into Build-Depends and made note to TODO.Debian, that we
should find a better solution.
> * There are lintian errors. Please fix them.
Done.
> * The package is configured two times when using debuild (which uses
> dpkg-buildpackage). The problem seems to be the patch target
> dependency. You should probably move the dependency from the
> config.status target to the build target (before build-stamp).
Done.
Thanks a lot,
Matěj
--
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC
http://www.ceplovi.cz/matej/blog/, Jabber: ceplma at jabber.cz
23 Marion St. #3, (617) 876-1259, ICQ 132822213
To err is human, to purr feline.
More information about the Pkg-lyx-devel
mailing list