<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/find-modules, branch v5.89.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>Include QtVersionOption before all Qt5 find_package calls</title>
<updated>2021-12-01T07:53:28+00:00</updated>
<author>
<name>Volker Krause</name>
<email>vkrause@kde.org</email>
</author>
<published>2021-11-30T16:01:46+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=2f2062114c4312f669bd5d101bbd1ec083e4f5a7'/>
<id>2f2062114c4312f669bd5d101bbd1ec083e4f5a7</id>
<content type='text'>
This doesn't make all these modules actually work with Qt6 yet, but it
prevents them from unconditionally pulling in Qt5 in a Qt6 build.

This is useful in order to even be able to pass a CMake run to the
point one can port, test and debug the rest.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This doesn't make all these modules actually work with Qt6 yet, but it
prevents them from unconditionally pulling in Qt5 in a Qt6 build.

This is useful in order to even be able to pass a CMake run to the
point one can port, test and debug the rest.
</pre>
</div>
</content>
</entry>
<entry>
<title>FindEGL add 'lib' prefix for windows.</title>
<updated>2021-11-06T15:23:25+00:00</updated>
<author>
<name>Alexander Neumann</name>
<email>neumann@imt.uni-luebeck.de</email>
</author>
<published>2021-09-29T10:24:13+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=e542d27d667e1f1f1c2766166bfc0641c8816edc'/>
<id>e542d27d667e1f1f1c2766166bfc0641c8816edc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix Wayland_DATADIR when cross-compiling</title>
<updated>2021-10-21T20:40:08+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>Alexander.Richardson@cl.cam.ac.uk</email>
</author>
<published>2021-10-05T10:24:38+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=0516940f89f0b30d40e86c92b2876398de14cdb0'/>
<id>0516940f89f0b30d40e86c92b2876398de14cdb0</id>
<content type='text'>
PKG_CONFIG_SYSROOT_DIR only applies to -I and -L flags, so pkg-config
does not prepend CMAKE_SYSROOT when cross-compiling unless you pass
--define-prefix explicitly. Therefore we have to  manually do prepend
it here when cross-compiling.
See https://gitlab.kitware.com/cmake/cmake/-/issues/16647#note_844761.

With this change I no longer get errors related to wayland.xml when
cross-compiling KWaylandServer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PKG_CONFIG_SYSROOT_DIR only applies to -I and -L flags, so pkg-config
does not prepend CMAKE_SYSROOT when cross-compiling unless you pass
--define-prefix explicitly. Therefore we have to  manually do prepend
it here when cross-compiling.
See https://gitlab.kitware.com/cmake/cmake/-/issues/16647#note_844761.

With this change I no longer get errors related to wayland.xml when
cross-compiling KWaylandServer.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ECM on systems without PyQt5 on Python 2</title>
<updated>2021-10-05T12:25:02+00:00</updated>
<author>
<name>Nyan Pasu</name>
<email>nyanpasu64@tuta.io</email>
</author>
<published>2021-10-05T12:25:02+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=a18543d73203b6175a9a3531486f31ee62bcf42e'/>
<id>a18543d73203b6175a9a3531486f31ee62bcf42e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>FindQtWaylandScanner: Use QT_HOST_BINS to find qtwaylandscanner</title>
<updated>2021-10-04T08:25:18+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>Alexander.Richardson@cl.cam.ac.uk</email>
</author>
<published>2021-10-02T15:10:38+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=c36e5abaecfca3c4d7b3957f935e2f061fcad488'/>
<id>c36e5abaecfca3c4d7b3957f935e2f061fcad488</id>
<content type='text'>
When cross-compiling QT_INSTALL_BINS contains binaries for the target
system that can't be used during the build. Instead use QT_HOST_BINS
which contains the Qt build tools for the current system.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When cross-compiling QT_INSTALL_BINS contains binaries for the target
system that can't be used during the build. Instead use QT_HOST_BINS
which contains the Qt build tools for the current system.
</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>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>
</feed>
