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

Bug#100332: tetex-bin: please move xdvi to its own package



On Sat, Jun 09, 2001 at 01:42:17PM -0700, Ryan Murray wrote:
> Package: tetex-bin
> Version: 1.0.7+20001218-4
> Severity: wishlist
> 
> tetex-bin is commonly required to build documentation in several
> Debian packages, and is a build-depends of them, including xfree86. 
> The problem is that with xdvi in the package, X indirectly
> build-depends on itself.  It would also means that many non-X packages
> that use tetex-bin for building documentation have to install
> xlibs-dev, even if they don't need them.  If xdvi was in a seperate
> package, this wouldn't be needed and would make buildong of these
> packages faster on autobuilders that don't have xlibs-dev installed in
> the chroot (most of them are this way, to my knowledge).

A better way might be to just Suggests: the xlibs package.  (This can
be done using the -d option to dpkg-shlibdeps and doing xdvi
separately from the other binaries, something like:
dh_shlibdeps -X xdvi.bin -- -dSuggests -edebian/tmp/usr/bin/xdvi.bin
or similar.)

Then in the xdvi wrapper, check that the necessary library is
present.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: