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

Re: libhello?



On Sat, 30 Dec 2006 13:57:40 +0600
Mikhail Gusarov <dottedmag@dottedmag.net> wrote:

> I'm looking for the Debian package which may be used as an 'hello
> world' example of properly packaged shared library.

(Nervous about putting head above parapet, but)

libqof1

I can't guarantee that it's perfect but I have done what I can to make
the autotools parts clean and relatively simple. There are niggles, of
course, e.g. I'm still not sure if a plugin to a shared library is also
a shared library itself (i.e. needs libfooSONAME instead of just foo).
As far as Debian packaging is concerned, it uses CDBS which, IMHO, is
the easiest way to package a shared library for Debian.

(I'm bound to get reports that I've done something wrong now.)
:-)

> I picked up several random libraries on my system, but was unlucky to
> find one usable to serve as example: they are either overly complex or
> clearly violate autotools-dev recommendations.

Well, I'm upstream for QOF as well so if there are any autotools-dev
recommendations that I've missed, let me know.

>  Documentation in
> autotools-dev helps, but it is pieceful, and does not give whole
> picture how to build the package.

I'm not clear here whether you mean package for distribution or package
for Debian. I think you mean the upstream being packaged cleanly under
autotools but then I'm not sure why you want the Debian package as the
demo, not the upstream .orig.tar.gz.

QOF doesn't use any extraneous config or non-autotools configuration
upstream, it builds cleanly through ./autogen.sh, ./configure, make,
make check, make install, make dist, make distcheck.

--


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgp8FdvOzgmhj.pgp
Description: PGP signature


Reply to: