Re: Review Request 124104: Make it possible to use kconfig_compiler from different sources

2015-06-24 Thread Aleix Pol Gonzalez


 On June 24, 2015, 9:17 p.m., Alex Merry wrote:
  src/kconfig_compiler/CMakeLists.txt, line 13
  https://git.reviewboard.kde.org/r/124104/diff/2/?file=380381#file380381line13
 
  A bit late to the party, sorry, but this would be better as 
  message(WARNING ...).

You're right. I'll add it anyway. Thanks!


- Aleix


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124104/#review81729
---


On June 21, 2015, 2:16 a.m., Aleix Pol Gonzalez wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/124104/
 ---
 
 (Updated June 21, 2015, 2:16 a.m.)
 
 
 Review request for Build System, KDE Frameworks, Matthew Dawson, and Harald 
 Sitter.
 
 
 Repository: kconfig
 
 
 Description
 ---
 
 Separates the tooling that is supposed to be used at run-time so that we can 
 specify which to use explicitly.
 
 Ideally this would be done automagically, for now we'll have to specify 
 -DKF5ConfigCompiler_DIR=...
 
 Additionally, we should make kconfig_compiler co-installable by putting it in 
 libexec, but I'd prefer to do that in a future patch. This same process 
 should also happen on other frameworks.
 
 
 Diffs
 -
 
   CMakeLists.txt f510e3e 
   KF5ConfigConfig.cmake.in b4e5f56 
   src/kconfig_compiler/CMakeLists.txt ec4a733 
 
 Diff: https://git.reviewboard.kde.org/r/124104/diff/
 
 
 Testing
 ---
 
 Works as expected on my debian chroot environment.
 
 
 Thanks,
 
 Aleix Pol Gonzalez
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 124104: Make it possible to use kconfig_compiler from different sources

2015-06-24 Thread Alex Merry

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124104/#review81729
---



src/kconfig_compiler/CMakeLists.txt (line 13)
https://git.reviewboard.kde.org/r/124104/#comment56047

A bit late to the party, sorry, but this would be better as message(WARNING 
...).


- Alex Merry


On June 21, 2015, 12:16 a.m., Aleix Pol Gonzalez wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/124104/
 ---
 
 (Updated June 21, 2015, 12:16 a.m.)
 
 
 Review request for Build System, KDE Frameworks, Matthew Dawson, and Harald 
 Sitter.
 
 
 Repository: kconfig
 
 
 Description
 ---
 
 Separates the tooling that is supposed to be used at run-time so that we can 
 specify which to use explicitly.
 
 Ideally this would be done automagically, for now we'll have to specify 
 -DKF5ConfigCompiler_DIR=...
 
 Additionally, we should make kconfig_compiler co-installable by putting it in 
 libexec, but I'd prefer to do that in a future patch. This same process 
 should also happen on other frameworks.
 
 
 Diffs
 -
 
   CMakeLists.txt f510e3e 
   KF5ConfigConfig.cmake.in b4e5f56 
   src/kconfig_compiler/CMakeLists.txt ec4a733 
 
 Diff: https://git.reviewboard.kde.org/r/124104/diff/
 
 
 Testing
 ---
 
 Works as expected on my debian chroot environment.
 
 
 Thanks,
 
 Aleix Pol Gonzalez
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 124104: Make it possible to use kconfig_compiler from different sources

2015-06-20 Thread Aleix Pol Gonzalez

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124104/
---

(Updated June 21, 2015, 12:16 a.m.)


Status
--

This change has been marked as submitted.


Review request for Build System, KDE Frameworks, Matthew Dawson, and Harald 
Sitter.


Changes
---

Submitted with commit 173b33592739f9a671f34eb816499ef32fe65c06 by Aleix Pol to 
branch master.


Repository: kconfig


Description
---

Separates the tooling that is supposed to be used at run-time so that we can 
specify which to use explicitly.

Ideally this would be done automagically, for now we'll have to specify 
-DKF5ConfigCompiler_DIR=...

Additionally, we should make kconfig_compiler co-installable by putting it in 
libexec, but I'd prefer to do that in a future patch. This same process should 
also happen on other frameworks.


Diffs
-

  CMakeLists.txt f510e3e 
  KF5ConfigConfig.cmake.in b4e5f56 
  src/kconfig_compiler/CMakeLists.txt ec4a733 

Diff: https://git.reviewboard.kde.org/r/124104/diff/


Testing
---

Works as expected on my debian chroot environment.


Thanks,

Aleix Pol Gonzalez

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 124104: Make it possible to use kconfig_compiler from different sources

2015-06-17 Thread Sebastian Kügler

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124104/#review81550
---


From a cross-compile POV, this makes sense. I can't comment on the CMake foo, 
however.

- Sebastian Kügler


On June 18, 2015, 1:19 a.m., Aleix Pol Gonzalez wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/124104/
 ---
 
 (Updated June 18, 2015, 1:19 a.m.)
 
 
 Review request for Build System, KDE Frameworks, Matthew Dawson, and Harald 
 Sitter.
 
 
 Repository: kconfig
 
 
 Description
 ---
 
 Separates the tooling that is supposed to be used at run-time so that we can 
 specify which to use explicitly.
 
 Ideally this would be done automagically, for now we'll have to specify 
 -DKF5ConfigCompiler_DIR=...
 
 Additionally, we should make kconfig_compiler co-installable by putting it in 
 libexec, but I'd prefer to do that in a future patch. This same process 
 should also happen on other frameworks.
 
 
 Diffs
 -
 
   CMakeLists.txt f510e3e 
   KF5ConfigConfig.cmake.in b4e5f56 
   src/kconfig_compiler/CMakeLists.txt ec4a733 
 
 Diff: https://git.reviewboard.kde.org/r/124104/diff/
 
 
 Testing
 ---
 
 Works as expected on my debian chroot environment.
 
 
 Thanks,
 
 Aleix Pol Gonzalez
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 124104: Make it possible to use kconfig_compiler from different sources

2015-06-17 Thread Matthew Dawson


 On June 15, 2015, 11:12 p.m., Matthew Dawson wrote:
  src/kconfig_compiler/CMakeLists.txt, line 16
  https://git.reviewboard.kde.org/r/124104/diff/1/?file=380232#file380232line16
 
  Does this mean a cross-compiled KConfig won't be built right for 
  development on the target?  If this happens regardless, is the cross 
  compiling still possible?
  
  My CMake foo is weak, so if no one knows an alternative, I'm fine.  I'd 
  just prefer KConfig to work on the target for development too.
 
 Aleix Pol Gonzalez wrote:
 Well, the idea is that if you're cross-compiling, the generated 
 executable won't work on the host architecture, by definition.
 
 In case it's needed, we could import an actual 
 KF5ConfigCompilerConfig.cmake from the host architecture. In this case it 
 doesn't really make sense though.

What I meant is that a cross-compilied KConfig would be built in such a way 
that transporting it to its native environment would allow it to be used as a 
complete development environment (assuming all the development related files 
were copied).  With this change, that doesn't work anymore.

It's a corner case, and if it breaks this otherwise fine RR, I'm not worried.  
But it would be nice to have.


- Matthew


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124104/#review81501
---


On June 17, 2015, 9:19 p.m., Aleix Pol Gonzalez wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/124104/
 ---
 
 (Updated June 17, 2015, 9:19 p.m.)
 
 
 Review request for Build System, KDE Frameworks, Matthew Dawson, and Harald 
 Sitter.
 
 
 Repository: kconfig
 
 
 Description
 ---
 
 Separates the tooling that is supposed to be used at run-time so that we can 
 specify which to use explicitly.
 
 Ideally this would be done automagically, for now we'll have to specify 
 -DKF5ConfigCompiler_DIR=...
 
 Additionally, we should make kconfig_compiler co-installable by putting it in 
 libexec, but I'd prefer to do that in a future patch. This same process 
 should also happen on other frameworks.
 
 
 Diffs
 -
 
   CMakeLists.txt f510e3e 
   KF5ConfigConfig.cmake.in b4e5f56 
   src/kconfig_compiler/CMakeLists.txt ec4a733 
 
 Diff: https://git.reviewboard.kde.org/r/124104/diff/
 
 
 Testing
 ---
 
 Works as expected on my debian chroot environment.
 
 
 Thanks,
 
 Aleix Pol Gonzalez
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 124104: Make it possible to use kconfig_compiler from different sources

2015-06-17 Thread Harald Sitter

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124104/#review81545
---

Ship it!


Ship It!

- Harald Sitter


On June 18, 2015, 1:19 a.m., Aleix Pol Gonzalez wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/124104/
 ---
 
 (Updated June 18, 2015, 1:19 a.m.)
 
 
 Review request for Build System, KDE Frameworks, Matthew Dawson, and Harald 
 Sitter.
 
 
 Repository: kconfig
 
 
 Description
 ---
 
 Separates the tooling that is supposed to be used at run-time so that we can 
 specify which to use explicitly.
 
 Ideally this would be done automagically, for now we'll have to specify 
 -DKF5ConfigCompiler_DIR=...
 
 Additionally, we should make kconfig_compiler co-installable by putting it in 
 libexec, but I'd prefer to do that in a future patch. This same process 
 should also happen on other frameworks.
 
 
 Diffs
 -
 
   CMakeLists.txt f510e3e 
   KF5ConfigConfig.cmake.in b4e5f56 
   src/kconfig_compiler/CMakeLists.txt ec4a733 
 
 Diff: https://git.reviewboard.kde.org/r/124104/diff/
 
 
 Testing
 ---
 
 Works as expected on my debian chroot environment.
 
 
 Thanks,
 
 Aleix Pol Gonzalez
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 124104: Make it possible to use kconfig_compiler from different sources

2015-06-17 Thread Aleix Pol Gonzalez

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124104/
---

(Updated June 18, 2015, 3:19 a.m.)


Review request for Build System, KDE Frameworks, Matthew Dawson, and Harald 
Sitter.


Changes
---

Simplify the approach, this way we can just specify KF5_HOST_TOOLING once, as a 
list.


Repository: kconfig


Description
---

Separates the tooling that is supposed to be used at run-time so that we can 
specify which to use explicitly.

Ideally this would be done automagically, for now we'll have to specify 
-DKF5ConfigCompiler_DIR=...

Additionally, we should make kconfig_compiler co-installable by putting it in 
libexec, but I'd prefer to do that in a future patch. This same process should 
also happen on other frameworks.


Diffs (updated)
-

  CMakeLists.txt f510e3e 
  KF5ConfigConfig.cmake.in b4e5f56 
  src/kconfig_compiler/CMakeLists.txt ec4a733 

Diff: https://git.reviewboard.kde.org/r/124104/diff/


Testing
---

Works as expected on my debian chroot environment.


Thanks,

Aleix Pol Gonzalez

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 124104: Make it possible to use kconfig_compiler from different sources

2015-06-15 Thread Matthew Dawson

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124104/#review81501
---


+1 on the idea from me.  I don't know CMake well, so I'd prefer to have a CMake 
guru +1 this RR.  I do have a note below, but it isn't a blocker.


src/kconfig_compiler/CMakeLists.txt (line 16)
https://git.reviewboard.kde.org/r/124104/#comment55869

Does this mean a cross-compiled KConfig won't be built right for 
development on the target?  If this happens regardless, is the cross compiling 
still possible?

My CMake foo is weak, so if no one knows an alternative, I'm fine.  I'd 
just prefer KConfig to work on the target for development too.


- Matthew Dawson


On June 15, 2015, 1:59 p.m., Aleix Pol Gonzalez wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/124104/
 ---
 
 (Updated June 15, 2015, 1:59 p.m.)
 
 
 Review request for Build System, KDE Frameworks, Matthew Dawson, and Harald 
 Sitter.
 
 
 Repository: kconfig
 
 
 Description
 ---
 
 Separates the tooling that is supposed to be used at run-time so that we can 
 specify which to use explicitly.
 
 Ideally this would be done automagically, for now we'll have to specify 
 -DKF5ConfigCompiler_DIR=...
 
 Additionally, we should make kconfig_compiler co-installable by putting it in 
 libexec, but I'd prefer to do that in a future patch. This same process 
 should also happen on other frameworks.
 
 
 Diffs
 -
 
   CMakeLists.txt f510e3e 
   KF5ConfigConfig.cmake.in b4e5f56 
   src/kconfig_compiler/CMakeLists.txt ec4a733 
 
 Diff: https://git.reviewboard.kde.org/r/124104/diff/
 
 
 Testing
 ---
 
 Works as expected on my debian chroot environment.
 
 
 Thanks,
 
 Aleix Pol Gonzalez
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 124104: Make it possible to use kconfig_compiler from different sources

