Review Request 115218: rename dbus interface file on install for kwallet

Valentin Rusu kde at rusu.info
Thu Jan 23 21:43:06 UTC 2014



> On Jan. 22, 2014, 9:27 p.m., Valentin Rusu wrote:
> > src/api/KWallet/CMakeLists.txt, line 100
> > <https://git.reviewboard.kde.org/r/115218/diff/1/?file=235142#file235142line100>
> >
> >     The interface will be strictly the same. New features will be added to secret service. That's why I didn't consider changing it's name. And, btw, changing it's name will make users think that changes have been (or will be) done to this API.
> 
> Hrvoje Senjan wrote:
>     @Valentin,
>     interface name is now org.kde.kwalletd5, as per your last change in api/KWallet/kwallet.cpp & runtime/kwalletd/kwalletd.cpp.
> 
> Jonathan Riddell wrote:
>     Yes you changed the interface which you say is unnecessary.  My patch is just a change of filename to allow co-installability with kdelibs4 but the dbus interface name isn't changed.
>

Considering that, with KDE4:
kwalletd
|
--- exposes org.kde.kwalletd
     |
     ----- implements interface org.kde.KWallet.xml

With KF5:
kwalletd5 (binary, must have different name to coinstall in same bin directory)
|
--- exposes org.kde.kwalletd5 (dbus object name, must have different name to be able to be launched on the same dbus session)
     |
     ----- implements interface org.kde.KWallet.xml the same as KDE4, installation directory is the same, but if replaced there's no conflict (or am I wrong?)

I think that there is no need to do a second copy of og.kde.KWallet.xml
What do you think about this?


- Valentin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/115218/#review48079
-----------------------------------------------------------


On Jan. 22, 2014, 11:23 a.m., Jonathan Riddell wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/115218/
> -----------------------------------------------------------
> 
> (Updated Jan. 22, 2014, 11:23 a.m.)
> 
> 
> Review request for KDE Frameworks and Valentin Rusu.
> 
> 
> Repository: kwallet-framework
> 
> 
> Description
> -------
> 
> Rename kwallet dbus interface file on install so it does not clash with equivalent file from kdelibs4.  The dbus interface remains the same to keep compatibility with kdelibs4 kwallet.
> 
> However you seem to have renamed the interface in places in the code in runtime/, will it be incompatible with the version from kdelibs4?
> 
> 
> Diffs
> -----
> 
>   src/api/KWallet/CMakeLists.txt d0d5a3d 
> 
> Diff: https://git.reviewboard.kde.org/r/115218/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Jonathan Riddell
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140123/e0d0ec27/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list