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

Re: duplicate library code in a package



On Wed, Sep 28, 2005 at 12:07:08PM -0500, Carlo Segre wrote:
> On Wed, 28 Sep 2005, Roberto C. Sanchez wrote:
> 
> >On Wed, Sep 28, 2005 at 06:15:12PM +0200, Tommaso Moroni wrote:
> >>Hi!
> >>
> >>I'm packaging kchmviewer, which uses a version of chmlib bundled
> >>in the upstream tarball.
> >>
> >>Is it a Bad Thing to use that library instead of depending on the
> >>official packaged one?
> >
> >Yes(TM), it is a Bad Thing(TM).
> >
> >If the official library is suitable, then use it.  It will:
> >
> >- absolve you of providing security support for the duplicate code
> >- make the resulting binary packages fewer or smaller
> >- save space on end user systems and repository mirror sites
> >
> 
> Don't delete it form the upstream tarball though or your diffs will be huge.  
> Just disable the compilation in the makefiles.
> 
> Carlo

An excellent point.  I imagine that it would also be permissible to
repackage the .orig.tar.gz file so that it is gone from there as well.

-Roberto
-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: pgpoUZ_4zoO9G.pgp
Description: PGP signature


Reply to: