Skip to contentSkip to conversation

libglib2 requires threads

PATCH New Spenser Gilliland 2 participants 71 messages Jul 15, 2013 – Jul 27, 2013

lore
Share & tools
lore
#0 lore raw

cover libglib2 requires threads

This patch removes support for an un-threaded version of libglib2. There were minor cleanups and some bug fixes to various Config.in as well.

See autobuilder failures

http://autobuild.buildroot.net/results/d1fb882fe4d22a17bdd438360da515011dda2b30/build-end.log?
http://autobuild.buildroot.net/results/b66e807769ead5caa3e3b6312e9f7c35c14eafe7/build-end.log?
http://autobuild.buildroot.net/results/9c3fa0c5003a6369e70bfe6d611f7d745742a8c7/build-end.log?

Spenser Gilliland (67):
atk: libglib2 requires threads
bluez_utils: libglib2 requires threads
bustle: libglib2 requires threads
connman: libglib2 requires threads
avahi: libglib2 requires threads
curlftpfs: libglib2 requires threads
dbus-glib: libglib2 requires threads
dbus-python: libglib2 requires threads
docker: libglib2 requires threads
libedbus: libglib2 requires threads
libevas-generic-loaders: libglib2 requires threads
enchant: libglib2 requires threads
enlightenment: libglib2 requires threads
gamin: libglib2 requires threads
gdk-pixbuf: libglib2 requires threads
glib-networking: libglib2 requires threads
glibmm: libglib2 requires threads
gmpc: libglib2 requires threads
gob2: libglib2 requires threads
gvfs: libglib2 requires threads
json-glib: libglib2 requires threads
latencytop: libglib2 requires threads
libgail: libglib2 requires threads
libglade: libglib2 requires threads
libgtk2: libglib2 requires threads
libmms: libglib2 requires threads
libmpd: libglib2 requires threads
libplayer: libglib2 requires threads
libqmi: libglib2 requires threads
librsvg: libglib2 requires threads
libsoup: libglib2 requires threads
libxmlpp: libglib2 requires threads
lttng-babeltrace: libglib2 requires threads
midori: libglib2 requires threads
nbd: libglib2 requires threads
neard: libglib2 requires threads
neardal: libglib2 requires threads
network-manager: libglib2 requires threads
ofono: libglib2 requires threads
opencv: libglib2 requires threads
openobex: libglib2 requires threads
pango: libglib2 requires threads
pcmanfm: libglib2 requires threads
pkg-config: libglib2 requires threads
polkit: libglib2 requires threads
sconeserver: libglib2 requires threads
shared-mime-info: libglib2 requires threads
snowball-init: libglib2 requires threads
sshfs: libglib2 requires threads
sysprof: libglib2 requires threads
udev: libglib2 requires threads
udisks: libglib2 requires threads
ussp-push: libglib2 requires threads
vala: libglib2 requires threads
webkit: libglib2 requires threads
wireshark: libglib2 requires threads
gst-plugin-x170: libglib2 requires threads
gst-plugins-bad: libglib2 requires threads
gst-plugins-base: libglib2 requires threads
gst-plugins-good: libglib2 requires threads
gst1-plugins-good: libglib2 requires threads
gst1-plugins-base: libglib2 requires threads
gst1-plugins-bad: libglib2 requires threads
gstreamer: libglib2 requires threads
gstreamer1: libglib2 requires threads
mpd: libglib2 requires threads
libglib2: needs threads

 package/atk/Config.in                              |  5 ++--
 package/avahi/Config.in                            |  6 +++--
 package/bluez_utils/Config.in                      |  4 +--
 package/bustle/Config.in                           |  5 ++--
 package/connman/Config.in                          |  4 +--
 package/curlftpfs/Config.in                        |  4 +--
 package/dbus-glib/Config.in                        |  6 +++--
 package/dbus-python/Config.in                      |  6 +++--
 package/docker/Config.in                           |  6 +++--
 package/efl/libedbus/Config.in                     |  5 ++++
 package/efl/libevas-generic-loaders/Config.in      |  5 ++--
 package/enchant/Config.in                          |  6 +++--
 package/enlightenment/Config.in                    |  1 +
 package/gamin/Config.in                            |  5 ++--
 package/gdk-pixbuf/Config.in                       |  4 +++
 package/glib-networking/Config.in                  |  5 ++--
 package/glibmm/Config.in                           |  8 +++---
 package/gmpc/Config.in                             |  6 +++--
 package/gob2/Config.in                             |  3 ++-
 package/gvfs/Config.in                             |  6 ++---
 package/json-glib/Config.in                        |  5 ++--
 package/latencytop/Config.in                       |  7 ++---
 package/libgail/Config.in                          |  6 +++++
 package/libglade/Config.in                         |  6 +++--
 package/libglib2/Config.in                         |  5 ++--
 ...ib2-0002-fix-build-when-no-thread-support.patch | 30 ----------------------
 package/libgtk2/Config.in                          | 11 +++++---
 package/libmms/Config.in                           |  5 ++--
 package/libmpd/Config.in                           |  5 ++--
 package/libplayer/Config.in                        |  3 ++-
 package/libqmi/Config.in                           |  4 +++
 package/librsvg/Config.in                          |  5 ++--
 package/libsoup/Config.in                          | 10 +++++---
 package/libxmlpp/Config.in                         |  8 +++---
 package/lttng-babeltrace/Config.in                 | 10 +++++---
 package/midori/Config.in                           |  1 +
 package/multimedia/gst-plugin-x170/Config.in       |  4 +++
 package/multimedia/gst-plugins-bad/Config.in       | 12 +++++++--
 package/multimedia/gst-plugins-base/Config.in      |  7 +++--
 package/multimedia/gst-plugins-good/Config.in      | 10 ++++++++
 package/multimedia/gst1-plugins-bad/Config.in      | 12 +++++++--
 package/multimedia/gst1-plugins-base/Config.in     |  7 +++--
 package/multimedia/gst1-plugins-good/Config.in     | 10 ++++++++
 package/multimedia/gstreamer/Config.in             |  2 +-
 package/multimedia/gstreamer1/Config.in            |  4 +--
 package/multimedia/mpd/Config.in                   |  8 +++---
 package/nbd/Config.in                              |  9 ++++---
 package/neard/Config.in                            | 11 +++++---
 package/neardal/Config.in                          |  9 ++++---
 package/network-manager/Config.in                  |  6 ++---
 package/ofono/Config.in                            |  9 +++----
 package/opencv/Config.in                           | 10 +++++---
 package/openobex/Config.in                         | 20 ++++++++-------
 package/pango/Config.in                            |  6 +++--
 package/pcmanfm/Config.in                          |  6 +++--
 package/pkg-config/Config.in                       |  5 ++--
 package/polkit/Config.in                           |  5 ++--
 package/sconeserver/Config.in                      |  2 +-
 package/shared-mime-info/Config.in                 |  5 ++--
 package/snowball-init/Config.in                    |  5 +++-
 package/sshfs/Config.in                            |  2 +-
 package/sysprof/Config.in                          | 10 +++++---
 package/udev/Config.in                             |  5 ++++
 package/udisks/Config.in                           | 13 +++++++---
 package/ussp-push/Config.in                        |  2 +-
 package/vala/Config.in                             |  5 ++--
 package/webkit/Config.in                           |  8 +++---
 package/wireshark/Config.in                        |  5 ++--
 68 files changed, 289 insertions(+), 166 deletions(-)
 delete mode 100644 package/libglib2/libglib2-0002-fix-build-when-no-thread-support.patch
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/67 atk: libglib2 requires threads

---
 package/atk/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/atk/Config.in +3 -2
index 928fae7..7dec8b8 100644
@@ -2,8 +2,9 @@ config BR2_PACKAGE_ATK
 	bool "atk"
 	select BR2_PACKAGE_LIBGLIB2
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	help
 	  The ATK accessibility toolkit, needed to build GTK+-2.x.
 
-comment "atk requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "atk requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#2 lore raw

PATCH 2/67 bluez_utils: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/bluez_utils/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/bluez_utils/Config.in +2 -2
index 72b900c..570ba75 100644
@@ -2,7 +2,7 @@ config BR2_PACKAGE_BLUEZ_UTILS
 	bool "bluez-utils"
 	depends on !BR2_avr32
 	depends on BR2_USE_WCHAR # libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
 	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBGLIB2
@@ -38,5 +38,5 @@ config BR2_PACKAGE_BLUEZ_UTILS_USB
 
 endif
 
-comment "bluez-utils require a toolchain with WCHAR and thread support"
+comment "bluez-utils require a toolchain with WCHAR and threading support"
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#3 lore raw

PATCH 3/67 bustle: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/bustle/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/bustle/Config.in +3 -2
index 2a2a2c1..704165d 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_BUSTLE
 	select BR2_PACKAGE_LIBPCAP
 	select BR2_PACKAGE_LIBGLIB2
 	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	depends on BR2_PACKAGE_DBUS # runtime
 	help
 	  Bustle is a better dbus-monitor! It records and draws
@@ -18,5 +19,5 @@ config BR2_PACKAGE_BUSTLE
 
 	  http://www.willthompson.co.uk/bustle/
 
-comment "bustle requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "bustle requires a toolchain with WCHAR support and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#4 lore raw

PATCH 4/67 connman: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/connman/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/connman/Config.in +2 -2
index e0505b3..0853941 100644
@@ -7,7 +7,7 @@ config BR2_PACKAGE_CONNMAN
 	depends on !BR2_UCLIBC_VERSION_0_9_32
 	depends on BR2_USE_WCHAR # libglib2 and gnutls
 	depends on BR2_INET_IPV6
-	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
 	depends on BR2_USE_MMU # dbus
 	help
 	  The Connection Manager (ConnMan) project provides a daemon for
@@ -49,6 +49,6 @@ config BR2_PACKAGE_CONNMAN_CLIENT
 
 endif # BR2_PACKAGE_CONNMAN
 
-comment "connman needs a toolchain with IPv6, WCHAR, thread and resolver support"
+comment "connman needs a toolchain with IPv6, WCHAR, threading and resolver support"
 	depends on BR2_UCLIBC_VERSION_0_9_32 || \
 		!BR2_USE_WCHAR || !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#5 lore raw

PATCH 5/67 avahi: minor cleanup

In reply to Spenser Gilliland
---
 package/avahi/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/avahi/Config.in +4 -2
index 60fd50f..c6af67e 100644
@@ -10,10 +10,11 @@ config BR2_PACKAGE_AVAHI
 
 	  http://www.avahi.org/
 
+if BR2_PACKAGE_AVAHI
+
 config BR2_PACKAGE_AVAHI_AUTOIPD
 	bool "IPv4LL network address configuration daemon"
 	default y
-	depends on BR2_PACKAGE_AVAHI
 	select BR2_PACKAGE_LIBDAEMON
 	help
 	  Avahi-autoipd implements IPv4LL, "Dynamic Configuration of
@@ -25,7 +26,6 @@ config BR2_PACKAGE_AVAHI_AUTOIPD
 
 config BR2_PACKAGE_AVAHI_DAEMON
 	bool "mDNS/DNS-SD daemon"
-	depends on BR2_PACKAGE_AVAHI
 	select BR2_PACKAGE_LIBDAEMON
 	select BR2_PACKAGE_EXPAT
 	help
@@ -34,5 +34,7 @@ config BR2_PACKAGE_AVAHI_DAEMON
 	  The daemon registers local IP addresses and services using
 	  mDNS/DNS-SD.
 
+endif
+
 comment "avahi requires a toolchain with thread support"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#6 lore raw

PATCH 6/67 curlftpfs: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/curlftpfs/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/curlftpfs/Config.in +2 -2
index 0d8e715..ac527da 100644
@@ -8,7 +8,7 @@ config BR2_PACKAGE_CURLFTPFS
 	select BR2_PACKAGE_LIBCURL
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # glib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse, glib2
 	depends on BR2_USE_MMU # libfuse
 	depends on !BR2_PREFER_STATIC_LIB # libfuse
 	help
@@ -17,5 +17,5 @@ config BR2_PACKAGE_CURLFTPFS
 
 	  http://curlftpfs.sourceforge.net/
 
-comment "curlftpfs requires a toolchain with LARGEFILE, WCHAR, threads and dynamic library support"
+comment "curlftpfs requires a toolchain with LARGEFILE, WCHAR, threading and dynamic library support"
 	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
Signature · 1 line
1.8.1.2
#7 lore raw

PATCH 7/67 dbus-glib: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/dbus-glib/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/dbus-glib/Config.in +4 -2
index f1dab43..b019b34 100644
@@ -2,11 +2,13 @@ config BR2_PACKAGE_DBUS_GLIB
 	bool "dbus-glib"
 	depends on BR2_PACKAGE_DBUS
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	help
 	  GLib bindings for D-Bus.
 
 	  http://www.freedesktop.org/software/dbus
 
-comment "dbus-glib requires a toolchain with WCHAR support"
-	depends on BR2_PACKAGE_DBUS && !BR2_USE_WCHAR
+comment "dbus-glib requires a toolchain with WCHAR and threading support"
+	depends on BR2_PACKAGE_DBUS && \
+		(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)
Signature · 1 line
1.8.1.2
#8 lore raw

PATCH 8/67 dbus-python: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/dbus-python/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/dbus-python/Config.in +4 -2
index 91c127d..61e81e7 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_DBUS_PYTHON
 	bool "dbus-python"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	depends on BR2_PACKAGE_DBUS
 	depends on BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_DBUS_GLIB
@@ -9,5 +10,6 @@ config BR2_PACKAGE_DBUS_PYTHON
 
 	  http://dbus.freedesktop.org/doc/dbus-python/
 
-comment "dbus-python requires a toolchain with WCHAR support"
-	depends on BR2_PACKAGE_DBUS && BR2_PACKAGE_PYTHON && !BR2_USE_WCHAR
+comment "dbus-python requires a toolchain with WCHAR and threading support"
+	depends on BR2_PACKAGE_DBUS && BR2_PACKAGE_PYTHON && \
+		(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)
Signature · 1 line
1.8.1.2
#9 lore raw

PATCH 9/67 docker: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/docker/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/docker/Config.in +4 -2
index f07739a..866ffcf 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_DOCKER
 	bool "docker"
 	depends on BR2_PACKAGE_XORG7
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_XLIB_LIBX11
 	help
@@ -9,5 +10,6 @@ config BR2_PACKAGE_DOCKER
 
 	  http://icculus.org/openbox/2/docker
 
-comment "docker requires a toolchain with WCHAR support"
-	depends on BR2_PACKAGE_XORG7 && !BR2_USE_WCHAR
+comment "docker requires a toolchain with WCHAR and threading support"
+	depends on BR2_PACKAGE_XORG7 && \
+		(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)
Signature · 1 line
1.8.1.2
#10 lore raw

PATCH 10/67 libedbus: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/efl/libedbus/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/efl/libedbus/Config.in +5 -0
index 64b001e..31a3b03 100644
@@ -17,10 +17,15 @@ if BR2_PACKAGE_LIBEDBUS
 config BR2_PACKAGE_LIBEDBUS_BLUEZ
 	bool "bluez support"
 	depends on !BR2_avr32 # bluez_utils
+	depends on BR2_USE_WCHAR # bluez_utils -> glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils -> glib2
 	select BR2_PACKAGE_BLUEZ_UTILS
 	help
 	  Bluetooth support.
 
+comment "bluez support requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_LIBEDBUS_CONNMAN
 	bool "connman support"
 	depends on BR2_PACKAGE_CONNMAN
Signature · 1 line
1.8.1.2
#11 lore raw

PATCH 11/67 libevas-generic-loaders: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/efl/libevas-generic-loaders/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/efl/libevas-generic-loaders/Config.in +3 -2
index bfa6097..5363794 100644
@@ -15,11 +15,12 @@ config BR2_PACKAGE_LIBEVAS_GENERIC_LOADERS_SVG
 	select BR2_PACKAGE_LIBRSVG
 	select BR2_PACKAGE_CAIRO
 	depends on BR2_USE_WCHAR # librsvg -> glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # librsvg -> glib2
 	depends on BR2_INSTALL_LIBSTDCPP # librsvg -> pango
 	help
 	  This option enables the Evas generic SVG loader
 
-comment "SVG loader requires a toolchain with WCHAR and C++ support"
-	depends on !BR2_USE_WCHAR && !BR2_INSTALL_LIBSTDCPP
+comment "SVG loader requires a toolchain with WCHAR, threading and C++ support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
 
 endif
Signature · 1 line
1.8.1.2
#12 lore raw

PATCH 12/67 enchant: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/enchant/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/enchant/Config.in +4 -2
index 33f36db..783c73e 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_ENCHANT
 	bool "enchant"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	help
 	  Enchant is a spell-checking library that provides a consistent
@@ -9,5 +10,6 @@ config BR2_PACKAGE_ENCHANT
 
 	  http://www.abisource.com/projects/enchant/
 
-comment "enchant requires a toolchain with C++ and WCHAR support enabled"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+comment "enchant requires a toolchain with C++, threading and WCHAR support enabled"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#13 lore raw

PATCH 13/67 enlightenment: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/enlightenment/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/enlightenment/Config.in +1 -0
index 357c72b..f86f271 100644
@@ -21,6 +21,7 @@ config BR2_PACKAGE_ENLIGHTENMENT
 	depends on BR2_USE_WCHAR
 	depends on BR2_INSTALL_LIBSTDCPP
 	# libedbus -> dbus
+	# libedbus -> glib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	# libedbus -> dbus
 	depends on BR2_USE_MMU
Signature · 1 line
1.8.1.2
#14 lore raw

PATCH 14/67 gamin: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/gamin/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/gamin/Config.in +3 -2
index 3ede2e4..369c10e 100644
@@ -1,11 +1,12 @@
 config BR2_PACKAGE_GAMIN
 	bool "gamin"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	help
 	  the File Alteration Monitor
 
 	  http://www.gnome.org/~veillard/gamin/sources
 
-comment "gamin requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "gamin requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#15 lore raw

PATCH 15/67 gdk-pixbuf: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/gdk-pixbuf/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/gdk-pixbuf/Config.in +4 -0
index 33b5f7c..05de934 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_GDK_PIXBUF
 	bool "gdk-pixbuf"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
@@ -9,3 +10,6 @@ config BR2_PACKAGE_GDK_PIXBUF
 	  and the GLib, to integrate well with GNOME applications.
 
 	  http://www.gtk.org/
+
+comment "gdk-pixbuf depends on toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#16 lore raw

PATCH 16/67 glib-networking: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/glib-networking/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/glib-networking/Config.in +3 -2
index dab35ea..8d106f5 100644
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_GLIB_NETWORKING
 	bool "glib-networking"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
 	help
 	  Network-related GIO modules for glib.
 
-comment "glib-networking requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "glib-networking requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#17 lore raw

PATCH 17/67 glibmm: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/glibmm/Config.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
package/glibmm/Config.in +5 -3
index cd4ac01..fddd5e4 100644
@@ -3,11 +3,13 @@ config BR2_PACKAGE_GLIBMM
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBSIGC
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_USE_WCHAR
+	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	help
 	  The GLibmm package is a set of C++ bindings for GLib.
 
 	  http://www.gtkmm.org/
 
-comment "glibmm requires a toolchain with C++ & WCHAR support enabled"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+comment "glibmm requires a toolchain with C++, WCHAR, and threading support"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#18 lore raw

PATCH 18/67 gmpc: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/gmpc/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/gmpc/Config.in +4 -2
index 9b38d1a..96dc58f 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_GMPC
 	bool "gmpc"
 	depends on BR2_PACKAGE_LIBGTK2
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	depends on BR2_PACKAGE_XORG7
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
@@ -19,5 +20,6 @@ config BR2_PACKAGE_GMPC
 
 	  http://gmpcwiki.sarine.nl/index.php?title=GMPC
 
-comment "gmpc requires a toolchain with WCHAR support"
-	depends on BR2_PACKAGE_LIBGTK2 && !BR2_USE_WCHAR
+comment "gmpc requires a toolchain with WCHAR and threading support"
+	depends on BR2_PACKAGE_LIBGTK2 && !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#19 lore raw

PATCH 19/67 gob2: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/gob2/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/gob2/Config.in +2 -1
index 4a09c41..d795335 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_GOB2
 	bool "gob2"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	# m4 uses fork(), so does bison then
 	depends on BR2_USE_MMU
 	select BR2_PACKAGE_LIBGLIB2
@@ -13,4 +14,4 @@ config BR2_PACKAGE_GOB2
 	  http://www.jirka.org/gob.html
 
 comment "gob2 requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#20 lore raw

PATCH 20/67 gvfs: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/gvfs/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/gvfs/Config.in +3 -3
index e0a945e..63c4996 100644
@@ -3,7 +3,7 @@ config BR2_PACKAGE_GVFS
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # glib2
 	depends on BR2_USE_MMU # dbus
-	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_SHARED_MIME_INFO
@@ -16,5 +16,5 @@ config BR2_PACKAGE_GVFS
 
 	  http://en.wikipedia.org/wiki/GVFS
 
-comment "gvfs requires a toolchain with LARGEFILE and WCHAR support"
-	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
+comment "gvfs requires a toolchain with LARGEFILE, WCHAR and threading support"
+	depends on !BR2_LARGEFILE || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#21 lore raw

PATCH 21/67 json-glib: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/json-glib/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/json-glib/Config.in +3 -2
index 3ebc76d..db25386 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_JSON_GLIB
 	bool "json-glib"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
 	help
@@ -10,5 +11,5 @@ config BR2_PACKAGE_JSON_GLIB
 
 	  https://live.gnome.org/JsonGlib/
 
-comment "json-glib requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "json-glib requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#22 lore raw

PATCH 22/67 latencytop: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/latencytop/Config.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
package/latencytop/Config.in +4 -3
index 12176c0..23e4c63 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LATENCYTOP
 	bool "latencytop"
-	depends on BR2_USE_WCHAR
+	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_LIBGLIB2
 	help
@@ -19,5 +20,5 @@ config BR2_PACKAGE_LATENCYTOP
 
 	  http://www.latencytop.org
 
-comment "latencytop requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "latencytop requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#23 lore raw

PATCH 23/67 libgail: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/libgail/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/libgail/Config.in +6 -0
index ba74795..3e1af62 100644
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_LIBGAIL
 	bool "libgail"
+	depends on BR2_USE_WCHAR # pango -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
 	depends on BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_PANGO
 	help
@@ -16,3 +18,7 @@ config BR2_PACKAGE_LIBGAIL
 	  program.
 
 	  http://developer.gnome.org/projects/gap
+
+comment "libgail requires a toolchain with WCHAR and threading support"
+	depends on BR2_PACKAGE_LIBGTK2 && \
+		(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)
Signature · 1 line
1.8.1.2
#24 lore raw

PATCH 23/67 libgail: libglib2 requires threads

Dear Spenser Gilliland,

Quoted 19 lines · Spenser Gilliland
---
 package/libgail/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/libgail/Config.in +2 -0
index ba74795..3e1af62 100644
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_LIBGAIL
 	bool "libgail"
+	depends on BR2_USE_WCHAR # pango -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
 	depends on BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_PANGO
 	help

package/libgail/Config.in config BR2_PACKAGE_LIBGAIL · line 24

Quoted 7 lines
package/libgail/Config.in +4 -0
@@ -16,3 +18,7 @@ config BR2_PACKAGE_LIBGAIL
 	  program.
 
 	  http://developer.gnome.org/projects/gap
+
+comment "libgail requires a toolchain with WCHAR and threading support"
+	depends on BR2_PACKAGE_LIBGTK2 && \
+		(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)

This one doesn't seem useful: the libgail package already has a dependency on libgtk2, so it can't be enabled if gtk2 is not enabled. And gtk2 can only be enabled if wchar and threads are available.

So this patch is not useful.

Remember: propagation of "depends on" is needed from package A to package B when package B selects package A. If package B depends on package A, then there's no point in propagating the "depends on" of package A to package B.

