<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/tests, branch v5.74.0</title>
<subtitle>hurd extra-cmake-modules.git</subtitle>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/'/>
<entry>
<title>Add ecm_generate_dbus_service_file</title>
<updated>2020-07-10T13:12:25+00:00</updated>
<author>
<name>Henri Chain</name>
<email>henri.chain@enioka.com</email>
</author>
<published>2020-07-10T13:12:25+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=01f7fe8f78e72dcda6000c70fd8b1d5bfefc46f2'/>
<id>01f7fe8f78e72dcda6000c70fd8b1d5bfefc46f2</id>
<content type='text'>
Summary:
It serves as a replacement for `kdbusaddons_generate_dbus_service_file`.

An application can be a DBus-activated service just fine without using KDBusAddons.
Moreover, this new module uses named arguments for future-proofing, and adds support for specifying a `SystemdService`.
It also cleans up the confusion on what the "path" is about: Rather than requiring to specify executable and path separately, we just extract the executable file name on Windows, if necessary.

Usage:
```
ecm_generate_dbus_service_file(NAME org.kde.kded5
                               EXECUTABLE ${KDE_INSTALL_FULL_BINDIR}/kded5
                               SYSTEMD_SERVICE plasma-kded)
```

Test Plan:
* Was able to generate a kded service file
* Was able to generate a kded service file with `SystemdUnit`
* Verified that it moaned when executable wasn't an absolute path
* Untested on Windwos

Reviewers: #frameworks, davidedmundson, kossebau, kfunk, habacker

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D29051
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
It serves as a replacement for `kdbusaddons_generate_dbus_service_file`.

An application can be a DBus-activated service just fine without using KDBusAddons.
Moreover, this new module uses named arguments for future-proofing, and adds support for specifying a `SystemdService`.
It also cleans up the confusion on what the "path" is about: Rather than requiring to specify executable and path separately, we just extract the executable file name on Windows, if necessary.

Usage:
```
ecm_generate_dbus_service_file(NAME org.kde.kded5
                               EXECUTABLE ${KDE_INSTALL_FULL_BINDIR}/kded5
                               SYSTEMD_SERVICE plasma-kded)
```

Test Plan:
* Was able to generate a kded service file
* Was able to generate a kded service file with `SystemdUnit`
* Verified that it moaned when executable wasn't an absolute path
* Untested on Windwos

Reviewers: #frameworks, davidedmundson, kossebau, kfunk, habacker

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D29051
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce function ecm_install_configured_file</title>
<updated>2020-07-10T12:12:58+00:00</updated>
<author>
<name>David Edmundson</name>
<email>kde@davidedmundson.co.uk</email>
</author>
<published>2020-06-08T14:29:40+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=0ae520199d0e0523f4f0aa847b7567d72ae9553d'/>
<id>0ae520199d0e0523f4f0aa847b7567d72ae9553d</id>
<content type='text'>
Summary:
This, as the name suggests, configures a file and installs it.

It's not very complicated but it's a repeated pattern in plasma that
gets quite messy dealing with temporary files.

Test Plan: Used in a project

Reviewers: #build_system

Subscribers: apol, kossebau, pino, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D28355
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
This, as the name suggests, configures a file and installs it.

It's not very complicated but it's a repeated pattern in plasma that
gets quite messy dealing with temporary files.

Test Plan: Used in a project

Reviewers: #build_system

Subscribers: apol, kossebau, pino, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D28355
</pre>
</div>
</content>
</entry>
<entry>
<title>extra-cmake-modules: Convert to SPDX license statements</title>
<updated>2020-06-14T09:00:21+00:00</updated>
<author>
<name>Andreas Cord-Landwehr</name>
<email>cordlandwehr@kde.org</email>
</author>
<published>2020-06-14T09:00:21+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=110f62d69b9529a901889c3998817eb406a22c8f'/>
<id>110f62d69b9529a901889c3998817eb406a22c8f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ECM: attempt to fix KDEInstallDirsTest.relative_or_absolute on Windows</title>
<updated>2020-04-05T15:15:43+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2020-03-29T21:08:12+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=907d46e0d244f445b675b4f301654b73b27f2a9c'/>
<id>907d46e0d244f445b675b4f301654b73b27f2a9c</id>
<content type='text'>
Summary:
Not passing CMAKE_INSTALL_PREFIX is a weird thing to do. The test shows
"Installing in ." and some values like KDE_INSTALL_FULL_EXECROOTDIR
become "/" which is considered relative on Windows.

The test that passes /usr to CMAKE_INSTALL_PREFIX actually passes on
Windows. Pass /tmp to the other test, remove the test without prefix.

Test Plan: Passes on Linux, not tested on Windows, CI will do that

Reviewers: kossebau, apol, cgiboudeaux

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D28409
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Not passing CMAKE_INSTALL_PREFIX is a weird thing to do. The test shows
"Installing in ." and some values like KDE_INSTALL_FULL_EXECROOTDIR
become "/" which is considered relative on Windows.

The test that passes /usr to CMAKE_INSTALL_PREFIX actually passes on
Windows. Pass /tmp to the other test, remove the test without prefix.

Test Plan: Passes on Linux, not tested on Windows, CI will do that

