package: gettext needs WCHAR support
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 25 May 2010 21:38:44 +0000 (23:38 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 25 May 2010 21:38:44 +0000 (23:38 +0200)
gettext needs WCHAR support in the toolchain, and as libglib2 depends on
gettext and lots of stuff depends on libglib2, quite a lot of packages
needs to have their dependencies adjusted.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
28 files changed:
CHANGES
package/atk/Config.in
package/dbus-glib/Config.in
package/dbus-python/Config.in
package/docker/Config.in
package/enchant/Config.in
package/gamin/Config.in
package/gettext/Config.in
package/gmpc/Config.in
package/gob2/Config.in
package/gvfs/Config.in
package/hal/Config.in
package/libglade/Config.in
package/libglib2/Config.in
package/libgtk2/Config.in
package/libsoup/Config.in
package/multimedia/gstreamer/Config.in
package/multimedia/libmms/Config.in
package/multimedia/libmpd/Config.in
package/multimedia/swfdec/Config.in
package/nbd/Config.in
package/pango/Config.in
package/pcmanfm/Config.in
package/php/Config.ext
package/pkg-config/Config.in
package/shared-mime-info/Config.in
package/sshfs/Config.in
package/xstroke/Config.in

diff --git a/CHANGES b/CHANGES
index 985347ad1a552c86ce6edbedb8681f95cc1a0c87..61ab0527ba763a84d0f716b0813e1bd43134d6ae 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,12 +2,15 @@
 
        Fixes all over the tree.
 
-       Updated/fixed packages: aumix, avahi, busybox, cairo, cdrkit,
-       fltk, gettext, gmpc, grep, hal, iconv, icu, libcgicc, libglib2,
-       libidn, libmpd, libpcap, libsoup, lmbench, ltrace, lvm2, make,
-       metacity, mtd-utils, mutt, netsnmp, ntp, pango, pciutils,
-       pcmanfm, php, psmisc, qt, samba, sshfs, startup-notification,
-       swfdec, sylpheed, uemacs, util-linux, vpnc, webkit
+       Updated/fixed packages: aumix, atk, avahi, busybox, cairo,
+       cdrkit, dbus-glib, dbus-python, docker, enchant, fltk, gamin,
+       gettext, gmpc, gob2, grep, gstreamer, gvfs, hal, iconv, icu,
+       libcgicc, libglade, libglib2, libgtk2, libidn, libmms, libmpd,
+       libpcap, libsoup, lmbench, ltrace, lvm2, make,
+       metacity, mtd-utils, mutt, nbd, netsnmp, ntp, pango, pciutils,
+       pcmanfm, php, pkg-config, psmisc, qt, samba, shared-mime-info,
+       sshfs, startup-notification, swfdec, sylpheed, uemacs,
+       util-linux, vpnc, webkit, xstroke
 
        Issues resolved (http://bugs.uclibc.org):
 
index e7f75b391d9b1e875ede120826ec65618b1d37c5..928fae7463de21dd64880ebb65d36341fa871793 100644 (file)
@@ -1,5 +1,9 @@
 config BR2_PACKAGE_ATK
        bool "atk"
        select BR2_PACKAGE_LIBGLIB2
+       depends on BR2_USE_WCHAR # 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
index 7c992b03e85c9bcea7f4072fa2fb9a30602ea953..c019be73b2bf02707143d995775515bb185d7902 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_DBUS_GLIB
        bool "dbus-glib"
        depends on BR2_PACKAGE_DBUS
        depends on BR2_DBUS_EXPAT
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        help
          GLib bindings for D-Bus.
@@ -10,3 +11,6 @@ config BR2_PACKAGE_DBUS_GLIB
 
 comment "dbus-glib needs dbus to be compiled with expat support"
        depends on BR2_PACKAGE_DBUS && !BR2_DBUS_EXPAT
+
+comment "dbus-glib requires a toolchain with WCHAR support"
+       depends on BR2_PACKAGE_DBUS && !BR2_USE_WCHAR
index f5705a5448747f8c4fac43f5d4b86edaeb3d9f00..91c127d05f48facc17694d0b1d69c512137e0680 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_DBUS_PYTHON
        bool "dbus-python"
+       depends on BR2_USE_WCHAR # glib2
        depends on BR2_PACKAGE_DBUS
        depends on BR2_PACKAGE_PYTHON
        select BR2_PACKAGE_DBUS_GLIB
@@ -7,3 +8,6 @@ config BR2_PACKAGE_DBUS_PYTHON
          Python bindings for D-Bus
 
          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
index 02ef83c2e90b3825b04761dd31cede80a3e39405..75bf5bedebfaa8649b5e4a2cdb91a074aa6dcdf5 100644 (file)
@@ -1,8 +1,12 @@
 config BR2_PACKAGE_DOCKER
        bool "docker"
        depends on BR2_PACKAGE_XORG7
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        help
          a system tray dock for X
 
          http://icculus.org/openbox/2/docker
+
+comment "docker requires a toolchain with WCHAR support"
+       depends on BR2_PACKAGE_XORG7 && !BR2_USE_WCHAR
index 9cd15a196382a7b435d179c294fc4a86053c4888..33f36db41b69ee68fd090cce73118081822b437b 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_ENCHANT
        bool "enchant"
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        help
          Enchant is a spell-checking library that provides a consistent
@@ -8,5 +9,5 @@ config BR2_PACKAGE_ENCHANT
 
          http://www.abisource.com/projects/enchant/
 
-comment "enchant requires a toolchain with C++ support enabled"
-       depends on !BR2_INSTALL_LIBSTDCPP
+comment "enchant requires a toolchain with C++ and WCHAR support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
index d4e9bcc794942669776bfbf9468babc7047e189d..3ede2e4d760e5f6968604fa7c9bf65bc32219209 100644 (file)
@@ -1,7 +1,11 @@
 config BR2_PACKAGE_GAMIN
        bool "gamin"
+       depends on BR2_USE_WCHAR # 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
index c6792acd7d8f4d85297a56ba538373660a1cf68e..c1ae97f614c253507e57715817f2372544c347b8 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_GETTEXT
        bool "gettext"
        depends on BR2_NEEDS_GETTEXT
+       depends on BR2_USE_WCHAR
        help
          The GNU `gettext' utilities are a set of tools that provide a
          framework to help other GNU packages produce multi-lingual
@@ -8,6 +9,9 @@ config BR2_PACKAGE_GETTEXT
 
          http://www.gnu.org/software/gettext/
 
+comment "gettext requires a toolchain with WCHAR support"
+       depends on BR2_NEEDS_GETTEXT && !BR2_USE_WCHAR
+
 config BR2_PACKAGE_GETTEXT_STATIC
        bool "Use libgettext.a instead of libgettext.so.*"
        depends on BR2_PACKAGE_GETTEXT
index 979df48b860b77f887f9bda00066df4f245edb54..7bfe611ea9d7932db95ea5a01480cf7ec8cc7ae3 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_GMPC
        bool "gmpc"
        depends on BR2_PACKAGE_LIBGTK2
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
        select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
@@ -14,3 +15,6 @@ config BR2_PACKAGE_GMPC
          Music Player Daemon.
 
          http://gmpcwiki.sarine.nl/index.php?title=GMPC
+
+comment "gmpc requires a toolchain with WCHAR support"
+       depends on BR2_PACKAGE_LIBGTK2 && !BR2_USE_WCHAR
index 2545bafa62cb5c3b654fdd9c91de8e5171b77ca7..562ac3123c1c9f0d318449421e2357986bd31379 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_GOB2
        bool "gob2"
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_FLEX
        select BR2_PACKAGE_FLEX_LIBFL
@@ -9,3 +10,6 @@ config BR2_PACKAGE_GOB2
          the writing of GObjects in C.
 
          http://www.jirka.org/gob.html
+
+comment "gob2 requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
index 8a541e751ab6fbb5094ab7adc3ff82c1ba262460..04fce93facc1dace95fc30164b8d83981a5f2915 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_GVFS
        bool "gvfs"
        depends on BR2_LARGEFILE
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_EXPAT # needed by dbus(-glib)
        select BR2_PACKAGE_DBUS
@@ -15,5 +16,5 @@ config BR2_PACKAGE_GVFS
 
          http://en.wikipedia.org/wiki/GVFS
 
-comment "gvfs requires a toolchain with LARGEFILE support"
-       depends on !BR2_LARGEFILE
+comment "gvfs requires a toolchain with LARGEFILE and WCHAR support"
+       depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
index 0420568fad23345621575db3299eeb46decf908f..f8dc9dd8af2ea8700cffb8805a9f8cdf0d60746c 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_HAL
        bool "hal"
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_EXPAT
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
@@ -13,3 +14,6 @@ config BR2_PACKAGE_HAL
        select BR2_PACKAGE_UDEV_VOLUME_ID
        help
          The Hardware Abstraction Layer (HAL) suite.
+
+comment "hal requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
index 2fb6eb60a5493f1f237194aadc7610b70116336b..f7a9a1ce09b487377d6693e769f509ca3c6a7435 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_LIBGLADE
        bool "libglade"
        depends on BR2_PACKAGE_LIBGTK2
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_ATK
        select BR2_PACKAGE_LIBXML2
@@ -10,3 +11,6 @@ config BR2_PACKAGE_LIBGLADE
          by far the easiest way to create the interface files.
 
          http://ftp.gnome.org/pub/GNOME/sources/libglade/
+
+comment "libglade requires a toolchain with WCHAR support"
+       depends on BR2_PACKAGE_LIBGTK2 && !BR2_USE_WCHAR
index cc1d6e27bf9ee7c6712d08a8c871a3b12434d931..43ca7c007d44332967ef83bef48fd5fc8a739741 100644 (file)
@@ -3,7 +3,11 @@ config BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
        select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
+       depends on BR2_USE_WCHAR # gettext
        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
index 5c0482d610003a308f4260741e421ddee81713fa..5eec77a5cf23df160f775a80fbb81c98f11812a9 100644 (file)
@@ -7,7 +7,11 @@ config BR2_PACKAGE_LIBGTK2
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_PANGO
        depends on BR2_PACKAGE_XORG7||BR2_PACKAGE_DIRECTFB
+       depends on BR2_USE_WCHAR # glib2
        help
          The GTK+ version 2 graphical user interface library
 
          http://www.gtk.org/
+
+comment "libgtk2 requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
index b3d4b5f9cccdc0f8a970c6cb35eab99f39ee0eab..2264b63ccecd505d0c57c2f23e68c87105f16248 100644 (file)
@@ -1,12 +1,16 @@
 config BR2_PACKAGE_LIBSOUP
        bool "libsoup"
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBXML2
        select BR2_PACKAGE_LIBGLIB2
-       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
-       select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
+       select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
+       select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT
        help
          libsoup is an HTTP client/server library. It uses GObject
          and the GLib main loop, to integrate well with GNOME
          applications.
 
          http://live.gnome.org/LibSoup
+
+comment "libsoup requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
index 8c8080173072b3cdd66467685812a1aaf2eafa37..a3ce859572bf707bb9b4f9e848cfbe46f5bd5e12 100644 (file)
@@ -1,11 +1,15 @@
 config BR2_PACKAGE_GSTREAMER
        bool "gstreamer"
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        help
          GStreamer is an open source multimedia framework.
 
          http://gstreamer.freedesktop.org/
 
+comment "gstreamer requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
+
 config BR2_PACKAGE_GSTREAMER_LIBXML2
        bool "require libxml2 for registry and load/save"
        default y
index 02055c4c2e13ab59f2d086998975208d723f56ce..17cb406a62567941688407355e774aaabdfce9c3 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBMMS
        bool "libmms"
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        help
           LibMMS is a common library for parsing mms:// and mmsh://
@@ -9,3 +10,6 @@ config BR2_PACKAGE_LIBMMS
           all.
 
          http://launchpad.net/libmms
+
+comment "libmms requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
index 4f3a7144f0748ef8ba6bf2041c44fce776ad9367..9259c19ee9122f024d0223875749c8308c86b046 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIBMPD
        bool "libmpd"
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
        help
@@ -8,3 +9,6 @@ config BR2_PACKAGE_LIBMPD
          access to Music Player Daemon (mpd).
 
          http://gmpcwiki.sarine.nl/index.php?title=Libmpd
+
+comment "libmpd requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
index 0f2dea53f8df9bc747bc0e3a03b2ba06ffaf33dc..2a79756d1b25d427cb6c5a7e24de57eb15aa40ad 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SWFDEC
        bool "swfdec"
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBOIL
        select BR2_PACKAGE_ALSA_LIB
        select BR2_PACKAGE_PANGO
@@ -29,3 +30,5 @@ config BR2_PACKAGE_SWFDEC_GSTREAMER
        help
          Enables GStreamer support
 
+comment "swfdec requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
index 66c24afa3735078a202e666e7d71bebe7585c4b4..6e92f935d4b8623fa8ff021e0fff41fb852a213a 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_NBD
        bool "nbd"
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        help
          NBD is a set of utilities to configure network block devices,
@@ -9,6 +10,9 @@ 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
index 2c02219dc6eb89687e1578559f8da194b29105bb..e4c084d0c5eb8fa8f2efb7650afced5647abc02f 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PANGO
        bool "pango"
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_EXPAT
        select BR2_PACKAGE_CAIRO
@@ -13,3 +14,6 @@ config BR2_PACKAGE_PANGO
          core of text and font handling for GTK+-2.x.
 
          http://www.pango.org/
+
+comment "pango requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
index e87e5175462ce2a058af86c49cf5a9b7ef7a12a0..c8b4debff8a319751c1cad776077f6120a2fa565 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PCMANFM
        bool "pcmanfm"
        depends on BR2_PACKAGE_XORG7
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_GAMIN
        select BR2_PACKAGE_STARTUP_NOTIFICATION
        depends on BR2_PACKAGE_LIBGTK2
@@ -9,3 +10,6 @@ config BR2_PACKAGE_PCMANFM
          tabbed browsing and user-friendly interface.
 
          http://internap.dl.sourceforge.net/sourceforge/pcmanfm
+
+comment "pcmanfm requires a toolchain with WCHAR support"
+       depends on BR2_PACKAGE_XORG7 && !BR2_USE_WCHAR
index 2fbd05e8a483776d28800ea225577a76720da6d8..0f5b982057bc277c6ff293e076771ead3d5450a5 100644 (file)
@@ -68,9 +68,13 @@ config BR2_PACKAGE_PHP_EXT_FTP
 config BR2_PACKAGE_PHP_EXT_GETTEXT
        bool "gettext"
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
+       depends on BR2_USE_WCHAR
        help
          gettext support
 
+comment "gettext support requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
+
 config BR2_PACKAGE_PHP_EXT_GMP
        bool "gmp"
        select BR2_PACKAGE_LIBGMP
index 8ec80552726a9ec4c4a22330902ab25adb1d7df6..eae0a21f246941bbfcf2fc7882421ba99b672fa5 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PKG_CONFIG
        bool "pkg-config"
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        help
          pkg-config is a system for managing library compile/link
@@ -8,3 +9,6 @@ config BR2_PACKAGE_PKG_CONFIG
          single tool.
 
          http://www.freedesktop.org/software/pkgconfig/
+
+comment "pkg-config requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
index adc835ad0d88364fc314f96810261271293136f1..b08c1fdaa6d2ecdd07accd1715afb3ab5f8cccf0 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SHARED_MIME_INFO
        bool "shared-mime-info"
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_LIBXML2
        help
@@ -8,3 +9,6 @@ config BR2_PACKAGE_SHARED_MIME_INFO
          command used to extend it.
 
          http://freedesktop.org/wiki/Software/shared-mime-info
+
+comment "shared-mime-info requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
index 8d7a2a23e1f56aaa5c85fa96fd5121ced2539362..61d9bf3ccef8d304cd529c35b23c3eebbf166b64 100644 (file)
@@ -7,6 +7,7 @@ config BR2_PACKAGE_SSHFS
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
        depends on BR2_PACKAGE_OPENSSH
        depends on BR2_LARGEFILE
+       depends on BR2_USE_WCHAR # glib2
        help
          FUSE makes it possible to implement a filesystem in a userspace
          program. Features include: simple yet comprehensive API, secure
@@ -15,5 +16,5 @@ config BR2_PACKAGE_SSHFS
 
          http://fuse.sourceforge.net/sshfs.html
 
-comment "sshfs requires a toolchain with LARGEFILE support"
-       depends on !BR2_LARGEFILE
+comment "sshfs requires a toolchain with LARGEFILE and WCHAR support"
+       depends on !BR2_LARGEFILE || !BR2_USE_WCHAR
index dc904cb499554ea83ef4de4f74d7cfa8621ce848..3d68b3e2f731ce3d4025133f997b4bcc5914c814 100644 (file)
@@ -1,8 +1,12 @@
 config BR2_PACKAGE_XSTROKE
        bool "xstroke"
        depends on BR2_PACKAGE_XORG7
+       depends on BR2_USE_WCHAR # glib2
        select BR2_PACKAGE_DOCKER
        help
          Handwriting recognition for X
 
          http://avr32linux.org/twiki/pub/Main/XStroke
+
+comment "xstroke requires a toolchain with WCHAR support"
+       depends on BR2_PACKAGE_XORG7 && !BR2_USE_WCHAR