Skip to contentSkip to conversation

Update for 2015.11.1

PATCH New David Picard 3 participants 10 messages Jan 22, 2016 – Jan 25, 2016 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Update for 2015.11.1

From: Peter Korsgaard <[email protected]>

---
 CHANGES | 10 ++++++++++
 1 file changed, 10 insertions(+)
CHANGES +10 -0
index 336b195..7b7797c 100644
@@ -1,3 +1,13 @@
+2015.11.1, Released December 5th, 2015
+
+	Fix for issue with the host package RPATH check when a custom host
+	directory (BR2_HOST_DIR=/path/to/somewhere) is used.
+
+	Important (and/or security related) bugfixes for busybox,
+	dropbear, libpng and openssl.
+
+	Updated/fixed packages: busybox, dropbear, gawk, libpng, openssl
+
 2015.11, Released November 30th, 2015
 
 	Minor fixes.
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 Qwt package : added dependency to Qt5 besides Qt.

Replaced the original select by depends on, due to recursive dependencies involving qt5base. Qwt optional modules not tested.

---
 package/qwt/Config.in | 20 +++++++++++++-------
 package/qwt/qwt.mk    | 16 +++++++++++++++-
 2 files changed, 28 insertions(+), 8 deletions(-)
package/qwt/Config.in +13 -7
index 8c7bc56..40b382b 100644
@@ -1,7 +1,8 @@
 config BR2_PACKAGE_QWT
 	bool "qwt"
-	depends on BR2_PACKAGE_QT
-	depends on BR2_PACKAGE_QT_GUI_MODULE
+	depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5BASE
+	depends on BR2_PACKAGE_QT_GUI_MODULE || BR2_PACKAGE_QT5BASE_GUI
+	select BR2_PACKAGE_QT5BASE_CONCURRENT if BR2_PACKAGE_QT5BASE
 	help
 	  Qwt is a graphics extension to the Qt GUI application
 	  framework. It provides a 2D plotting widget and more.
@@ -12,7 +13,8 @@ if BR2_PACKAGE_QWT
 
 config BR2_PACKAGE_QWT_SVG
 	bool "SVG support"
-	select BR2_PACKAGE_QT_SVG
+	depends on BR2_PACKAGE_QT_SVG || BR2_PACKAGE_QT5SVG
+
 
 config BR2_PACKAGE_QWT_MATHML
 	bool "MathML support"
@@ -21,10 +23,14 @@ config BR2_PACKAGE_QWT_OPENGL
 	bool "OpenGL support"
 	depends on BR2_PACKAGE_HAS_LIBGLES
 	depends on BR2_PACKAGE_HAS_LIBEGL
-	select BR2_PACKAGE_QT_OPENGL_ES
+	select BR2_PACKAGE_QT_OPENGL_ES if BR2_PACKAGE_QT
+	select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE
+
+comment "SVG support depends on Qt or Qt5 SVG module"
+	depends on !BR2_PACKAGE_QT_SVG && !BR2_PACKAGE_QT5SVG
 
 endif
 
-comment "qwt depends on QT gui module"
-	depends on BR2_PACKAGE_QT
-	depends on !BR2_PACKAGE_QT_GUI_MODULE
+comment "qwt depends on Qt or Qt5 gui module"
+	depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5BASE
+	depends on !BR2_PACKAGE_QT_GUI_MODULE && !BR2_PACKAGE_QT5BASE_GUI
package/qwt/qwt.mk +15 -1
index 8a46c25..cdb3008 100644
@@ -8,7 +8,14 @@ QWT_VERSION = 6.1.2
 QWT_SOURCE = qwt-$(QWT_VERSION).tar.bz2
 QWT_SITE = http://downloads.sourceforge.net/project/qwt/qwt/$(QWT_VERSION)
 QWT_INSTALL_STAGING = YES
-QWT_DEPENDENCIES = qt
+ifeq ($(BR2_PACKAGE_QT),y)
+QWT_DEPENDENCIES += qt
+endif
+ifeq ($(BR2_PACKAGE_QT5BASE),y)
+QWT_DEPENDENCIES += qt5base
+QT5_MAKE = $(HOST_DIR)/usr/bin/qmake -spec $(HOST_DIR)/mkspecs/devices/linux-buildroot-g++
+endif
+
 
 QWT_LICENSE = LGPLv2.1 with exceptions
 QWT_LICENSE_FILES = COPYING
@@ -35,10 +42,17 @@ else
 QWT_CONFIG += -e 's/^.*QWT_CONFIG.*QwtOpenGL.*$$/\# QWT_CONFIG += QwtOpenGL/'
 endif
 
+ifeq ($(BR2_PACKAGE_QT),y)
 define QWT_CONFIGURE_CMDS
 	$(SED) $(QWT_CONFIG) $(@D)/qwtconfig.pri
 	(cd $(@D); $(TARGET_MAKE_ENV) $(QT_QMAKE))
 endef
+else
+define QWT_CONFIGURE_CMDS
+	$(SED) $(QWT_CONFIG) $(@D)/qwtconfig.pri
+	(cd $(@D); $(TARGET_MAKE_ENV) $(QT5_QMAKE))
+endef
+endif
 
 define QWT_BUILD_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 Qwt package : added dependency to Qt5 besides Qt.

David, All,

On 2016-01-22 18:44 +0100, David Picard spake thusly:

Quoted 14 lines

Replaced the original select by depends on, due to recursive dependencies involving qt5base. Qwt optional modules not tested.

---
 package/qwt/Config.in | 20 +++++++++++++-------
 package/qwt/qwt.mk    | 16 +++++++++++++++-
 2 files changed, 28 insertions(+), 8 deletions(-)
package/qwt/Config.in +0 -0
index 8c7bc56..40b382b 100644

package/qwt/Config.in line 3

Quoted 5 lines
package/qwt/Config.in +1 -2
@@ -1,7 +1,8 @@
 config BR2_PACKAGE_QWT
 	bool "qwt"
-	depends on BR2_PACKAGE_QT
-	depends on BR2_PACKAGE_QT_GUI_MODULE
+	depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5BASE

You may want to use the top-level Qt5 option;

    depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5

It will be more "symetric".

(Note that BR2_PACKAGE_QT5BASE is forcibly enabled when BR2_PACKAGE_QT5 is enabled.)

package/qwt/Config.in line 4

Quoted 1 line
package/qwt/Config.in +1 -0
+	depends on BR2_PACKAGE_QT_GUI_MODULE || BR2_PACKAGE_QT5BASE_GUI

I don't know why we had that as a depends, it probably should be a select (the GUI modules, whether qt4 or Qt5) have no dependency (except for rep. Qt and Qt5, of course), so we can select them:

select BR2_PACKAGE_QT_GUI_MODULE if BR2_PACKAGE_QT
select BR2_PACKAGE_QT5BASE_GUI if BR2_PACKAGE_QT5

package/qwt/Config.in line 5

Quoted 1 line
package/qwt/Config.in +1 -0
+	select BR2_PACKAGE_QT5BASE_CONCURRENT if BR2_PACKAGE_QT5BASE

OK.

package/qwt/Config.in if BR2_PACKAGE_QWT · line 16

Quoted 9 lines
package/qwt/Config.in +1 -1
 	help
 	  Qwt is a graphics extension to the Qt GUI application
 	  framework. It provides a 2D plotting widget and more.
@@ -12,7 +13,8 @@ if BR2_PACKAGE_QWT
 
 config BR2_PACKAGE_QWT_SVG
 	bool "SVG support"
-	select BR2_PACKAGE_QT_SVG
+	depends on BR2_PACKAGE_QT_SVG || BR2_PACKAGE_QT5SVG

You could probably do something a bit better, usign a select like it was done previously:

select BR2_PACKAGE_QT_SVG if BR2_PACKAGE_QT
select BR2_PACKAGE_QT5SVG if BR2_PACKAGE_QT5

(QT_SVG needs QT_GUI_MODULE, but it's already accounted for in the main QWT symbol; QT5SVG had no dependency.)

package/qwt/Config.in config BR2_PACKAGE_QWT_OPENGL · line 27

Quoted 9 lines
package/qwt/Config.in +2 -1
 config BR2_PACKAGE_QWT_MATHML
 	bool "MathML support"
@@ -21,10 +23,14 @@ config BR2_PACKAGE_QWT_OPENGL
 	bool "OpenGL support"
 	depends on BR2_PACKAGE_HAS_LIBGLES
 	depends on BR2_PACKAGE_HAS_LIBEGL
-	select BR2_PACKAGE_QT_OPENGL_ES
+	select BR2_PACKAGE_QT_OPENGL_ES if BR2_PACKAGE_QT
+	select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE

BR2_PACKAGE_QT5BASE_OPENGL_LIB depends on BR2_PACKAGE_QT5BASE_OPENGL, so it should have been selected too.

However, I'm a bit worried about the complexity here, and I'd rather that we depend on such support rather than select it. So I'd prefer to see:

    depends on BR2_PACKAGE_QT_OPENGL_ES || BR2_PACKAGE_QT5BASE_OPENGL_LIB

package/qwt/Config.in config BR2_PACKAGE_QWT_OPENGL · line 30

Quoted 2 lines
package/qwt/Config.in +2 -0
+comment "SVG support depends on Qt or Qt5 SVG module"
+	depends on !BR2_PACKAGE_QT_SVG && !BR2_PACKAGE_QT5SVG

This comment should be right below the SVG option. But if you use a select, there's no longer any need for a comment.

package/qwt/Config.in config BR2_PACKAGE_QWT_OPENGL · line 30

Quoted 5 lines
package/qwt/Config.in +0 -3
 endif
 
-comment "qwt depends on QT gui module"
-	depends on BR2_PACKAGE_QT
-	depends on !BR2_PACKAGE_QT_GUI_MODULE

Please leave a separating line between the two comments.

package/qwt/Config.in config BR2_PACKAGE_QWT_OPENGL · line 36

Quoted 3 lines
package/qwt/Config.in +3 -0
+comment "qwt depends on Qt or Qt5 gui module"
+	depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5BASE
+	depends on !BR2_PACKAGE_QT_GUI_MODULE && !BR2_PACKAGE_QT5BASE_GUI

Well, we normally do not add such comments, except:

comment "qwt needs Qt or Qt5"
depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5

package/qwt/qwt.mk QWT_VERSION = 6.1.2 · line 11

Quoted 9 lines
package/qwt/qwt.mk +0 -1
index 8a46c25..cdb3008 100644
@@ -8,7 +8,14 @@ QWT_VERSION = 6.1.2
 QWT_SOURCE = qwt-$(QWT_VERSION).tar.bz2
 QWT_SITE = http://downloads.sourceforge.net/project/qwt/qwt/$(QWT_VERSION)
 QWT_INSTALL_STAGING = YES
-QWT_DEPENDENCIES = qt

Please add an empty line here, the conditional block will more clearly stand-out and will be either to (re)view.

package/qwt/qwt.mk QWT_VERSION = 6.1.2 · line 16

Quoted 6 lines
package/qwt/qwt.mk +6 -0
+ifeq ($(BR2_PACKAGE_QT),y)
+QWT_DEPENDENCIES += qt
+endif
+ifeq ($(BR2_PACKAGE_QT5BASE),y)
+QWT_DEPENDENCIES += qt5base
+QT5_MAKE = $(HOST_DIR)/usr/bin/qmake -spec $(HOST_DIR)/mkspecs/devices/linux-buildroot-g++

Do not override QT5_MAKE, it's already set in the main Qt5 .mk and can be re-used as-is.

Quoted 8 lines
package/qwt/qwt.mk +2 -0
+endif
+
 
 QWT_LICENSE = LGPLv2.1 with exceptions
 QWT_LICENSE_FILES = COPYING
@@ -35,10 +42,17 @@ else
 QWT_CONFIG += -e 's/^.*QWT_CONFIG.*QwtOpenGL.*$$/\# QWT_CONFIG += QwtOpenGL/'
 endif

package/qwt/qwt.mk else · line 53

Quoted 10 lines
package/qwt/qwt.mk +5 -0
 
+ifeq ($(BR2_PACKAGE_QT),y)
 define QWT_CONFIGURE_CMDS
 	$(SED) $(QWT_CONFIG) $(@D)/qwtconfig.pri
 	(cd $(@D); $(TARGET_MAKE_ENV) $(QT_QMAKE))
 endef
+else
+define QWT_CONFIGURE_CMDS
+	$(SED) $(QWT_CONFIG) $(@D)/qwtconfig.pri
+	(cd $(@D); $(TARGET_MAKE_ENV) $(QT5_QMAKE))

I know the Qt4 case use () around the second command, but that's not necessary; pleas use:

        cd $(@D) && $(TARGET_MAKE_ENV) $(QT5_QMAKE)

(and please fix the Qt4 case similarly, will you? ;-) )

Otherwise, the overall idea is OK. For a first patch, this is pretty good. :-)

Regards,
Yann E. MORIN.

Quoted 12 lines
package/qwt/qwt.mk +2 -0
+endef
+endif
 
 define QWT_BUILD_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
Signature · 6 lines
1.9.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

PATCH 2/2 Qwt package : added dependency to Qt5 besides Qt.

David,

Please, keep the list in cc when you reply.

On 2016-01-23 10:42 +0100, David Picard spake thusly:

Quoted 3 lines

OK, I'll try to fix this on Monday. I guess that replacing BR2_PACKAGE_QT5BASE by BR2_PACKAGE_QT5 will fix the recursive dependency issue and will allow the select.

Great, thanks! :-)

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#5 lore raw

PATCH 2/2 Qwt package : added dependency to Qt5 besides Qt.

In reply to Yann E. MORIN
Quoted 3 lines · Yann E. MORIN

David, All,

On 2016-01-22 18:44 +0100, David Picard spake thusly:

[snip]

Quoted 11 lines

package/qwt/Config.in config BR2_PACKAGE_QWT_OPENGL · line 27

Quoted 7 lines
package/qwt/Config.in +2 -1
@@ -21,10 +23,14 @@ config BR2_PACKAGE_QWT_OPENGL
 	bool "OpenGL support"
 	depends on BR2_PACKAGE_HAS_LIBGLES
 	depends on BR2_PACKAGE_HAS_LIBEGL
-	select BR2_PACKAGE_QT_OPENGL_ES
+	select BR2_PACKAGE_QT_OPENGL_ES if BR2_PACKAGE_QT
+	select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE

BR2_PACKAGE_QT5BASE_OPENGL_LIB depends on BR2_PACKAGE_QT5BASE_OPENGL, so it should have been selected too.

Quoted 5 lines

However, I'm a bit worried about the complexity here, and I'd rather that we depend on such support rather than select it. So I'd prefer to see:

    depends on BR2_PACKAGE_QT_OPENGL_ES || BR2_PACKAGE_QT5BASE_OPENGL_LIB

In that case, it can probably be removed completely and turned into an
automatic dependency (i.e. just in the .mk file).

I also wouldn't bother with legacy handling when this symbol is removed. The
legacy .config file will already contain BR2_PACKAGE_QT_OPENGL_ES, so once the handling is automatic, you just have to run 'make oldconfig' and it will Just Work (TM).

Regards,
Arnout

[snip]

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
#6 lore raw

PATCH 2/2 Qwt package : added dependency to Qt5 besides Qt.

David, Arnout, All,

On 2016-01-24 02:09 +0100, Arnout Vandecappelle spake thusly:

Quoted 22 lines · Yann E. MORIN
Quoted 3 lines

David, All,

On 2016-01-22 18:44 +0100, David Picard spake thusly:

[snip]

Quoted 11 lines

package/qwt/Config.in config BR2_PACKAGE_QWT_OPENGL · line 27

Quoted 7 lines
package/qwt/Config.in +2 -1
@@ -21,10 +23,14 @@ config BR2_PACKAGE_QWT_OPENGL
 	bool "OpenGL support"
 	depends on BR2_PACKAGE_HAS_LIBGLES
 	depends on BR2_PACKAGE_HAS_LIBEGL
-	select BR2_PACKAGE_QT_OPENGL_ES
+	select BR2_PACKAGE_QT_OPENGL_ES if BR2_PACKAGE_QT
+	select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE

BR2_PACKAGE_QT5BASE_OPENGL_LIB depends on BR2_PACKAGE_QT5BASE_OPENGL, so it should have been selected too.

Quoted 5 lines

However, I'm a bit worried about the complexity here, and I'd rather that we depend on such support rather than select it. So I'd prefer to see:

    depends on BR2_PACKAGE_QT_OPENGL_ES || BR2_PACKAGE_QT5BASE_OPENGL_LIB
Quoted 7 lines

In that case, it can probably be removed completely and turned into an
automatic dependency (i.e. just in the .mk file).

I also wouldn't bother with legacy handling when this symbol is removed. The
legacy .config file will already contain BR2_PACKAGE_QT_OPENGL_ES, so once the handling is automatic, you just have to run 'make oldconfig' and it will Just Work (TM).

Yes, an automatic dependency in the .mk would be perfectly enough, I guess.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#7 lore raw

PATCH 2/2 Qwt package : added dependency to Qt5 besides Qt.

In reply to Arnout Vandecappelle

Hi,

I could implement Yann's suggestions. The Config.in is more symetric, and I dropped the comment about SVG (no more recursive deps).

In the OpenGL section, I can understand :
depends on BR2_PACKAGE_QT_OPENGL_ES || BR2_PACKAGE_QT5BASE_OPENGL_LIB

But I am afraid that I won't be able to make the automatic dependency in the .mk file, as Arnout suggests, because I have no idea of how to do it. Would you have an example in mind that I could have a look at ? Or will it do it as is ?

When I am done, should I submit the patch as a new patch ? Or do you have a different procedure for revised patches ?

Thanks,
David.

Le 24/01/2016 02:09, Arnout Vandecappelle a ?crit :

Quoted 37 lines · Yann E. MORIN
Quoted 3 lines

David, All,

On 2016-01-22 18:44 +0100, David Picard spake thusly:

[snip]

Quoted 11 lines

package/qwt/Config.in config BR2_PACKAGE_QWT_OPENGL · line 27

Quoted 7 lines
package/qwt/Config.in +2 -1
@@ -21,10 +23,14 @@ config BR2_PACKAGE_QWT_OPENGL
  	bool "OpenGL support"
  	depends on BR2_PACKAGE_HAS_LIBGLES
  	depends on BR2_PACKAGE_HAS_LIBEGL
-	select BR2_PACKAGE_QT_OPENGL_ES
+	select BR2_PACKAGE_QT_OPENGL_ES if BR2_PACKAGE_QT
+	select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE

BR2_PACKAGE_QT5BASE_OPENGL_LIB depends on BR2_PACKAGE_QT5BASE_OPENGL, so it should have been selected too.

Quoted 5 lines

However, I'm a bit worried about the complexity here, and I'd rather that we depend on such support rather than select it. So I'd prefer to see:

     depends on BR2_PACKAGE_QT_OPENGL_ES || BR2_PACKAGE_QT5BASE_OPENGL_LIB

In that case, it can probably be removed completely and turned into an
automatic dependency (i.e. just in the .mk file).

I also wouldn't bother with legacy handling when this symbol is removed. The
legacy .config file will already contain BR2_PACKAGE_QT_OPENGL_ES, so once the handling is automatic, you just have to run 'make oldconfig' and it will Just Work (TM).

Regards,
Arnout

[snip]

#8 lore raw

PATCH 2/2 Qwt package : added dependency to Qt5 besides Qt.

Is that what you mean ?

qwt.mk
------

ifeq ($(BR2_PACKAGE_QT),y)
QWT_DEPENDENCIES += qt libgles libegl
endif
ifeq ($(BR2_PACKAGE_QT5BASE),y)
QWT_DEPENDENCIES += qt5base libgles
QT5_MAKE = $(HOST_DIR)/usr/bin/qmake -spec
$(HOST_DIR)/mkspecs/devices/linux-buildroot-g++
endif

Config.in
---------

config BR2_PACKAGE_QWT_OPENGL
bool "OpenGL support"
depends on BR2_PACKAGE_HAS_LIBGLES
depends on BR2_PACKAGE_HAS_LIBEGL

Le 25/01/2016 10:13, David Picard a ?crit :

Quoted 63 lines

Hi,

I could implement Yann's suggestions. The Config.in is more symetric, and I dropped the comment about SVG (no more recursive deps).

In the OpenGL section, I can understand :
depends on BR2_PACKAGE_QT_OPENGL_ES || BR2_PACKAGE_QT5BASE_OPENGL_LIB

But I am afraid that I won't be able to make the automatic dependency in the .mk file, as Arnout suggests, because I have no idea of how to do it. Would you have an example in mind that I could have a look at ? Or will it do it as is ?

When I am done, should I submit the patch as a new patch ? Or do you have a different procedure for revised patches ?

Thanks,
David.

Le 24/01/2016 02:09, Arnout Vandecappelle a ?crit :

Quoted 41 lines · Yann E. MORIN
Quoted 3 lines

David, All,

On 2016-01-22 18:44 +0100, David Picard spake thusly:

[snip]

Quoted 11 lines

package/qwt/Config.in config BR2_PACKAGE_QWT_OPENGL · line 27

Quoted 7 lines
package/qwt/Config.in +2 -1
@@ -21,10 +23,14 @@ config BR2_PACKAGE_QWT_OPENGL
      bool "OpenGL support"
      depends on BR2_PACKAGE_HAS_LIBGLES
      depends on BR2_PACKAGE_HAS_LIBEGL
-    select BR2_PACKAGE_QT_OPENGL_ES
+    select BR2_PACKAGE_QT_OPENGL_ES if BR2_PACKAGE_QT
+    select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE

BR2_PACKAGE_QT5BASE_OPENGL_LIB depends on BR2_PACKAGE_QT5BASE_OPENGL, so it should have been selected too.

Quoted 6 lines

However, I'm a bit worried about the complexity here, and I'd rather that we depend on such support rather than select it. So I'd prefer to see:

     depends on BR2_PACKAGE_QT_OPENGL_ES ||

BR2_PACKAGE_QT5BASE_OPENGL_LIB

In that case, it can probably be removed completely and turned into an
automatic dependency (i.e. just in the .mk file).

I also wouldn't bother with legacy handling when this symbol is
removed. The
legacy .config file will already contain BR2_PACKAGE_QT_OPENGL_ES, so once the
handling is automatic, you just have to run 'make oldconfig' and it will Just
Work (TM).

Regards,
Arnout

[snip]

#9 lore raw

PATCH 2/2 Qwt package : added dependency to Qt5 besides Qt.

In reply to David Picard

Arnout, is that what you mean by "automatic dependency" ?

qwt.mk
------

ifeq ($(BR2_PACKAGE_QT),y)
QWT_DEPENDENCIES += qt libgles libegl
endif
ifeq ($(BR2_PACKAGE_QT5BASE),y)
QWT_DEPENDENCIES += qt5base libgles
QT5_MAKE = $(HOST_DIR)/usr/bin/qmake -spec
$(HOST_DIR)/mkspecs/devices/linux-buildroot-g++
endif

Config.in
---------

config BR2_PACKAGE_QWT_OPENGL
bool "OpenGL support"
depends on BR2_PACKAGE_HAS_LIBGLES
depends on BR2_PACKAGE_HAS_LIBEGL

Le 25/01/2016 10:13, David Picard a ?crit :

Quoted 16 lines

Hi,

I could implement Yann's suggestions. The Config.in is more symetric, and I dropped the comment about SVG (no more recursive deps).

In the OpenGL section, I can understand :
depends on BR2_PACKAGE_QT_OPENGL_ES || BR2_PACKAGE_QT5BASE_OPENGL_LIB

But I am afraid that I won't be able to make the automatic dependency in the .mk file, as Arnout suggests, because I have no idea of how to do it. Would you have an example in mind that I could have a look at ? Or will it do it as is ?

When I am done, should I submit the patch as a new patch ? Or do you have a different procedure for revised patches ?

Quoted 47 lines

Thanks,
David.

Le 24/01/2016 02:09, Arnout Vandecappelle a ?crit :

Quoted 41 lines · Yann E. MORIN
Quoted 3 lines

David, All,

On 2016-01-22 18:44 +0100, David Picard spake thusly:

[snip]

Quoted 11 lines

package/qwt/Config.in config BR2_PACKAGE_QWT_OPENGL · line 27

Quoted 7 lines
package/qwt/Config.in +2 -1
@@ -21,10 +23,14 @@ config BR2_PACKAGE_QWT_OPENGL
      bool "OpenGL support"
      depends on BR2_PACKAGE_HAS_LIBGLES
      depends on BR2_PACKAGE_HAS_LIBEGL
-    select BR2_PACKAGE_QT_OPENGL_ES
+    select BR2_PACKAGE_QT_OPENGL_ES if BR2_PACKAGE_QT
+    select BR2_PACKAGE_QT5BASE_OPENGL_LIB if BR2_PACKAGE_QT5BASE

BR2_PACKAGE_QT5BASE_OPENGL_LIB depends on BR2_PACKAGE_QT5BASE_OPENGL, so it should have been selected too.

Quoted 6 lines

However, I'm a bit worried about the complexity here, and I'd rather that we depend on such support rather than select it. So I'd prefer to see:

     depends on BR2_PACKAGE_QT_OPENGL_ES ||

BR2_PACKAGE_QT5BASE_OPENGL_LIB

In that case, it can probably be removed completely and turned into an
automatic dependency (i.e. just in the .mk file).

I also wouldn't bother with legacy handling when this symbol is
removed. The
legacy .config file will already contain BR2_PACKAGE_QT_OPENGL_ES, so once the
handling is automatic, you just have to run 'make oldconfig' and it will Just
Work (TM).

Regards,
Arnout

[snip]

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

#10 lore raw

PATCH 1/2 Update for 2015.11.1

In reply to David Picard

David, All,

On 2016-01-22 18:44 +0100, David Picard spake thusly:

Quoted 13 lines

From: Peter Korsgaard <[email protected]>

---
 CHANGES | 10 ++++++++++
 1 file changed, 10 insertions(+)
CHANGES +0 -0
index 336b195..7b7797c 100644

CHANGES line 9

Quoted 9 lines
CHANGES +9 -0
@@ -1,3 +1,13 @@
+2015.11.1, Released December 5th, 2015
+
+	Fix for issue with the host package RPATH check when a custom host
+	directory (BR2_HOST_DIR=/path/to/somewhere) is used.
+
+	Important (and/or security related) bugfixes for busybox,
+	dropbear, libpng and openssl.
+
+	Updated/fixed packages: busybox, dropbear, gawk, libpng, openssl

I guess you did not really want to send that one, did you? ;-)

Regards,
Yann E. MORIN.

Quoted 10 lines
CHANGES +0 -0
 2015.11, Released November 30th, 2015
 
 	Minor fixes.
Signature · 6 lines
1.9.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'