Feed Advanced Search

Mar 30 2020

kossebau added a comment to D28355: Introduce function ecm_install_configured_file.

Quick review while I had some spare minutes, to keep things going.

Mar 30 2020, 6:32 PM · Build System, Frameworks
cblack requested review of D28444: Add ECMCargo module.
Mar 30 2020, 5:35 PM · Build System, Frameworks
davidedmundson updated the diff for D28355: Introduce function ecm_install_configured_file.

All of the things!

Mar 30 2020, 12:33 PM · Build System, Frameworks
davidedmundson added a comment to D28355: Introduce function ecm_install_configured_file.

I agree with almost all those suggestions. Though it's a lot more complex, so I might need some help with some of that.

Mar 30 2020, 8:32 AM · Build System, Frameworks

Mar 29 2020

dfaure requested review of D28409: ECM: attempt to fix KDEInstallDirsTest.relative_or_absolute on Windows.
Mar 29 2020, 9:17 PM · Build System, Frameworks

Mar 28 2020

kossebau added a comment to D28355: Introduce function ecm_install_configured_file.

A .rst file in the docs/module/ directory is needed, otherwise the documentation generation will not pick up this, as it runs only over docs/.
Please enable the documentation generation in your ecm build and check for yourself, by e.g. ensuring BUILD_HTML_DOCS is ON and browsing the generated html in the build dir.

Mar 28 2020, 5:56 AM · Build System, Frameworks

Mar 27 2020

pino added inline comments to D28355: Introduce function ecm_install_configured_file.
Mar 27 2020, 11:58 PM · Build System, Frameworks
davidedmundson added inline comments to D28355: Introduce function ecm_install_configured_file.
Mar 27 2020, 11:10 PM · Build System, Frameworks
pino added a comment to D28355: Introduce function ecm_install_configured_file.

Nice one! I cannot test right now though, I might do it over the weekend (do not hold on me though).

Mar 27 2020, 6:42 PM · Build System, Frameworks
davidedmundson updated the diff for D28355: Introduce function ecm_install_configured_file.

Good idea. Done

Mar 27 2020, 6:29 PM · Build System, Frameworks
pino added a comment to D28355: Introduce function ecm_install_configured_file.

Can you please adapt it so _template can be an absolute path?

Mar 27 2020, 5:18 PM · Build System, Frameworks
davidedmundson requested review of D28355: Introduce function ecm_install_configured_file.
Mar 27 2020, 5:00 PM · Build System, Frameworks

Mar 24 2020

kossebau closed D28253: ECMPoQmToolsTest: have separate moc files for tr_thread_test 1 & 2.
Mar 24 2020, 7:48 PM · Build System, Frameworks
dfaure accepted D28253: ECMPoQmToolsTest: have separate moc files for tr_thread_test 1 & 2.

Thanks!

Mar 24 2020, 7:42 PM · Build System, Frameworks
kossebau requested review of D28253: ECMPoQmToolsTest: have separate moc files for tr_thread_test 1 & 2.
Mar 24 2020, 7:17 PM · Build System, Frameworks

Mar 3 2020

vkrause closed D26749: Support NDK r20 and Qt 5.14.
Mar 3 2020, 6:47 PM · Build System, Frameworks

Mar 2 2020

vkrause retitled D26749: Support NDK r20 and Qt 5.14 from WIP: Support NDK r20 and Qt 5.14 to Support NDK r20 and Qt 5.14.
Mar 2 2020, 5:20 PM · Build System, Frameworks

Mar 1 2020

vkrause added a comment to D26749: Support NDK r20 and Qt 5.14.
In D26749#620142, @apol wrote:

Seems ready to land to me.

Mar 1 2020, 9:29 AM · Build System, Frameworks
apol added inline comments to D26749: Support NDK r20 and Qt 5.14.
Mar 1 2020, 12:52 AM · Build System, Frameworks
apol accepted D26749: Support NDK r20 and Qt 5.14.

Seems ready to land to me.

Mar 1 2020, 12:51 AM · Build System, Frameworks

Feb 28 2020

kossebau added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

Edit 2: About the direct commits: this has been done because the principal ECMQtDeclareLoggingCategory change and its application to some reference KF repos had been reviewed and accepted. Applying the same change to all the other repos was mainly shifting data around, without security class risks. Given the amount of people who are capable to add value by reviews for all those other patches is very small in this case, me being a developer who thinks he is experienced with CMake, has a long tradition in working on ECM & KF, takes care and responsibility for his commits, the actual changes being rather small and their effect easily testable by me before pushing (comparing old manual & new generated files for having equivalent content, build still passing) it is more economical for everyone to have me just go and apply the respective changes to all other KF repos, to ensure they are all consistent and the matter can be checked off in short time.
Previous mass changes done in similar fashion also worked out noiselessly, at least to what was brought to my ears :) so it seems the exceptions done here have been acted out with all the needed responsibility,

Feb 28 2020, 10:36 PM · Build System, Frameworks
bruns added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

@kossebau - you have pushed commits depending on this change to several repositories, sometimes without waiting for acceptance, sometimes even bypassing Phabricator review completely.

Feb 28 2020, 10:34 PM · Build System, Frameworks

Feb 26 2020

vkrause added inline comments to D26749: Support NDK r20 and Qt 5.14.
Feb 26 2020, 5:15 PM · Build System, Frameworks
vkrause closed D27596: Load QM files from assets: URLs on Android.
Feb 26 2020, 5:09 PM · Build System, Frameworks

Feb 24 2020

apol accepted D27596: Load QM files from assets: URLs on Android.

They used to work back when I added the code for it. Maybe it broke over time. If it works for you, go for it.

Feb 24 2020, 5:57 PM · Build System, Frameworks
vkrause added a comment to D27596: Load QM files from assets: URLs on Android.
In D27596#616554, @apol wrote:

Don't we need an if Qt 5.13 elseif Qt 5.14?

In other Qt versions it won't be in the assets...

Feb 24 2020, 5:29 PM · Build System, Frameworks
sitter accepted D24641: Collect more information from version control systems.

I guess nobody has further input then.
LGTM. Ship it.

Feb 24 2020, 4:03 PM · Build System, Frameworks

Feb 23 2020

apol added a comment to D27596: Load QM files from assets: URLs on Android.

Don't we need an if Qt 5.13 elseif Qt 5.14?

Feb 23 2020, 11:33 PM · Build System, Frameworks
vkrause added a task to D27596: Load QM files from assets: URLs on Android: T12520: Qt 5.14.
Feb 23 2020, 4:27 PM · Build System, Frameworks
vkrause requested review of D27596: Load QM files from assets: URLs on Android.
Feb 23 2020, 12:42 PM · Build System, Frameworks

Feb 15 2020

apol added a comment to D26749: Support NDK r20 and Qt 5.14.

Patch makes sense to me overall, we could consider landing it.

Feb 15 2020, 9:41 PM · Build System, Frameworks

Feb 10 2020

kossebau closed D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.
Feb 10 2020, 11:22 PM · Build System, Frameworks
sitter added a comment to D24641: Collect more information from version control systems.

The WARNING tags should be removed or changed to AUTHOR_WARNING I think. A stray call to one of the functions here isn't really something a user building a tarball, for example, can do anything about, so WARNING seems wrong.

Feb 10 2020, 12:24 PM · Build System, Frameworks

Feb 9 2020

kossebau added a dependent revision for D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category: D27270: Use ecm_qt_install_logging_categories over manual categories files.
Feb 9 2020, 8:13 PM · Build System, Frameworks
kossebau added a dependent revision for D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category: D27269: Use ecm_qt_install_logging_categories over manual categories file.
Feb 9 2020, 8:03 PM · Build System, Frameworks
kossebau updated the diff for D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

Add support for also generating renamecategories files

Feb 9 2020, 8:01 PM · Build System, Frameworks
kossebau added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

Yep you need to create a file name "foo.renamecategories" where you change the categorie name

  1. old module name<space>new module name

    for example "log_mailfilteragent org.kde.pim.mailfilteragent" in kmail

Does kdebugsettings also support multiple renames? Like log1 > log2 > log3?

Perhaps :) I will test it next week

Feb 9 2020, 7:25 PM · Build System, Frameworks
mlaurent added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

Yep you need to create a file name "foo.renamecategories" where you change the categorie name

  1. old module name<space>new module name

    for example "log_mailfilteragent org.kde.pim.mailfilteragent" in kmail

Does kdebugsettings also support multiple renames? Like log1 > log2 > log3?

Feb 9 2020, 5:55 PM · Build System, Frameworks
kossebau added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

