<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/tests, branch v5.50.0-rc1</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>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>[ECMGenerateHeaders] Add option for other header file extension than .h</title>
<updated>2018-06-26T16:50:10+00:00</updated>
<author>
<name>Friedrich W. H. Kossebau</name>
<email>kossebau@kde.org</email>
</author>
<published>2018-06-25T16:26:20+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=5207cdeb23599145ffdecf57b17b514a7e368e62'/>
<id>5207cdeb23599145ffdecf57b17b514a7e368e62</id>
<content type='text'>
Summary:
Quite some C++-based projects do not use .h as header file extension, but
.hpp, .hxx or other variants. Making the header file extension configurable
enables to make use of ECMGenerateHeaders in such projects.

Test Plan:
The added unit test works, existing unit tests work as before.
Also using in project with .hpp files works.

Reviewers: apol

Reviewed By: apol

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

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D13721
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Quite some C++-based projects do not use .h as header file extension, but
.hpp, .hxx or other variants. Making the header file extension configurable
enables to make use of ECMGenerateHeaders in such projects.

Test Plan:
The added unit test works, existing unit tests work as before.
Also using in project with .hpp files works.

Reviewers: apol

Reviewed By: apol

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

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D13721
</pre>
</div>
</content>
</entry>
<entry>
<title>ECMToolchainAndroidTest doesn't exist anymore</title>
<updated>2018-01-28T22:22:59+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2018-01-28T22:22:59+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=30f31c46d8caf4b58ffcd7e0032441a5474ac536'/>
<id>30f31c46d8caf4b58ffcd7e0032441a5474ac536</id>
<content type='text'>
BUG: 389519
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: 389519
</pre>
</div>
</content>
</entry>
<entry>
<title>Fall back to language name for translations lookup if locale name fails</title>
<updated>2018-01-17T20:55:53+00:00</updated>
<author>
<name>Wolfgang Bauer</name>
<email>wbauer@tmo.at</email>
</author>
<published>2018-01-17T20:55:53+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=78443e0f0373c2b243d75ac37f891879df8ec08b'/>
<id>78443e0f0373c2b243d75ac37f891879df8ec08b</id>
<content type='text'>
For locales like de_AT, the current code only looks in
share/locale/de_AT/ and share/locale/de-AT/ for translation catalogs,
but not in share/locale/de/ where they most likely are.
That's because bcp47Name() returns "de-AT" for de_AT (though in the
case of de_DE e.g. it does return "de").

This patch additionally tries to fall back to the general language by
taking the part of the locale name before the first '_'.

Differential Revision: https://phabricator.kde.org/D9793
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For locales like de_AT, the current code only looks in
share/locale/de_AT/ and share/locale/de-AT/ for translation catalogs,
but not in share/locale/de/ where they most likely are.
That's because bcp47Name() returns "de-AT" for de_AT (though in the
case of de_DE e.g. it does return "de").

This patch additionally tries to fall back to the general language by
taking the part of the locale name before the first '_'.

Differential Revision: https://phabricator.kde.org/D9793
</pre>
</div>
</content>
</entry>
<entry>
<title>Use readelf to find project dependencies</title>
<updated>2017-12-20T21:35:02+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2017-12-20T19:42:59+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=c91c3650968d828d52291f97f835a5a04024c2e0'/>
<id>c91c3650968d828d52291f97f835a5a04024c2e0</id>
<content type='text'>
Summary:
We were using a link.txt file that cmake used to generate, on newer cmake
versions it doesn't anymore.
Instead use readelf, much like androiddeployqt does, to extract the
depenencies.
Catch: It relies on having all the binaries being at the same subdirectory,
which is the default in ECM since not long ago.

Test Plan: Build kirigamigallery with it

Reviewers: #frameworks, #build_system, aacid

Reviewed By: aacid

Subscribers: mart

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D8173
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
We were using a link.txt file that cmake used to generate, on newer cmake
versions it doesn't anymore.
Instead use readelf, much like androiddeployqt does, to extract the
depenencies.
Catch: It relies on having all the binaries being at the same subdirectory,
which is the default in ECM since not long ago.

Test Plan: Build kirigamigallery with it

Reviewers: #frameworks, #build_system, aacid

Reviewed By: aacid

Subscribers: mart

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D8173
</pre>
</div>
</content>
</entry>
<entry>
<title>Add the description tag to the generated pkgconfig files</title>
<updated>2017-11-30T07:42:14+00:00</updated>
<author>
<name>Christophe Giboudeaux</name>
<email>christophe@krop.fr</email>
</author>
<published>2017-11-29T15:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=fd60f2b893d0b07f96f0fd715109cbd8d4e66140'/>
<id>fd60f2b893d0b07f96f0fd715109cbd8d4e66140</id>
<content type='text'>
Summary:
pkgconfig complains when the .pc file doesn't have a description. eg:
$ pkg-config Baloo
Package 'Baloo' has no Description: field

With this change, if the DESCRIPTION parameter is not used,
ECM_GENERATE_PKGCONFIG_FILE will :
- First look if there's a metainfo.yaml file and get the description from there
- If the file doesn't exist, or if the description tag is empty or non-existent,
create a description based on the LIB_NAME value

Test Plan: Tests added &amp; pass

Reviewers: dfaure, apol

Reviewed By: dfaure

Subscribers: #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D9056
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
pkgconfig complains when the .pc file doesn't have a description. eg:
$ pkg-config Baloo
Package 'Baloo' has no Description: field

With this change, if the DESCRIPTION parameter is not used,
ECM_GENERATE_PKGCONFIG_FILE will :
- First look if there's a metainfo.yaml file and get the description from there
- If the file doesn't exist, or if the description tag is empty or non-existent,
create a description based on the LIB_NAME value

Test Plan: Tests added &amp; pass

Reviewers: dfaure, apol

Reviewed By: dfaure

Subscribers: #frameworks, #build_system

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D9056
</pre>
</div>
</content>
</entry>
<entry>
<title>Forgot to add the test</title>
<updated>2017-08-09T23:53:28+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2017-08-09T23:53:11+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=0cb818ef83d82fba9850bde8da0b017e072c4869'/>
<id>0cb818ef83d82fba9850bde8da0b017e072c4869</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Include a module for finding qml imports as runtime dependencies</title>
<updated>2017-08-09T11:09:38+00:00</updated>
<author>
<name>Aleix Pol</name>
<email>aleixpol@kde.org</email>
</author>
<published>2017-08-03T14:06:47+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=e5301edf1daf06aa862eb5ccae5ede72d7717fe0'/>
<id>e5301edf1daf06aa862eb5ccae5ede72d7717fe0</id>
<content type='text'>
Summary:
Allows to check if a module is available on the system and sets it as a
runtime dependency.
This is useful for projects so that they can specify their qml dependencies
easily and packagers and developers get to see what's missing by looking
at the cmake output.

Reviewers: #build_system, #frameworks, sitter

Reviewed By: sitter

Subscribers: dfaure, aacid

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D7094
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
Allows to check if a module is available on the system and sets it as a
runtime dependency.
This is useful for projects so that they can specify their qml dependencies
easily and packagers and developers get to see what's missing by looking
at the cmake output.

Reviewers: #build_system, #frameworks, sitter

Reviewed By: sitter

Subscribers: dfaure, aacid

Tags: #frameworks, #build_system

Differential Revision: https://phabricator.kde.org/D7094
</pre>
</div>
</content>
</entry>
<entry>
<title>Make ECMPoQmToolsTest actually fail if a translation is wrong</title>
<updated>2017-07-31T11:55:18+00:00</updated>
<author>
<name>Wolfgang Bauer</name>
<email>wbauer@tmo.at</email>
</author>
<published>2017-07-31T11:55:18+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=899519f0be03360e2fa4f995c44cefc693805418'/>
<id>899519f0be03360e2fa4f995c44cefc693805418</id>
<content type='text'>
Currently the test still passed even if one of the check_translations()
calls would fail.
The reason is that check_translations() is a function which has its own
scope, so if it sets "failed" the upper level doesn't see it.

Use the PARENT_SCOPE option when setting the variable to properly
propagate the value to the upper level.

Differential Revision: https://phabricator.kde.org/D6701
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently the test still passed even if one of the check_translations()
calls would fail.
The reason is that check_translations() is a function which has its own
scope, so if it sets "failed" the upper level doesn't see it.

Use the PARENT_SCOPE option when setting the variable to properly
propagate the value to the upper level.

Differential Revision: https://phabricator.kde.org/D6701
</pre>
</div>
</content>
</entry>
<entry>
<title>Stabilize ECMQtDeclareLoggingCategoryTest</title>
<updated>2017-07-05T20:54:56+00:00</updated>
<author>
<name>Kevin Funk</name>
<email>kfunk@kde.org</email>
</author>
<published>2017-07-05T20:54:56+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=e5f0b1e72d58d2b5547ece6c8b3c0c51fc1f089f'/>
<id>e5f0b1e72d58d2b5547ece6c8b3c0c51fc1f089f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
