KDE Library Questions
Allen Winter
winter at kde.org
Sat Jul 8 21:38:08 BST 2006
On Saturday 08 July 2006 03:33, Thiago Macieira wrote:
> Allen Winter wrote:
> >I was wondering if there is a policy about where library foo's header
> > files should be installed. $install_dir/include/foo? or can they also
> > go in $install_dir/include?
>
> I'd like to see KDE libraries installing like Qt, but I don't think it'll happen.
>
Please explain what "like Qt" means. Maybe it can happen.
If you mean by grouping things into Core, Gui, etc... then ... probably it can't happen.
> However, we should use the following method:
> non-namespaced libraries install in $includedir
> namespace KFOO installs in $includedir/kfoo
>
> Since only kdecore and kdeui aren't namespaced, we get only their stuff in
> $includedir, cluttering. The rest stays in neatly-organised subdirs.
>
OK, good. I'm a neat-freak.
> >Seems that all the kdelibs libraries get installed at the include level,
> > but I was planning on installing all the kdepimlibs libraries in
> > include/foo. is that ok?
>
> Sure, since you need to have a namespace anyways for that library.
>
> >Also, should we put the shared library revision number at 5.0.0 for all
> > libraries in KDE4? I see shared libs with numbers 1.0.0, 2.0.0, 3.0.0,
> > 4.0.0 and 5.00 from kdelibs. Is there a policy on shared library
> > revision numbers?
>
> Well, we should bump up all our main libraries' revision numbers to 5.0.0,
> but I don't think we have to impose this rule to all libraries. The first
> version of a library is 0.0.0. When it first breaks binary compatibility,
> it gets bumped up. That's all.
>
Ack.
Regards,
Allen
--
Let's Keep the Political Talk Out of KDE PLEASE
More information about the kde-core-devel
mailing list