aboutsummaryrefslogtreecommitdiff
path: root/libs/glib2/patches
Commit message (Collapse)AuthorAge
* glib2: update to version 2.74.7Florian Eckert2024-02-16
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* Revert "glib2: update to 2.78.4"Florian Eckert2024-02-16
| | | | | | | | | So that we have a working ModemManager again and can look at the problem revert the update to version 2.78.4 for now. Signed-off-by: Florian Eckert <fe@dev.tdt.de> This reverts commit 08c7b0dfcae48114176762e93aa1b4ce5d42f8ad.
* Revert "glib2: use internal pcre2"Florian Eckert2024-02-16
| | | | | | | | This is must also get revert to get back to working glib2 version 2.74.0 Signed-off-by: Florian Eckert <fe@dev.tdt.de> This reverts commit 9f57ef2d6e339231278f36614d9b2fdd275a9339.
* glib2: use internal pcre2Rosen Penev2024-02-14
| | | | | | | For some strange reason, glib2 does not link properly with a static pcre2. Work around by bundling own copy. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: update to 2.78.4krant2024-02-09
| | | | | | | | | - Use HTTPS for package URL - Don't set default Meson options - Remove upstreamed patch - Refresh remaining patches Signed-off-by: krant <aleksey.vasilenko@gmail.com>
* glib2: disable gnulib printfJitao Lu2023-06-11
| | | | | | | | | | A compiler bug (suspiciously) blocks gnulib compilation for mipsel_24kc_24kf. While we had this patch to disable gnulib, it was accidentally removed by 5d27631d9fbca076eb6377fc8c10f474ce9f4fea. Add it back to fix the long broken build for mipsel_24kc_24kf. Fixes: #19511 Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
* glib2: backport locale fixRosen Penev2022-09-22
| | | | | | Fixes compilation with non English locale. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: update to 2.74.0Rosen Penev2022-09-22
| | | | | | Remove upstreamed patch and delete pointless one. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: replace intl patch with upstream solutionRosen Penev2022-06-09
| | | | Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: update libintl handlingSebastian Kemper2022-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | glib2's meson.build runs check cc.has_function('ngettext', args : osx_ldflags) and, if successful, it never looks for non-libc libintl. For musl and glibc this test is always successful. glib2 unconditionally sets ENABLE_NLS, so during compile <libintl.h> gets included always. But then we have a disconnect when the OpenWrt pkg is being built with BUILD_NLS=y, because the <libintl.h> will be from libintl-full but glib2 will not link to libintl-full. With BUILD_NLS=n there's no problem, because the <libintl.h> will be from libc. In lieu of proper libintl detection in glib2's meson build, removing the SED call from the Makefile together with the added patch sorts this out. The SED call can be removed because when we force libintl-full use, the meson build will put the necessary linker flag into the pkg-config file itself. Alpine Linux does something similar (see [1]), but they always force the use of the external libintl. I assume they always go for full NLS support. [1] https://git.alpinelinux.org/aports/tree/main/glib/musl-libintl.patch Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* glib2: update version to 2.70.4Florian Eckert2022-03-21
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* glib2: update to 2.70Rosen Penev2021-10-22
| | | | | | | | | | | | Remove various outdated patches. No more uClibc and distutils is a requirement. Compile host libraries statically. Size is not a concern there. Also avoids rpath hacks. Disable NLS as well. Avoids gettext dependencies. Add libpcre dependency. Seems to be a requirement now. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: update to 2.68.1Rosen Penev2021-04-13
| | | | | | | | | | Removed two now pointless patches as they were added as options. Switch to AUTORELEASE for simplicity. Update MESON_ARGS. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: use normal format functionsRosen Penev2020-12-12
| | | | | | | | | These meson checks rely on being able to run binaries. Just force them on. Reduces compiled size. Refreshed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: update to 2.65.2Rosen Penev2020-08-27
| | | | | | Refreshed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: update to 2.65.1Rosen Penev2020-08-17
| | | | | | | Add a small hack to glib2 to avoid using proxy-intl and break compilation under uClibc-ng. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: revert intl changeRosen Penev2020-07-31
| | | | | | | | | This was causing massive buildbot failure. The intent was to fix uClibc-ng and CONFIG_BUILD_NLS, but that ended up breaking everything. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: add back gettext dependenciesRosen Penev2020-07-30
| | | | | | | | | | | | The libintl check is broken in meson.build. Patched it and added back the gettext build dependencies. Avoids the proxy-intl thing that glib2 likes to use. Updated configure options. Refreshed patches. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: update to 2.65.0Rosen Penev2020-07-23
| | | | | | | | | | | | | | | | | | | | Modified to use meson as upstream has abandoned autotools. Added license information. Cleaned up Makefile for consistency between packages. Added hack to compile static libs. Removed old patches and add new ones. Removed BUILD_PARALLEL options. These are default with ninja/meson. Removed gettext build dependencies. glib2 now includes its own solution. Added patch to remove distutils host dependency. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Revert "glib2: update to 2.64.2"Josef Schlehofer2020-04-20
| | | | | | | | | It is not ready and there are some issues described in https://github.com/openwrt/packages/pull/11442 This reverts commit b465ac30028c8b17228f455da057e49add3735b4. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* glib2: update to 2.64.2Rosen Penev2020-04-16
| | | | | | | | | | | | | | | | | | Modified to use meson as upstream has abandoned autotools. Added license information. Cleaned up Makefile for consistency between packages. Added hack to compile static libs. Removed old patches and add new ones. Removed BUILD_PARALLEL options. These are default with ninja/meson. Removed gettext build dependencies. glib2 now includes its own solution. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* glib2: fix mips16 build, add size reducing static link, fpic CFLAGSAndy Walsh2019-12-31
| | | | | | | * allows building as mips16 (fixes broken mips16/32 mixed static linking) * add some static link related flags to reduce target binary size Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
* glib2: fix CVE-2019-12450Peter Wagner2019-06-02
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* glib2: update to 2.58.3Peter Wagner2019-01-28
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* glib2: update to 2.58.1Peter Wagner2018-09-25
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* glib2: update to 2.56.1Peter Wagner2018-04-08
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* glib2: fix build when res_nquery is not availableSebastian Kemper2018-03-24
| | | | | | | | | | | | | | | | | | | | | | Upstream commit "gio: Port GThreadedResolver to use res_nquery() to fix thread-safety" introduced a bug that causes compile failures on platforms where res_nquery is unavailable. This patch fixes that. Bug 794606 has been opened upstream: https://bugzilla.gnome.org/show_bug.cgi?id=794606 On the OpenWrt buildbots this bug is visible during the arc_archs compile: 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 gthreadedresolver.c:875:16: note: each undeclared identifier is reported only once for each function it appears in Makefile:3334: recipe for target 'libgio_2_0_la-gthreadedresolver.lo' failed make[8]: *** [libgio_2_0_la-gthreadedresolver.lo] Error 1 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* glib2: update to 2.56.0Peter Wagner2018-03-18
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* glib2: update to 2.52.2Peter Wagner2017-06-12
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* glib2: update to 2.49.7Peter Wagner2016-09-19
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* glib2: fix (host-)build with gcc6Daniel Golle2016-07-18
| | | | | | | | | | import upstream fix from https://git.gnome.org/browse/glib/commit/?id=0817af40e8c74c721c30f6ef482b1f53d12044c7 and fix it to remain compatibile with old version of gcc https://git.gnome.org/browse/glib/commit/?id=8cdbc7fb2c8c876902e457abe46ee18a0b134486 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* glib2: update to 2.46.2Peter Wagner2016-02-22
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* glib2: update to 2.44.1Peter Wagner2015-10-04
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* glib2: update to 2.43.4Peter Wagner2015-02-15
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* glib2: fix missing gobject library when linking glib-compile-resources (#826)Jo-Philipp Wich2015-01-27
The automake template does not specify libgobject-2.0.la as _LDADD dependency for glib-compile-resources, leading to the following linker error: .../ld: warning: libgmodule-2.0.so.0, needed by ./.libs/libgio-2.0.so, not found (try using -rpath or -rpath-link) ./.libs/libgio-2.0.so: undefined reference to `g_module_supported' ./.libs/libgio-2.0.so: undefined reference to `g_module_symbol' ./.libs/libgio-2.0.so: undefined reference to `g_module_close' ./.libs/libgio-2.0.so: undefined reference to `g_module_error' ./.libs/libgio-2.0.so: undefined reference to `g_module_open' collect2: error: ld returned 1 exit status This commit introduces a patch to add the missing libtool archive to the list of libraries to link. Due to the update of the .am file, a full autoreconf is required to update configure and Makefile, leading to the following error: error: HAVE_GTK_DOC does not appear in AM_CONDITIONAL Therfore another patch is added to properly fix the conditional when using automake-1.15. Finally extend the copyright year in the Makefile and enable the generic autoreconf fixup to properly build and link glib2. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>