1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 11:53:59 +02:00
Commit Graph

35 Commits

Author SHA1 Message Date
Florian Eckert
56188542b6 glib2: update to version 2.74.7
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-02-16 12:02:11 +01:00
Florian Eckert
7b33b15032 Revert "glib2: update to 2.78.4"
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 08c7b0dfca.
2024-02-16 12:02:05 +01:00
Florian Eckert
445f75e3f1 Revert "glib2: use internal pcre2"
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 9f57ef2d6e.
2024-02-16 12:01:46 +01:00
Rosen Penev
9f57ef2d6e glib2: use internal pcre2
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>
2024-02-14 17:04:49 -08:00
krant
08c7b0dfca glib2: update to 2.78.4
- 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>
2024-02-09 00:32:03 -08:00
Jitao Lu
68f23a9c33 glib2: disable gnulib printf
A compiler bug (suspiciously) blocks gnulib compilation for
mipsel_24kc_24kf. While we had this patch to disable gnulib, it was
accidentally removed by 5d27631d9f. Add it
back to fix the long broken build for mipsel_24kc_24kf.

Fixes: #19511
Signed-off-by: Jitao Lu <dianlujitao@gmail.com>
2023-06-11 20:55:58 +03:00
Rosen Penev
04043be54a glib2: backport locale fix
Fixes compilation with non English locale.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-09-22 20:49:27 -07:00
Rosen Penev
5d27631d9f glib2: update to 2.74.0
Remove upstreamed patch and delete pointless one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-09-22 01:20:17 -07:00
Rosen Penev
1e2f4f1bf7 glib2: replace intl patch with upstream solution
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-09 11:02:25 -07:00
Sebastian Kemper
721838ddd4 glib2: update libintl handling
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>
2022-06-06 06:02:14 -07:00
Florian Eckert
3ace16ed77 glib2: update version to 2.70.4
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2022-03-21 08:38:46 +01:00
Rosen Penev
d2062486e8 glib2: update to 2.70
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>
2021-10-22 18:33:03 -07:00
Rosen Penev
e1d8f4fc96 glib2: update to 2.68.1
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>
2021-04-13 15:30:10 -07:00
Rosen Penev
85d66757b0
glib2: use normal format functions
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>
2020-12-12 12:30:13 -08:00
Rosen Penev
535d9ffeee
glib2: update to 2.65.2
Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-27 17:31:06 -07:00
Rosen Penev
0f0a5187a6
glib2: update to 2.65.1
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>
2020-08-17 15:10:42 -07:00
Rosen Penev
48870aac0c glib2: revert intl change
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>
2020-07-31 15:11:54 -07:00
Rosen Penev
a109b89c9a glib2: add back gettext dependencies
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>
2020-07-30 20:34:52 -07:00
Rosen Penev
ff1692b983
glib2: update to 2.65.0
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>
2020-07-23 19:00:03 -07:00
Josef Schlehofer
111865439b
Revert "glib2: update to 2.64.2"
It is not ready and there are some issues described in
https://github.com/openwrt/packages/pull/11442

This reverts commit b465ac3002.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-04-20 12:05:33 +02:00
Rosen Penev
b465ac3002
glib2: update to 2.64.2
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>
2020-04-16 19:17:52 -07:00
Andy Walsh
a558b20944 glib2: fix mips16 build, add size reducing static link, fpic CFLAGS
* 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>
2019-12-31 18:40:21 +01:00
Peter Wagner
d57c86bc77 glib2: fix CVE-2019-12450
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-06-02 22:01:15 +02:00
Peter Wagner
798abc1119 glib2: update to 2.58.3
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2019-01-28 17:54:37 +01:00
Peter Wagner
1166618115 glib2: update to 2.58.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-09-25 22:30:42 +02:00
Peter Wagner
4cc991094c glib2: update to 2.56.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-04-08 19:13:18 +02:00
Sebastian Kemper
9bc047b89d glib2: fix build when res_nquery is not available
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>
2018-03-24 09:37:28 +01:00
Peter Wagner
dc813c8253 glib2: update to 2.56.0
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-03-18 15:05:19 +01:00
Peter Wagner
29a059d79f glib2: update to 2.52.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-06-12 20:32:26 +02:00
Peter Wagner
5dfd322a3a glib2: update to 2.49.7
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2016-09-19 21:45:24 +02:00
Daniel Golle
0e99e5eea9 glib2: fix (host-)build with gcc6
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>
2016-07-18 22:59:13 +02:00
Peter Wagner
00a5339e7e glib2: update to 2.46.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2016-02-22 22:21:08 +01:00
Peter Wagner
c136bcbddb glib2: update to 2.44.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2015-10-04 12:58:22 +02:00
Peter Wagner
1b66d41113 glib2: update to 2.43.4
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2015-02-15 22:43:47 +01:00
Jo-Philipp Wich
767e5bbd9c glib2: fix missing gobject library when linking glib-compile-resources (#826)
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>
2015-01-27 22:43:55 +01:00