<feed xmlns='http://www.w3.org/2005/Atom'>
<title>extra-cmake-modules.git/modules, branch v5.22.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>ecm_qt_declare_logging_category: improve error message when using without including</title>
<updated>2016-04-03T20:41:42+00:00</updated>
<author>
<name>David Faure</name>
<email>faure@kde.org</email>
</author>
<published>2016-03-20T10:52:27+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=f7c1e8d57f84d0883a2a7683fd59ecc990a03de1'/>
<id>f7c1e8d57f84d0883a2a7683fd59ecc990a03de1</id>
<content type='text'>
If one subdir in the project includes this file, all others can use the function
but they don't see the value of the variable, which leads to a strange error

CMake Error at ECM/modules/ECMQtDeclareLoggingCategory.cmake:114 (configure_file):
  configure_file input location &lt;srcdir&gt; is a directory but a file was expected.

Happened in KIO, with kio/gui doing include+function call, and then adding
function call in kio/widgets.

REVIEW: 127432
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If one subdir in the project includes this file, all others can use the function
but they don't see the value of the variable, which leads to a strange error

CMake Error at ECM/modules/ECMQtDeclareLoggingCategory.cmake:114 (configure_file):
  configure_file input location &lt;srcdir&gt; is a directory but a file was expected.

Happened in KIO, with kio/gui doing include+function call, and then adding
function call in kio/widgets.

REVIEW: 127432
</pre>
</div>
</content>
</entry>
<entry>
<title>ECMEnableSanitizers: avoid linking runtime for Clang</title>
<updated>2016-03-29T18:13:23+00:00</updated>
<author>
<name>Peter Wu</name>
<email>peter@lekensteyn.nl</email>
</author>
<published>2016-03-29T18:13:23+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=c6495e75fc6114314512427bce5e202c1ad648c6'/>
<id>c6495e75fc6114314512427bce5e202c1ad648c6</id>
<content type='text'>
Clang automatically adds its runtime library (librt) when given the
-fsanitize options. Do not force the GCC runtime libraries (asan, tsan,
lsan), this results in "Your application is linked against incompatible
ASan runtimes." errors when using the library in an executable built
using Clang.

Acked by Mathieu Tarral

REVIEW: 127513
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Clang automatically adds its runtime library (librt) when given the
-fsanitize options. Do not force the GCC runtime libraries (asan, tsan,
lsan), this results in "Your application is linked against incompatible
ASan runtimes." errors when using the library in an executable built
using Clang.

Acked by Mathieu Tarral

REVIEW: 127513
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix _ecm_update_iconcache to only update the install location</title>
<updated>2016-03-21T21:31:09+00:00</updated>
<author>
<name>Stephen Kelly</name>
<email>steveire@gmail.com</email>
</author>
<published>2016-03-21T21:24:56+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=928e79cf5d51a3c78d388b7eb972b3dae1ebbb68'/>
<id>928e79cf5d51a3c78d388b7eb972b3dae1ebbb68</id>
<content type='text'>
Use the CMAKE_INSTALL_PREFIX to ensure that only a file in the install
location will be touched.  Otherwise a user running

 make install

as root would create root-owned files in the build directory.

Use the cmake -E touch command to update the mtime of the directory.
That command exists since late 2007, but this manual file creation
workaround pre-dates that by a few months (kdelibs SVN revision 691973).

There is no chance any calling code is already passing an absolute path
here because later in the function it is already used together with a
CMAKE_INSTALL_PREFIX.

Inspired-by: REVIEW 127445
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the CMAKE_INSTALL_PREFIX to ensure that only a file in the install
location will be touched.  Otherwise a user running

 make install

as root would create root-owned files in the build directory.

Use the cmake -E touch command to update the mtime of the directory.
That command exists since late 2007, but this manual file creation
workaround pre-dates that by a few months (kdelibs SVN revision 691973).

There is no chance any calling code is already passing an absolute path
here because later in the function it is already used together with a
CMAKE_INSTALL_PREFIX.

Inspired-by: REVIEW 127445
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "ECMQtDeclareLoggingCategory: Include &lt;QDebug&gt; with the generated file"</title>
<updated>2016-03-20T18:36:07+00:00</updated>
<author>
<name>Stephen Kelly</name>
<email>steveire@gmail.com</email>
</author>
<published>2016-03-20T18:36:07+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=09008700af42967f6ad10c9b3ef565cc2f727874'/>
<id>09008700af42967f6ad10c9b3ef565cc2f727874</id>
<content type='text'>
This reverts commit 1d4bc35cf9383177459544d6fcd9de35edf3e77d.

QLoggingCategory has always included QDebug, so this has always been
superfluous.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 1d4bc35cf9383177459544d6fcd9de35edf3e77d.

