KDE Frameworks 5.63.0 released
12th October 2019. KDE today announces the release of KDE Frameworks 5.63.0. KDE Frameworks are 81 addon libraries to Qt which provide a wide variety of commonly needed functionality in mature, peer reviewed and well tested libraries with friendly licensing terms. For an introduction see https://kde.org/products/frameworks/ New modules: kcalendarcore and kcontacts Breeze Icons Improve KFloppy icon (bug 412404) Add format-text-underline-squiggle actions icons (bug 408283) Add colorful preferences-desktop-filter icon (bug 406900) Add app icon for the Kirogi Drone control app Added scripts to create a webfont out of all breeze action icons Add enablefont and disablefont icon for kfontinst KCM Fix large system-reboot icons rotating in an inconsistent direction (bug 411671) Extra CMake Modules new module ECMSourceVersionControl Fix FindEGL when using Emscripten ECMAddQch: add INCLUDE_DIRS argument Framework Integration ensure winId() not called on non-native widgets (bug 412675) kcalendarcore New module, previously known as kcalcore in kdepim KCMUtils Suppress mouse events in KCMs causing window moves adjust margins of KCMultiDialog (bug 411161) KCompletion [KComboBox] Properly disable Qt's builtin completer [regression fix] KConfig Fix generating properties that start with an uppercase letter KConfigWidgets Make KColorScheme compatible with QVariant kcontacts New module, previously part of KDE PIM KCoreAddons Add KListOpenFilesJob KDeclarative Delete QQmlObjectSharedEngine context in sync with QQmlObject [KDeclarative] Port from deprecated QWheelEvent::delta() to angleDelta() KDELibs 4 Support Support NetworkManager 1.20 and do actually compile the NM backend KIconThemes Deprecate the global [Small|Desktop|Bar]Icon() methods KImageFormats Add files for testing bug411327 xcf: Fix regression when reading files with "unsupported" properties xcf: Properly read image resolution Port HDR (Radiance RGBE) image loader to Qt5 KIO [Places panel] Revamp the Recently Saved section [DataProtocol] compile without implicit coversion from ascii Consider the usage of WebDAV methods sufficient for assuming WebDAV REPORT also supports the Depth header Make QSslError::SslError <-> KSslError::Error conversion reusable Deprecate the KSslError::Error ctor of KSslError [Windows] fix listing the parent dir of C:\foo, that's C:\ and not C: Fix crash on exit in kio_file (bug 408797) Add == and != operators to KIO::UDSEntry Replace KSslError::errorString with QSslError::errorString Move/copy job: skip stat'ing sources if the destination dir isn't writable (bug 141564) Fixed interaction with DOS/Windows executables in KRun::runUrl [KUrlNavigatorPlacesSelector] Properly identify teardown action (bug 403454) KCoreDirLister: fix crash when creating new folders from kfilewidget (bug 401916) [kpropertiesdialog] add icons for the size section Add icons for "Open With" and "Actions" menus Avoid initializing an unnecessary variable Move more functionality from KRun::runCommand/runApplication to KProcessRunner [Advanced Permissions] Fix icon names (bug 411915) [KUrlNavigatorButton] Fix QString usage to not use [] out of bounds Make KSslError hold a QSslError internally Split KSslErrorUiData from KTcpSocket Port kpac from QtScript Kirigami always cache just the last item more z (bug 411832) fix import version in PagePoolAction PagePool is Kirigami 2.11 take into account dragging speed when a flick ends Fix copying urls to the clipboard check more if we are reparenting an actual Item basic support for ListItem actions introduce cachePages fix compatibility with Qt5.11 introduce PagePoolAction new class: PagePool to manage recycling of pages after they're popped make tabbars look better some margin on the right (bug 409630) Revert "Compensate smaller icon sizes on mobile in the ActionButton" don't make list items look inactive (bug 408191) Revert "Remove scaling of iconsize unit for isMobile" Layout.fillWidth should be done by the client (bug 411188) Add template for Kirigami application development Add a mode to center actions and omit the title when using a ToolBar style (bug 402948) Compensate smaller icon sizes on mobile in the ActionButton Fixed some undefined properties runtime errors Fix ListSectionHeader background color for some color schemes Remove custom content item from ActionMenu separator KItemViews [KItemViews] Port to non-deprecated QWheelEvent API KJobWidgets cleanup dbus related objects early enough to avoid hang on program exit KJS Added startsWith(), endsWith() and includes() JS String functions Fixed Date.prototype.toJSON() called on non-Date objects KNewStuff Bring KNewStuffQuick to feature parity with KNewStuff(Widgets) KPeople Claim Android as a supported platform Deploy default avatar via qrc Bundle plugin files on Andro
Re: Cmake and dbus daemon on the system bus
> Make sure you REALLY need to run as root. If you can run as some other, non- > privileged user, that's better. That can be as a result of dropping privileges > with setuid() or capset() after acquiring the resource you need. > > If you do that, connect to the bus AFTER you've dropped privileges. Hello. Again, sorry for the late reply. Thank you for introducing this topic. I did some research on this before starting my first draft. I had a look at powertop code, and my understanding is that it is using the event tracing capability of the kernel for calibration and estimation. I read a few docs about this, and it seems that this capability requires read/write access to debugfs which, for security reasons, is only rw by root. Please let me know if you think I said something incorrect, cause that would be a considerably good news. Thank you. Regards. -- Dr. Luca Carlon Software Engineer
Re: Cmake and dbus daemon on the system bus
Very sorry for the incredibly late answer, but I had to pause this task. On Mon, Sep 16, 2019 at 9:56 PM David Edmundson wrote: > > Kauth is a wrapper round using dbus activation on the system bus... Yes, and that is how my first implementation works. But it seemed less flexible: the only way I found to implement something like a daemon is a long running method. But it seems a bad approach when it comes to multiple clients calling into the helper. I suppose that the helper is single instance (which is ok), and the call to the method remains in queue for the following clients. Is this correct? Do you think this is a good architecture? Any advice? > It's 99.9% the same. Yes, code is almost identical, but is the policy file used for the session bus? I can't find a description for that in the docs. It seems however that I found something here: https://techbase.kde.org/Development/Tutorials/PolicyKit/Helper_HowTo. I skipped that article because it seemed outdated. Is it or can I refer to it? > You want to look for dbus-activation and set User=root in the > activation desktop file that you put in > /usr/share/dbus-1/system-services I'll try that, thanks! Sorry again for the late answer. Regards. On Mon, Sep 16, 2019 at 9:56 PM David Edmundson wrote: > > Kauth is a wrapper round using dbus activation on the system bus... > > >I read the tutorials related to dbus in the techbase pages, but those seem > >more oriented to the sessionBus. > > It's 99.9% the same. > > >and a way to automatically start with root privileges the daemon > > You want to look for dbus-activation and set User=root in the > activation desktop file that you put in > /usr/share/dbus-1/system-services > > David -- Dr. Luca Carlon Software Engineer