kparts with "lib" prefix ?
David Faure
faure at kde.org
Sun Dec 11 20:21:19 CET 2005
On Sunday 11 December 2005 02:57, Thiago Macieira wrote:
> Matt Rogers wrote:
> >> There are some which have the "lib" prefix and some don't, e.g.
> >> libarkpart.so vs. kviewerpart.so . Does this matter ? Is one scheme
> >> prefered ? If so, is then the other one only not completely correct or
> >> can this already be considered a bug ?
> >
> >No, it doesn't matter. it's just a filename for the library. I don't see
> > a bug here at all, just somebody's preference.
>
> I'd recommend that they don't get named with "lib" prefix.
>
> That way, it'll be easier to spot what you can link to but not dlopen
> (libs) and what you can dlopen but not link to (modules).
I agree. Note however that kdelibs/NAMING recommended "lib" for kparts,
but of course with the conversion to bksys it's the right time for changing
that. Although while both systems are in use, both need to use the same naming
(since the lib name is referenced in the .desktop file for the part), so if anyone
renames a part, he should remember to update at least 4 places
(SConscript, Makefile.am, .desktop, and the K_EXPORT_COMPONENT_FACTORY line.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the Kde-buildsystem
mailing list