Dirty fix for a compatibility issue

David Faure david at mandrakesoft.com
Wed Jul 3 10:24:56 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 03 July 2002 10:22, jowenn at kde.org wrote:
> Hi
> 
> Some time ago we (the KATE-Team) decided to rename
> the katepart library. In KDE 3.0 it was called
> libkatepart, which could suggest that it is
> allowed to link against it, which is definitly not
> the case. Now we call it just katepart to make
> clear that it is a part or plugin.
> 
> The problem which arises is, that this is partly
> binary and source incompatbile, because some out
> of CVS developers used the klibloader directly
> instead of using ktrader to find the library.
> 
> I'd like to introduce a dirty hack to klibloader
> to solve that issue. I'd like to add a small "if"
> which redirects a request to libkatepart to a
> request to katepart.
> 
> Does someone see a problem with that ?
> Does someone see a better solution ?
> Does someone ......... ?

... have objections? Yes.
Extract from kdelibs/NAMING:

KParts
======
Name: lib<appname>part.la

Parts are shared libraries, they can (and I think even _must_ on some systems)
be named lib<blah>part.

However, you should install it under kde_module_dir, i.e. $KDEDIR/lib/kde3.
Nobody will be able to link to the part if it's under there (unless using
dirty hacks).

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-beta2 is out! http://dot.kde.org/1025176121/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9IsLo72KcVAmwbhARAn09AJ0ToEJmiq6noop5tNdabEABdWsjOACbBRmM
e62hbmDMdnwzsYU74I3U1K8=
=CBRi
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list