Skip to contentSkip to conversation

Pull request for branch yem-misc-fixes

GIT PULL New Yann E. MORIN 2 participants 5 messages Dec 25, 2012 – Dec 26, 2012

lore
Share & tools
lore
#0 lore raw

Hello All!

Here are two fixes for packages I recently submitted.

The following changes since commit 5f70f5caea8a8e229a5adad948b32fe4e3c88289:

new package: proxychains (2012-12-23 21:57:45 +0100)

are available in the git repository at:
git://gitorious.org/buildroot/buildroot.git yem-misc-fixes

Yann E. MORIN (2):
package/spice: don't enable GUI if dependencies not met package/keyutils: disable on avr32

 package/keyutils/Config.in |    1 +
 package/spice/Config.in    |    5 +++++
 2 files changed, 6 insertions(+), 0 deletions(-)

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.  |
'------------------------------^-------^------------------^--------------------'
#1 lore raw

PATCH 1/2 package/spice: don't enable GUI if dependencies not met

The spice GUI selects unconditionally selects cegui06, but cegui06 requires threads and C++, so spice GUI must also depend on threads and C++.

Fixes:

    http://autobuild.buildroot.net/results/37f8ee90bb4348db97daef83493005c42a193b91/

Merry X-Mas! ;-)

---
 package/spice/Config.in |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
package/spice/Config.in +5 -0
index 1b264e7..5c4975a 100644
@@ -35,8 +35,13 @@ config BR2_PACKAGE_SPICE_CLIENT
 	select BR2_PACKAGE_XLIB_LIBXFIXES
 	select BR2_PACKAGE_XLIB_LIBXRANDR
 
+comment "GUI requires a toolchain with threads and C++"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_SPICE_GUI
 	bool "Enable GUI"
+	depends on BR2_TOOLCHAIN_HAS_THREADS    # cegui06
+	depends on BR2_INSTALL_LIBSTDCPP        # cegui06
 	depends on BR2_PACKAGE_SPICE_CLIENT
 	select BR2_PACKAGE_CEGUI06
 	help
Signature · 1 line
1.7.2.5
#2 lore raw

PATCH 1/2 package/spice: don't enable GUI if dependencies not met

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Yann> The spice GUI selects unconditionally selects cegui06, but cegui06 requires Yann> threads and C++, so spice GUI must also depend on threads and C++.

Yann> Fixes:
Yann> http://autobuild.buildroot.net/results/37f8ee90bb4348db97daef83493005c42a193b91/

Yann> +++ b/package/spice/Config.in
Yann> @@ -35,8 +35,13 @@ config BR2_PACKAGE_SPICE_CLIENT
Yann> select BR2_PACKAGE_XLIB_LIBXFIXES
Yann> select BR2_PACKAGE_XLIB_LIBXRANDR

Yann> +comment "GUI requires a toolchain with threads and C++"
Yann> + depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
Yann> +

This comment should only be shown if SPICE_CLIENT is enabled, so I've added the dependency and committed, thanks.

Yann> config BR2_PACKAGE_SPICE_GUI
Yann> bool "Enable GUI"
Yann> + depends on BR2_TOOLCHAIN_HAS_THREADS # cegui06
Yann> + depends on BR2_INSTALL_LIBSTDCPP # cegui06

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 2/2 package/keyutils: disable on avr32

In reply to Yann E. MORIN

keyutils does not build on avr32 (probably
because the toolchain is way too old).

Fixes:

    http://autobuild.buildroot.net/results/aa86f6a68f5d0ea4914ab259ed270615bc9d6a99/

Merry X-Mas!

---
 package/keyutils/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
package/keyutils/Config.in +1 -0
index 9b5a24b..f77eb52 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_KEYUTILS
 	bool "keyutils"
+	depends on !BR2_avr32
 	help
 	  These tools are used to control the key management system
 	  built into the Linux kernel.
Signature · 1 line
1.7.2.5
#4 lore raw

PATCH 2/2 package/keyutils: disable on avr32

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Yann> keyutils does not build on avr32 (probably
Yann> because the toolchain is way too old).

Yann> Fixes:
Yann> http://autobuild.buildroot.net/results/aa86f6a68f5d0ea4914ab259ed270615bc9d6a99/

Hmm, that just looks like a warning which the package errors out on as it uses -Werror and we don't override CFLAGS like we should. How about moving TARGET_CONFIGURE_OPTS past MAKE instead? ( $(MAKE) $(TARGET_CONFIGURE_OPTS) -C ..)

Signature · 1 line
Bye, Peter Korsgaard