Review Request 104021: Make dbus, knotify and phonon optional
Boudewijn Rempt
boud at valdyas.org
Sat Feb 23 09:33:13 GMT 2013
> On Feb. 19, 2012, 9:53 a.m., C. Boemann wrote:
> > I'm only answering your question and not considering the patch at all. I think we should just use the qt and kde vars. I can't see any reason why we would disable those things if they are supported by upstream.
>
> Boudewijn Rempt wrote:
> Still, the current situation with running daemons will lead to bugs being reported because those daemons don't decently quit:
>
> 20:50:46 < boud> hm... what should I do with reports like this: https://bugs.kde.org/show_bug.cgi?id=298368
> 20:50:52 < boud> [Bug 298368] New: Multiple processes still running after Krita is closed on windows 7
> 20:50:52 < boud> ?
> 20:54:04 < TheOneRing> works as expected
> 20:54:24 < TheOneRing> dbus and kded will keep running
> 20:58:05 < boud> okay...
>
> I would like to have a situation where I can give windows users a kde application and not have a single extra process started up.
>
The remaining parts of making dbus optional will be pushed when we merge the krita-sketch branch back to master, so I am closing this review request.
- Boudewijn
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104021/#review10742
-----------------------------------------------------------
On Feb. 19, 2012, 4:18 a.m., Sebastian Sauer wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104021/
> -----------------------------------------------------------
>
> (Updated Feb. 19, 2012, 4:18 a.m.)
>
>
> Review request for Calligra.
>
>
> Description
> -------
>
> Attached patch is the first draft of the try to get parts of the work done by Mek for the Calligra at Android port ( http://blogs.kde.org/node/4521 ) into master. This is related to the discussion about making dbus optional in Calligra ( http://mail.kde.org/pipermail/calligra-devel/2012-February/003821.html ).
>
> What the first iteration of the patch does is to cherry-pick 4-5 of the patches related to dbus, kntofiy and phonon from the mobile-android-mek branch into my own mobile-android-sebsauer branch. Then I introduced 3 new compiletime options: DBUS, PHONON and KNOTIFY. I then changed the cherry-picked code to not hard-code against Android but use these 3 new compile-time switches to enable/disable the functionality.
>
> Note that this, compile-time switches, are already used in Calligra to enable/disable optionally QT3SUPPORT, GHNS and NEPOMUK. So, the 3 new options do not introduce something new but extend an already established and used concept in Calligra (means to be able to disable certain functionality/dependencies so packager are able to customize Calligra - useful when e.g. building Calligra for another platform like Android or Windows).
>
> What is still missing;
> 1) use CALLIGRA_NO_DBUS also in all the other parts of Calligra. The Android-port just did disable compiling certain Calligra parts/applications what means no patches where done for some parts/apps. I would need to add more code to handle also those other parts/apps. But since the patch is already rather large I think we can still do that in a second round. That makes it easier to merge patches from master back to Mek's branch :)
> 2) I am still not sure if it makes really sense to introduce own CALLIGRA_* variables for that or just reuse what Qt/KDE offer (e.g. QT_NO_DBUS). Maybe reusing the Qt/KDE defines would make it easier to understand the defines? Absolute not sure there :-/
>
> So, ideas, wishes, ...? :)
>
>
> Diffs
> -----
>
> CMakeLists.txt be6c889
> filters/tables/excel/CMakeLists.txt fbab01c
> filters/tables/excel/sidewinder/CMakeLists.txt 6e232ab
> libs/main/CMakeLists.txt 30c0e8e
> libs/main/KoApplication.cpp c209224
> libs/main/KoApplicationAdaptor.h c17a6fb
> libs/main/KoApplicationAdaptor.cpp aeb7ab5
> libs/main/KoDocument.cpp c790f1e
> libs/main/KoDocumentAdaptor.h b8c1f26
> libs/main/KoDocumentAdaptor.cpp 7e099d5
> libs/main/KoMainWindow.cpp a9ab932
> libs/main/KoView.cpp 679adb9
> libs/main/KoViewAdaptor.h 9406b3d
> libs/main/KoViewAdaptor.cpp 6542c35
> plan/libs/models/kcalendar/kdatepicker.cpp 8882f3f
> plan/libs/models/kcalendar/kdatetable.cpp 9c4e640
> plugins/videoshape/FullScreenPlayer.cpp e88d39a
> plugins/videoshape/VideoShapeConfigWidget.cpp 4f5d22e
> stage/part/KPrPresentationTool.cpp 4cb0e17
> stage/part/KPrPresentationToolAdaptor.h e0f8def
> stage/part/KPrPresentationToolAdaptor.cpp 1b29031
> stage/part/KPrView.cpp 1606dfa
> stage/part/KPrViewAdaptor.h 081cf76
> stage/part/KPrViewAdaptor.cpp 1fd9051
> stage/plugins/eventactions/sound/KPrSoundEventAction.cpp 1fbb3f4
> tables/CMakeLists.txt 31c74a4
> tables/HeaderFooter.cpp 5e0bd48
> tables/part/Doc.cpp 25e3fd3
> tables/part/View.cpp e4097ed
>
> Diff: http://git.reviewboard.kde.org/r/104021/diff/
>
>
> Testing
> -------
>
> compiles
>
>
> Thanks,
>
> Sebastian Sauer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20130223/f77b1a56/attachment.htm>
More information about the calligra-devel
mailing list