<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git, branch v5.87.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 Gitlab CI configuration</title>
<updated>2021-09-29T08:37:10+00:00</updated>
<author>
<name>Ben Cooksley</name>
<email>bcooksley@kde.org</email>
</author>
<published>2021-09-29T08:36:55+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=63bec5521d245e3a1ea50109b86a2b716966938e'/>
<id>63bec5521d245e3a1ea50109b86a2b716966938e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add -Werror=init-self to the default CMAKE_CXX_FLAGS</title>
<updated>2021-09-28T17:02:30+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-09-27T18:47:22+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=cd50937af111a55ecda6f374a99f5f2cf311dd0f'/>
<id>cd50937af111a55ecda6f374a99f5f2cf311dd0f</id>
<content type='text'>
Should help catch errors like initializing a q-ptr with itself[1].

[1] https://invent.kde.org/frameworks/knewstuff/-/commit/d09ba1917cb7e035a9aac6c27c86fc4df5da3194
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Should help catch errors like initializing a q-ptr with itself[1].

[1] https://invent.kde.org/frameworks/knewstuff/-/commit/d09ba1917cb7e035a9aac6c27c86fc4df5da3194
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle git remotes that aren't called origin in _repository_name()</title>
<updated>2021-09-27T14:41:24+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>Alexander.Richardson@cl.cam.ac.uk</email>
</author>
<published>2021-07-28T14:16:30+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=1dad57d47614546240061fd942d1ff8e6e54eb64'/>
<id>1dad57d47614546240061fd942d1ff8e6e54eb64</id>
<content type='text'>
I was seeing `error: No such remote 'origin'` in the cmake output.
This commit avoids hardcoding `origin` as the upstream URL and instead
uses the `git rev-parse @{u}` to get the configured upstream.

As a follow-up we may want to check if this should be executed by default,
but for now this fixes a warning that I'm seeing with various projects.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I was seeing `error: No such remote 'origin'` in the cmake output.
This commit avoids hardcoding `origin` as the upstream URL and instead
uses the `git rev-parse @{u}` to get the configured upstream.

As a follow-up we may want to check if this should be executed by default,
but for now this fixes a warning that I'm seeing with various projects.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix UDev URL</title>
<updated>2021-09-27T13:05:22+00:00</updated>
<author>
<name>ivan tkachenko</name>
<email>me@ratijas.tk</email>
</author>
<published>2021-09-27T13:05:22+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=3df459ce8233f755c7eebc2b67f0ca6465ebd927'/>
<id>3df459ce8233f755c7eebc2b67f0ca6465ebd927</id>
<content type='text'>
Plain freedesktop.org 302-redirects to www.freedesktop.org.

Also, fixes a warning during CMake generation step in plasma-desktop.
See https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/572
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Plain freedesktop.org 302-redirects to www.freedesktop.org.

Also, fixes a warning during CMake generation step in plasma-desktop.
See https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/572
</pre>
</div>
</content>
</entry>
<entry>
<title>python: Bump maximum version for Python 3 module generator check.</title>
<updated>2021-09-26T00:27:25+00:00</updated>
<author>
<name>Michael Pyne</name>
<email>mpyne@kde.org</email>
</author>
<published>2021-07-04T22:47:45+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=12f4266eb71b30da1df92a5d628d402ea1a45b3b'/>
<id>12f4266eb71b30da1df92a5d628d402ea1a45b3b</id>
<content type='text'>
The proximate problem is that the Python Module generator cmake script
has started failing for people with Python 3.10, which a CMake backtrace
pointing into FindPythonModuleGeneration.cmake with an error of the form
"The max python version in PythonModuleGeneration must be updated."

At least one distro has addressed this by simply patching out modules
that happen to use this CMake module [1].

From what I can tell and the testing I've done, the cause is pretty
simple: The CMake script attempts to find the best Python 3 version by
starting from an impossible version and working backwards until it finds
a version that is installed.

As a sanity check, if the "impossible" version is actually present, it
aborts. But this appears to be just a sanity check, and not any sort of
guard against buggy version handling code later.

