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

Re: A tool to help making (build) dependencies right.



I wonder if this or something like it could be included into lintian. If
not are you going to package it or get it included into another package.

Cool :-)

On Tue, Jun 12, 2001 at 08:24:22PM +0200, Bill Allombert wrote:
> Hello developpers,
> 
> I just wrote a perl script to help getting dependencies and especially
> build-dependencies right. It is at
> 
> http://people.debian.org/~ballombe/depcheck
> 
> Run just once `depcheck -d' to make the database of essentials files.
> Then run `depcheck -b debian/rules build' in your package tree.
> After building your package, it will output the list of packages
> needed to complete the build, outside of required and build-essential one.
> 
> It is a little simplistic since it use strace to get the list of files
> accessed. Maybe libtrick should be faster ? Others ideas ?
> Effort has been made to make the final computation not too slow.
> 
> An example with my package (PARI)
> 
> depcheck -b debian/rules build-indep
> make doc
> ...
> dpkg: /usr/share/texmf/dvips/config/config.ps not found.
> dpkg: /usr/share/texmf/web2c/tex.fmt not found.
> dpkg: /usr/share/texmf/web2c/texmf.cnf not found.
> Files used: 49 total, 25 outside database.
> Packages used:
> tetex-base
> tetex-bin
> tetex-extra
> tetex-lib
> 
> It was easy to guess that tetex-bin is needed since it uses tex. But it was
> difficult to guess that it uses some fonts only available in 'tetex-extra'.
> 
> It can be used also for run-time dependencies as well.
> 
> Enjoy!
> 
> Bill. <ballombe@debian.org>
> Please CC to me!
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

-- 
Jason Thomas                           Phone:  +61 2 6257 7111
System Administrator  -  UID 0         Fax:    +61 2 6257 7311
tSA Consulting Group Pty. Ltd.         Mobile: 0418 29 66 81
1 Hall Street Lyneham ACT 2602         http://www.topic.com.au/

Attachment: pgpBmIgZx9_OY.pgp
Description: PGP signature


Reply to: