summaryrefslogtreecommitdiffstats
path: root/package/libglib2
Commit message (Collapse)AuthorAgeFilesLines
* libglib2: add dependency on host-gettextThomas Petazzoni2013-03-241-2/+2
| | | | | | | | libglib2 requires msgfmt, which is now provided by host-gettext since gettext will no longer be part of the mandatory dependencies. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: use system pcre when availableThomas Petazzoni2013-03-091-0/+7
| | | | | | | | | | By default, glib builds its own internal copy of the pcre library, but it also allows to use the one available from the system. Use this possibility when pcre is already selected in the Buildroot configuration. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: don't build testsThomas Petazzoni2013-03-092-1/+123
| | | | | | | | | | | | | Add a patch that provides an additional --disable-tests option to the configure script. Disabling the build of tests has two benefits: * Prevents the build of a lot of code that doesn't build on noMMU platforms. * Reduces the build time. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: fix build with binary microblaze toolchainsPeter Korsgaard2013-02-191-1/+6
| | | | | | The toolchains don't have qsort_r or working inotify, so disable those. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove all := signsThomas Petazzoni2013-01-201-1/+1
| | | | | | | | | | | Finally get rid of all := used for variable definitions in packages, as we suggest in our manual and during the review of new packages. While I was at it, I also sometimes added a few missing new lines between the header and the first variable definition. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: fix g_print()Benoît Thébaudeau2012-12-181-1/+2
| | | | | | | | | | | | | | | | | If GLib is cross-compiled, the default printf settings that it selects are wrong for glibc. This leads to issues with the g_print() functions, e.g. "Aborted" errors returned by gst-inspect. This patch fixes this issue by setting printf configuration options compatible with glibc. These options should also be compatible with uClibc. This solution has been suggested for LTIB by Rogerio Nunes: https://community.freescale.com/thread/302734 Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: don't try to use DTrace/GCov/SystemTap for host buildThomas Petazzoni2012-12-101-0/+3
| | | | | | | | | | | | | | | | | | We really only need the host build of libglib2 for a few helper programs that are used for the target build of libglib2. Therefore, trying to use bells and whistles like DTrace, GCov and SystemTap is totally useless. And it is actually harmful, since it is causing build failures on the gcc110 PowerPC-based autobuilder that apparently has some DTrace-feature installed. This commit therefore fixes: http://autobuild.buildroot.org/results/1c62d1ce10937bd21f5afcb73782b939d10c2038/build-end.log Which has been polluting our autobuilder logs since several weeks now. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: switch to host-pkgconfGustavo Zacarias2012-10-291-2/+2
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: bump versionPeter Korsgaard2012-09-251-3/+2
| | | | | | | | | | For details, see: http://ftp.gnome.org/pub/gnome/sources/glib/2.30/glib-2.30.3.news Notice: 2.30.3 is only available in .xz format. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Remove all references to libintlThomas Petazzoni2012-09-202-2/+1
| | | | | | | | | | | | | | | From now on, packages only need to select the BR2_PACKAGE_GETTEXT option and depend on the 'gettext' package to get the necessary i18n libraries installed on the target. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [yann.morin.1998@free.fr: remove BR2_PACKAGE_LIBINTL] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> CC: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: make codegen python2/python3 compliantSamuel Martin2012-08-211-0/+192
| | | | | | | Signed-off-by: Samuel Martin <s.martin49@gmail.com> create mode 100644 package/libglib2/libglib2-make-codegen-python2-python3-compliant.patch Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: use new host-xxx-package macrosArnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: fix build with legacy uClibc versionsPeter Korsgaard2012-02-281-1/+8
| | | | | | | | qsort_r was only added in uClibc 0.9.33, so only enable it when we're sure it's available. For external/ctng toolchains we cannot easily know, so simply disable it there. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: update to version 2.30.2Sven Neumann2012-02-283-33/+9
| | | | | | | | | Update to latest stable release and add a dependency on libffi which is needed by GObject. [Peter: fixup build on uClibc] Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSThomas Petazzoni2011-09-291-2/+2
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: bump to 2.28.8Sven Neumann2011-09-271-1/+1
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: remove --{enable,disable}-{shared,static} from autotools packagesThomas Petazzoni2011-06-121-5/+0
| | | | | | | | Now that those values are passed at the autotools infrastructure level, there's no need for every package to pass inconsistent values. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: bump to 2.28.6Thomas Petazzoni2011-05-182-16/+2
| | | | | | | The patch libglib2-mkenums-nowarn.patch is removed, since it has been merged upstream. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: apply libtool patch where possiblePeter Korsgaard2011-02-171-1/+0
| | | | | | | | | | Now that we have libtool-2.2.x patch support, we can get rid of a bunch of _LIBTOOL_PATH = NO, fixing (potential) cross link issues. Notice: php not changed, as it uses a very old 1.5 version for the embedded sqlite, where our buildroot-libtool-v1.5.patch doesn't apply. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: bump to 2.26.1Lionel Landwerlin2010-12-311-1/+1
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: ensure atomic ops patch gets appliedPeter Korsgaard2010-11-171-0/+0
| | | | | | Closes #2809 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: fix compilation when compiler has no builtin atomicLionel Landwerlin2010-11-071-0/+25
| | | | | | | Reported here: https://bugzilla.gnome.org/show_bug.cgi?id=631353 Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: remove fix-clock-gettime patchThomas Petazzoni2010-10-182-56/+0
| | | | | | | | | | | | | This patch was introduced in 0ec4298153bd93f8d7efbd1890896fbac5046a7b to fix a problem in libglib configure script when using the configuration cache. However, we decided that the shared configuration cache cannot work reliably, to disable it by default, and probably to remove it altogether. So just drop this patch, and don't autoreconfigure libglib. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump version to 2.26.0Thomas Petazzoni2010-10-184-17/+27
| | | | | | This is a mechanical bump, no other changes involved. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: add patch to rework clock_gettime() testThomas Petazzoni2010-08-242-1/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test for clock_gettime() in configure.in doesn't work properly when a previous package has loaded the shared configuration cache with informations about the availability of clock_gettime. A package such as ctorrent does so, which means that compiling ctorrent *then* libglib2 currently fails. According to people on the Autoconf mailing list, the libglib2 test is likely the one that needs to be fixed. The problem is that the AC_CHECK_FUNCS() test assumes that if it finds clock_gettime() it means that there's no need to add any -lrt flag to the build. Unfortunately, due to the shared configuration cache, this test is already done with -lrt, so the test succeeds, and libglib2 does not know that it needs to add -lrt to G_THREAD_LIBS and G_THREAD_LIBS_FOR_GTHREAD. So instead, we remplace the test with an AC_SEARCH_LIBS() test, followed by a test on the result of this AC_SEARCH_LIBS() test to add the necessary -lrt to G_THREAD_LIBS and G_THREAD_LIBS_FOR_GTHREAD. Therefore, even if the result for the AC_SEARCH_LIBS() test is cached due to the prior execution ctorrent ./configure script, libglib2 ./configure will properly add -lrt to the appropriate variables. Obviously, as this patch modifies the configure.in file, we enable the autoreconf step for the libglib2 package. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Remove gdb plugins from targetMalte Starostik2010-07-301-0/+9
| | | | | | | * Don't install gdb plugins unless BR2_TARGET_GDB is set Signed-off-by: Malte Starostik <m-starostik@versanet.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Purge libglib2 dev files from targetMalte Starostik2010-07-301-0/+11
| | | | | | | | | * Don't install libglib2 development binaries and to target unless BR2_HAVE_DEVFILES is set Signed-off-by: Malte Starostik <m-starostik@versanet.de> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: bump to 2.24.1Lionel Landwerlin2010-07-271-1/+1
| | | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: bump to 2.24.0Lionel Landwerlin2010-07-272-4/+5
| | | | Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
* package: gettext needs WCHAR supportPeter Korsgaard2010-05-251-0/+4
| | | | | | | | 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>
* Make all package using gettext rely on BR2_NEEDS_GETTEXTThomas Petazzoni2010-05-202-3/+3
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove useless HOST_*_LIBTOOL_PATCHThomas Petazzoni2010-05-021-1/+0
| | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: bump versionPeter Korsgaard2010-03-161-1/+1
| | | | Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: bump to 2.22.4Lionel Landwerlin2010-01-282-3/+56
| | | | | | | [Peter: updated to 2.22.4 instead which is so far only on ftp.gnome.org, fixed build without IPv6 support] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: fix host build for packages with own libtool patchPeter Korsgaard2009-12-301-0/+1
| | | | | | | Packages which also build a host variant and have LIBTOOL_PATCH = NO, should also disable libtool patching for the host build. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: convert to autotools infrastructure for host packageThomas Petazzoni2009-12-151-46/+9
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* host-pkgconfig is now host-pkg-configThomas Petazzoni2009-12-151-1/+1
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: get rid of redundant malloc related configure presetsPeter Korsgaard2009-12-061-3/+1
| | | | | | | Those are already in TARGET_CONFIGURE_ARGS. Also get rid of unused BR2_AC_CV_FUNC_MALLOC_0_NONNULL variable. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard2009-10-011-1/+1
| | | | | | | | | | We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: bump version to 2.20.5Sven Neumann2009-09-031-1/+1
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: Remove unnecessary dependencies on uclibc.Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: update to upstream release 2.20.4Sven Neumann2009-07-221-1/+1
| | | | | Signed-off-by: Sven Neumann <s.neumann@raumfeld.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* libglib2: bump versionPeter Korsgaard2009-04-271-2/+2
| | | | Patch by Sven Neumann <s.neumann@phase-zero.de>, closes #279.
* package: provide download target for host packagesPeter Korsgaard2009-03-241-0/+3
|
* package: add STAMP_DIR and use for host buildsPeter Korsgaard2009-03-191-16/+17
| | | | | | | | | | | | | | Move stamp (dependency) files outside the (version specific) source directories, so other packages can hardcode dependencies on them instead of having to use <PACKAGE>_VERSION variables. This is important as the variables in the make rules are evaluated when the rules is seen, which might be before the dependent makefile is parsed (and hence <PACKAGE>_VERSION variable is known, screwing up stuff. The downside of this is that the package isn't automatically rebuilt when the version changes (E.G. by a svn update) and you now also have to remove the stamp files next to $(BUILD_DIR)/<PACKAGE>-* to force a rebuild.
* libglib2: no longer needs glib2-dev package on hostPeter Korsgaard2009-03-181-1/+0
|
* pkgconfig: add pkgconfig package for targetPeter Korsgaard2009-03-182-2/+1
| | | | | | | | | | | | | The host versions shouldn't be visible in Kconfig, so remove the reference to BR2_PACKAGE_PKGCONFIG everywhere and prefix the host targets with host-. At the same time add pkgconfig for the target (E.G. for development) and let BR2_PACKAGE_PKGCONFIG control that package. Notice: all defconfigs in the tree have been updated, but make sure to disable the pkgconfig package (unless you want it) if you use an external config, otherwise you'll end up with pkgconfig and glib2 in the target.
* libglib2: pkgconfig patch no longer needed as we have HOST_DIR in pathPeter Korsgaard2009-03-172-32/+0
|
* package: fix host pathPeter Korsgaard2009-03-171-1/+1
| | | | And generate dbus introspect xml for dbus-glib.