Re: Review Request 118192: Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties

2014-05-28 Thread Alex Merry

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

(Updated May 28, 2014, 12:54 p.m.)


Review request for KDE Frameworks and Alex Merry.


Changes
---

Fix typos, add comment.


Summary (updated)
-

Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties


Repository: kdesignerplugin


Description
---

Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties

INSTALL_RPATH_USE_LINK_PATH already defaults to TRUE, and INSTALL_RPATH
already has a sensible default, because of the KDECMakeSettings module
from ECM.

This also adds a comment explaining why the other RPath properties are
set.

Replace the installed macros

The existing macro (kf5designerplugin_add_widget_files) did not work (it
tried to iterate of the name of the sources variable instead of
${ARGN}), and the API didn't really make sense anyway (you cannot
combine multiple plugin instance classes into a single plugin library,
so accepting multiple .widgets files does not make sense).

kf5designerplugin_add_widget_files is therefore replaced with
kf5designerplugin_generate_plugin (which does the same, but for a single
widget file), and we also have kf5designerplugin_add_plugin, which
replaces the usual add_library call, and automagically deals with
.widgets files and .qrc files it is passed.

The two designer plugins provided by KDesignerPlugin are then generated
using kf5designerplugin_add_plugin, so we can be sure it actually works.


Diffs (updated)
-

  src/CMakeLists.txt 2e7b9f0aa3a2ba5adc388961919a635b8ec6a2c2 
  KF5DesignerPluginMacros.cmake 43fde97f0e07a9d00d79f92bee1888bf8fcbf70c 
  CMakeLists.txt c90208bc13a13b6dc8824c86ee102c5b42369331 

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


Testing
---

Builds, installs, plugins seem to work in designer. I'm planning to write some 
autotests as well.


Thanks,

Alex Merry

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


Re: Review Request 118192: Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties

2014-05-28 Thread Alex Merry


 On May 28, 2014, 12:41 p.m., Aurélien Gâteau wrote:
  KF5DesignerPluginMacros.cmake, line 83
  https://git.reviewboard.kde.org/r/118192/diff/2/?file=273487#file273487line83
 
  Can kf5designerplugin_add_plugin be turned into a function?

No, because of the find_package() call. I've noted this in a comment now (as I 
had intended to do originally, but forgot about).


- Alex


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


On May 28, 2014, 12:54 p.m., Alex Merry wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/118192/
 ---
 
 (Updated May 28, 2014, 12:54 p.m.)
 
 
 Review request for KDE Frameworks and Alex Merry.
 
 
 Repository: kdesignerplugin
 
 
 Description
 ---
 
 Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties
 
 INSTALL_RPATH_USE_LINK_PATH already defaults to TRUE, and INSTALL_RPATH
 already has a sensible default, because of the KDECMakeSettings module
 from ECM.
 
 This also adds a comment explaining why the other RPath properties are
 set.
 
 Replace the installed macros
 
 The existing macro (kf5designerplugin_add_widget_files) did not work (it
 tried to iterate of the name of the sources variable instead of
 ${ARGN}), and the API didn't really make sense anyway (you cannot
 combine multiple plugin instance classes into a single plugin library,
 so accepting multiple .widgets files does not make sense).
 
 kf5designerplugin_add_widget_files is therefore replaced with
 kf5designerplugin_generate_plugin (which does the same, but for a single
 widget file), and we also have kf5designerplugin_add_plugin, which
 replaces the usual add_library call, and automagically deals with
 .widgets files and .qrc files it is passed.
 
 The two designer plugins provided by KDesignerPlugin are then generated
 using kf5designerplugin_add_plugin, so we can be sure it actually works.
 
 
 Diffs
 -
 
   src/CMakeLists.txt 2e7b9f0aa3a2ba5adc388961919a635b8ec6a2c2 
   KF5DesignerPluginMacros.cmake 43fde97f0e07a9d00d79f92bee1888bf8fcbf70c 
   CMakeLists.txt c90208bc13a13b6dc8824c86ee102c5b42369331 
 
 Diff: https://git.reviewboard.kde.org/r/118192/diff/
 
 
 Testing
 ---
 
 Builds, installs, plugins seem to work in designer. I'm planning to write 
 some autotests as well.
 
 
 Thanks,
 
 Alex Merry
 


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


Re: Review Request 118192: Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties

2014-05-28 Thread Aurélien Gâteau

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

Ship it!


Ship It!

- Aurélien Gâteau


On May 28, 2014, 2:54 p.m., Alex Merry wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/118192/
 ---
 
 (Updated May 28, 2014, 2:54 p.m.)
 
 
 Review request for KDE Frameworks and Alex Merry.
 
 
 Repository: kdesignerplugin
 
 
 Description
 ---
 
 Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties
 
 INSTALL_RPATH_USE_LINK_PATH already defaults to TRUE, and INSTALL_RPATH
 already has a sensible default, because of the KDECMakeSettings module
 from ECM.
 
 This also adds a comment explaining why the other RPath properties are
 set.
 
 Replace the installed macros
 
 The existing macro (kf5designerplugin_add_widget_files) did not work (it
 tried to iterate of the name of the sources variable instead of
 ${ARGN}), and the API didn't really make sense anyway (you cannot
 combine multiple plugin instance classes into a single plugin library,
 so accepting multiple .widgets files does not make sense).
 
 kf5designerplugin_add_widget_files is therefore replaced with
 kf5designerplugin_generate_plugin (which does the same, but for a single
 widget file), and we also have kf5designerplugin_add_plugin, which
 replaces the usual add_library call, and automagically deals with
 .widgets files and .qrc files it is passed.
 
 The two designer plugins provided by KDesignerPlugin are then generated
 using kf5designerplugin_add_plugin, so we can be sure it actually works.
 
 
 Diffs
 -
 
   src/CMakeLists.txt 2e7b9f0aa3a2ba5adc388961919a635b8ec6a2c2 
   KF5DesignerPluginMacros.cmake 43fde97f0e07a9d00d79f92bee1888bf8fcbf70c 
   CMakeLists.txt c90208bc13a13b6dc8824c86ee102c5b42369331 
 
 Diff: https://git.reviewboard.kde.org/r/118192/diff/
 
 
 Testing
 ---
 
 Builds, installs, plugins seem to work in designer. I'm planning to write 
 some autotests as well.
 
 
 Thanks,
 
 Alex Merry
 


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


Re: Review Request 118192: Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties

2014-05-28 Thread Alex Merry

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

(Updated May 28, 2014, 1:30 p.m.)


Status
--

This change has been marked as submitted.


Review request for KDE Frameworks and Alex Merry.


Repository: kdesignerplugin


Description
---

Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties

INSTALL_RPATH_USE_LINK_PATH already defaults to TRUE, and INSTALL_RPATH
already has a sensible default, because of the KDECMakeSettings module
from ECM.

This also adds a comment explaining why the other RPath properties are
set.

Replace the installed macros

The existing macro (kf5designerplugin_add_widget_files) did not work (it
tried to iterate of the name of the sources variable instead of
${ARGN}), and the API didn't really make sense anyway (you cannot
combine multiple plugin instance classes into a single plugin library,
so accepting multiple .widgets files does not make sense).

kf5designerplugin_add_widget_files is therefore replaced with
kf5designerplugin_generate_plugin (which does the same, but for a single
widget file), and we also have kf5designerplugin_add_plugin, which
replaces the usual add_library call, and automagically deals with
.widgets files and .qrc files it is passed.

The two designer plugins provided by KDesignerPlugin are then generated
using kf5designerplugin_add_plugin, so we can be sure it actually works.


Diffs
-

  src/CMakeLists.txt 2e7b9f0aa3a2ba5adc388961919a635b8ec6a2c2 
  KF5DesignerPluginMacros.cmake 43fde97f0e07a9d00d79f92bee1888bf8fcbf70c 
  CMakeLists.txt c90208bc13a13b6dc8824c86ee102c5b42369331 

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


Testing
---

Builds, installs, plugins seem to work in designer. I'm planning to write some 
autotests as well.


Thanks,

Alex Merry

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


Re: Review Request 118192: Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties

2014-05-28 Thread Commit Hook

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


This review has been submitted with commit 
6579620b1b62e216fd5c6725a549c53b73da3be0 by Alex Merry to branch master.

- Commit Hook


On May 28, 2014, 12:54 p.m., Alex Merry wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/118192/
 ---
 
 (Updated May 28, 2014, 12:54 p.m.)
 
 
 Review request for KDE Frameworks and Alex Merry.
 
 
 Repository: kdesignerplugin
 
 
 Description
 ---
 
 Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties
 
 INSTALL_RPATH_USE_LINK_PATH already defaults to TRUE, and INSTALL_RPATH
 already has a sensible default, because of the KDECMakeSettings module
 from ECM.
 
 This also adds a comment explaining why the other RPath properties are
 set.
 
 Replace the installed macros
 
 The existing macro (kf5designerplugin_add_widget_files) did not work (it
 tried to iterate of the name of the sources variable instead of
 ${ARGN}), and the API didn't really make sense anyway (you cannot
 combine multiple plugin instance classes into a single plugin library,
 so accepting multiple .widgets files does not make sense).
 
 kf5designerplugin_add_widget_files is therefore replaced with
 kf5designerplugin_generate_plugin (which does the same, but for a single
 widget file), and we also have kf5designerplugin_add_plugin, which
 replaces the usual add_library call, and automagically deals with
 .widgets files and .qrc files it is passed.
 
 The two designer plugins provided by KDesignerPlugin are then generated
 using kf5designerplugin_add_plugin, so we can be sure it actually works.
 
 
 Diffs
 -
 
   src/CMakeLists.txt 2e7b9f0aa3a2ba5adc388961919a635b8ec6a2c2 
   KF5DesignerPluginMacros.cmake 43fde97f0e07a9d00d79f92bee1888bf8fcbf70c 
   CMakeLists.txt c90208bc13a13b6dc8824c86ee102c5b42369331 
 
 Diff: https://git.reviewboard.kde.org/r/118192/diff/
 
 
 Testing
 ---
 
 Builds, installs, plugins seem to work in designer. I'm planning to write 
 some autotests as well.
 
 
 Thanks,
 
 Alex Merry
 


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


Re: Review Request 118192: Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties

2014-05-28 Thread Commit Hook

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


This review has been submitted with commit 
6feaf86e6e98c93b498fdbe2cbee022c745a8682 by Alex Merry to branch master.

- Commit Hook


On May 28, 2014, 12:54 p.m., Alex Merry wrote:
 
 ---
 This is an automatically generated e-mail. To reply, visit:
 https://git.reviewboard.kde.org/r/118192/
 ---
 
 (Updated May 28, 2014, 12:54 p.m.)
 
 
 Review request for KDE Frameworks and Alex Merry.
 
 
 Repository: kdesignerplugin
 
 
 Description
 ---
 
 Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties
 
 INSTALL_RPATH_USE_LINK_PATH already defaults to TRUE, and INSTALL_RPATH
 already has a sensible default, because of the KDECMakeSettings module
 from ECM.
 
 This also adds a comment explaining why the other RPath properties are
 set.
 
 Replace the installed macros
 
 The existing macro (kf5designerplugin_add_widget_files) did not work (it
 tried to iterate of the name of the sources variable instead of
 ${ARGN}), and the API didn't really make sense anyway (you cannot
 combine multiple plugin instance classes into a single plugin library,
 so accepting multiple .widgets files does not make sense).
 
 kf5designerplugin_add_widget_files is therefore replaced with
 kf5designerplugin_generate_plugin (which does the same, but for a single
 widget file), and we also have kf5designerplugin_add_plugin, which
 replaces the usual add_library call, and automagically deals with
 .widgets files and .qrc files it is passed.
 
 The two designer plugins provided by KDesignerPlugin are then generated
 using kf5designerplugin_add_plugin, so we can be sure it actually works.
 
 
 Diffs
 -
 
   src/CMakeLists.txt 2e7b9f0aa3a2ba5adc388961919a635b8ec6a2c2 
   KF5DesignerPluginMacros.cmake 43fde97f0e07a9d00d79f92bee1888bf8fcbf70c 
   CMakeLists.txt c90208bc13a13b6dc8824c86ee102c5b42369331 
 
 Diff: https://git.reviewboard.kde.org/r/118192/diff/
 
 
 Testing
 ---
 
 Builds, installs, plugins seem to work in designer. I'm planning to write 
 some autotests as well.
 
 
 Thanks,
 
 Alex Merry
 


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


Re: Review Request 118192: Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties

2014-05-19 Thread Alex Merry

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

(Updated May 19, 2014, 5:06 p.m.)


Review request for KDE Frameworks and Alex Merry.


Changes
---

The generated plugins cannot be built without Qt5Designer's include directories 
being set, so deal with that in the kf5designerplugin_add_plugin macro. 
kf5designerplugin_generate_plugin now secretly takes a TARGET argument, 
allowing those same include directories to be used when generating the moc part.


Summary (updated)
-

Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties


Repository: kdesignerplugin


Description
---

Do not set the INSTALL_RPATH_USE_LINK_PATH and INSTALL_RPATH properties

INSTALL_RPATH_USE_LINK_PATH already defaults to TRUE, and INSTALL_RPATH
already has a sensible default, because of the KDECMakeSettings module
from ECM.

This also adds a comment explaining why the other RPath properties are
set.

Replace the installed macros

The existing macro (kf5designerplugin_add_widget_files) did not work (it
tried to iterate of the name of the sources variable instead of
${ARGN}), and the API didn't really make sense anyway (you cannot
combine multiple plugin instance classes into a single plugin library,
so accepting multiple .widgets files does not make sense).

kf5designerplugin_add_widget_files is therefore replaced with
kf5designerplugin_generate_plugin (which does the same, but for a single
widget file), and we also have kf5designerplugin_add_plugin, which
replaces the usual add_library call, and automagically deals with
.widgets files and .qrc files it is passed.

The two designer plugins provided by KDesignerPlugin are then generated
using kf5designerplugin_add_plugin, so we can be sure it actually works.


Diffs (updated)
-

  CMakeLists.txt c90208bc13a13b6dc8824c86ee102c5b42369331 
  KF5DesignerPluginMacros.cmake 43fde97f0e07a9d00d79f92bee1888bf8fcbf70c 
  src/CMakeLists.txt 2e7b9f0aa3a2ba5adc388961919a635b8ec6a2c2 

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


Testing
---

Builds, installs, plugins seem to work in designer. I'm planning to write some 
autotests as well.


Thanks,

Alex Merry

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