<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/find-modules, 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>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>FindGperf: support version check</title>
<updated>2021-07-18T09:27:08+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2021-07-18T09:27:08+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=a143cf02e40a46d08b6960e9296ea44d40d41b3f'/>
<id>a143cf02e40a46d08b6960e9296ea44d40d41b3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add Find7z &amp; Findgzip</title>
<updated>2021-07-15T11:16:10+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2021-07-11T23:29:11+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=a4af02255a5b9bd0200517796af3f1d36a51df79'/>
<id>a4af02255a5b9bd0200517796af3f1d36a51df79</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos found by codespell</title>
<updated>2021-07-13T20:35:29+00:00</updated>
<author>
<name>Christophe Giboudeaux</name>
<email>christophe@krop.fr</email>
</author>
<published>2021-07-13T20:35:29+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=8ac2f4f798012203d770049eb4a4374a3c5390ed'/>
<id>8ac2f4f798012203d770049eb4a4374a3c5390ed</id>
<content type='text'>
GIT_SILENT
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GIT_SILENT
</pre>
</div>
</content>
</entry>
<entry>
<title>ecm_gperf_generate(): add option for target arg to add the gen. source to</title>
<updated>2021-05-29T06:21:09+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2021-05-27T14:03:28+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=068d8616fa7398c03972da547affe2115b4b26ab'/>
<id>068d8616fa7398c03972da547affe2115b4b26ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add module to find libmount</title>
<updated>2021-05-25T09:32:02+00:00</updated>
<author>
<name>Ahmad Samir</name>
<email>a.samirh78@gmail.com</email>
</author>
<published>2021-05-23T13:07:48+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=531c74b408b17dd2c43516f04fc80763815bb35f'/>
<id>531c74b408b17dd2c43516f04fc80763815bb35f</id>
<content type='text'>
There is a chance it's going to be used in Solid, and possibly KIO.

Other exiting modules were used as templates while writing this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is a chance it's going to be used in Solid, and possibly KIO.

Other exiting modules were used as templates while writing this.
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop FindFontConfig.cmake</title>
<updated>2021-05-25T08:07:34+00:00</updated>
<author>
<name>Christophe Giboudeaux</name>
<email>christophe@krop.fr</email>
</author>
<published>2021-05-17T13:04:28+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=6191110fa126847ceea49db29534a756f9bd3013'/>
<id>6191110fa126847ceea49db29534a756f9bd3013</id>
<content type='text'>
CMake 3.14 ships a module with compatible variables.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CMake 3.14 ships a module with compatible variables.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean ECM files after the minimum version change</title>
<updated>2021-05-25T08:07:34+00:00</updated>
<author>
<name>Christophe Giboudeaux</name>
<email>christophe@krop.fr</email>
</author>
<published>2021-05-17T09:44:44+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=c6e575539a4c0f370df65d15001e7f1b942b7e91'/>
<id>c6e575539a4c0f370df65d15001e7f1b942b7e91</id>
<content type='text'>
- Remove deprecated version checks
- Use VERSION_GREATER_EQUAL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Remove deprecated version checks
- Use VERSION_GREATER_EQUAL
</pre>
</div>
</content>
</entry>
<entry>
<title>Use pkg_check_modules in FindTaglib.cmake</title>
<updated>2021-05-17T12:04:07+00:00</updated>
<author>
<name>Christophe Giboudeaux</name>
<email>christophe@krop.fr</email>
</author>
<published>2021-05-17T12:04:07+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=63479ef093c7dc0e23281ecb957d526943565eaf'/>
<id>63479ef093c7dc0e23281ecb957d526943565eaf</id>
<content type='text'>
pkg_search_module() is only useful when the pkgconfig file may have different names.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pkg_search_module() is only useful when the pkgconfig file may have different names.
</pre>
</div>
</content>
</entry>
</feed>
