Mercurial > mxe-octave
comparison src/glib.mk @ 5734:56df28fdf14f
glib: Update to version 2.58.0
* src/glib.mk: Update version and checksum. Disable compilation error on
compiler warnings.
* src/glib-1-fixes.patch: Rebase part of patch that no longer applied.
IIUC, this is the last stable release that can be build with the autotools
toolchain. Newer versions will require a rewrite of the build rules.
Afaics, we need glib only to build gnuplot at the moment.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Mon, 12 Apr 2021 18:43:03 +0200 |
parents | ac2d180a1a47 |
children | 9f739a6fed4e |
comparison
equal
deleted
inserted
replaced
5733:ac2d180a1a47 | 5734:56df28fdf14f |
---|---|
1 # This file is part of MXE. | 1 # This file is part of MXE. |
2 # See index.html for further information. | 2 # See index.html for further information. |
3 | 3 |
4 PKG := glib | 4 PKG := glib |
5 $(PKG)_IGNORE := | 5 $(PKG)_IGNORE := |
6 $(PKG)_VERSION := 2.54.0 | 6 $(PKG)_VERSION := 2.58.0 |
7 $(PKG)_CHECKSUM := 96b434a9ca142344b93f38ed0cd88d36196b68ae | 7 $(PKG)_CHECKSUM := c00e433c56e0ba3541abc5222aeca4136de10fb8 |
8 $(PKG)_SUBDIR := glib-$($(PKG)_VERSION) | 8 $(PKG)_SUBDIR := glib-$($(PKG)_VERSION) |
9 $(PKG)_FILE := glib-$($(PKG)_VERSION).tar.xz | 9 $(PKG)_FILE := glib-$($(PKG)_VERSION).tar.xz |
10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/glib/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) | 10 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/glib/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE) |
11 $(PKG)_DEPS := gettext pcre libiconv zlib libffi dbus | 11 $(PKG)_DEPS := gettext pcre libiconv zlib libffi dbus |
12 | 12 |
39 --disable-xattr \ | 39 --disable-xattr \ |
40 --disable-dtrace \ | 40 --disable-dtrace \ |
41 --disable-libmount \ | 41 --disable-libmount \ |
42 --with-libiconv=gnu \ | 42 --with-libiconv=gnu \ |
43 --with-pcre=internal \ | 43 --with-pcre=internal \ |
44 && $(CONFIGURE_POST_HOOK) | 44 --disable-compile-warnings \ |
45 && $(CONFIGURE_POST_HOOK) | |
45 | 46 |
46 $(SED) -i 's,#define G_ATOMIC.*,,' '$(1)/config.h' | 47 $(SED) -i 's,#define G_ATOMIC.*,,' '$(1)/config.h' |
47 $(MAKE) -C '$(1)/glib' -j '$(JOBS)' | 48 $(MAKE) -C '$(1)/glib' -j '$(JOBS)' |
48 $(MAKE) -C '$(1)/gthread' -j '$(JOBS)' | 49 $(MAKE) -C '$(1)/gthread' -j '$(JOBS)' |
49 $(MAKE) -C '$(1)/gmodule' -j '$(JOBS)' | 50 $(MAKE) -C '$(1)/gmodule' -j '$(JOBS)' |
66 --prefix='$(HOST_PREFIX)' \ | 67 --prefix='$(HOST_PREFIX)' \ |
67 --with-threads=win32 \ | 68 --with-threads=win32 \ |
68 --with-pcre=system \ | 69 --with-pcre=system \ |
69 --with-libiconv=gnu \ | 70 --with-libiconv=gnu \ |
70 --disable-inotify \ | 71 --disable-inotify \ |
72 --disable-compile-warnings \ | |
71 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ | 73 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
72 PKG_CONFIG_PATH='$(PKG_CONFIG_PATH)' | 74 PKG_CONFIG_PATH='$(PKG_CONFIG_PATH)' |
73 | 75 |
74 $(MAKE) -C '$(1)/glib' -j '$(JOBS)' install sbin_PROGRAMS= noinst_PROGRAMS= | 76 $(MAKE) -C '$(1)/glib' -j '$(JOBS)' install sbin_PROGRAMS= noinst_PROGRAMS= |
75 $(MAKE) -C '$(1)/gmodule' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | 77 $(MAKE) -C '$(1)/gmodule' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |