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

The debug package best practice?



Hi,

Let's suppose the libfoo-1.0.tar.gz upstream to produce:
 libfoo1      (/usr/lib/x86_64-linux-gnu/{libfoo.so.1.0.0,libfoo.so.1})
 libfoo-dev   (symlink and pkg-config file)
 libfoo-utils (/usr/bin/foo)
Then I want to provide the debug package, too.

Whitch is the best practice: #1 or #2?

#1: Add -dbg package for each binary and library
 libfoo1-dev
 libfoo-utils-dbg

#2: Add one unified -dbg package for all packages from the source
 libfoo-dbg

Here, libfoo1 s the most used portion and libfoo-dutils contains a
trivial binary foo to test and debug propblem in libfoo1 if it every
occur from the command line.  libfoo1 is usually used from GUI program.
 
Regards,

Osamu


Reply to: