On Thu, 2009-01-08 at 11:23 -0500, Pat Suwalski wrote: > On Thu, 2009-01-08 at 15:58 +0000, Emmanuele Bassi wrote: > > no, it can't. the W3C tidy library shared object is called tidy.so; > > also, there's a reason for tidy to use pkg-config, and it's not just for > > cosmetic value. > > Is it? > > Fedora (libtidy-0.99.0-17.20070615.fc9.x86_64.rpm): > - /usr/lib64/libtidy-0.99.so.0 > - /usr/lib64/libtidy-0.99.so.0.0.0 > > Debian (libtidy-0.99-0_20081224cvs-1_amd64.deb): > - /usr/lib/libtidy-0.99.so.0 > - /usr/lib/libtidy-0.99.so.0.0.0 > - /usr/lib/libtidy.so > > libtidy (make install): > - /usr/lib/libtidy-1.0-so > - /usr/lib/libtidy-1.0-so.0 > - /usr/lib/libtidy-1.0-so.0.100.0
notice the *very* different soname. we encode the version in the extension as well. > Am I misinterpreting what you're saying? Regarding pkg-config, are you > suggesting a different prefix? a different prefix would be a good idea. > > users of tidy should copy it inside their project, since we never made > > *any* guarantee on *any* kind of stability -- ABI, or API-wise. we also > > never made a release. Tidy is a "toy" toolkit. > > That's all nice and good, but say, for example, you are developing three > clutter projects concurrently. You want to reuse as much as possible, > don't you? sure - then keep the source code inside a shared location, but compile it statically for each project. the size of tidy hardly justifies using it as a shared library. tidy remains as it is: a toy toolkit that is not being released and does not have any guarantee. if you want, patch your packages to install libclutter-tidy-1.0.so and update the pkg-config accordingly to point to the correct soname. ciao, Emmanuele. -- Emmanuele Bassi, Intel Open Source Technology Center -- To unsubscribe send a mail to [email protected]
