<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/find-modules, branch v5.50.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>Bindings: Check if bindings can be generated for a specific python version</title>
<updated>2018-08-31T21:45:30+00:00</updated>
<author>
<name>Stefan Brüns</name>
<email>stefan.bruens@rwth-aachen.de</email>
</author>
<published>2018-08-17T19:02:23+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=4275cfc3f75d784398034dcc5e096c375dba6c2b'/>
<id>4275cfc3f75d784398034dcc5e096c375dba6c2b</id>
<content type='text'>
Summary:
The generated C++ sources include &lt;sip.h&gt;, so it must be available.
Check for it in the version specific directories and fall back to
the default include directories.

Test Plan:
install python2-devel and python3-devel
install one of python{x}-sip-devel

bindings should be generated for the matching python version.

Reviewers: #frameworks, arojas

Reviewed By: arojas

Subscribers: arojas, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14915
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
The generated C++ sources include &lt;sip.h&gt;, so it must be available.
Check for it in the version specific directories and fall back to
the default include directories.

Test Plan:
install python2-devel and python3-devel
install one of python{x}-sip-devel

bindings should be generated for the matching python version.

Reviewers: #frameworks, arojas

Reviewed By: arojas

Subscribers: arojas, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14915
</pre>
</div>
</content>
</entry>
<entry>
<title>Bindings: Use python version matching the found clang python module</title>
<updated>2018-08-31T21:44:25+00:00</updated>
<author>
<name>Stefan Brüns</name>
<email>stefan.bruens@rwth-aachen.de</email>
</author>
<published>2018-08-15T01:25:56+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=451bc7609c2d6380599c71e371ccb7b183abef8c'/>
<id>451bc7609c2d6380599c71e371ccb7b183abef8c</id>
<content type='text'>
Summary:
In case both python 2.7 and 3 are installed, but clang python bindings
are only installed for python 3, there will be no error message but
the self check will fail.

Check for clang bindings for both python2 and python3 (if installed),
and use the first one found to generate the sip bindings files.

Note, it is possible to e.g. use python2 to generate the sip binding
files (requires clang bindings), but generate bindings for python
2, 3, or both (requires matching python-devel and python-sip-devel
packages).

Test Plan:
install python3-clang bindings
install python2-clang bindings
or one of the above

the matching python version is used to run sip_generator.py

Reviewers: #frameworks, arojas

Reviewed By: arojas

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14914
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
In case both python 2.7 and 3 are installed, but clang python bindings
are only installed for python 3, there will be no error message but
the self check will fail.

Check for clang bindings for both python2 and python3 (if installed),
and use the first one found to generate the sip bindings files.

Note, it is possible to e.g. use python2 to generate the sip binding
files (requires clang bindings), but generate bindings for python
2, 3, or both (requires matching python-devel and python-sip-devel
packages).

Test Plan:
install python3-clang bindings
install python2-clang bindings
or one of the above

the matching python version is used to run sip_generator.py

Reviewers: #frameworks, arojas

Reviewed By: arojas

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14914
</pre>
</div>
</content>
</entry>
<entry>
<title>Bindings: Make generator forward compatible with Python 3</title>
<updated>2018-08-31T21:41:37+00:00</updated>
<author>
<name>Stefan Brüns</name>
<email>stefan.bruens@rwth-aachen.de</email>
</author>
<published>2018-08-15T00:37:20+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=b6e4e645dac67abf02c01b6f55a55ba0b84ca32e'/>
<id>b6e4e645dac67abf02c01b6f55a55ba0b84ca32e</id>
<content type='text'>
Summary:
iteritems is no longer an available method for dict in Python 3. Using
dict.items() is functionally identical, although it creates some overhead
for Python 2.7 (creation of a temporary list). As this is only called
when tracing, this is not a big issue. For Python 3, there is no
overhead (dict.items() returns an iterator).

Test Plan:
Run python3 sip_generator.py ...
Run python2 sip_generator.py ...
Both generate the same code

Reviewers: #frameworks, arojas

Reviewed By: arojas

Subscribers: arojas, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14912
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
iteritems is no longer an available method for dict in Python 3. Using
dict.items() is functionally identical, although it creates some overhead
for Python 2.7 (creation of a temporary list). As this is only called
when tracing, this is not a big issue. For Python 3, there is no
overhead (dict.items() returns an iterator).

Test Plan:
Run python3 sip_generator.py ...
Run python2 sip_generator.py ...
Both generate the same code

Reviewers: #frameworks, arojas

Reviewed By: arojas

Subscribers: arojas, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14912
</pre>
</div>
</content>
</entry>
<entry>
<title>Bindings: Add support for scoped enums</title>
<updated>2018-08-25T02:14:41+00:00</updated>
<author>
<name>Stefan Brüns</name>
<email>stefan.bruens@rwth-aachen.de</email>
</author>
<published>2018-08-17T03:30:40+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=1790a6994a3536a9d6c73901cb7898615eb64861'/>
<id>1790a6994a3536a9d6c73901cb7898615eb64861</id>
<content type='text'>
Summary:
Keep the enum intact by emitting the class keyword in case the enum is
scoped.
Use the complete enum scope for parameter values, the enclosing scope is
only correct to use for unscoped enums.
The python Cursor.is_scoped_enum() method has been added with LLVM/Clang
version 5.0.

BUG: 397154

Test Plan: build kcoreaddons

Reviewers: #frameworks, mpyne

Reviewed By: mpyne

Subscribers: mpyne, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14908
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Keep the enum intact by emitting the class keyword in case the enum is
scoped.
Use the complete enum scope for parameter values, the enclosing scope is
only correct to use for unscoped enums.
The python Cursor.is_scoped_enum() method has been added with LLVM/Clang
version 5.0.

BUG: 397154

Test Plan: build kcoreaddons

Reviewers: #frameworks, mpyne

Reviewed By: mpyne

Subscribers: mpyne, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14908
</pre>
</div>
</content>
</entry>
<entry>
<title>Bindings: Check for libclang without version suffix also</title>
<updated>2018-08-17T22:23:23+00:00</updated>
<author>
<name>Stefan Brüns</name>
<email>stefan.bruens@rwth-aachen.de</email>
</author>
<published>2018-08-15T01:29:57+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=4b59c77083625219238d6e12d11554b7fd685a7a'/>
<id>4b59c77083625219238d6e12d11554b7fd685a7a</id>
<content type='text'>
Summary:
The canonical name is libclang.so, which seems to be available on all
distributions (RH, SUSE, Ubuntu, Debian, ...) while the symlinks with
version suffix (e.g. libclang-6.0) are specific to Debian and derivatives.
Keep the current checks, but fallback to the unversioned library name.

Test Plan:
on openSUSE TW/Leap:
run cmake
-&gt; libclang is found

Reviewers: #frameworks, dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14909
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
The canonical name is libclang.so, which seems to be available on all
distributions (RH, SUSE, Ubuntu, Debian, ...) while the symlinks with
version suffix (e.g. libclang-6.0) are specific to Debian and derivatives.
Keep the current checks, but fallback to the unversioned library name.

Test Plan:
on openSUSE TW/Leap:
run cmake
-&gt; libclang is found

Reviewers: #frameworks, dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D14909
</pre>
</div>
</content>
</entry>
<entry>
<title>Change the 'since' version.</title>
<updated>2018-07-16T06:43:40+00:00</updated>
<author>
<name>Christophe Giboudeaux</name>
<email>christophe@krop.fr</email>
</author>
<published>2018-07-16T06:43:13+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=f19f90956b4daf457eba2eb12342ed211d2dc147'/>
<id>f19f90956b4daf457eba2eb12342ed211d2dc147</id>
<content type='text'>
These changes are not available in ECM 5.48.0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These changes are not available in ECM 5.48.0.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve ECMAddAppIconMacro.</title>
<updated>2018-07-08T18:00:34+00:00</updated>
<author>
<name>Dominik Schmidt</name>
<email>kde@dominik-schmidt.de</email>
</author>
<published>2018-06-23T13:26:35+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=2c2bb8f4766fec5e391839dbc093b638acee3a22'/>
<id>2c2bb8f4766fec5e391839dbc093b638acee3a22</id>
<content type='text'>
Summary:
- Add support for SIDEBAR_ICONS on macOS
- Allow specifying a basename for the icon file via OUTFILE_BASENAME
- Add support for HiRes icons on Windows via icotool