Yep you need to create a file name "foo.renamecategories" where you change the categorie name

  1. old module name<space>new module name

    for example "log_mailfilteragent org.kde.pim.mailfilteragent" in kmail
Feb 9 2020, 5:43 PM · Build System, Frameworks
cullmann abandoned D8281: Allow to use IcoTool for Windows icons.
Feb 9 2020, 12:01 PM · Build System, Frameworks
cullmann commandeered D8281: Allow to use IcoTool for Windows icons.

I reviewed the current state and there is now already icotool support in our extra-cmake-modules stuff => closing this.

Feb 9 2020, 12:01 PM · Build System, Frameworks
cullmann added a comment to D24568: Provide clang-format target with a KDE Frameworks style file.

For the lambda issue, I think we can add:

# keep lambda formatting multi-line if not empty
AllowShortLambdasOnASingleLine: Empty

see https://clang.llvm.org/docs/ClangFormatStyleOptions.html

That fixes for me the issue with the collapsed lambda.

For the comments, as said, we can remove

AlignTrailingComments: true

For the generic issue of stuff folded in one line, one can play with the ColumnLimit, but as said, that will still arbitrarily pack stuff as long as it fits the limit.

Kai, could you try the two changes (for lambda and comments) by just temporarily changing that in the .clang-format file locally and rerunning make clang-format?

Feb 9 2020, 11:45 AM · Build System, Frameworks
mlaurent added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

Yep you need to create a file name "foo.renamecategories" where you change the categorie name

  1. old module name<space>new module name
Feb 9 2020, 8:47 AM · Build System, Frameworks

Feb 8 2020

kossebau added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

@mlaurent Wasn't there also something which tells kdebugsettings about renamed categories? Is that documented anywhere? Could that be supported by some additional macro or adaption of the existing/new ones?

Feb 8 2020, 10:49 PM · Build System, Frameworks
kossebau added a comment to D26394: ECMGeneratePriFile: Fix static configurations.

Pushed a8c3ab79912fcb25d7e59a04c08752a9252a5f08 as hotfix for now.

Feb 8 2020, 10:21 PM · Build System, Frameworks
kossebau added inline comments to D26394: ECMGeneratePriFile: Fix static configurations.
Feb 8 2020, 9:55 PM · Build System, Frameworks
lbeltrame updated subscribers of D26394: ECMGeneratePriFile: Fix static configurations.

This breaks stuff in PIM:

Feb 8 2020, 8:38 AM · Build System, Frameworks

Feb 7 2020

kossebau added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

Good. So will land this next Tuesday, Feb 11th then, so other people will have had 7 days of feedback opportunity.

Feb 7 2020, 2:38 PM · Build System, Frameworks
kfunk closed D26394: ECMGeneratePriFile: Fix static configurations.
Feb 7 2020, 11:03 AM · Build System, Frameworks

Feb 6 2020

mlaurent added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

I don't see other case. For me your macro works for all case that we can implement.

Feb 6 2020, 2:56 PM · Build System, Frameworks
kossebau added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

@mlaurent Thanks for review :)
Do you happen to know any more complex usages of ecm_qt_declare_logging_category and/or manual category definitions which can and should be checked for how these new methods would work out?
I have not really researched bigger parts of KDE code for if the currently proposed method calls will be sufficient to cover all use cases. So far it's mainly based on KDevelop, kcoreaddons, kservice & sonnet use-cases.
So far it was mainly: @broulik complained on irc, a day later I accidentally found another approach to the target-based hack we had in kdevelop, changed kdevelop cmake code, then pulled out the core logic and turned into this patch, after trying to port kcoreaddons, kservice & sonnet :)
Thus also hesitating to merge on first positive review, as I am not sure myself yet, still thinking of this as prototype to get feedback on.

Feb 6 2020, 2:40 PM · Build System, Frameworks
mlaurent accepted D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

Seems ok for me :)

Feb 6 2020, 7:17 AM · Build System, Frameworks

Feb 5 2020

kossebau added a dependent revision for D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category: D27178: Use ecm_qt_install_logging_categories over manual categories file.
Feb 5 2020, 9:16 PM · Build System, Frameworks
kossebau updated the diff for D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

in doc also be explicit that ecm_qt_install_logging_categories can be in
another directory, just needs to be called last

Feb 5 2020, 9:16 PM · Build System, Frameworks
vkrause added a comment to D26749: Support NDK r20 and Qt 5.14.

Excellent news! Could you post your Kirigami patch somewhere maybe? Makes this easier to test here :)

Feb 5 2020, 8:18 AM · Build System, Frameworks

Feb 4 2020

pwojcik added a comment to D26245: Set SYSCONFDIR to /etc when CMAKE_INSTALL_SYSCONFDIR is etc relative to /usr.

I want to remind about topic.

Feb 4 2020, 6:15 PM · Build System, Frameworks
flherne added a comment to D26749: Support NDK r20 and Qt 5.14.

I got my Kirigami app to load by patching kirigami.{cpp,h}:

Feb 4 2020, 5:15 PM · Build System, Frameworks
mlaurent added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

Seems ok for me

Feb 4 2020, 6:50 AM · Build System, Frameworks
kossebau added a comment to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.

See D27150 as an example next to the test and docs for how this would be used. The ecm_qt_export_logging_category also is kept similar to ecm_qt_declare_logging_category in case someone wants to turn the manual definition to a generated one, that wil just need addition of HEADER and the sources variable and change of macro name called.

Feb 4 2020, 5:36 AM · Build System, Frameworks
kossebau added a dependent revision for D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category: D27151: Use ecm_qt_install_logging_categories over manual categories file.
Feb 4 2020, 5:31 AM · Build System, Frameworks
kossebau added inline comments to D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.
Feb 4 2020, 5:28 AM · Build System, Frameworks
kossebau requested review of D27150: Add ecm_qt_install_logging_categories & ecm_qt_export_logging_category.
Feb 4 2020, 5:22 AM · Build System, Frameworks

Feb 3 2020

flherne added a comment to D26749: Support NDK r20 and Qt 5.14.

Thanks for this.

Feb 3 2020, 1:14 AM · Build System, Frameworks

Jan 28 2020

tcanabrava closed D26573: Add missing Import Env Variable.
Jan 28 2020, 4:26 PM · Build System, Frameworks
tcanabrava updated the diff for D26573: Add missing Import Env Variable.
  • Fix Variable
Jan 28 2020, 4:26 PM · Build System, Frameworks
apol added a comment to D26573: Add missing Import Env Variable.

I don't really understand why this is needed, I've never needed that at least.

Jan 28 2020, 3:28 PM · Build System, Frameworks
davidedmundson added a comment to D26573: Add missing Import Env Variable.

I'm now affected by this :(

Jan 28 2020, 3:20 PM · Build System, Frameworks

Jan 26 2020

mgallien abandoned D21381: use org.freedesktop.appstream-glib package to validate appstream data.
Jan 26 2020, 8:59 PM · Build System, Frameworks
patrickelectric closed D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.
Jan 26 2020, 12:54 PM · Build System, Frameworks

Jan 20 2020

mart accepted D26573: Add missing Import Env Variable.
Jan 20 2020, 3:57 PM · Build System, Frameworks
patrickelectric added a comment to D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.

@apol I did update the commit body to explain why.
For the text I used https://regex101.com with the icon in the commit body and printing the variables of CMAKE_MATCH_1 and CMAKE_MATCH_2
Let me know if you agree with this to land the patch, this is necessary to continue D26752

Jan 20 2020, 12:09 PM · Build System, Frameworks
patrickelectric updated the diff for D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.

Add commit body

Jan 20 2020, 12:03 PM · Build System, Frameworks
patrickelectric added a comment to D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

Hi @cgiboudeaux, thanks for the explanation, I'll take a look and get back here.

Jan 20 2020, 10:46 AM · Build System, Frameworks
krop added a comment to D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

Hi @cgiboudeaux and @bcooksley, there is a reason of why this patch is valid. Have you read the commit message ?

In Kirogi we provide a valid icon (svg) with a valid prefix (sc), as you probably know *sc* stands for for scalable (SVG) files.

Jan 20 2020, 9:03 AM · Build System, Frameworks
vkrause added inline comments to D26749: Support NDK r20 and Qt 5.14.
Jan 20 2020, 8:45 AM · Build System, Frameworks

Jan 19 2020

apol accepted D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.

Looks good to me, bonus points if you provide a better commit message explaining what it does and how you tested it.

Jan 19 2020, 11:25 PM · Build System, Frameworks
apol added inline comments to D26749: Support NDK r20 and Qt 5.14.
Jan 19 2020, 11:21 PM · Build System, Frameworks
patrickelectric added a comment to D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

Hi @cgiboudeaux and @bcooksley, there is a reason of why this patch is valid. Have you read the commit message ?

Jan 19 2020, 10:57 PM · Build System, Frameworks
bcooksley requested changes to D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

Christophe is correct here, it is worth warning developers about these issues regardless of the platform, so they can get the code ready for those platforms and test everything in their local environment as much as possible.
I know for certain that there are developers who rely on our CI system and the Binary Factory to test and validate their applications (because they themselves do not have access to a development environment on those platforms).

Jan 19 2020, 6:51 PM · Build System, Frameworks
krop added a comment to D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.
Jan 19 2020, 5:23 PM · Build System, Frameworks
tcanabrava updated subscribers of D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

I think we are misunderstanding eachother here.
If I'm developing the software and running cmake all the time, having a
warning that I can't fix (because it depends in another platform) is noise,
but still being a developer I don't want to run with -Wno-dev.
I do work in applications that targets more than one system (and they are
mac / windows / ios / android) I tend to use buildhosts, and those
buildhosts will tell me the warning - if any. But only if I'm targeting
them.

Jan 19 2020, 4:20 PM · Build System, Frameworks
krop added a comment to D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

That’s not a developer issue, it’s a packaging issue.

Jan 19 2020, 1:12 PM · Build System, Frameworks
tcanabrava added a comment to D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

That’s not a developer issue, it’s a packaging issue.

Jan 19 2020, 12:03 PM · Build System, Frameworks
krop added a comment to D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

You may use Linux to develop software that's intended to be used also on Mac and Windows. You can't expect developers to have build environment for every platform

Jan 19 2020, 12:01 PM · Build System, Frameworks
tcanabrava updated subscribers of D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

But why would I get the warning if I build on Linux? The warning should
target the platform, not the entire build system.

Jan 19 2020, 11:55 AM · Build System, Frameworks
krop requested changes to D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.

I object. This warning is for developers. It tells them the icons are missing for some platforms.

Jan 19 2020, 10:00 AM · Build System, Frameworks

Jan 18 2020

patrickelectric retitled D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build from ECMAddAppIcon: Do not warn about mac icons if isnt a mac build to ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.
Jan 18 2020, 2:08 PM · Build System, Frameworks
tcanabrava accepted D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.
Jan 18 2020, 2:06 PM · Build System, Frameworks
patrickelectric added reviewers for D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build: apol, tcanabrava.
Jan 18 2020, 2:04 PM · Build System, Frameworks
patrickelectric requested review of D26752: ECMAddAppIcon: Do not warn about mac and window icons if isnt a OS specific build.
Jan 18 2020, 2:03 PM · Build System, Frameworks
patrickelectric added a reviewer for D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names: apol.
Jan 18 2020, 1:50 PM · Build System, Frameworks
tcanabrava accepted D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.
Jan 18 2020, 1:49 PM · Build System, Frameworks
patrickelectric added a comment to D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.

From ECMInstallIcons:

Jan 18 2020, 1:46 PM · Build System, Frameworks
patrickelectric requested review of D26751: ECMAddAppIcon: Add sc in regex to extract extension from valid names.
Jan 18 2020, 1:44 PM · Build System, Frameworks
vkrause added a task to D26749: Support NDK r20 and Qt 5.14: T12520: Qt 5.14.
Jan 18 2020, 11:43 AM · Build System, Frameworks
vkrause updated the test plan for D26749: Support NDK r20 and Qt 5.14.
Jan 18 2020, 11:43 AM · Build System, Frameworks
vkrause requested review of D26749: Support NDK r20 and Qt 5.14.
Jan 18 2020, 11:41 AM · Build System, Frameworks

Jan 10 2020

tcanabrava requested review of D26573: Add missing Import Env Variable.
Jan 10 2020, 9:35 PM · Build System, Frameworks

Jan 4 2020

cullmann added a comment to D24568: Provide clang-format target with a KDE Frameworks style file.

Ping? Any update if somebody tried the proposed changes?

Jan 4 2020, 4:52 PM · Build System, Frameworks
nicolasfella closed D26402: [android] Fix apk install target.
Jan 4 2020, 12:14 AM · Build System, Frameworks