QLoggingCategory has always included QDebug, so this has always been
superfluous.
</pre>
</div>
</content>
</entry>
<entry>
<title>ECMAddAppIcon: Use absolute path when operating on icons.</title>
<updated>2016-01-31T14:55:28+00:00</updated>
<author>
<name>Gleb Popov</name>
<email>6yearold@gmail.com</email>
</author>
<published>2016-01-10T19:32:37+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=dde4ba04e57502f13955002d3ea3ae702c3e8c74'/>
<id>dde4ba04e57502f13955002d3ea3ae702c3e8c74</id>
<content type='text'>
REVIEW: 126711
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
REVIEW: 126711
</pre>
</div>
</content>
</entry>
<entry>
<title>Use PATH_SUFFIXES in ecm_find_package_handle_library_components()</title>
<updated>2016-01-13T13:51:02+00:00</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson.kde@gmail.com</email>
</author>
<published>2015-11-27T12:40:03+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=f5126a3ef0a0876f51d6b9ae3d093a930ca1cbf5'/>
<id>f5126a3ef0a0876f51d6b9ae3d093a930ca1cbf5</id>
<content type='text'>
This is required to find poppler without package config as all the headers
are installed in a poppler subdirectory of the include directory
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is required to find poppler without package config as all the headers
are installed in a poppler subdirectory of the include directory
</pre>
</div>
</content>
</entry>
<entry>
<title>ECMQtDeclareLoggingCategory: Include &lt;QDebug&gt; with the generated file</title>
<updated>2015-12-21T19:30:33+00:00</updated>
<author>
<name>Martin Klapetek</name>
<email>mklapetek@kde.org</email>
</author>
<published>2015-12-21T19:30:19+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=1d4bc35cf9383177459544d6fcd9de35edf3e77d'/>
<id>1d4bc35cf9383177459544d6fcd9de35edf3e77d</id>
<content type='text'>
In order to use the logging categories created by ECM,
the generated header file has to be included but then
also #include &lt;QDebug&gt; must be added to make it usable
at all for qCDebug/qCWarning stuff.

So this puts the #include &lt;QDebug&gt; into the generated
header file and thus allowing to include a single header
for qCDebug/qCWarning instead of two.

REVIEW: 126368
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In order to use the logging categories created by ECM,
the generated header file has to be included but then
also #include &lt;QDebug&gt; must be added to make it usable
at all for qCDebug/qCWarning stuff.

So this puts the #include &lt;QDebug&gt; into the generated
header file and thus allowing to include a single header
for qCDebug/qCWarning instead of two.

REVIEW: 126368
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: Cleanup: Strip text from endif/else</title>
<updated>2015-12-18T14:57:50+00:00</updated>
<author>
<name>Kevin Funk</name>
<email>kfunk@kde.org</email>
</author>
<published>2015-12-18T11:37:19+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=942ba80dae253fef93094d178da3ce0abc47da5d'/>
<id>942ba80dae253fef93094d178da3ce0abc47da5d</id>
<content type='text'>
REVIEW: 126414
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
REVIEW: 126414
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't warn when SVG(Z) icons are provided with multiple sizes/level of detail</title>
<updated>2015-11-30T17:01:49+00:00</updated>
<author>
<name>Jaroslaw Staniek</name>
<email>staniek@kde.org</email>
</author>
<published>2015-11-29T20:49:38+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=18243570bcae0cf02a4a87eff2f1834500ae955d'/>
<id>18243570bcae0cf02a4a87eff2f1834500ae955d</id>
<content type='text'>
This technically works and is practiced, e.g. for some Breeze icons.

Some SVG icons do not scale well down from 32 to 22 or up from 16 to 22.
For such cases icons are typically specially crafted for 22 and 16, at least.
Then there's no single icon that be marked as "sc".

So warnings such as:

CMake Warning at ..../ECMInstallIcons.cmake:272 (message):
  Fixed-size icon foo.svg is not PNG or MNG

... are misleading.

This change adds SVG(Z) extensions to the list of allowed icons for specific sizes.

REVIEW:126199
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This technically works and is practiced, e.g. for some Breeze icons.

Some SVG icons do not scale well down from 32 to 22 or up from 16 to 22.
For such cases icons are typically specially crafted for 22 and 16, at least.
Then there's no single icon that be marked as "sc".

So warnings such as:

CMake Warning at ..../ECMInstallIcons.cmake:272 (message):
  Fixed-size icon foo.svg is not PNG or MNG

... are misleading.

This change adds SVG(Z) extensions to the list of allowed icons for specific sizes.

REVIEW:126199
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure we load translations on the main thread.</title>
<updated>2015-11-30T14:07:07+00:00</updated>
<author>
<name>Alex Merry</name>
<email>alex.merry@kde.org</email>
</author>
<published>2015-11-08T23:10:59+00:00</published>
<link rel='alternate' type='text/html' href='https://netuse.dynamicmalloc.com/cgit/extra-cmake-modules.git/commit/?id=fb4d91996affdbcd3ffc19c7646fbf77b96bf1e5'/>
<id>fb4d91996affdbcd3ffc19c7646fbf77b96bf1e5</id>
<content type='text'>
Because the old implementation (accidentally) worked when you put the
ecm_create_qm_loader call in a different CMakeLists.txt file to the
target the file was added to, some projects did this.

This won't work with build-time-generated files, though, like moc files.
So we (ab)use QTimer events to make the loading happen on the main
thread.

BUG: 346188
REVIEW: 126000
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because the old implementation (accidentally) worked when you put the
ecm_create_qm_loader call in a different CMakeLists.txt file to the
target the file was added to, some projects did this.

This won't work with build-time-generated files, though, like moc files.
So we (ab)use QTimer events to make the loading happen on the main
thread.

BUG: 346188
REVIEW: 126000
</pre>
</div>
</content>
</entry>
</feed>
