package/libglib2: bump to version 2.60.3
authorAdam Duskett <Aduskett@gmail.com>
Tue, 28 May 2019 19:48:11 +0000 (15:48 -0400)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Mon, 10 Jun 2019 22:38:48 +0000 (00:38 +0200)
commit4102db0f7a75ecdef3073dd65a5d2cfd512d984c
tree01c611b82b945f8fd30ffdc5b8f74a756d5c823a
parent4d7462918cf4fb53e5ac1d6ad3f038b4c180a705
package/libglib2: bump to version 2.60.3

Changes include:
  - Change the package type to meson, as autoconf is no longer supported.

  - Add 0002-add-option-to-build-tests.patch
      Upstream won't build tests when cross-compiling. However; this means still
      building the tests during a host build. Building the tests causes build
      failures on older distributions such as CentOS 6 and Debian 7 because of
      the command `objcopy --add-symbol` is used when building the test
      "test_resources2," which is not available with the older version of
      objcopy provided by the distributions.

  - Add 0003-remove-cpp-requirement.patch:
     C++ is not needed when just compiling. The inclusion of C++ in meson.build
     is to ensure libglib doesn't accidentally use C++ reserved keywords in
     public headers. Because tests aren't being compiled, there is no need for
     C++ as a requirement.
     (https://gitlab.gnome.org/GNOME/glib/issues/1748)

  - Add 0004-Add-Wno-format-nonliteral-to-compiler-arguments.patch:
    This prevents a false error when compiling against older gcc versions.
    (https://gitlab.gnome.org/GNOME/glib/issues/1744)

  - Remove 0004-Do-not-hardcode-python-path-into-various-tools.patch:
      The switch to meson makes this obsolete.

  - Remove LIBGLIB2_AUTORECONF = YES from libglib2.mk:
      Now that libglib2 is a meson package, there is no need for AUTORECONF.

  - Remove LIBGLIB2_INSTALL_STAGING_OPTS from libglib2.mk:
      Meson resolves these correctly.

  - Add LIBGLIB2_REMOVE_BINDIR_PREFIX_FROM_PC_FILE in libglib2.mk:
      Newer versions of libglib2 prefix glib-genmarshal, gobject-query, and
      glib-mkenums with ${bindir}. Unfortunately, this will resolve to the host
      systems /bin/ directory, which will cause compilation issues if the host
      does not have these programs. By removing the ${bindir}/ prefix, these
      programs are resolved in PATH instead.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/libglib2/0001-fix-compile-time-atomic-detection.patch
package/libglib2/0002-add-option-to-build-tests.patch [new file with mode: 0644]
package/libglib2/0002-disable-tests.patch [deleted file]
package/libglib2/0003-gdbus-Avoid-printing-null-strings.patch [deleted file]
package/libglib2/0003-remove-cpp-requirement.patch [new file with mode: 0644]
package/libglib2/0004-Add-Wno-format-nonliteral-to-compiler-arguments.patch [new file with mode: 0644]
package/libglib2/0004-Do-not-hardcode-python-path-into-various-tools.patch [deleted file]
package/libglib2/libglib2.hash
package/libglib2/libglib2.mk