2015-06-15 Thread Aleix Pol Gonzalez


 On June 16, 2015, 5:12 a.m., Matthew Dawson wrote:
  src/kconfig_compiler/CMakeLists.txt, line 16
  https://git.reviewboard.kde.org/r/124104/diff/1/?file=380232#file380232line16
 
  Does this mean a cross-compiled KConfig won't be built right for 
  development on the target?  If this happens regardless, is the cross 
  compiling still possible?
  
  My CMake foo is weak, so if no one knows an alternative, I'm fine.  I'd 
  just prefer KConfig to work on the target for development too.

Well, the idea is that if you're cross-compiling, the generated executable 
won't work on the host architecture, by definition.

In case it's needed, we could import an actual KF5ConfigCompilerConfig.cmake 
from the host architecture. In this case it doesn't really make sense though.


- Aleix


---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124104/#review81501
---


On June 15, 2015, 7:59 p.m., Aleix Pol Gonzalez wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/124104/
 ---
 
 (Updated June 15, 2015, 7:59 p.m.)
 
 
 Review request for Build System, KDE Frameworks, Matthew Dawson, and Harald 
 Sitter.
 
 
 Repository: kconfig
 
 
 Description
 ---
 
 Separates the tooling that is supposed to be used at run-time so that we can 
 specify which to use explicitly.
 
 Ideally this would be done automagically, for now we'll have to specify 
 -DKF5ConfigCompiler_DIR=...
 
 Additionally, we should make kconfig_compiler co-installable by putting it in 
 libexec, but I'd prefer to do that in a future patch. This same process 
 should also happen on other frameworks.
 
 
 Diffs
 -
 
   CMakeLists.txt f510e3e 
   KF5ConfigConfig.cmake.in b4e5f56 
   src/kconfig_compiler/CMakeLists.txt ec4a733 
 
 Diff: https://git.reviewboard.kde.org/r/124104/diff/
 
 
 Testing
 ---
 
 Works as expected on my debian chroot environment.
 
 
 Thanks,
 
 Aleix Pol Gonzalez
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Re: Review Request 124104: Make it possible to use kconfig_compiler from different sources

2015-06-15 Thread David Edmundson

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124104/#review81500
---


+1

- David Edmundson


On June 15, 2015, 5:59 p.m., Aleix Pol Gonzalez wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/124104/
 ---
 
 (Updated June 15, 2015, 5:59 p.m.)
 
 
 Review request for Build System, KDE Frameworks, Matthew Dawson, and Harald 
 Sitter.
 
 
 Repository: kconfig
 
 
 Description
 ---
 
 Separates the tooling that is supposed to be used at run-time so that we can 
 specify which to use explicitly.
 
 Ideally this would be done automagically, for now we'll have to specify 
 -DKF5ConfigCompiler_DIR=...
 
 Additionally, we should make kconfig_compiler co-installable by putting it in 
 libexec, but I'd prefer to do that in a future patch. This same process 
 should also happen on other frameworks.
 
 
 Diffs
 -
 
   CMakeLists.txt f510e3e 
   KF5ConfigConfig.cmake.in b4e5f56 
   src/kconfig_compiler/CMakeLists.txt ec4a733 
 
 Diff: https://git.reviewboard.kde.org/r/124104/diff/
 
 
 Testing
 ---
 
 Works as expected on my debian chroot environment.
 
 
 Thanks,
 
 Aleix Pol Gonzalez
 


___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


Review Request 124104: Make it possible to use kconfig_compiler from different sources

2015-06-15 Thread Aleix Pol Gonzalez

---
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124104/
---

Review request for Build System, KDE Frameworks, Matthew Dawson, and Harald 
Sitter.


Repository: kconfig


Description
---

Separates the tooling that is supposed to be used at run-time so that we can 
specify which to use explicitly.

Ideally this would be done automagically, for now we'll have to specify 
-DKF5ConfigCompiler_DIR=...

Additionally, we should make kconfig_compiler co-installable by putting it in 
libexec, but I'd prefer to do that in a future patch. This same process should 
also happen on other frameworks.


Diffs
-

  CMakeLists.txt f510e3e 
  KF5ConfigConfig.cmake.in b4e5f56 
  src/kconfig_compiler/CMakeLists.txt ec4a733 

Diff: https://git.reviewboard.kde.org/r/124104/diff/


Testing
---

Works as expected on my debian chroot environment.


Thanks,

Aleix Pol Gonzalez

___
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel