summaryrefslogtreecommitdiffstats
path: root/package/libglib2
Commit message (Collapse)AuthorAgeFilesLines
* Revert "package/libglib2: bump to version 2.58.1"Thomas Petazzoni2018-12-037-55/+108
| | | | | | | | | | | | This reverts commit 178eb1d7ea165d87460224d297ce615bb63090f0. This bump causes too many build failures in reverse dependencies of libglib2, for which a proper solution needs to be found. See also the analysis from Yann E. Morin: http://lists.busybox.net/pipermail/buildroot/2018-December/237663.html Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libglib2: bump to version 2.58.1Fabrice Fontaine2018-12-027-108/+55
| | | | | | | | | | | | - Update second patch - Remove third and fifth patches (already in version) - Add a new patch to fix a missing header - Add LIBGLIB2_GTK_DOC_HOOK so autoreconf do not fail on the following error: automake: error: cannot open < gtk-doc.make: No such file or directory Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libglib2: backport upstream patch to handle missing fcntl() flagsHollis Blanchard2018-07-311-0/+52
| | | | | | | | | | | | | On RHEL6 hosts, fcntl.h doesn't define F_SETPIPE_SZ or F_GETPIPE_SZ. Upstream glib has a patch for this case that wasn't applied to their 2.56.1 branch. Fixes: http://autobuild.buildroot.net/results/04b98a0b5c593c0525ef39d03c1ee7c2bbf5e44d/ Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libglib2: Avoid absolute path to python in shebangDavid Owens2018-07-181-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | When the output directory is nested under a long path name, calling the gdbus-codegen, glib-genmarshal, or glib-mkenums scripts throws the error: > '/usr/bin/env: /...: No such file or directory' This is because libglib2 uses the absolute path to the python interpreter for its shebang statements, and shebangs have a max length of 127 chars[1]. A long absolute path will be cut off and appear as a missing file. Since the host Python is present in the $PATH passed to all packages, we can copy the workaround from Yocto and just use the python interpreter in $PATH[2]. However, 'python' is used instead of 'python3' as the scripts are compatible with both. [1] https://linux.die.net/man/2/execve [2] http://cgit.openembedded.org/openembedded-core/commit/?id=eef7883587acc933d6f34b559ec03ff84d18573b Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com> Signed-off-by: David Owens <david.owens@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libglib2: fix gobject with gcc <= 4.7Fabrice Fontaine2018-04-151-0/+50
| | | | | | | | | | Patch under upstream review: https://bugzilla.gnome.org/show_bug.cgi?id=795138 Fixes: - http://autobuild.buildroot.net/results/b29a2f868438a2210873ea72f491db63175848be Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libglib2: fix licenseFabrice Fontaine2018-04-091-1/+1
| | | | | | | | libglib2 is licensed under LGPL-2.1+ and not LGPL-2.0+ since release 2.53.3 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libglib2: bump to version 2.56.1Fabrice Fontaine2018-04-093-45/+3
| | | | | | | Remove patch (applied upstream) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libglib2: add upstream patch to fix build issueThomas Petazzoni2018-04-071-0/+42
| | | | | | | | | | | | | | | | | | Since the bump of libglib2 to 2.56.0, it fails to build on uClibc with: gthreadedresolver.c: In function 'do_lookup_records': gthreadedresolver.c:875:16: error: 'res' undeclared (first use in this function); did you mean '_res'? res_nclose (&res); ^~~ _res This commit adds an upstream patch that fixes this problem. Fixes: http://autobuild.buildroot.net/results/990e19e3500986263f99354215e33214a2e89116/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libglib2: bump to 2.56.0Adam Duskett2018-04-062-4/+4
| | | | | Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* libglib2: don't override ac_cv_func_strerror_r_char_pJohn Keeping2018-02-251-2/+0
| | | | | | | | | | | | | | | | | | | | | | libglib2 recently changed to use the result of the autoconf macro to decide how to use strerror_r() in g_strerror() instead of embedding the same preprocessor condition as in glibc's strings.h (upstream commit c8e268bb was first included in release 2.53.4). Following this change, if ac_cv_func_strerror_r_char_p is incorrectly set to "no", the error string is an uninitialized buffer which cannot be encoded as UTF-8. The final result of this is that GLib functions that are expected to fill in an error pointer on failure in fact leave this pointing to NULL which is likely to cause a segfault in client applications. In fact the autoconf check compiles a test file but does not need to run it, so the test is safe when cross-compiling and returns the correct answer. So remove this cached value and let the configure script figure it out for itself, fixing g_strerror() on glibc systems. Signed-off-by: John Keeping <john@metanate.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/libglib2: add license hashSamuel Martin2017-11-051-0/+2
| | | | | Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/libglib2: Bump to version 2.54.2Petr Vorel2017-11-022-3/+3
| | | | | Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump to 2.54.1Adam Duskett2017-10-182-4/+4
| | | | | Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: needs autoreconfThomas Petazzoni2017-10-171-0/+2
| | | | | | | | | | | | | | | | | | Patch 0002-disable-tests.patch modifies Makefile.am, so we have to autoreconf. It hasn't been seen until now, but becomes very clear since the bump of automake to 1.15.1, as we're seeing build failures such as: configure.ac:66: error: version mismatch. This is Automake 1.15.1, configure.ac:66: but the definition used by this AM_INIT_AUTOMAKE configure.ac:66: comes from Automake 1.15. You should recreate configure.ac:66: aclocal.m4 with aclocal and run automake again. Fixes: http://autobuild.buildroot.net/results/3402357d8e90f1866dfeaee7bb61119d80dc8bcb/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Globally replace $(HOST_DIR)/usr/bin with $(HOST_DIR)/binArnout Vandecappelle2017-07-051-3/+3
| | | | | | | | | | | Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/bin' | xargs sed -i 's%$(HOST_DIR)/usr/bin%$(HOST_DIR)/bin%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: use the new gettext logicThomas Petazzoni2017-07-052-3/+2
| | | | | | | | | | | | This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* libglib2: disable compiler warningsThomas Petazzoni2017-07-041-1/+2
| | | | | | | | | | | | | | | | By default, libglib enables some fairly aggressive warnings, treated as errors. In particular, the -Wformat=2 warning triggers a warning due to the return value of the ngettext() macro from uClibc libintl stub not being understood as being potentially a format string. So, before we enable the stub libintl in uClibc, we disable such warnings. A bug will be reported to upstream uClibc to get the actual bug fixed, but disabling compiler warnings treated as errors is anyway a good thing in the context of Buildroot. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump version to 2.52.2Adam Duskett2017-06-245-60/+49
| | | | | | | | | | Patches were changed to git format, because libglib is a git project. 0003-gio-2.0.pc-include-libmount-in-Libs.private.patch was added to upstream as of commit: https://git.gnome.org/browse/glib/commit/?id=ecdd3c29fc4bd28f01fe53d0528bfee888c9c62c. Signed-off-by: Adam Duskett <aduskett@codeblue.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/l*/Config.in: fix ordering of statementsAdam Duskett2017-05-011-3/+3
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter l in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: use SPDX short identifier for LGPLv2/LGPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2/LGPLv2+ is LGPL-2.0/LGPL-2.0+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2(\+)?/LGPL-2.0\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump to version 2.50.3Gustavo Zacarias2017-02-152-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libglib2: bump to version 2.50.2Gustavo Zacarias2016-12-092-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libglib2: fix static linking with libgioRahul Bedarkar2016-10-201-0/+32
| | | | | | | | | | | | | | When statically linking with libgio, application needs to link with all internal libraries that libgio uses. This commit adds patch which includes libmount as Libs.private. Fixes: http://autobuild.buildroot.net/results/fdf/fdf26abbed0014606a7788ce5d60828a0e871186 http://autobuild.buildroot.net/results/1d6/1d69b8ea34cf57255be54de0c87fc83590fb1337 Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump to version 2.50.1Gustavo Zacarias2016-10-122-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "Revert "libglib2: add host-util-linux for host variant""Gustavo Zacarias2016-10-111-1/+6
| | | | | | | This reverts commit 2f556ab99f51a0b90183610a7fecb9ed22ed4aa3. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "Revert "libglib2: bump to version 2.50.0""Gustavo Zacarias2016-10-113-5/+7
| | | | | | | This reverts commit 40da5b434d0d25662b447f14b724245da04ed90d. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "libglib2: bump to version 2.50.0"Thomas Petazzoni2016-10-093-7/+5
| | | | | | | | | | | | | | | This reverts commit 4c7c010f9fae01399070844991252d3f5b9aae5f. The bump to libglib2 2.25.0 causes a large number of build failures due to the redefinition of crc32() in both util-linux libblkid and zlib. Fixes: http://autobuild.buildroot.net/results/ac65c9177dd63fc8d76dba3b9845f81b15faa716/ (and approximately 500 other similar build failures) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "libglib2: add host-util-linux for host variant"Thomas Petazzoni2016-10-091-6/+1
| | | | | | | | | | | This reverts commit 71c5a81c96873c056cb2c54580e3ba2db528ca8a. The bump to libglib2 2.25.0 causes a large number of build failures due to the redefinition of crc32() in both util-linux libblkid and zlib. This commit is related to the bump, so it needs to get reverted as well. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: add host-util-linux for host variantGustavo Zacarias2016-09-211-1/+6
| | | | | | | | It's required now, fixes: http://autobuild.buildroot.net/results/e81/e81f98561867d370115a019284682c0611796978/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump to version 2.50.0Gustavo Zacarias2016-09-203-5/+7
| | | | | | | It now requires util-linux libmount so add the dependency/select. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump to version 2.48.2Gustavo Zacarias2016-08-192-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: use the <PKG>_TARGET_FINALIZE_HOOKSYann E. MORIN2016-07-051-4/+2
| | | | | | | | | | | | | | | | | | Register package-specific target-finalize hooks with the newly-introduced <PKG>_TARGET_FINALIZE_HOOKS. This incidentally fixes luarocks, which was registering target-finalize hooks even when it was not enabled. To be noted, the skeleton package is not converted, because it is not optional, we always have it; so its hooks would always be registered anyway. Besides, the followup patches would render this conversion moot anyway, since those hooks would be spread across the various skeleton packages. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump to version 2.48.1Gustavo Zacarias2016-05-102-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: remove gdbus-codegen from targetGustavo Zacarias2016-05-091-1/+1
| | | | | | | | It requires python and it's normally used at build time, hence since we don't support toolchain in the target it really doesn't make much sense. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump to version 2.48.0Gustavo Zacarias2016-03-223-15/+16
| | | | | | | | | | | | | | | | | | Switch to system/unbundled pcre since it's the default and recommended by upstream now. It's also good security practice since pcre patches won't get updated in the bundled version inside glib so often. As stated in glib's NEWS: Overview of changes in GLib 2.47.5 * the system copy of PCRE is now used by default to implement GRegex. Configure with --with-pcre=internal if a system PCRE version is unavailable or undesired. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: improve dev file handlingGustavo Zacarias2016-03-201-8/+29
| | | | | | | | | | | | | | | | | | | | | Remove source schema files from target (/usr/share/glib-2.0/schemas/*.dtd and *.xml) at target finalization time. This is because other packages install schemas as well to avoid duplicating file removal efforts all around. Add a schema compiler run on target finalization as well - we previously didn't do this since not many packages use it, however the upcoming connman-gtk package does require a valid gschemas.compiled to work properly. We also do this at target finalization to avoid each package handling this on their own. Purge some extra binaries and files from the target, like the schema compiler to save additional space since they're unused at run time. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/libglib2: add optional support for elfutilsBernd Kuhls2016-02-211-0/+7
| | | | | | | | | | | | | | | | | When elfutils was compiled before, libglib2 will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/bin/gresource | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libgio-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libgobject-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libgmodule-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libglib-2.0.so.0] 0x0000000000000001 (NEEDED) Shared library: [libelf.so.1] 0x0000000000000001 (NEEDED) Shared library: [libintl.so.8] 0x0000000000000001 (NEEDED) Shared library: [libc.so.1] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2015-12-012-3/+3
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * libglib2: bump to version 2.46.2Gustavo Zacarias2015-11-112-3/+3
| | | | | | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | libglib2: force arm mode when building with thumb1Peter Korsgaard2015-11-301-0/+5
|/ | | | | | | | | | | | | | | | | | | | | | Fixes #8491 glib/valgrind.h contains inline asm not compatible with thumb1, so build it in arm mode: CC libglib_2_0_la-gstringchunk.lo /tmp/ccSVEXME.s: Assembler messages: /tmp/ccSVEXME.s:587: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r12,r12,ror#3' /tmp/ccSVEXME.s:587: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r12,r12,ror#13' /tmp/ccSVEXME.s:588: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r12,r12,ror#29' /tmp/ccSVEXME.s:588: Error: shifts in CMP/MOV instructions are only supported in unified syntax -- `mov r12,r12,ror#19' /tmp/ccSVEXME.s:589: Error: lo register required -- `orr r10,r10,r10' Makefile:2087: recipe for target 'libglib_2_0_la-gslice.lo' failed Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libglib2: disable tests and update configure optionsGustavo Zacarias2015-10-272-7/+48
| | | | | | | | | | | | | | | | | | Sometimes if host-python is around it doesn't work too well with the distro python (Gentoo, FC20 at least) leading to build failures. This failure is very hard to trigger, it's normally easier to do so by enabling top-level parallel builds. Fixes: http://autobuild.buildroot.net/results/0f8/0f881e322b7f9d244b8dd2440ba0afd3a8418027/ While at it update the configure options to avoid any host libraries/tools from leaking in, new naming conventions and options. And remove dead code dealing with the nothreaded variant. Signed-off-by: Gustavo Zacarias <gustavozacarias@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump to version 2.46.1Gustavo Zacarias2015-10-142-3/+3
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump to version 2.46.0Gustavo Zacarias2015-10-062-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libglib2: fix compilation issue on SPARCBrendan Heading2015-07-281-0/+28
| | | | | | | | | Fixes http://autobuild.buildroot.net/results/b3c/b3cb6515496cf09d305a1077d01f87d75ece8a8d/ Patch added to improve detection of atomic support in the compiler. Signed-off-by: Brendan Heading <brendanheading@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump to version 2.44.1Gustavo Zacarias2015-07-142-4/+4
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove non-IPv6 enabler patchesGustavo Zacarias2015-04-221-195/+0
| | | | | | | These are no longer required so remove them. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: indentation cleanupJerzy Grzegorek2015-03-311-30/+60
| | | | | | | This commit doesn't touch infra packages. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: added libglib2.hashPetr Vorel2015-03-061-0/+2
| | | | | Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: bump to version 2.42.2Petr Vorel2015-03-061-1/+1
| | | | | Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: remove kludges for old and removed xilinx toolchainsGustavo Zacarias2015-03-041-6/+1
| | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud