RFC v2: adding a temporary, non-BC gauranteed, 'private' library
Alexander Neundorf
neundorf at kde.org
Sun May 10 13:56:32 BST 2009
...not sure which message exactly to reply to from these big threads, so I
just take this one.
We have now a libknotificationitem-1.so, which is only a temporary thing, i.e.
it may/will go away again in the future.
We discussed on kde-buildsystem:
http://lists.kde.org/?l=kde-buildsystem&m=124187917419874&w=2
http://lists.kde.org/?t=111529985400006&r=1&w=2
There is now a FindLibKNotificationItem-1.cmake installed by
kdelibs/experimental/ (it is wrong that package A installs a FindA.cmake
file, since the point of this file is to find out whether A is installed and
where).
So, there are two options: install FindLibKNotificationItem-1.cmake by
kdelibs, or not install it at all and instead give the project which use this
experimental temporary library their own copy.
If we install it with kdelibs, we will have to make sure it stays reasonably
working for the rest of KDE4, which would mean at least that once this
library doesn't exist anymore, we should still give a proper error message
("this library doesn't exist anymore, use the new stuff instead, porting goes
like that."). These would have to come from the
FindLibKNotificationItem-1.cmake file, which means we would have to keep this
file around for the rest of KDE 4.
So the better solution is instead of installing a Find-module for a temporary
library, give the users of this library their own copy of this module. This
makes it also very clear that it is unstable etc.
Attached you can find the patch which does that for kdebase/.
If nobody objects, I'll commit this.
Aaron, can you please take care of the other locations, i.e.
kdenetwork/kget/
kdemultimedia/kmix/
kdepim/korganizer/
kdepim/akonadi/
kdeutils/kwallet/
kdeutils/kgpg/
Once done, kdelibs/experimental/ must not install
FindLibKNotificationItem-1.cmake anymore.
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libknotificationitem.cmake.diff
Type: text/x-diff
Size: 4940 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090510/4315eb54/attachment.diff>
More information about the kde-core-devel
mailing list