Reviewers: kossebau, apol, cgiboudeaux

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D28409
</pre>
</div>
</content>
</entry>
<entry>
<title>ECMPoQmToolsTest: have separate moc files for tr_thread_test 1 &amp; 2</title>
<updated>2020-03-24T19:47:59+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2020-03-24T19:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=6136a974262684847746c0bdc980163cbe326eaa'/>
<id>6136a974262684847746c0bdc980163cbe326eaa</id>
<content type='text'>
Reviewers: #frameworks, #build_system, dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D28253
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewers: #frameworks, #build_system, dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D28253
</pre>
</div>
</content>
</entry>
<entry>
<title>Add ecm_qt_install_logging_categories &amp; ecm_qt_export_logging_category</title>
<updated>2020-02-10T23:21:54+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2020-02-04T05:11:54+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=86041b6d8634a87e80e68fba44ad00bc4b4549ba'/>
<id>86041b6d8634a87e80e68fba44ad00bc4b4549ba</id>
<content type='text'>
Summary:
Having to manually maintain a separate copy of all the data about qt logging
categories in the categories files comes with the usual disadvantages.
The new macro ecm_qt_install_logging_categories together with the additions
of arguments DESCRIPTION &amp; EXPORT to ecm_qt_declare_logging_category allows
to have just one place with one copy of the data, and have the categories
file automatically generated from that data, linked via the EXPORT id.

For cases not using ecm_qt_declare_logging_category, but having categories
manually defined in code, yet wanting to have info about those categories in
the installed fiel, ecm_qt_export_logging_category allows to add those data
to the system.

Test Plan:
Added unit tests work, porting of some repos created categories files whose
diff against the manually created files were only the DO_NOT_EDIT header.

Reviewers: #build_system, #frameworks, broulik, mlaurent

Reviewed By: mlaurent

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D27150
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Having to manually maintain a separate copy of all the data about qt logging
categories in the categories files comes with the usual disadvantages.
The new macro ecm_qt_install_logging_categories together with the additions
of arguments DESCRIPTION &amp; EXPORT to ecm_qt_declare_logging_category allows
to have just one place with one copy of the data, and have the categories
file automatically generated from that data, linked via the EXPORT id.

For cases not using ecm_qt_declare_logging_category, but having categories
manually defined in code, yet wanting to have info about those categories in
the installed fiel, ecm_qt_export_logging_category allows to add those data
to the system.

Test Plan:
Added unit tests work, porting of some repos created categories files whose
diff against the manually created files were only the DO_NOT_EDIT header.

Reviewers: #build_system, #frameworks, broulik, mlaurent

Reviewed By: mlaurent

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D27150
</pre>
</div>
</content>
</entry>
<entry>
<title>EBN extra-cmake-modules comments spelling cleanup</title>
<updated>2019-12-05T09:37:23+00:00</updated>
<author>
<name>John Hayes</name>
<email>jdhayes.linux@gmail.com</email>
</author>
<published>2019-12-05T09:37:15+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=9f441190a36a4579581c37c6ebcb36171fd9a7fd'/>
<id>9f441190a36a4579581c37c6ebcb36171fd9a7fd</id>
<content type='text'>
Summary: Correct spelling in extra-cmake-modules comments.

Reviewers: apol

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D25752
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: Correct spelling in extra-cmake-modules comments.

Reviewers: apol

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D25752
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix EcmGenerateExportHeader tests on Windows</title>
<updated>2019-11-30T14:08:44+00:00</updated>
<author>
<name>David Redondo</name>
<email>kde@david-redondo.de</email>
</author>
<published>2019-11-30T10:23:39+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=bfdcec82d926416ac2eb3657b903414b52f72e31'/>
<id>bfdcec82d926416ac2eb3657b903414b52f72e31</id>
<content type='text'>
Summary: -weXXXX errors on warning XXXX. C4996 warns on deprecated declarations.

Test Plan: Tests pass.

Reviewers: kossebau, #windows, #frameworks

Reviewed By: kossebau

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D25626
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: -weXXXX errors on warning XXXX. C4996 warns on deprecated declarations.

Test Plan: Tests pass.

Reviewers: kossebau, #windows, #frameworks

Reviewed By: kossebau

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D25626
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ECMSetupVersion tests for old policy with project() wo/ VERSION</title>
<updated>2019-11-04T11:04:56+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2019-11-04T11:04:56+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=d2810741c2166354d7c95d4101eea52035d4fdf5'/>
<id>d2810741c2166354d7c95d4101eea52035d4fdf5</id>
<content type='text'>
With min required cmake version now bumped to 3.5, the policy for CMP0048
needs to be set explicitly to old now to prepare what the tests check.

Fixup for 5ca01895e3c50322f79feeef5054d7f28b164d68
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With min required cmake version now bumped to 3.5, the policy for CMP0048
needs to be set explicitly to old now to prepare what the tests check.

Fixup for 5ca01895e3c50322f79feeef5054d7f28b164d68
</pre>
</div>
</content>
</entry>
<entry>
<title>Add install dir for systemd units</title>
<updated>2019-11-03T22:04:30+00:00</updated>
<author>
<name>David Edmundson</name>
<email>kde@davidedmundson.co.uk</email>
</author>
<published>2019-11-03T22:04:30+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=fb275fb95d9c41c091fd0ebb9ac4f8edb78eb89b'/>
<id>fb275fb95d9c41c091fd0ebb9ac4f8edb78eb89b</id>
<content type='text'>
Summary: Like we have for other FD.O projects like DBus service files

Test Plan:
Unit test passes
Used in another project, and it installed to the correct place

Reviewers: apol

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D25107
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: Like we have for other FD.O projects like DBus service files

Test Plan:
Unit test passes
Used in another project, and it installed to the correct place

Reviewers: apol

Reviewed By: apol

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D25107
</pre>
</div>
</content>
</entry>
</feed>
