Commit graph

7 commits

Author SHA1 Message Date
prlw1
03ef89494a Update glib2 to 2.60.2
GLib's move to meson from autotools means we are effectively starting
from scratch with non-linux build fixes. Support for python 2 has
also been dropped (given that meson requires python 3). I replaced
sysutils/gio-fam with a build option.

The full lengthy list of changes is available from:

  https://gitlab.gnome.org/GNOME/glib/tags/2.60.2

Some highlights:
* Improve network status detection with NetworkManager (!781)
* Add async GIO API: g_file_query_default_handler_async(), g_app_info_launch_uris_async() (#1249, #1347)
* Add overlay support to g_resources_get_info(). (#1445)
* Add writev() and writev_all() APIs to GOutputStream and GPollableOutputStream,
  and provide implementations of them for many subclasses. (#1431)
* Hide bind mounts from GIO mount listings. (#1271)
* Automatically realign data passed to `g_variant_new_from_bytes()` or
  `g_variant_new_from_data()` if it is not correctly aligned. This prevents
  misaligned accesses on architectures which don’t support them. Callers should
  still aim to correctly align data to get higher performance. (#1342)
* Support `ld -b binary` (on platforms which support it; i.e. Linux) to provide
  large pre-compiled `GResource` resources with a fast compilation time. (#1489+* Drop Python 2 support and require Python 3.4+. See discussion on
  https://mail.gnome.org/archives/desktop-devel-list/2018-July/msg00004.html.
  (!196)
* Various fixes to eliminate thread races, found by thread sanitizer (tsan).
2019-06-03 09:53:50 +00:00
maya
f34a8c24a3 PKGREVISION bump for anything using python without a PYPKGPREFIX.
This is a semi-manual PKGREVISION bump.
2019-04-25 07:32:34 +00:00
wiz
86183f6c32 glib2-tools: Reset PKGREVISION after glib2 update 2018-04-17 08:04:49 +00:00
joerg
70b5c48f2d Don't print characters that can't be converted to UTF-8. Chances are,
they won't make it to stdout as well and break the tool, especially with
Python 2.7. Bump revision of glib2-tools.
2018-04-01 20:26:25 +00:00
prlw1
29ab853751 glib2-tools: remove pkgrevision as adam updated glib2 2017-11-07 15:53:11 +00:00
prlw1
98fd115995 glib2-tools: Handle source files which are not utf-8
python 3 is strict about file encodings. After glib-mkenums was
translated from perl to python, build failures occur due to e.g.,
ISO-8859-1 characters in authors' names as reported by martin@ in
PR pkg/52631 for xfce4-gtk2-engines, but also causing build failures
for at least libgnome and libgnomeui.

Chritoph Reiter produced an elegant workaround, making use of the
open() function's error decoding "replace" option:

  'replace' causes a replacement marker (such as '?') to be inserted
  where there is malformed data.

which is applied here.

https://bugzilla.gnome.org/show_bug.cgi?id=785113#c27
2017-10-21 08:57:33 +00:00
prlw1
f3e5c09e4f Add glib2-tools, a place for glib2/gobject's python dependent tools,
namely glib-genmarshal and glib-mkenums.
2017-10-15 14:10:39 +00:00