Skip to contentSkip to conversation

qt5webchannel: remove QT5WEBCHANNEL_INSTALL_TARGET_EXAMPLES

PATCH New Matt Kraai 2 participants 4 messages Nov 1, 2016

lore
Share & tools
lore

Matt Kraai

author
#0 lore raw

PATCH 1/2 qt5webchannel: remove QT5WEBCHANNEL_INSTALL_TARGET_EXAMPLES

---
 package/qt5/qt5webchannel/qt5webchannel.mk | 6 ------
 1 file changed, 6 deletions(-)
package/qt5/qt5webchannel/qt5webchannel.mk +0 -6
index 9e94914..316b8e0 100644
@@ -46,12 +46,6 @@ define QT5WEBCHANNEL_INSTALL_TARGET_QMLS
 endef
 endif
 
-ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
-define QT5WEBCHANNEL_INSTALL_TARGET_EXAMPLES
-	cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/webchannel $(TARGET_DIR)/usr/lib/qt/examples/
-endef
-endif
-
 ifneq ($(BR2_STATIC_LIBS),y)
 define QT5WEBCHANNEL_INSTALL_TARGET_LIBS
 	cp -dpf $(STAGING_DIR)/usr/lib/libQt5WebChannel.so.* $(TARGET_DIR)/usr/lib
Signature · 1 line
2.10.2
author
#1 lore raw

PATCH 2/2 qt5websockets: remove QT5WEBSOCKETS_INSTALL_TARGET_EXAMPLES

---
 package/qt5/qt5websockets/qt5websockets.mk | 6 ------
 1 file changed, 6 deletions(-)
package/qt5/qt5websockets/qt5websockets.mk +0 -6
index f1200c2..9e4c850 100644
@@ -41,12 +41,6 @@ define QT5WEBSOCKETS_INSTALL_TARGET_QMLS
 endef
 endif
 
-ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y)
-define QT5WEBSOCKETS_INSTALL_TARGET_EXAMPLES
-	cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/websockets $(TARGET_DIR)/usr/lib/qt/examples/
-endef
-endif
-
 ifneq ($(BR2_STATIC_LIBS),y)
 define QT5WEBSOCKETS_INSTALL_TARGET_LIBS
 	cp -dpf $(STAGING_DIR)/usr/lib/libQt5WebSockets.so.* $(TARGET_DIR)/usr/lib
Signature · 1 line
2.10.2
#2 lore raw

PATCH 1/2 qt5webchannel: remove QT5WEBCHANNEL_INSTALL_TARGET_EXAMPLES

In reply to Matt Kraai

Hello,

Quoted 4 lines · Matt Kraai
---
 package/qt5/qt5webchannel/qt5webchannel.mk | 6 ------
 1 file changed, 6 deletions(-)

Rather than removing these, we should instead make it consistent with what qt5engineio is doing, i.e install those examples. See qt5engineio.mk.

Could you rework your patches accordingly?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
author
#3 lore raw

PATCH 1/2 qt5webchannel: remove QT5WEBCHANNEL_INSTALL_TARGET_EXAMPLES

Hi,

Quoted 11 lines · Thomas Petazzoni
Quoted 4 lines · Matt Kraai
---
 package/qt5/qt5webchannel/qt5webchannel.mk | 6 ------
 1 file changed, 6 deletions(-)

Rather than removing these, we should instead make it consistent with what qt5engineio is doing, i.e install those examples. See qt5engineio.mk.

Could you rework your patches accordingly?

I've sent updated patches. Thank you for the suggestion on a better approach.

Signature · 1 line
Matt                                           https://ftbfs.org/~kraai/