Commit Graph

68 Commits

Author SHA1 Message Date
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 456bd399e7
glib2: update to 2.66.3
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-24 22:28:57 -08:00
Rosen Penev 4e22fb2560 glib2: update to 2.66.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-10-14 19:43:48 -07:00
Rosen Penev f132daf59e
glib2: remove static library hack
There's a better and faster way to do this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-30 18:33:32 -07:00
Rosen Penev afd013370d
glib2: update to 2.66.0
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-20 00:20:00 -07: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 b98d2fce1b
glib2: add full language support hack to fix compilation
Otherwise, dependent packages need to all add -lintl to LDFLAGS.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-11 13:02:41 -07:00
Rosen Penev 7c9a0919a7 glib2: fix full language build
Needs -lintl.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-02 18:03:50 -07:00
Rosen Penev 1f3a60acd6
glib2: add back libiconv/host build dependency
HOST_LDFLAGS are used in target builds with meson. Having -liconv is
necessary because of certain hosts that lack iconv in libc.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-01 09:34:17 -07:00
Rosen Penev f23da6d1b8
glib2: add gettext-full build dependency
I don't know why this is needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-31 20:24:20 -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 b1a530c67f
Merge pull request #12971 from neheb/glb2
glib2: add back gettext dependencies
2020-07-30 21:07:41 -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
Aleksander Morgado f593e263cd glib2: install codegen module in staging dir
Install not only the gdbus-codegen program in the target staging dir,
but also the actual codegen module, so that the program is fully
usable by other packages that require it during build.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2020-07-30 09:32:05 +02: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
Josef Schlehofer ad798995ee
Revert "glib2: fix host build"
There isn't prime time for it. Currently, it can not be built.
It fails with the following error:  ERROR: Compiler gcc can not compile programs.
More details in https://github.com/openwrt/packages/pull/11887 and
https://github.com/openwrt/packages/issues/11900

This reverts commit b62ed68007.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-04-20 11:59:48 +02:00
Rosen Penev b62ed68007
glib2: fix host build
Seems to need -liconv.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-18 18:58:20 -07: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
Rosen Penev abdec8939e glib2: Disable Werror
On GCC9, it throws a Wformat-nonliteral error. Unfortunately, there's no
easy was to fix it as it is fortify-headers where the warning ultimately
comes from.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-11-02 21:54:54 -07:00
Jan Pavlinec 299e5b0a9b
treewide: add PKG_CPE_ID for better cvescanner coverage
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-17 12:40:26 +02:00
Sebastian Kemper b6212c8769 glib2: don't use libelf during host build
Since commit d3f86c9cc3e465fbca51aaadbb274856831ba56c tools/libelf
installs a pkgconfig file, which in turn is picked up during the glib2
host build. On the build bots the same occurs, although it so happens
that (sometimes?) libelf.h is not found and the host build fails. This
may be a timing issue specific to the build bots, as the header is in
fact installed by tools/libelf and I can't reproduce this here on my own
computer.

In any case, libelf (if detected) is only used by gresource. gresource
can be used without it. gresource is not used by OpenWrt's build system
(also not in openwrt/packages). So adding "--disable-libelf" to the host
configure args is not detrimental in any way and works around the issue
described above.

Resolves #9927

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-09-09 09:39:35 +02:00
Roman Yeryomin 170ef79393 glib2: remove dependency on own host build
Saves some disk space and build time.
Tested by building and running bluez.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
2019-08-17 21:22:33 +02: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 724ddd2f94 glib2: update to 2.58.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-12-24 22:19:35 +01:00
Peter Wagner 5837cc1038 glib2: Install glib binaries
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-10-13 12:30:14 +02: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 5757a045b2 glib2: update to 2.56.3
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-09-23 20:28:30 +02:00
Rosen Penev cfb6ece7c2 glib2: Update to 2.56.2
Adjusted some configure flags. Disabled some documentation to save on
build time. It seems to have also fixed parallel building on mvebu at
least.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-09-17 21:21:08 +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 d0c37601f7 glib2: update to 2.55.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2018-01-18 11:29:55 +01:00
Matthias Schiffer 00fce347a5
treewide: fix incorrect *_BUILD_DEPENDS
Build depends refer to source package names, not binary package names.

In many cases, PKG_BUILD_DEPENDS simply duplicated runtime dependencies of
a source package's binary packages; as the corresponding source packages
are implicitly added as bulid dependencies, PKG_BUILD_DEPENDS can simply be
dropped in these cases. In the other cases, *_BUILD_DEPENDS is fixed to
refer to the correct source package name.

Dependency of mysql-server is adjusted from libncursesw to libncurses
(as libncursesw is a virtual package provided by libncurses), so the build
dependency on ncurses is emitted unconditionally.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-09 16:36:02 +01:00
Peter Wagner 6e2007c59d glib2: update to 2.55.0
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-11-27 00:13:35 +01:00
Peter Wagner 7651605329 glib2: update to 2.54.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-10-29 16:24:52 +01:00
Peter Wagner ec1fe2f190 glib2: update to 2.54.1
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-10-15 19:47:03 +02:00
Peter Wagner d5c4126360 glib2: update to 2.53.7
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-09-12 01:06:08 +02:00
Peter Wagner e63de7f7c4 glib2: update to 2.53.6
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-08-20 20:46:41 +02:00
Peter Wagner 59d21da295 glib2: update to 2.53.5
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-08-13 22:19:07 +02:00
Peter Wagner 40505a3bfb glib2: update to 2.53.4
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-07-24 12:17:16 +02:00
Peter Wagner 92253cf028 glib2: update to 2.52.3
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-06-25 16:53:41 +02: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 6d218d4918 glib2: update to 2.50.3
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-03-03 17:27:33 +01:00
Peter Wagner e7e68c08ba glib2: add --enable-libmount=no to HOST_CONFIGURE_ARGS
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-01-13 19:14:28 +01:00
Peter Wagner ae19abe330 glib2: update to 2.50.2
Signed-off-by: Peter Wagner <tripolar@gmx.at>
2017-01-13 09:40:56 +01:00
Matthias Schiffer 4a984a8d60
treewide: replace $(STAGING_DIR)/host and $(HOST_BUILD_PREFIX) with $(STAGING_DIR_HOSTPKG)
As both LEDE and OpenWrt have STAGING_DIR_HOSTPKG now, we can start to rely
on it. See 73b7f55424 for more information on
STAGING_DIR_HOSTPKG.

STAGING_DIR_HOSTPKG won't actually be changed before the first LEDE release
(it is equivalent to $(STAGING_DIR)/host), so this simple search/replace
cleanup is safe to apply. Doing this cleanup now will be useful for the
Gluon project (an OpenWrt/LEDE based firmware framework) for experimenting
with modifying STAGING_DIR_HOSTPKG before doing this in the LEDE upstream.

Also fixes a typo in the dbus Makefile ("STAGIND_DIR").

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2017-01-10 18:25:54 +01:00