[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: KDE Library Questions
From:       Thiago Macieira <thiago () kde ! org>
Date:       2006-07-08 7:33:55
Message-ID: 200607080933.55960.thiago () kde ! org
[Download RAW message or body]


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.

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.

>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.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic