D20092: New class KOSRelease - a parser for os-release files
Harald Sitter
noreply at phabricator.kde.org
Thu Mar 28 13:59:03 GMT 2019
sitter created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
sitter requested review of this revision.
REVISION SUMMARY
Imported form KInfoCenter along with test case. This also includes a
license change from GPL to LGPL.
When working on Linux-centric software it may be necessary to get specific
information about the system beyond what may be obtained from QSysInfo.
This new class allows complete access to all information in the os-release
file as per the os-release "specification".
https://www.freedesktop.org/software/systemd/man/os-release.html
TEST PLAN
- new test passes
- header installed
- camelheader installed
- kinfocenter can successfully find the header and link the new class in place of the old builtin one
REPOSITORY
R244 KCoreAddons
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D20092
AFFECTED FILES
autotests/CMakeLists.txt
autotests/data/os-release
autotests/kosreleasetest.cpp
src/lib/CMakeLists.txt
src/lib/util/kosrelease.cpp
src/lib/util/kosrelease.h
To: sitter
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190328/1a5e0b36/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list