While the best fix is probably to start from a known *good* version and
move up until we stop finding better versions, there's problems here
(e.g. a user with 3.6 and 3.8 installed would fail to see 3.7 and so be
left with 3.6 as the "best" match), so I opted just to increase the max
version significantly, and improve the documentation as to what's
happening and whether it is safe to repeat the step again later.

[1]: https://bugs.gentoo.org/746866
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The proximate problem is that the Python Module generator cmake script
has started failing for people with Python 3.10, which a CMake backtrace
pointing into FindPythonModuleGeneration.cmake with an error of the form
"The max python version in PythonModuleGeneration must be updated."

At least one distro has addressed this by simply patching out modules
that happen to use this CMake module [1].

From what I can tell and the testing I've done, the cause is pretty
simple: The CMake script attempts to find the best Python 3 version by
starting from an impossible version and working backwards until it finds
a version that is installed.

As a sanity check, if the "impossible" version is actually present, it
aborts. But this appears to be just a sanity check, and not any sort of
guard against buggy version handling code later.

While the best fix is probably to start from a known *good* version and
move up until we stop finding better versions, there's problems here
(e.g. a user with 3.6 and 3.8 installed would fail to see 3.7 and so be
left with 3.6 as the "best" match), so I opted just to increase the max
version significantly, and improve the documentation as to what's
happening and whether it is safe to repeat the step again later.

[1]: https://bugs.gentoo.org/746866
</pre>
</div>
</content>
</entry>
<entry>
<title>clang-format: extend ForeachMacros</title>
<updated>2021-09-20T12:33:17+00:00</updated>
<author>
<name>David Edmundson</name>
<email>kde@davidedmundson.co.uk</email>
</author>
<published>2021-09-05T18:02:52+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=dc8645025b9e3afc04806127e2ff60f3266119df'/>
<id>dc8645025b9e3afc04806127e2ff60f3266119df</id>
<content type='text'>
wl_resource_for_each_safe is used in kwayland-server, and as the name
suggests is a for-each like function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
wl_resource_for_each_safe is used in kwayland-server, and as the name
suggests is a for-each like function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid raising an error for submodule git trees.</title>
<updated>2021-09-20T08:11:31+00:00</updated>
<author>
<name>Damien Caliste</name>
<email>dcaliste@free.fr</email>
</author>
<published>2021-09-08T14:13:42+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=7e3d3373d890e4c51f5bb1bd92abcce70e766cf4'/>
<id>7e3d3373d890e4c51f5bb1bd92abcce70e766cf4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sphinx happier about syntax</title>
<updated>2021-09-13T08:54:22+00:00</updated>
<author>
<name>Albert Astals Cid</name>
<email>aacid@kde.org</email>
</author>
<published>2021-09-07T07:48:34+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=6005d784f03a0f480c3286cce605a8ea3ff8eede'/>
<id>6005d784f03a0f480c3286cce605a8ea3ff8eede</id>
<content type='text'>
And the generated html looks more correct
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And the generated html looks more correct
</pre>
</div>
</content>
</entry>
<entry>
<title>KDEClangFormat: Check for autogeneration notice instead of copyright text</title>
<updated>2021-09-11T18:17:23+00:00</updated>
<author>
<name>Alexander Lohnau</name>
<email>alexander.lohnau@gmx.de</email>
</author>
<published>2021-09-07T06:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=4282b34ef80041e4f40923ae652cc2e30a6d40e6'/>
<id>4282b34ef80041e4f40923ae652cc2e30a6d40e6</id>
<content type='text'>
If people ship their own clang-format file they might still have the copyright, because
they forked it. Instead search for the notice that the file is autogenerated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If people ship their own clang-format file they might still have the copyright, because
they forked it. Instead search for the notice that the file is autogenerated.
</pre>
</div>
</content>
</entry>
<entry>
<title>GIT_SILENT Upgrade ECM version to 5.87.0.</title>
<updated>2021-09-11T10:04:43+00:00</updated>
<author>
<name>l10n daemon script</name>
<email>scripty@kde.org</email>
</author>
<published>2021-09-11T10:04:43+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=2bd7db94eee1a81dfcddcb26f48b5af6c09b8d80'/>
<id>2bd7db94eee1a81dfcddcb26f48b5af6c09b8d80</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