I'm sorry this went all into one big change. I see that it's not optimal,
but it's really hard to rip it apart...

Also to me the whole code with support for two flavors of png2ico and icotool seems very spaghetti-ish. IMHO there's no good reason to keep supporting all three, icotool is the only maintained project and the only one supporting more than 128px wide icons. That's why I would suggest to simplify the whole code by only supporting icotool in one of the next releases.

Test Plan:
We use this version of ECMAddAppIconMacro in ownCloud client and it works...
I tested icotool natively and while cross-compiling on linux.

SIDEBAR_ICONS are also working...

If you want to test this with the ownCloud client, it's best to use
https://github.com/dschmidt/owncloud-client/tree/fix-app-icon-macro
because that contains a small fix I just PR'ed and which is not
in master yet. (We maintain a fork of the module there, so compiling it for Windows or macOS will automatically use the version of the module that I'm submitting)

Reviewers: vonreth, vpinon, apol, alexmerry, cgiboudeaux

Reviewed By: cgiboudeaux

Subscribers: cgiboudeaux, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D13698
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
- Add support for SIDEBAR_ICONS on macOS
- Allow specifying a basename for the icon file via OUTFILE_BASENAME
- Add support for HiRes icons on Windows via icotool

I'm sorry this went all into one big change. I see that it's not optimal,
but it's really hard to rip it apart...

Also to me the whole code with support for two flavors of png2ico and icotool seems very spaghetti-ish. IMHO there's no good reason to keep supporting all three, icotool is the only maintained project and the only one supporting more than 128px wide icons. That's why I would suggest to simplify the whole code by only supporting icotool in one of the next releases.

Test Plan:
We use this version of ECMAddAppIconMacro in ownCloud client and it works...
I tested icotool natively and while cross-compiling on linux.

SIDEBAR_ICONS are also working...

If you want to test this with the ownCloud client, it's best to use
https://github.com/dschmidt/owncloud-client/tree/fix-app-icon-macro
because that contains a small fix I just PR'ed and which is not
in master yet. (We maintain a fork of the module there, so compiling it for Windows or macOS will automatically use the version of the module that I'm submitting)

Reviewers: vonreth, vpinon, apol, alexmerry, cgiboudeaux

Reviewed By: cgiboudeaux

Subscribers: cgiboudeaux, kde-frameworks-devel, kde-buildsystem

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D13698
</pre>
</div>
</content>
</entry>
<entry>
<title>skip automoc here</title>
<updated>2018-06-05T11:23:53+00:00</updated>
<author>
<name>Laurent Montel</name>
<email>montel@kde.org</email>
</author>
<published>2018-06-05T11:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=d3e51443c27ba0d0249be41235cc0af820f293bc'/>
<id>d3e51443c27ba0d0249be41235cc0af820f293bc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Include FeatureSummary before calling set_package_properties.</title>
<updated>2018-04-18T09:49:01+00:00</updated>
<author>
<name>Christophe Giboudeaux</name>
<email>christophe@krop.fr</email>
</author>
<published>2018-04-18T09:49:01+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=4560590bf806485cfb6586a53200ca46b1374dda'/>
<id>4560590bf806485cfb6586a53200ca46b1374dda</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>FindQtWaylandScanner.cmake: Use qmake-query for HINT</title>
<updated>2018-01-31T15:23:18+00:00</updated>
<author>
<name>Andreas Sturmlechner</name>
<email>andreas.sturmlechner@gmail.com</email>
</author>
<published>2018-01-31T14:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=995fd81064cfe8c150c78234bad592b1c30989f2'/>
<id>995fd81064cfe8c150c78234bad592b1c30989f2</id>
<content type='text'>
Summary: Instead of hardcoded /usr/lib, same solution as in D9116

Test Plan: Works fine with kwayland 5.42.0.

Reviewers: #frameworks, #build_system, cgiboudeaux

Reviewed By: cgiboudeaux

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D10201
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: Instead of hardcoded /usr/lib, same solution as in D9116

Test Plan: Works fine with kwayland 5.42.0.

Reviewers: #frameworks, #build_system, cgiboudeaux

Reviewed By: cgiboudeaux

Tags: #frameworks, #build_system

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