More aspirin? :-)

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#25 lore raw

PATCH 24/67 libglade: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/libglade/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/libglade/Config.in +4 -2
index f7a9a1c..d042517 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBGLADE
 	bool "libglade"
 	depends on BR2_PACKAGE_LIBGTK2
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_ATK
 	select BR2_PACKAGE_LIBXML2
@@ -12,5 +13,6 @@ config BR2_PACKAGE_LIBGLADE
 
 	  http://ftp.gnome.org/pub/GNOME/sources/libglade/
 
-comment "libglade requires a toolchain with WCHAR support"
-	depends on BR2_PACKAGE_LIBGTK2 && !BR2_USE_WCHAR
+comment "libglade requires a toolchain with WCHAR and threading support"
+	depends on BR2_PACKAGE_LIBGTK2 && \
+		(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)
Signature · 1 line
1.8.1.2
#26 lore raw

PATCH 24/67 libglade: libglib2 requires threads

Dear Spenser Gilliland,

Quoted 19 lines · Spenser Gilliland
---
 package/libglade/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/libglade/Config.in +1 -0
index f7a9a1c..d042517 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBGLADE
 	bool "libglade"
 	depends on BR2_PACKAGE_LIBGTK2
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_ATK
 	select BR2_PACKAGE_LIBXML2

package/libglade/Config.in config BR2_PACKAGE_LIBGLADE · line 18

Quoted 8 lines
package/libglade/Config.in +3 -2
@@ -12,5 +13,6 @@ config BR2_PACKAGE_LIBGLADE
 
 	  http://ftp.gnome.org/pub/GNOME/sources/libglade/
 
-comment "libglade requires a toolchain with WCHAR support"
-	depends on BR2_PACKAGE_LIBGTK2 && !BR2_USE_WCHAR
+comment "libglade requires a toolchain with WCHAR and threading support"
+	depends on BR2_PACKAGE_LIBGTK2 && \
+		(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)

I also believe this one is not needed, because there is already a "depends on BR2_PACKAGE_LIBGTK2".

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#27 lore raw

PATCH 25/67 libgtk2: libglib2 requires threads

In reply to Spenser Gilliland

minor clean up as well.

---
 package/libgtk2/Config.in | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
package/libgtk2/Config.in +8 -3
index 462b0b6..c280c6a 100644
@@ -14,18 +14,23 @@ config BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_XLIB_LIBXRENDER
 	depends on BR2_PACKAGE_XORG7
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	depends on BR2_INSTALL_LIBSTDCPP # pango
 	help
 	  The GTK+ version 2 graphical user interface library
 
 	  http://www.gtk.org/
 
+if BR2_PACKAGE_LIBGTK2
+
 config BR2_PACKAGE_LIBGTK2_DEMO
 	bool "Install libgtk2 demo program"
-	depends on BR2_PACKAGE_LIBGTK2
 	help
 	  The GTK+ source base contains a gtk-demo program. This
 	  option allows to install this program to the target.
 
-comment "libgtk2 requires a toolchain with WCHAR and C++ support"
-	depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
+endif
+
+comment "libgtk2 requires a toolchain with WCHAR, threading and C++ support"
+	depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#28 lore raw

PATCH 26/67 libmms: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/libmms/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/libmms/Config.in +3 -2
index 17cb406..3cabbc7 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBMMS
 	bool "libmms"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	help
           LibMMS is a common library for parsing mms:// and mmsh://
@@ -11,5 +12,5 @@ config BR2_PACKAGE_LIBMMS
 
 	  http://launchpad.net/libmms
 
-comment "libmms requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "libmms requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#29 lore raw

PATCH 27/67 libmpd: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/libmpd/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/libmpd/Config.in +3 -2
index 9259c19..7617e88 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBMPD
 	bool "libmpd"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	help
@@ -10,5 +11,5 @@ config BR2_PACKAGE_LIBMPD
 
 	  http://gmpcwiki.sarine.nl/index.php?title=Libmpd
 
-comment "libmpd requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "libmpd requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#30 lore raw

PATCH 28/67 libplayer: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/libplayer/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/libplayer/Config.in +2 -1
index df32901..e1b7f75 100644
@@ -21,9 +21,10 @@ config BR2_PACKAGE_LIBPLAYER_MPLAYER
 config BR2_PACKAGE_LIBPLAYER_GSTREAMER
 	bool "gstreamer backend"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_GSTREAMER
 
-comment "gstreamer backend requires a toolchain with WCHAR support"
+comment "gstreamer backend requires a toolchain with WCHAR and threading support"
 	depends on !BR2_USE_WCHAR
 
 config BR2_PACKAGE_LIBPLAYER_PYTHON
Signature · 1 line
1.8.1.2
#31 lore raw

PATCH 29/67 libqmi: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/libqmi/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/libqmi/Config.in +4 -0
index c5e8a5c..8484250 100644
@@ -2,8 +2,12 @@ config BR2_PACKAGE_LIBQMI
 	bool "libqmi"
 	select BR2_PACKAGE_LIBGLIB2
 	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	help
 	  libqmi is a glib-based library for talking to WWAN modems and devices
 	  which speak the Qualcomm MSM Interface (QMI) protocol.
 
 	  http://www.freedesktop.org/wiki/Software/libqmi/
+
+comment "libqmi requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#32 lore raw

PATCH 30/67 librsvg: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/librsvg/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/librsvg/Config.in +3 -2
index b2ef6ad..ce711f7 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_LIBRSVG
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GDK_PIXBUF
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	depends on BR2_INSTALL_LIBSTDCPP # pango
 	help
 	  The rsvg library is an efficient renderer for Scalable
@@ -14,5 +15,5 @@ config BR2_PACKAGE_LIBRSVG
 
 	  http://librsvg.sourceforge.net/
 
-comment "librsvg requires a toolchain with WCHAR and C++ support"
-	depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
+comment "librsvg requires a toolchain with WCHAR, threading and C++ support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
Signature · 1 line
1.8.1.2
#33 lore raw

PATCH 31/67 libsoup: libglib2 requires threads

In reply to Spenser Gilliland

minor cleanup as well

---
 package/libsoup/Config.in | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
package/libsoup/Config.in +7 -3
index 2ed08d9..b80cb63 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBSOUP
 	bool "libsoup"
 	depends on BR2_USE_WCHAR # glib2 and gnutls
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBXML2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
@@ -12,13 +13,16 @@ config BR2_PACKAGE_LIBSOUP
 
 	  http://live.gnome.org/LibSoup
 
+if BR2_PACKAGE_LIBSOUP
+
 config BR2_PACKAGE_LIBSOUP_SSL
 	bool "https support"
 	select BR2_PACKAGE_GLIB_NETWORKING
 	select BR2_PACKAGE_GNUTLS
-	depends on BR2_PACKAGE_LIBSOUP
 	help
 	  Enable HTTPS (SSL) support.
 
-comment "libsoup requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+endif
+
+comment "libsoup requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#34 lore raw

PATCH 32/67 libxmlpp: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/libxmlpp/Config.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
package/libxmlpp/Config.in +5 -3
index cf29c2c..2448bfd 100644
@@ -3,11 +3,13 @@ config BR2_PACKAGE_LIBXMLPP
 	select BR2_PACKAGE_LIBXML2
 	select BR2_PACKAGE_GLIBMM
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_USE_WCHAR
+	depends on BR2_USE_WCHAR # glibmm -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glibmm -> libglib2
 	help
 	  libxml++ is a C++ wrapper for the libxml XML parser library.
 
 	  http://libxmlplusplus.sourceforge.net/
 
-comment "libxml++ requires a toolchain with C++ & WCHAR support enabled"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+comment "libxml++ requires a toolchain with C++, WCHAR and threading support"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+	!BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#35 lore raw

PATCH 33/67 lttng-babeltrace: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/lttng-babeltrace/Config.in | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
package/lttng-babeltrace/Config.in +6 -4
index 6f47304..4f14477 100644
@@ -4,9 +4,10 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
 	select BR2_PACKAGE_UTIL_LINUX
 	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
 	select BR2_PACKAGE_LIBGLIB2
-	# libglib2 needs gettext which needs wchar support, and we
-	# also depends on util-linux which needs wchar
+	# libglib2 needs thread support and gettext which needs wchar support, and 
+	# we also depends on util-linux which needs wchar
 	depends on BR2_USE_WCHAR
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	# util-linux depends on largefile support
 	depends on BR2_LARGEFILE
 	help
@@ -26,5 +27,6 @@ config BR2_PACKAGE_LTTNG_BABELTRACE
 
 	  http://lttng.org
 
-comment "lttng-babeltrace needs WCHAR and LARGEFILE support"
-	depends on BR2_PACKAGE_LTTNG_TOOLS && !(BR2_USE_WCHAR || BR2_LARGEFILE)
+comment "lttng-babeltrace needs WCHAR, threading and LARGEFILE support"
+	depends on BR2_PACKAGE_LTTNG_TOOLS && \
+		(!BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS)
Signature · 1 line
1.8.1.2
#36 lore raw

PATCH 34/67 midori: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/midori/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/midori/Config.in +1 -0
index 41f4515..207e3ca 100644
@@ -6,6 +6,7 @@ config BR2_PACKAGE_MIDORI
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	depends on BR2_PACKAGE_LIBGTK2
 	depends on BR2_INSTALL_LIBSTDCPP # webkit
+	depends on BR2_TOOLCHAIN_HAS_THREADS # webkit -> enchant -> libglib2
 	depends on BR2_USE_WCHAR	 # webkit
 	help
 	  Midori is a lightweight web browser based on WebKit
Signature · 1 line
1.8.1.2
#37 lore raw

PATCH 35/67 nbd: libglib2 requires threads

In reply to Spenser Gilliland

minor cleanup as well

---
 package/nbd/Config.in | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
package/nbd/Config.in +6 -3
index 79b34de..d185a48 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_NBD
 	bool "nbd"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	help
 	  NBD is a set of utilities to configure network block devices,
@@ -8,9 +9,6 @@ config BR2_PACKAGE_NBD
 
 	  http://nbd.sf.net/
 
-comment "nbd requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
-
 if BR2_PACKAGE_NBD
 
 config BR2_NBD_CLIENT
@@ -25,3 +23,8 @@ config BR2_NBD_SERVER
 	  the server part of NBD.
 
 endif
+
+comment "nbd requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+
+
Signature · 1 line
1.8.1.2
#38 lore raw

PATCH 36/67 neard: libglib2 requires threads

In reply to Spenser Gilliland

minor clean up as well

---
 package/neard/Config.in | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
package/neard/Config.in +7 -4
index ec1fcb3..b23a154 100644
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_NEARD
 	bool "neard"
 	depends on BR2_USE_WCHAR # libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl / dbus
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl, dbus, libglib2
 	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_LIBGLIB2
@@ -14,11 +14,14 @@ config BR2_PACKAGE_NEARD
 
 	  https://01.org/linux-nfc/documentation/how-start-linux-nfc-code...
 
+if BR2_PACKAGE_NEARD
+
 config BR2_PACKAGE_NEARD_TOOLS
 	bool "neard tools"
-	depends on BR2_PACKAGE_NEARD
 	help
 	  Build and install neard tools.
 
-comment "neard requires a toolchain with WCHAR and threads support"
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+endif
+
+comment "neard requires an MMU and a toolchain with WCHAR and threads support"
+	depends on !BR2_USE_MMU || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#39 lore raw

PATCH 37/67 neardal: libglib2 requires threads

In reply to Spenser Gilliland

minor cleanups as well

---
 package/neardal/Config.in | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
package/neardal/Config.in +6 -3
index 76b5ffa..3841cac 100644
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_NEARDAL
 	bool "neardal"
 	depends on BR2_USE_WCHAR # glib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, glib2
 	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_DBUS_GLIB
@@ -11,11 +11,14 @@ config BR2_PACKAGE_NEARDAL
 
 	  https://github.com/connectivity/neardal
 
+if BR2_PACKAGE_NEARDAL
+
 config BR2_PACKAGE_NEARDAL_NCL
 	bool "ncl tool"
-	depends on BR2_PACKAGE_NEARDAL
 	help
 	  Build and install neardal ncl command line interpreter tool.
 
-comment "neardal requires a toolchain with WCHAR and threads support"
+endif
+
+comment "neardal requires a toolchain with WCHAR and threading support"
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#40 lore raw

PATCH 38/67 network-manager: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/network-manager/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/network-manager/Config.in +3 -3
index cc33a1d..4b1116c 100644
@@ -5,7 +5,7 @@ config BR2_PACKAGE_NETWORK_MANAGER
 	depends on BR2_INET_IPV6
 	depends on BR2_LARGEFILE # acl
 	depends on BR2_USE_WCHAR # libglib2 and gnutls
-	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
 	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_DBUS_GLIB
 	select BR2_PACKAGE_UDEV
@@ -27,6 +27,6 @@ config BR2_PACKAGE_NETWORK_MANAGER
 
 	  http://projects.gnome.org/NetworkManager/
 
-comment "NetworkManager requires a toolchain with IPV6, LARGEFILE, WCHAR and thread support"
-	depends on !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || \
+comment "NetworkManager requires an MMU and a toolchain with IPV6, LARGEFILE, WCHAR and thread support"
+	depends on !BR2_USE_MMU || !BR2_INET_IPV6 || !BR2_LARGEFILE || !BR2_USE_WCHAR || \
 		!BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#41 lore raw

PATCH 39/67 ofono: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/ofono/Config.in | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
package/ofono/Config.in +4 -5
index 6248544..f1b6a53 100644
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_OFONO
 	bool "ofono"
-	depends on BR2_USE_WCHAR # gettext/libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+	depends on BR2_USE_WCHAR # gettext, libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
 	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_LIBCAP_NG
 	select BR2_PACKAGE_DBUS
@@ -14,6 +14,5 @@ config BR2_PACKAGE_OFONO
 
 	  http://ofono.org/
 
-comment "ofono requires a toolchain with WCHAR and thread support"
-	depends on !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_HAS_THREADS
+comment "ofono requires an MMU and toolchain with WCHAR and thread support"
+	depends on !BR2_USE_MMU || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#42 lore raw

PATCH 40/67 opencv: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/opencv/Config.in | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
package/opencv/Config.in +7 -3
index 26bf5e7..c6ec3fe 100644
@@ -139,16 +139,20 @@ comment "ffmpeg support requires a toolchain with LARGEFILE and IPV6 support"
 
 config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
 	bool "gstreamer support"
-	depends on BR2_USE_WCHAR
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_WCHAR # gstreamer -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer -> libglib2
 	select BR2_PACKAGE_GSTREAMER
 	select BR2_PACKAGE_GST_PLUGINS_BASE
 	select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
 
+comment "gstreamer support requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_OPENCV_WITH_GTK
 	bool "gtk support"
 	depends on BR2_PACKAGE_XORG7||BR2_PACKAGE_DIRECTFB
-	depends on BR2_USE_WCHAR
+	depends on BR2_USE_WCHAR # libgtk2 -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
 	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_LIBGTK2
 
Signature · 1 line
1.8.1.2
#43 lore raw

PATCH 41/67 openobex: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/openobex/Config.in | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
package/openobex/Config.in +11 -9
index 6494b29..83522d9 100644
@@ -1,6 +1,3 @@
-comment "openobex requires a toolchain with IPV6 support"
-	depends on !BR2_INET_IPV6
-
 config BR2_PACKAGE_OPENOBEX
 	bool "openobex"
 	depends on BR2_INET_IPV6
@@ -12,25 +9,25 @@ config BR2_PACKAGE_OPENOBEX
 
 if BR2_PACKAGE_OPENOBEX
 
-comment "bluez support require a toolchain with WCHAR and thread support"
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
-
 config BR2_PACKAGE_OPENOBEX_BLUEZ
 	bool "enable bluez support"
 	depends on !BR2_avr32
 	depends on BR2_USE_WCHAR # libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
 	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_BLUEZ_UTILS
 
-comment "libusb support require a toolchain with thread support"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "bluez support require a toolchain with WCHAR and thread support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_OPENOBEX_LIBUSB
 	bool "enable libusb support"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBUSB
 
+comment "libusb support require a toolchain with thread support"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_OPENOBEX_APPS
 	bool "install test applications"
 	help
@@ -43,3 +40,8 @@ config BR2_PACKAGE_OPENOBEX_DUMP
 	bool "enable protocol dumping for debugging"
 
 endif
+
+comment "openobex requires a toolchain with IPV6 support"
+	depends on !BR2_INET_IPV6
+
+
Signature · 1 line
1.8.1.2
#44 lore raw

PATCH 42/67 pango: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/pango/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/pango/Config.in +4 -2
index 6c8a160..845ea98 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PANGO
 	bool "pango"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	depends on BR2_INSTALL_LIBSTDCPP # freetype support
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_EXPAT
@@ -18,5 +19,6 @@ config BR2_PACKAGE_PANGO
 
 	  http://www.pango.org/
 
-comment "pango requires a toolchain with WCHAR and C++ support"
-	depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
+comment "pango requires a toolchain with WCHAR, threading and C++ support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_INSTALL_LIBSTDCPP
Signature · 1 line
1.8.1.2
#45 lore raw

PATCH 43/67 pcmanfm: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/pcmanfm/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/pcmanfm/Config.in +4 -2
index 484192b..5c80c10 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PCMANFM
 	bool "pcmanfm"
 	depends on BR2_PACKAGE_XORG7
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_GAMIN
 	select BR2_PACKAGE_STARTUP_NOTIFICATION
 	select BR2_PACKAGE_XLIB_LIBX11
@@ -12,5 +13,6 @@ config BR2_PACKAGE_PCMANFM
 
 	  http://internap.dl.sourceforge.net/sourceforge/pcmanfm
 
-comment "pcmanfm requires a toolchain with WCHAR support"
-	depends on BR2_PACKAGE_XORG7 && !BR2_USE_WCHAR
+comment "pcmanfm requires a toolchain with WCHAR and threading support"
+	depends on BR2_PACKAGE_XORG7 && \
+	(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)
Signature · 1 line
1.8.1.2
#46 lore raw

PATCH 44/67 pkg-config: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/pkg-config/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/pkg-config/Config.in +3 -2
index 7f96d9b..bf702d0 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PKG_CONFIG
 	bool "pkg-config"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	depends on BR2_DEPRECATED
 	select BR2_PACKAGE_LIBGLIB2
 	help
@@ -11,5 +12,5 @@ config BR2_PACKAGE_PKG_CONFIG
 
 	  http://www.freedesktop.org/software/pkgconfig/
 
-comment "pkg-config requires a toolchain with WCHAR support"
-	depends on BR2_DEPRECATED && !BR2_USE_WCHAR
+comment "pkg-config requires a toolchain with WCHAR and threading support"
+	depends on BR2_DEPRECATED && (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)
Signature · 1 line
1.8.1.2
#47 lore raw

PATCH 45/67 polkit: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/polkit/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/polkit/Config.in +3 -2
index b47022a..df6c767 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_POLKIT
 	bool "polkit"
 	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_EXPAT
 	help
@@ -10,5 +11,5 @@ config BR2_PACKAGE_POLKIT
 
 	  http://www.freedesktop.org/wiki/Software/polkit
 
-comment "polkit requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "polkit requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#48 lore raw

PATCH 46/67 sconeserver: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/sconeserver/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/sconeserver/Config.in +1 -1
index 60ae2ae..e9b51c0 100644
@@ -42,7 +42,7 @@ config BR2_PACKAGE_SCONESERVER_BLUETOOTH
 	bool "bluetooth"
 	depends on BR2_USE_WCHAR # bluez->libglib2
 	depends on BR2_USE_MMU # bluez->dbus
-	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez->dbus
+	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez->dbus, bluez->libglib2
 	depends on !BR2_avr32 # bluez_utils
 	select BR2_PACKAGE_BLUEZ_UTILS
 	help
Signature · 1 line
1.8.1.2
#49 lore raw

PATCH 47/67 shared-mime-info: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/shared-mime-info/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/shared-mime-info/Config.in +3 -2
index b08c1fd..ee635ac 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_SHARED_MIME_INFO
 	bool "shared-mime-info"
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBXML2
 	help
@@ -10,5 +11,5 @@ config BR2_PACKAGE_SHARED_MIME_INFO
 
 	  http://freedesktop.org/wiki/Software/shared-mime-info
 
-comment "shared-mime-info requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "shared-mime-info requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#50 lore raw

PATCH 48/67 snowball-init: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/snowball-init/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/snowball-init/Config.in +4 -1
index 99abb35..33d3fa0 100644
@@ -4,7 +4,7 @@ config BR2_PACKAGE_SNOWBALL_INIT
 	select BR2_PACKAGE_BLUEZ_UTILS
 	depends on !BR2_avr32
 	depends on BR2_USE_WCHAR # libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
 	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_UX500_FIRMWARE
 	help
@@ -12,3 +12,6 @@ config BR2_PACKAGE_SNOWBALL_INIT
 
 	  http://www.igloocommunity.org
 
+comment "snowball-init requires a toolchain with WCHAR, threading, and MMU support"
+	depends on !BR2_avr32 && \
+		(!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_MMU)
Signature · 1 line
1.8.1.2
#51 lore raw

PATCH 49/67 sshfs: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/sshfs/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/sshfs/Config.in +1 -1
index b6d5aa6..3e7ed15 100644
@@ -7,7 +7,7 @@ config BR2_PACKAGE_SSHFS
 	select BR2_PACKAGE_OPENSSH
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_WCHAR # glib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libfuse, glib2
 	depends on BR2_USE_MMU # libfuse
 	depends on !BR2_PREFER_STATIC_LIB # libfuse
 	help
Signature · 1 line
1.8.1.2
#52 lore raw

PATCH 50/67 sysprof: libglib2 requires threads

In reply to Spenser Gilliland

minor cleanups as well

---
 package/sysprof/Config.in | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
package/sysprof/Config.in +7 -3
index 513a32c..d78062a 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_SYSPROF
 	bool "sysprof"
 	select BR2_PACKAGE_LIBGLIB2
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	# In its util.h file, sysprof contains architecture-specific
 	# code
 	depends on BR2_i386 || BR2_x86_64 || BR2_powerpc || BR2_sh4a || BR2_sh4aeb
@@ -11,14 +12,17 @@ config BR2_PACKAGE_SYSPROF
 
 	  http://sysprof.com
 
+if BR2_PACKAGE_SYSPROF
+
 config BR2_PACKAGE_SYSPROF_GUI
 	bool "sysprof GUI"
-	depends on BR2_PACKAGE_SYSPROF
 	depends on BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_LIBGLADE
 	select BR2_PACKAGE_GDK_PIXBUF
 	help
 	  GUI for the sysprof system-wide statistical profiler.
 
-comment "sysprof requires a toolchain with WCHAR support"
-        depends on !BR2_USE_WCHAR
+endif
+
+comment "sysprof requires a toolchain with WCHAR and threading support"
+        depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#53 lore raw

PATCH 51/67 udev: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/udev/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/udev/Config.in +5 -0
index d3244d1..ed32c89 100644
@@ -25,10 +25,15 @@ config BR2_PACKAGE_UDEV_ALL_EXTRAS
 	select BR2_PACKAGE_ACL
 	select BR2_PACKAGE_HWDATA
 	select BR2_PACKAGE_LIBGLIB2
+	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	help
 	  Enable all extras with external dependencies like
 	  libacl, hwdata and libglib2
 
+comment "enabling all extras requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_USE_THREADS
+
 endif
 
 comment "udev requires /dev mgmnt set to udev under System configuration"
Signature · 1 line
1.8.1.2
#54 lore raw

PATCH 52/67 udisks: libglib2 requires threads

In reply to Spenser Gilliland

minor cleanups

---
 package/udisks/Config.in | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
package/udisks/Config.in +9 -4
index a50b3ea..dca23ea 100644
@@ -1,12 +1,13 @@
 config BR2_PACKAGE_UDISKS
 	bool "udisks"
 	depends on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus-glib -> glib2
 	depends on BR2_USE_MMU # lvm2
 	select BR2_PACKAGE_UDEV
 	select BR2_PACKAGE_UDEV_ALL_EXTRAS
 	select BR2_PACKAGE_DBUS
 	select BR2_PACKAGE_DBUS_GLIB
+	depends on BR2_USE_WCHAR # dbus-glib -> glib2
 	select BR2_PACKAGE_SG3_UTILS
 	select BR2_PACKAGE_POLKIT
 	select BR2_PACKAGE_PARTED
@@ -24,12 +25,16 @@ config BR2_PACKAGE_UDISKS
 
 	  http://www.freedesktop.org/wiki/Software/udisks
 
+if BR2_PACKAGE_UDISKS
+
 config BR2_PACKAGE_UDISKS_LVM2
 	bool "lvm2 support"
-	depends on BR2_PACKAGE_UDISKS
 	select BR2_PACKAGE_LVM2_APP_LIBRARY
 	help
 	  Enable LVM2 support
 
-comment "udisks requires /dev mgmnt set to udev under System configuration"
-	depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV
+endif
+
+comment "udisks requires /dev mgmnt set to udev under System configuration and a toolchain with WCHAR and threading support"
+	depends on !BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV || \
+		!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#55 lore raw

PATCH 53/67 ussp-push: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/ussp-push/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/ussp-push/Config.in +1 -1
index 716ce34..27c5a43 100644
@@ -3,7 +3,7 @@ config BR2_PACKAGE_USSP_PUSH
 	depends on BR2_INET_IPV6
 	depends on !BR2_avr32
 	depends on BR2_USE_WCHAR # libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib
+	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
 	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_OPENOBEX
 	select BR2_PACKAGE_OPENOBEX_BLUEZ
Signature · 1 line
1.8.1.2
#56 lore raw

PATCH 54/67 vala: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/vala/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/vala/Config.in +3 -2
index 805c770..35c0257 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_VALA
 	# We no longer support a toolchain on the target
 	depends on BR2_DEPRECATED
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
@@ -11,5 +12,5 @@ config BR2_PACKAGE_VALA
 
 	  http://live.gnome.org/Vala
 
-comment "vala requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "vala requires a toolchain with WCHAR and threading support"
+	depends on BR2_DEPRECATED && (!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS)
Signature · 1 line
1.8.1.2
#57 lore raw

PATCH 55/67 webkit: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/webkit/Config.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
package/webkit/Config.in +5 -3
index c6711b8..92cbc62 100644
@@ -1,7 +1,8 @@
 config BR2_PACKAGE_WEBKIT
 	bool "webkit"
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_USE_WCHAR
+	depends on BR2_USE_WCHAR # enchant -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # enchant -> libglib2
 	depends on BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_ICU
 	select BR2_PACKAGE_LIBCURL
@@ -22,5 +23,6 @@ config BR2_PACKAGE_WEBKIT
 
 	  http://webkit.org/
 
-comment "webkit requires C++, WCHAR in toolchain and libgtk2"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_PACKAGE_LIBGTK2
+comment "webkit requires libgtk2 and a toolchain with C++, WCHAR, threading support"
+	depends on BR2_PACKAGE_LIBGTK2 || !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#58 lore raw

PATCH 56/67 wireshark: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/wireshark/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/wireshark/Config.in +3 -2
index d4c8b43..bc15bd2 100644
@@ -5,11 +5,12 @@ config BR2_PACKAGE_WIRESHARK
 	select BR2_PACKAGE_LIBGLIB2
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_USE_WCHAR # glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	help
 	  Network traffic sniffer and protocol decoder. Currently only tshark,
 	  the console interface, is enabled.
 
 	  http://www.wireshark.org
 
-comment "wireshark requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "wireshark requires a MMU and a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_MMU || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#59 lore raw

PATCH 57/67 gst-plugin-x170: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/multimedia/gst-plugin-x170/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/multimedia/gst-plugin-x170/Config.in +4 -0
index 9a1ae63..142367b 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_GST_PLUGIN_X170
 	bool "gst-plugin-x170"
 	depends on BR2_PACKAGE_GSTREAMER
 	depends on BR2_arm926t
+	# glibc toolchain includes WCHAR and threading for libglib2
 	depends on BR2_TOOLCHAIN_USES_GLIBC # on2-8170-libs
 	select BR2_PACKAGE_ON2_8170_LIBS
 	help
@@ -9,3 +10,6 @@ config BR2_PACKAGE_GST_PLUGIN_X170
 	  ATMEL AT91SAM9M10 SoC.
 
 	  http://www.at91.com/linux4sam/bin/view/Linux4SAM/SAM9M10Gstreamer
+
+comment "gst-plugin-x170 requires a toolchain which uses eglibc/glibc"
+	depends on BR2_PACKAGE_GSTREAMER && BR2_arm926t && !BR2_TOOLCHAIN_USES_GLIBC
Signature · 1 line
1.8.1.2
#60 lore raw

PATCH 58/67 gst-plugins-bad: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/multimedia/gst-plugins-bad/Config.in | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
package/multimedia/gst-plugins-bad/Config.in +10 -2
index 2271036..3c5c161 100644
@@ -277,8 +277,13 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_FAAD
 
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_LIBMMS
 	bool "libmms"
+	depends on BR2_USE_WCHAR # libmms -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libmms -> libglib2
 	select BR2_PACKAGE_LIBMMS
 
+comment "libmms requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_MUSEPACK
 	bool "musepack"
 	select BR2_PACKAGE_MUSEPACK
@@ -294,10 +299,13 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_OPUS
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RSVG
 	bool "rsvg"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_WCHAR # librsvg -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # librsvg -> libglib2
 	select BR2_PACKAGE_LIBRSVG
 
-comment "rsvg plugin requires a toolchain with C++ support"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "rsvg plugin requires a toolchain with C++, WCHAR, and threading support"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SDL
 	bool "sdl"
Signature · 1 line
1.8.1.2
#61 lore raw

PATCH 59/67 gst-plugins-base: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/multimedia/gst-plugins-base/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
package/multimedia/gst-plugins-base/Config.in +5 -2
index af4fe8c..7370bd6 100644
@@ -86,10 +86,13 @@ config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG
 config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO
 	bool "pango font renderer"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_WCHAR # pango -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
 	select BR2_PACKAGE_PANGO
 
-comment "pango plugin requires a toolchain with C++ support"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "pango plugin requires a toolchain with C++, WCHAR and threading support "
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA
 	bool "theora (*.ogg video)"
Signature · 1 line
1.8.1.2
#62 lore raw

PATCH 60/67 gst-plugins-good: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/multimedia/gst-plugins-good/Config.in | 10 ++++++++++
 1 file changed, 10 insertions(+)
package/multimedia/gst-plugins-good/Config.in +10 -0
index 978aa0b..da709db 100644
@@ -188,8 +188,13 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_FLAC
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_GDKPIXBUF
 	bool "gdkpixbuf"
+	depends on BR2_USE_WCHAR # gdk-pixbuf -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # gdk-pixbuf -> libglib2
 	select BR2_PACKAGE_GDK_PIXBUF
 
+comment "gdkpixbuf requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS
 	bool "ossaudio (OSS audio)"
 
@@ -204,8 +209,13 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE
 
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
 	bool "souphttpsrc (http client)"
+	depends on BR2_USE_WCHAR # libsoup -> glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libsoup -> glib2
 	select BR2_PACKAGE_LIBSOUP
 
+comment "souphttsrc requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREAD
+
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_SPEEX
 	bool "speex"
 	select BR2_PACKAGE_SPEEX
Signature · 1 line
1.8.1.2
#63 lore raw

PATCH 61/67 gst1-plugins-good: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/multimedia/gst1-plugins-good/Config.in | 10 ++++++++++
 1 file changed, 10 insertions(+)
package/multimedia/gst1-plugins-good/Config.in +10 -0
index e579539..8031a63 100644
@@ -288,9 +288,14 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_FLAC
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_GDKPIXBUF
 	bool "gdkpixbuf"
 	select BR2_PACKAGE_GDK_PIXBUF
+	depends on BR2_USE_WCHAR # gdk-pixbuf -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # gdk-pixbuf -> libglib2
 	help
 	  GdkPixbuf-based image decoder, overlay and sink
 
+comment "gdkpixbuf requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
 	depends on BR2_LARGEFILE # pulseaudio -> libsndfile
@@ -301,10 +306,15 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE
 
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SOUPHTTPSRC
 	bool "souphttpsrc (http client)"
+	depends on BR2_USE_WCHAR # libsoup -> glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libsoup -> glib2
 	select BR2_PACKAGE_LIBSOUP
 	help
 	  libsoup HTTP client src/sink
 
+comment "souphttpsrc requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_SPEEX
 	bool "speex"
 	select BR2_PACKAGE_SPEEX
Signature · 1 line
1.8.1.2
#64 lore raw

PATCH 62/67 gst1-plugins-base: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/multimedia/gst1-plugins-base/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
package/multimedia/gst1-plugins-base/Config.in +5 -2
index 10561c1..e02d23a 100644
@@ -130,12 +130,15 @@ config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG
 config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO
 	bool "pango font renderer"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_WCHAR # pango -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
 	select BR2_PACKAGE_PANGO
 	help
 	  Pango-based text rendering and overlay
 
-comment "pango plugin requires a toolchain with C++ support"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "pango plugin requires a toolchain with C++, WCHAR and threading support"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA
 	bool "theora (*.ogg video)"
Signature · 1 line
1.8.1.2
#65 lore raw

PATCH 63/67 gst1-plugins-bad: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/multimedia/gst1-plugins-bad/Config.in | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
package/multimedia/gst1-plugins-bad/Config.in +10 -2
index 98550e0..878bf53 100644
@@ -372,10 +372,15 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FBDEV
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_LIBMMS
 	bool "libmms"
+	depends on BR2_USE_WCHAR # libmms -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libmms -> libglib2
 	select BR2_PACKAGE_LIBMMS
 	help
 	  Microsoft Multi Media Server streaming protocol support
 
+comment "libmms requires a toolchain with WCHAR and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREAD
+
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEG2ENC
 	bool "mpeg2enc"
 	select BR2_PACKAGE_LIBMPEG2
@@ -417,12 +422,15 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG
 	bool "rsvg"
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on BR2_USE_WCHAR # librsvg -> glib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # librsvg -> glib2
 	select BR2_PACKAGE_LIBRSVG
 	help
 	  RSVG plugin library
 
-comment "rsvg plugin requires a toolchain with C++ support"
-	depends on !BR2_INSTALL_LIBSTDCPP
+comment "rsvg plugin requires a toolchain with C++, WCHAR and threading support"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_EGLGLES
 	bool "eglgles"
Signature · 1 line
1.8.1.2
#66 lore raw

PATCH 64/67 gstreamer: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/multimedia/gstreamer/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/multimedia/gstreamer/Config.in +1 -1
index d2f99da..5188b8f 100644
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_GSTREAMER
 	bool "gstreamer"
 	depends on BR2_USE_WCHAR # glib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	help
 	  GStreamer is an open source multimedia framework.
Signature · 1 line
1.8.1.2
#67 lore raw

PATCH 65/67 gstreamer1: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/multimedia/gstreamer1/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
package/multimedia/gstreamer1/Config.in +2 -2
index 627814c..69a87f3 100644
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_GSTREAMER1
 	bool "gstreamer1"
 	depends on BR2_USE_WCHAR # glib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	help
 	  GStreamer is an open source multimedia framework. This 1.x version of
@@ -49,5 +49,5 @@ config BR2_PACKAGE_GSTREAMER1_INSTALL_TOOLS
 
 endif
 
-comment "gstreamer1 requires a toolchain with WCHAR and threads support"
+comment "gstreamer1 requires a toolchain with WCHAR and threading support"
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#68 lore raw

PATCH 66/67 mpd: libglib2 requires threads

In reply to Spenser Gilliland
---
 package/multimedia/mpd/Config.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
package/multimedia/mpd/Config.in +5 -3
index 6e5c690..2ca55cc 100644
@@ -1,7 +1,8 @@
 menuconfig BR2_PACKAGE_MPD
 	bool "mpd"
 	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_USE_WCHAR
+	depends on BR2_USE_WCHAR # libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	select BR2_PACKAGE_MPD_TREMOR if !(BR2_PACKAGE_MPD_MAD || BR2_PACKAGE_MPD_MPG123 || BR2_PACKAGE_MPD_VORBIS || BR2_PACKAGE_MPD_WAVPACK || BR2_PACKAGE_MPD_FLAC || BR2_PACKAGE_MPD_MUSEPACK || BR2_PACKAGE_MPD_FFMPEG)
@@ -181,5 +182,6 @@ config BR2_PACKAGE_MPD_WAVPACK
 
 endif
 
-comment "mpd requires a toolchain with C++ and WCHAR support"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+comment "mpd requires a toolchain with C++, threading and WCHAR support"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
1.8.1.2
#69 lore raw

PATCH 67/67 libglib2: needs threads

In reply to Spenser Gilliland
---
 package/libglib2/Config.in                         |  5 ++--
 ...ib2-0002-fix-build-when-no-thread-support.patch | 30 ----------------------
 2 files changed, 3 insertions(+), 32 deletions(-)
 delete mode 100644 package/libglib2/libglib2-0002-fix-build-when-no-thread-support.patch
package/libglib2/Config.in +3 -2
index 5282885..806dbbe 100644
@@ -5,10 +5,11 @@ config BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBFFI
 	select BR2_PACKAGE_ZLIB
 	depends on BR2_USE_WCHAR # gettext
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Low-level core library that forms the basis of GTK+ and GNOME.
 
 	  http://www.gtk.org/
 
-comment "libglib2 requires a toolchain with WCHAR support"
-	depends on !BR2_USE_WCHAR
+comment "libglib2 requires a toolchain with WCHAR support and threading support"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/libglib2/libglib2-0002-fix-build-when-no-thread-support.patch deleted +0 -30
deleted file mode 100644
index 43c7e16..0000000
@@ -1,30 +0,0 @@
-Fix gio/gcancellable.c build when thread support is disabled
-
-Changes:
-	Updated for 2.36.1
-
-Signed-off-by: "Samuel Martin" <[email protected]>
-Signed-off-by: "Spenser Gilliland" <[email protected]>
----
---- libglib2-2.36.1.orig/gio/gcancellable.c	2013-03-13 08:39:09.000000000 -0500
-+++ libglib2-2.36.1/gio/gcancellable.c	2013-05-26 10:49:32.366019891 -0500
-@@ -267,7 +267,9 @@
-   while (priv->cancelled_running)
-     {
-       priv->cancelled_running_waiting = TRUE;
-+#if defined(G_THREADS_ENABLED)
-       g_cond_wait (&cancellable_cond, &cancellable_mutex);
-+#endif
-     }
- 
-   if (priv->cancelled)
-@@ -620,7 +622,9 @@
-   while (priv->cancelled_running)
-     {
-       priv->cancelled_running_waiting = TRUE;
-+#if defined(G_THREADS_ENABLED)
-       g_cond_wait (&cancellable_cond, &cancellable_mutex);
-+#endif
-     }
- 
-   g_signal_handler_disconnect (cancellable, handler_id);
Signature · 1 line
1.8.1.2
#70 lore raw

cover libglib2 requires threads

In reply to Spenser Gilliland

Dear Spenser Gilliland,

Quoted 8 lines · Spenser Gilliland

This patch removes support for an un-threaded version of libglib2. There were minor cleanups and some bug fixes to various Config.in as well.

See autobuilder failures

http://autobuild.buildroot.net/results/d1fb882fe4d22a17bdd438360da515011dda2b30/build-end.log?
http://autobuild.buildroot.net/results/b66e807769ead5caa3e3b6312e9f7c35c14eafe7/build-end.log?
http://autobuild.buildroot.net/results/9c3fa0c5003a6369e70bfe6d611f7d745742a8c7/build-end.log?

I've committed this patch set, after squashing all the patches (except the avahi minor cleanup patch) into one and doing a few minor fixes.

Thanks!

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com