Dear Fenio,

Potrace can be built with a dynamic library; you just have to
uncomment the "dynamic library" lines in src/Makefile.am and comment
out the "static library" lines. (Also have to set the version-info,
and perhaps change a few of the linker flags). 

Somehow the extra overhead of having to install a library in addition
to an executable has not seemed worth the effort so far, particularly
since there weren't many other programs out there using the potrace
API. However, it might be worth doing so in the future. Distributing
two separate packages seems even more overhead.

My preferred method would be to solve this via configuration options,
i.e., the default is static linking, and have some ./configure options
such as --with-dynamic and --library-only.

The API of this library is documented (doc/potracelib.pdf) and is
stable at the moment. I intend to keep it backward compatible whenever
possible.

-- Peter

Bartosz Fenski aka fEnIo wrote:
> 
> Hello Peter.
> 
> Some Debian user submitted bugreport that he would like to see dynamic
> library of potrace make as external/another package in Debian.
> 
> Here's this bugreport: http://bugs.debian.org/364569
> 
> I saw that your building scripts support only static version by default.
> Are you going to support dynamic versions too? How stable is api/abi of
> this library? How often SONAME changes?
> 
> Would be nice if you could comment it.
> 
> regards
> fEnIo
> 
> --=20
>   ,''`.  Bartosz Fenski | mailto:[EMAIL PROTECTED] | pgp:0x13fefc40 | irc:fE=
> nIo
>  : :' :       32-050 Skawina - Glowackiego 3/15 - malopolskie v. - Poland
>  `. `'           phone:+48602383548 | proud Debian maintainer and user
>    `-          http://skawina.eu.org | jid:[EMAIL PROTECTED] | rlu:172001
> 
> --7AUc2qLy4jB3hD7Z
> Content-Type: application/pgp-signature; name="signature.asc"
> Content-Description: Digital signature
> Content-Disposition: inline
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (GNU/Linux)
> 
> iD8DBQFEbDfYhQui3hP+/EARAmOuAKC5RaesSPI1VmRQB27RdD+L5U6zhgCgyhxU
> LS2hZoVMQo+bo+dlqyfmkGQ=
> =+Y/a
> -----END PGP SIGNATURE-----
> 
> --7AUc2qLy4jB3hD7Z--
> 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to