head 1.22; access; symbols pkgsrc-2019Q1:1.21.0.4 pkgsrc-2019Q1-base:1.21 pkgsrc-2018Q4:1.21.0.2 pkgsrc-2018Q4-base:1.21 pkgsrc-2018Q3:1.20.0.8 pkgsrc-2018Q3-base:1.20 pkgsrc-2018Q2:1.20.0.6 pkgsrc-2018Q2-base:1.20 pkgsrc-2018Q1:1.20.0.4 pkgsrc-2018Q1-base:1.20 pkgsrc-2017Q4:1.20.0.2 pkgsrc-2017Q4-base:1.20 pkgsrc-2017Q3:1.19.0.16 pkgsrc-2017Q3-base:1.19 pkgsrc-2017Q2:1.19.0.12 pkgsrc-2017Q2-base:1.19 pkgsrc-2017Q1:1.19.0.10 pkgsrc-2017Q1-base:1.19 pkgsrc-2016Q4:1.19.0.8 pkgsrc-2016Q4-base:1.19 pkgsrc-2016Q3:1.19.0.6 pkgsrc-2016Q3-base:1.19 pkgsrc-2016Q2:1.19.0.4 pkgsrc-2016Q2-base:1.19 pkgsrc-2016Q1:1.19.0.2 pkgsrc-2016Q1-base:1.19 pkgsrc-2015Q4:1.18.0.10 pkgsrc-2015Q4-base:1.18 pkgsrc-2015Q3:1.18.0.8 pkgsrc-2015Q3-base:1.18 pkgsrc-2015Q2:1.18.0.6 pkgsrc-2015Q2-base:1.18 pkgsrc-2015Q1:1.18.0.4 pkgsrc-2015Q1-base:1.18 pkgsrc-2014Q4:1.18.0.2 pkgsrc-2014Q4-base:1.18 pkgsrc-2014Q3:1.17.0.8 pkgsrc-2014Q3-base:1.17 pkgsrc-2014Q2:1.17.0.6 pkgsrc-2014Q2-base:1.17 pkgsrc-2014Q1:1.17.0.4 pkgsrc-2014Q1-base:1.17 pkgsrc-2013Q4:1.17.0.2 pkgsrc-2013Q4-base:1.17 pkgsrc-2013Q3:1.16.0.4 pkgsrc-2013Q3-base:1.16 pkgsrc-2013Q2:1.16.0.2 pkgsrc-2013Q2-base:1.16 pkgsrc-2013Q1:1.14.0.2 pkgsrc-2013Q1-base:1.14 pkgsrc-2012Q4:1.13.0.2 pkgsrc-2012Q4-base:1.13 pkgsrc-2012Q3:1.12.0.4 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.12.0.2 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.9.0.2 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.8.0.2 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.7.0.8 pkgsrc-2011Q3-base:1.7 pkgsrc-2011Q2:1.7.0.6 pkgsrc-2011Q2-base:1.7 pkgsrc-2011Q1:1.7.0.4 pkgsrc-2011Q1-base:1.7 pkgsrc-2010Q4:1.7.0.2 pkgsrc-2010Q4-base:1.7 pkgsrc-2010Q3:1.6.0.4 pkgsrc-2010Q3-base:1.6 pkgsrc-2010Q2:1.6.0.2 pkgsrc-2010Q2-base:1.6 pkgsrc-2010Q1:1.5.0.4 pkgsrc-2010Q1-base:1.5 pkgsrc-2009Q4:1.5.0.2 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.4.0.2 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.3.0.10 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.8 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.3.0.6 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.4 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.2 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.2.0.8 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.6 pkgsrc-2008Q1:1.2.0.4 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.2 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.1.0.2 pkgsrc-2007Q3-base:1.1; locks; strict; comment @# @; 1.22 date 2019.06.03.09.53.50; author prlw1; state dead; branches; next 1.21; commitid 8OJahQblymgK5JpB; 1.21 date 2018.10.08.10.12.06; author prlw1; state Exp; branches; next 1.20; commitid Y1ijyYse88ymP8VA; 1.20 date 2017.10.13.15.35.10; author prlw1; state Exp; branches; next 1.19; commitid 3S5SPmgqjlzlaUaA; 1.19 date 2016.02.23.11.27.55; author wiz; state Exp; branches; next 1.18; commitid zMx4ky4AiWmk32Wy; 1.18 date 2014.10.07.23.18.36; author prlw1; state Exp; branches; next 1.17; commitid GSSrqcWIE0gv9kTx; 1.17 date 2013.12.08.13.08.59; author prlw1; state Exp; branches; next 1.16; commitid LdlKdhmzz7upykgx; 1.16 date 2013.06.23.04.26.49; author tsutsui; state Exp; branches; next 1.15; commitid 3hbCTsEPzJjh4HUw; 1.15 date 2013.04.19.22.21.41; author prlw1; state Exp; branches; next 1.14; 1.14 date 2013.01.21.15.54.24; author wiz; state Exp; branches; next 1.13; 1.13 date 2012.10.06.20.44.05; author prlw1; state Exp; branches; next 1.12; 1.12 date 2012.05.04.10.22.08; author obache; state Exp; branches; next 1.11; 1.11 date 2012.05.01.18.45.52; author adam; state Exp; branches; next 1.10; 1.10 date 2012.04.30.13.53.48; author drochner; state Exp; branches; next 1.9; 1.9 date 2012.01.29.10.46.53; author drochner; state Exp; branches; next 1.8; 1.8 date 2011.10.09.19.40.02; author jmmv; state Exp; branches; next 1.7; 1.7 date 2010.11.02.14.52.24; author drochner; state Exp; branches; next 1.6; 1.6 date 2010.05.31.17.30.36; author drochner; state Exp; branches; next 1.5; 1.5 date 2009.11.22.16.51.17; author sno; state Exp; branches; next 1.4; 1.4 date 2009.09.22.15.50.46; author joerg; state Exp; branches; next 1.3; 1.3 date 2008.09.06.11.07.20; author obache; state Exp; branches; next 1.2; 1.2 date 2007.11.08.19.52.21; author drochner; state Exp; branches; next 1.1; 1.1 date 2007.08.15.22.09.13; author tnn; state Exp; branches; next ; desc @@ 1.22 log @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). @ text @$NetBSD: patch-ak,v 1.21 2018/10/08 10:12:06 prlw1 Exp $ - solaris sun studio check and fix - use pkgsrc libtool --- configure.ac.orig 2017-06-22 13:15:19.000000000 +0000 +++ configure.ac @@@@ -687,7 +687,7 @@@@ int main (void) AC_MSG_RESULT($g_have_gnuc_visibility) AM_CONDITIONAL(HAVE_GNUC_VISIBILITY, [test x$g_have_gnuc_visibility = xyes]) -AC_MSG_CHECKING([whether using Sun Studio C compiler]) +AC_MSG_CHECKING([whether using Sun Studio C compiler visibility]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#if defined(__SUNPRO_C) || (__SUNPRO_C >= 0x550) #else # include "error: this is not Sun Studio." @@@@ -1040,10 +1040,22 @@@@ AC_CHECK_TYPE([struct ip_mreqn], [ case $host in *-*-solaris* ) - AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) - AC_DEFINE(_XOPEN_SOURCE, 2, Needed to get declarations for msg_control and msg_controllen on Solaris) - AC_DEFINE(__EXTENSIONS__, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) - ;; + AC_MSG_CHECKING([whether using Sun Studio C compiler with C99]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#if defined(__STDC_VERSION__) || (__STDC_VERSION__ - 0 >= 199901L) +#else +# include "error: this is STD C99." +#endif + ]], [[]])], [ g_have_sunstudio_c99=yes ], [ g_have_sunstudio_c99=no ]) + AC_MSG_RESULT($g_have_sunstudio_c99) + if test $g_have_sunstudio_c99 = yes; then + AC_DEFINE(_XOPEN_SOURCE, 600, Needed to get declarations for msg_control and msg_controllen on Solaris) + else + AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) + AC_DEFINE(_XOPEN_SOURCE, 2, Needed to get declarations for msg_control and msg_controllen on Solaris) + fi + + AC_DEFINE(__EXTENSIONS__, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) + ;; esac dnl @@@@ -1427,9 +1440,9 @@@@ AS_IF([ test "$G_MODULE_IMPL" = "G_MODUL LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS" dnl *** check for OSF1/5.0 RTLD_GLOBAL brokenness echo "void glib_plugin_test(void) { }" > plugin.c - ${SHELL} ./libtool --mode=compile --tag=CC ${CC} ${CFLAGS} \ + ${SHELL} libtool --mode=compile --tag=CC ${CC} ${CFLAGS} \ ${CPPFLAGS} -c -o plugin.lo plugin.c >/dev/null 2>&1 - ${SHELL} ./libtool --mode=link --tag=CC ${CC} ${CFLAGS} \ + ${SHELL} libtool --mode=link --tag=CC ${CC} ${CFLAGS} \ ${LDFLAGS} -module -o plugin.la -export-dynamic \ -shrext ".o" -avoid-version plugin.lo \ -rpath /dont/care >/dev/null 2>&1 @@@@ -1919,22 +1965,8 @@@@ AS_IF([ test x"$have_threads" = xposix], G_THREAD_LIBS="-lpthread -lthread" ;; *) - for flag in pthread pthreads mt; do - glib_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -$flag" - AC_TRY_RUN(glib_thread_test(0), - glib_flag_works=yes, - glib_flag_works=no, - [AC_LINK_IFELSE([AC_LANG_SOURCE(glib_thread_test(0))], - glib_flag_works=yes, - glib_flag_works=no)]) - CFLAGS="$glib_save_CFLAGS" - if test $glib_flag_works = yes ; then - G_THREAD_CFLAGS=-$flag - G_THREAD_LIBS=-$flag - break; - fi - done + G_THREAD_LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" + G_THREAD_CFLAGS="${PTHREAD_CFLAGS}" ;; esac ]) @ 1.21 log @glib2's gobject subsystem is essentially a wrapper for dlopen. In view of comments in PR lib/49791 which can be summarised as "RTLD_GLOBAL is a bug", make gobject use RTLD_DEFAULT instead. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.20 2017/10/13 15:35:10 prlw1 Exp $ @ 1.20 log @Update glib2 to 2.54.1 glib-genmarshal and glib-menums have been ported to python. To keep glib2 a python-free zone, these have been moved with gdbus-codegen to py-glib2-tools. Packages needing one of those tools to build can include devel/glib2/buildtools.mk The licence has been changed from LGPLv2+ to LGPLv2.1+. A full changelog is available at: https://git.gnome.org/browse/glib/tree/NEWS?h=2.54.1 @ text @d1 1 a1 1 $NetBSD$ a4 2 - broken dlopen(NULL,0) detection and workaround http://bugzilla.gnome.org/show_bug.cgi?id=140329 a43 8 @@@@ -1383,6 +1395,7 @@@@ fi dnl G_MODULE_IMPL= don't reset, so cmd-line can override G_MODULE_NEED_USCORE=0 G_MODULE_BROKEN_RTLD_GLOBAL=0 +G_MODULE_BROKEN_DLOPEN_NULL=0 G_MODULE_HAVE_DLERROR=0 dnl *** force native WIN32 shared lib loader if test -z "$G_MODULE_IMPL"; then a55 47 @@@@ -1496,6 +1509,38 @@@@ dnl *** check for having dlerror() [G_MODULE_HAVE_DLERROR=0]) LIBS="$LIBS_orig" ]) +dnl *** check for dlopen(NULL, 0) brokenness + AC_CACHE_CHECK([for dlopen(NULL, 0) brokenness], + glib_cv_dlopennull_broken,[ + AC_TRY_RUN([ +#include +#include +#ifndef RTLD_GLOBAL +# define RTLD_GLOBAL 0 +#endif +#ifndef RTLD_LAZY +# define RTLD_LAZY 0 +#endif +int gettext; +int main () { + void *handle; + handle = dlopen ("libm.so", RTLD_GLOBAL | RTLD_LAZY); + if (!handle) return 0; + handle = dlopen (NULL, 0); + if (!handle) return 0; + handle = dlsym (handle, "sin"); + return handle == NULL; +} + ], + [glib_cv_dlopennull_broken=no], + [glib_cv_dlopennull_broken=yes], + [glib_cv_dlopennull_broken=no]) + ]) + if test "x$glib_cv_dlopennull_broken" = "xyes"; then + G_MODULE_BROKEN_DLOPEN_NULL=1 + else + G_MODULE_BROKEN_DLOPEN_NULL=0 + fi dnl *** done, have we got an implementation? if test -z "$G_MODULE_IMPL"; then G_MODULE_IMPL=0 @@@@ -1525,6 +1570,7 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) AC_SUBST(G_MODULE_LDFLAGS) AC_SUBST(G_MODULE_HAVE_DLERROR) AC_SUBST(G_MODULE_BROKEN_RTLD_GLOBAL) +AC_SUBST(G_MODULE_BROKEN_DLOPEN_NULL) AC_SUBST(G_MODULE_NEED_USCORE) AC_SUBST(GLIB_DEBUG_FLAGS) @ 1.19 log @Fix build on systems where format-nonliteral is turned on by default. From coypu in PR 50753; already merged upstream. While here, regen two patches. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.18 2014/10/07 23:18:36 prlw1 Exp $ a6 2 - remove unnecessary executions of libtool from configure https://bugzilla.gnome.org/show_bug.cgi?id=736710 d8 1 a8 1 --- configure.ac.orig 2015-05-13 02:45:52.000000000 +0000 d10 1 a10 1 @@@@ -750,7 +750,7 @@@@ int main (void) d19 1 a19 1 @@@@ -1102,10 +1102,22 @@@@ AC_CHECK_TYPE([struct ip_mreqn], [ d46 1 a46 7 @@@@ -1440,11 +1452,12 @@@@ if test x"$glib_native_win32" = xyes; th G_MODULE_LDFLAGS= else export SED - G_MODULE_LDFLAGS=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` + eval G_MODULE_LDFLAGS=$export_dynamic_flag_spec fi d54 1 a54 1 @@@@ -1489,13 +1502,12 @@@@ AS_IF([ test "$G_MODULE_IMPL" = "G_MODUL d66 1 a66 5 - eval `./libtool --config | grep ^objdir` AC_CACHE_CHECK([for RTLD_GLOBAL brokenness], glib_cv_rtldglobal_broken,[ AC_TRY_RUN([ @@@@ -1558,6 +1570,38 @@@@ dnl *** check for having dlerror() d105 1 a105 10 @@@@ -1568,8 +1612,6 @@@@ fi AC_MSG_CHECKING(for the suffix of module shared libraries) export SED -shrext_cmds=`./libtool --config | grep '^shrext_cmds='` -eval $shrext_cmds module=yes eval std_shrext=$shrext_cmds # chop the initial dot glib_gmodule_suffix=`echo $std_shrext | sed 's/^\.//'` @@@@ -1587,6 +1629,7 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) d113 1 a113 1 @@@@ -1963,22 +2006,8 @@@@ AS_IF([ test x"$have_threads" = xposix], @ 1.18 log @Update glib to 2.42.0 Patches removed: - patch-ba Fixed in 4f775b7b and 369c8bd5 (Bug 583330) - patch-gio_gcredentials.c patch-gio_gcredentialsprivate.h patch-gio_gsocket.c patch-gio_gunixcredentialsmessage.c patch-gio_tests_credentials.c Fixed in 3428bba1 and e763d934 (Bugs 728256 735819) - patch-glib_gmessages.c Fixed in ab9f63fa (Bug 720708) Patches changed: - patch-gio_gioenums.h Still need 45344f36 (Bug 728256) - patch-ak (=> patch-aa) Hunk 9 fixed in 74ec9470 Highlights from the release notes: * GApplication now has binding-friendly API to handle commandline options: g_application_add_main_option * G_GNUC_BEGIN_IGNORE_DEPRECATIONS works with clang * g_clear_pointer and g_clear_object no longer use atomics * The Unicode support has been updated to version 7.0 of the Unicode standard * GNotification now supports priorities for notifications * GCredentials has gained NetBSD support * GMutex now uses a faster, native implementation on Linux * Many bugfixes found by static analysis, including potential fd leaks and NULL pointer dereferences. * Increased use of (nullable) attribute on out values and return types now that it is supported (mostly from porting Vala metadata). * use XDG_CURRENT_DESKTOP for OnlyShowIn/NotShowIn handling of desktop files, deprecating g_desktop_app_info_set_desktop_env() * add support for g_desktop_app_info_get_implementations() to find desktop files that have an Implements= line for a given interface * GHmac has gained SHA-512 support * support the new mimeapps specification (most notably, moving the assoications/defaults configuration to ~/.config/mimeapps.list). * libgobject is now linked -Wl,-z,nodelete when possible to avoid errors when gobject is used from a module for a program that does not itself use gobject and that module is unloaded/reloaded * ... and many other bug fixes. * Many translations updated. For full details see: https://git.gnome.org/browse/glib/tree/NEWS?h=glib-2-42 @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.17 2013/12/08 13:08:59 prlw1 Exp $ d10 1 a10 1 --- configure.ac.orig 2013-06-09 22:53:13.000000000 +0000 d12 1 a12 1 @@@@ -858,7 +858,7 @@@@ int main (void) d21 1 a21 1 @@@@ -1129,10 +1129,22 @@@@ AC_CHECK_TYPE([struct ip_mreqn], [ d48 1 a48 1 @@@@ -1491,11 +1503,12 @@@@ if test x"$glib_native_win32" = xyes; th d62 1 a62 1 @@@@ -1556,13 +1569,12 @@@@ AS_IF([ test "$G_MODULE_IMPL" = "G_MODUL d78 1 a78 1 @@@@ -1625,6 +1638,38 @@@@ dnl *** check for having dlerror() d117 1 a117 1 @@@@ -1635,7 +1680,5 @@@@ fi d125 2 a126 1 @@@@ -1654,6 +1699,7 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) d134 1 a134 1 @@@@ -2035,22 +2081,8 @@@@ AS_IF([ test x"$have_threads" = xposix], @ 1.17 log @Update glib2 to 2.38.2 Patches removed: - patch-ce: fixed in 690d6b97 (Bug 697386) - patch-gio_gcontenttype.c: committed as ab5aa2aa - patch-gio_glocalfile.c: fixed in 584358 (Bug 698348) - patch-gio_gthreadedresolver.c: fixed in 8372f22b - patch-glib_gfileutils.c: fixed in 8372f22b - patch-glib_gmarkup.c: : fixed in 8372f22b - patch-glib_gstrfuncs.c: fixed in 8372f22b Patches changed: - patch-aa: last 3 hunks removed as committed as 996edb0 (Bug 706958) - patch-ah: last 2 hunks removed as something similar in 8372f2 - patch-ak: last 3 hunks removed as committed as 996edb0 (Bug 706958) - patch-ba: hunk 9 removed as committed as d47430 (Bug 697365) Overview of changes from GLib 2.38.1 to 2.38.2 =============================================== * GCancellableSource will now dispatch for each time a cancellable is cancelled (ie: in the case that it was reset) but this is still considered undefined behaviour * fix g_source_add_child_source() thread safety issues * add workaround for buggy D-Bus daemons when path-matching on '/' * fallback to pathname queryinfo to help g_file_copy() work on gvfs filesystems that don't implement query_info_on_read() * don't crash if loading a DBusActivatable application from keyfile * fix crash when replacing a symlink with another using GIO * add a fallback for '-symbolic' icons to the non-symbolic form Overview of changes from GLib 2.38.0 to 2.38.1 =============================================== * Fix error code checks when SOCK_CLOEXEC is defined but not supported (fix support for GNU/Hurd) * g_settings_list_children: only list viable schemas (fix gsettings list-recursively crashes with invalid schemas installed) * GDBusObjectManagerClient: Fix typo in the /org/freedesktop/DBus path when adding match rules * Various -Werror=format-nonliteral fixes * gmessages: fix clang annotations to work with older versions * gio: don't dist (generated file) gnetworking.h * Restore gl_GLIBC21 to configure; needed for libcharset Translations: Catalan (Valencian) Norwegian bokmål Russian Serbian What's new in Glib 2.38 ======================== * Application support - GIO now provides an implementation of Desktop Actions from the desktop entry specification - GApplication now implements the org.freedesktop.Application interface as per the desktop entry specification, allowing for standards-based D-Bus launching of GLib-based applications - GDesktopAppInfo now supports DBusActivatable as per the desktop entry specification, allowing GLib-based applications to use D-Bus to launch other applications - GApplication now has a "busy" flag that can be set on an application to allow the shell to show that it is busy * GObject - the private offset for a given class type is now always constant. This was done by reorganising the memory layout of instances so that the private data comes before the "official" pointer for the object (ie: at a negative offset). Valgrind macros were added to mitigate any problems that this may have caused. - a new G_DEFINE_TYPE_WITH_PRIVATE has been added along with a generated function *_get_instance_private() that can now serve as an equally-performing alternative to ->priv pointers in instances (allowing memory savings) - new G_PRIVATE_FIELD, G_PRIVATE_FIELD_P and G_PRIVATE_OFFSET macros provide a convenient method of converting between named variables in private structures and their (now constant) offsets - installing properties on a GObjectClass must now be done from class_init. It is no longer valid to install them after class_init has returned. - it is now possible to manually break a GObject property binding without destroying one of the objects involved * Icons - the requirements for implementing the GIcon interface have changed in order to make it possible to consume all implementations of GIcon with a finite number of cases - a new GBytesIcon type was added for an icon represented by an in-memory binary blob in a known image format (ideally png). - new APIs g_icon_serialize() and g_icon_deserialize() replace the old to/from_string APIs and will always work, irrespective of which types have been initialised in the calling process, allowing for a serialised GdkPixbuf to be deserialised in a process that doesn't have GdkPixbuf - support for icons has been added to GMenuModel using the new APIs * Actions and menus - GPropertyAction provides a convenient way of creating a stateful property corresponding to a property on a GObject, such as the "visible-child-name" property of a GtkStack - new API g_menu_remove_all() - we now have established rules about what is a "valid" action name and an API to check them - a new API for converting detailed action names to and from the split-out name and parameter value (as GVariant) - for backwards compatibility, invalid action names can still be used with most functions, but this is not recommended * Other GIO - GDBus now supports services that wish to handle some of all properties on an interface asynchronously, without requiring the service to reimplement the entire org.freedesktop.DBus.Properties interface - GFile now has a new _measure_disk_usage() (and async) API for recursively determining the amount of disk space used by a particular directory (akin to 'du'). - asynchronous version of g_file_trash() and g_file_make_directory() have been added * Other new API - GRegex has a new function to query the maximum lookbehind length to allow for regexp matching on streams - GVariant has two new APIs for constructing strings that allow avoiding copies in some cases: g_variant_new_take_string() and g_variant_new_printf() * Testing - we can now generate TAP output - new support functions for simplifying the process of dealing with data files for srcdir != builddir and installed test cases - g_test_trap_subprocess() provides a portable alternative to g_test_trap_fork() * Other - GLib now builds on Android against the bionic C library Overview of changes from GLib 2.37.93 to 2.38.0 ================================================ * fix the documentation for GSourceFuncs * fix compilation on OS X/ppc64 Bugs fixed: 708445, 647145 Translations updated: Danish French Portuguese Punjabi Overview of changes from GLib 2.37.92 to 2.37.93 ================================================ * a couple of bugfixes in the new g_file_measure_disk_usage() API * updated Traditional Chinese translation Overview of changes from GLib 2.37.7 to 2.37.92 =============================================== * new API g_file_measure_disk_usage() similar to du(1) * minor fixes * Translation updates: Assamese Belarusian Brazilian Portuguese Catalan Czech Galician German Hungarian Indonesian Italian Korean Korean Latvian Lithuanian Polish Serbian Slovenian Spanish Overview of changes from GLib 2.37.6 to 2.37.7 ============================================== * GDateTime now supports %:z formatting variations for timezones. This is a GNU date extension. * Bugs fixed: 685387 Segfault with GObject.signal_handler_is_connected()... 686786 g_socket_get_available_bytes() returns wrong value ... 705027 GSocket GSource not threadsafe on Windows 706469 Fix G_DEFINE_ABSTRACT_TYPE_WITH_PRIVATE documentation 706706 Fix Gir annotations on g_loadable_icon_load_finish 706888 gtype: fix a no-op assertion 706958 configure.ac: fix atomic opts detection 707092 "File Utilities" page for GLib documentation doesn'... 707151 gdatetime: Extend the '%z' timezone format * Translation updates: Catalan Hungarian Japanese Polish Slovak Tamil Overview of changes from GLib 2.37.5 to 2.37.6 ============================================== * Tests using the g_test facilities can now generate TAP output * Bugs fixed: 680926 generic type fallback logic is broken for -symbolic 684327 setting null icon to icon list 689245 GSocket unable to reuse (address,port) on Mac OS X 692125 Support TAP as GTest output format 693335 build: fix dtrace-related warnings 696633 gdbus-codegen trips over unicode chars when using python 3.x 696970 Compiling 2.36.0 for win64 fails 697185 GSocket – Allow specifying the multicast interface from... 700268 Add support for using the clang analyzer 701318 Add G_SPAWN_DEFAULT to GSpawnFlags 701529 glib/tests/gdatetime: use UTC time in test_GDateTime_diff() 701800 a new approach to reporting critical errors 702674 g_date_time_new_utc crash 704165 GLib.IOChannel read_unichar() fails 705075 Simplify g_get_tmp_dir() 705152 Race in glib/task.test 705398 gtype: Fix typo in g_type_class_add_private() error message 705570 Check ref_count in g_object_notify_by_pspec 705600 Deprecate GSimpleActionGroup functions? * Updated translations: Assamese Brazilian Portuguese Czech Dutch Galician Gujarati Hebrew Italian Lithuanian Marathi Norwegian bokmål Russian Slovenian Spanish Thai Traditional Chinese Overview of changes from GLib 2.37.4 to 2.37.5 ============================================== * Implement the Desktop Action specification: In the case that the application is a GApplication and DBusActivatable, actions from the desktop file are translated into GActions that have been added to the application with g_action_map_add_action(). * GPropertyAction is a new type of GAction that represents the value of a property on an object, and allows to change the value when activated. * GNetworkMonitorNetlink can now handle default routes via a device. * The gsettings tool now reports failure to write a key (e.g. because the key was locked down) * Miscellaneous new api: - g_variant_new_printf - g_action_print_detailed_name - g_regex_get_max_lookbehind * Bugs fixed: 664444 Support additional application actions in .desktop files 684123 glib build only tries -D_GNU_SOURCE if glibc is detected 689794 support incremental matching 699259 add org.freedesktop.Application support to GIO 700460 rewrite tests to not rely on precise timing of timeouts 701511 updates to various GSource types 701609 gnetworkmonitornetlink: handle default route via device 703270 add GPropertyAction 704157 GAction: add function for printing detailed names 704250 Doc: various fixes 704267 regression gsourceclosure: segfault in gedit file chooser 704322 glib-unix: fix handling of multiple signal source for the... 704424 No error when failing to override a locked key 704447 Fix build/use of g_child_watch_closure_callback on Windows 704523 g_thread_create_full() can dereference NULL pointer 704543 Add implementations for G_GNUC_*_IGNORE_DEPRECATIONS for ... 704567 gdbusnameowning: Don't spew an error if we're releasing a... 704585 libc printf can give mixed-case strings for NaN and Inf 704587 FTBFS: statfs_result is undeclared for statvfs() 704699 gmain: Reset signal handlers to default when source is 704704 AI_NUMERICSERV cannot be used with ai_socktype = 0 704873 inotify: don't assume mainloop is running 704999 glib/convert.test crashing due to lack of iconv cache 704931 GMenuModel: add annotations to virtual functions * Translation updates: Assamese Czech German Gujarati Spanish Tamil Overview of changes from GLib 2.37.3 to 2.37.4 ============================================== * Bugs fixed: 701283 g_source_add_child_source() segfault 702147 inconsistency of G_STRFUNC 703191 new private macros interact poorly with versioning macros 703254 Doc: various fixes 703407 g_spawn_async() keeps child_pid_report_pipe open in child process 703437 GDBusConnection: be more careful with async GetAll 703478 Missing G_BEGIN/END_DECLS in gsettingsschema.h * Translation updates: Catalan Overview of changes from GLib 2.37.2 to 2.37.3 ============================================== * add a new API for instance private data: G_DEFINE_TYPE_WITH_PRIVATE * fix timestamps in tarball to prevent automake from being required to build the unmodified source * add new D-Bus API for async property handling * add back fsync() on ext4 for g_file_set_contents() after it was discovered that despite statements in the ext4 documentation suggesting that this is safe, it is not safe. * Translations: Italian Norwegian bokmål * Bugs fixed: 698375 - D-Bus async properties 700350 - timestamp issue 701560 - fsync issue (fixed again) 700035 - new API for instance private data Overview of changes from GLib 2.37.1 to 2.37.2 ============================================== * The GLib test utilities have grown some file-related APIs to support tests that can be used installed and uninstalled. * Installing properties after class initialization is deprecated, and will trigger a warning. * GApplication: - Support org.freedesktop.Application, including D-Bus activation from desktop files - Set prgname to appid for services * Bugs fixed: 549783 gtester lacks framework for tests with data files 692848 Fix property example in gobject tutorial 698018 Add an explicit g_binding_release() 698614 GObject: prevent installing properties after init 699259 add org.freedesktop.Application support to GIO 699959 g_file_copy(): Ensure we create private files by default 700123 Test failure: g_inet_socket_address_get_scope_id 700725 GIcon: NULLify the `type' out param in the sync methods too 701401 gtest: add function for testing for WINE 701456 Error in gnome/glib/gio/tests/file.c 701474 Error building glibmm due to extra comma in glib/gtestutils.h 701560 various improvements for g_file_set_contents() 701680 GFileEnumerator: Add some documentation about ordering 701878 Check wakeup() before iteration(TRUE) doesn't block * Translations: Assamese Czech Galician Gujarati Kannada Marathi Odia Polish Slovenian Spanish Telugu Overview of changes from GLib 2.37.0 to 2.37.1 ============================================== * add support for installed tests: https://live.gnome.org/GnomeGoals/InstalledTests * add a new g_test_trap_subprocess() that works on Windows as a replacement for the (now deprecated) g_test_trap_fork() * support for explicitly cancelling a gobject property binding * performance improvements for signal argument handling * stop using `quotes' in very many log messages generated by GLib, for favour of 'this style'. This may cause testcases in other packages to fail if they were matching on the previous text. * improve manpages: add missing arguments and flags Translations: Aragonese Assamese Gujarati Hindi Kannada Norwegian bokmål Odia Slovenian Spanish Tamil Telugu Bugs fixed: 679683 replace g_test_trap_fork() 694380 Improve signal argument collection performance 695233 Strings require plural forms 697849 spelling fixes in cross.xml and running.xml 698877 GProxyAddressEnumerator calls g_network_address_parse_uri without port 698981 [PATCH] test /gdbus/connection/large_message could hang forever 699079 Prototype support for installed tests 699485 [PATCH] tests/mappedfile: Also handle ENOMEM 699493 SOCKS5 proxy code crashes if it cannot authenticate 699500 gbitlock: fix this to not unconditionally use futex emulation 699779 [PATCH] G_GNUC_FORMAT: documentation error 700263 m4macros/glib-gettext.m4: Don't use AC_HEADER_STDC 700714 [PATCH] gtestutils: Ensure test subprocesses don't dump core 700746 Use 'dumb quotes' rather than `really dumb quotes' @ text @d1 8 a8 1 $NetBSD: patch-ak,v 1.16 2013/06/23 04:26:49 tsutsui Exp $ d53 1 a53 1 + G_MODULE_LDFLAGS=`(libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` d62 1 a62 1 @@@@ -1556,13 +1569,13 @@@@ AS_IF([ test "$G_MODULE_IMPL" = "G_MODUL a74 1 + eval `libtool --config | grep ^objdir` d117 1 a117 1 @@@@ -1635,7 +1680,7 @@@@ fi d122 1 a122 2 +shrext_cmds=`libtool --config | grep '^shrext_cmds='` eval $shrext_cmds a157 8 @@@@ -2336,6 +2368,7 @@@@ case $host in ;; *-*-openbsd*) LDFLAGS="$LDFLAGS -pthread" + G_THREAD_LIBS_FOR_GTHREAD="$G_THREAD_LIBS" ;; *) G_THREAD_LIBS_FOR_GTHREAD="$G_THREAD_LIBS" @ 1.16 log @Fix build failure on NetBSD/arm 6.1. PR/47941 - fix configure scripts to detect !G_ATOMIC_LOCK_FREE correctly (use AC_TRY_LINK rather than AC_TRY_COMPILE to see if symbols are defined) - fix prototype mismatches in !G_ATOMIC_LOCK_FREE case (note no binary changes in G_ATOMIC_LOCK_FREE case) "please commit it" from agc@@. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.15 2013/04/19 22:21:41 prlw1 Exp $ a160 27 @@@@ -2390,7 +2423,7 @@@@ AC_CACHE_CHECK([for lock-free atomic int glib_cv_g_atomic_lock_free=yes ;; *) - AC_TRY_COMPILE([], + AC_TRY_LINK([], [volatile int atomic = 2;\ __sync_bool_compare_and_swap (&atomic, 2, 3);], [glib_cv_g_atomic_lock_free=yes], @@@@ -2398,7 +2431,7 @@@@ AC_CACHE_CHECK([for lock-free atomic int if test "$glib_cv_g_atomic_lock_free" = "no"; then SAVE_CFLAGS="${CFLAGS}" CFLAGS="-march=i486" - AC_TRY_COMPILE([], + AC_TRY_LINK([], [volatile int atomic = 2;\ __sync_bool_compare_and_swap (&atomic, 2, 3);], [AC_MSG_ERROR([GLib must be build with -march=i486 or later.])], @@@@ -2416,7 +2449,7 @@@@ case $host in # Some compilers support atomic operations but do not define # __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4, like clang if test x"$glib_cv_g_atomic_lock_free" = xyes; then - AC_TRY_COMPILE([], + AC_TRY_LINK([], [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4;], [], [AC_DEFINE(__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4, 1, [ compiler supports atomic operations])]) @ 1.15 log @Update glib to 2.36.1 Among many bugfixes, changes and translations: * GIO now has kqueue support for GFileMonitor (BSDs, Mac OS) * GTask (the new GAsyncResult implementation) has landed * We now install a public "gnetworking.h" header that can be used to include the relevant OS-dependent networking headers. This does not really abstract away unix-vs-windows however; error codes, in particular, are incompatible. See NEWS file http://git.gnome.org/browse/glib/plain/NEWS?id=2.36.1 for details. Patches removed: - patch-aj: Per PR pkg/41601: Bug 133344 is closed and compile tested by Joern Clausen - patch-at: Fixed in b26fb3ae (Bug 687600) - patch-cf: Adds sys/param.h - if still needed, should go into gnetworking.h.in XXX might still be needed - patch-cg: Fixed (or changed anyway) in 6f8f1f70 and 52a81a7d (Bug 688681) - patch-ci: Fixed in a33aaad0 (Bug 637013) - patch-glib_goption.c: Fixed in f9a6a974 - patch-glib_tests_include.c: Fixed in d2b7ee62 (Bug 672406) Patches changed: - patch-ak: First chunk fixed in 5fbdd3aa (Bug 691011) - patch-ap: Added NetBSD support to g_credentials_get_unix_pid() First chunk fixed in b377e696 (Bug 623187) - patch-aq: First chunk fixed in b8c13a01 (Bug 688109) Patches added: - patch-gio_glocalfile.c (Reported as Bug 698348) @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.14 2013/01/21 15:54:24 wiz Exp $ d3 1 a3 1 --- configure.ac.orig 2013-03-25 20:37:16.000000000 +0000 d161 27 @ 1.14 log @Fix build with kqueue option and automake-1.13. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.13 2012/10/06 20:44:05 prlw1 Exp $ d3 1 a3 3 First chunk: automake-1.13 compat. --- configure.ac.orig 2013-01-21 15:53:29.000000000 +0000 d5 1 a5 10 @@@@ -291,7 +291,7 @@@@ AC_TRY_COMPILE(,[class a { int b; } c;], AM_CONDITIONAL(HAVE_CXX, [test "$CXX" != ""]) AC_LANG_RESTORE -AM_PROG_CC_STDC +AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL @@@@ -864,7 +864,7 @@@@ int main (int argc, char **argv) d14 1 a14 1 @@@@ -1115,10 +1115,22 @@@@ AC_CHECK_TYPE([struct ip_mreqn], [ d41 1 a41 1 @@@@ -1477,11 +1489,12 @@@@ if test x"$glib_native_win32" = xyes; th d55 1 a55 1 @@@@ -1542,13 +1555,13 @@@@ AS_IF([ test "$G_MODULE_IMPL" = "G_MODUL d72 1 a72 1 @@@@ -1611,6 +1624,38 @@@@ dnl *** check for having dlerror() d111 1 a111 1 @@@@ -1621,7 +1666,7 @@@@ fi d120 1 a120 1 @@@@ -1640,6 +1685,7 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) d128 1 a128 1 @@@@ -2021,22 +2067,8 @@@@ AS_IF([ test x"$have_threads" = xposix], d153 1 a153 1 @@@@ -2322,6 +2354,7 @@@@ case $host in @ 1.13 log @Update glib2 and therefore gdbus-codegen and gio-fam to 2.34.0 - patch-ar and patch-as to avoid dependending on python are no longer necessary since the introduction of --disable-modular-tests - patch-co has been committed to glib in 2360d04e - other patches cargo culted across - statfs test was fixed in glib with commit afa82ae8 - no longer provide man pages as that requires docbook & xsltproc Many changes in glib since 2.32.4, especially GDBus improvements. See NEWS file http://git.gnome.org/browse/glib/plain/NEWS?id=2.34.0 for details. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.12 2012/05/04 10:22:08 obache Exp $ d3 3 a5 1 --- configure.ac.orig 2012-09-25 07:35:55.000000000 +0000 d7 9 d139 1 a139 1 @@@@ -2010,22 +2056,8 @@@@ AS_IF([ test x"$have_threads" = xposix], d164 1 a164 1 @@@@ -2311,6 +2343,7 @@@@ case $host in @ 1.12 log @* Update PKGCONFIG_OVERRIDE list to reflect reality. * Restore pthread flag settings in configure script. It still in the last hunk of patch-ak (for configure.ac), but lost at updated to 2.32.1. * Fixes missing pthread linkage of libglib-2.0 on OpenBSD. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.11 2012/05/01 18:45:52 adam Exp $ d3 1 a3 1 --- configure.ac.orig 2012-05-01 00:06:39.000000000 +0000 d5 1 a5 1 @@@@ -852,7 +852,7 @@@@ int main (int argc, char **argv) d10 1 a10 1 +AC_MSG_CHECKING([whether using Sun Studio C compiler visibilily]) d14 1 a14 1 @@@@ -1103,8 +1103,20 @@@@ AC_CHECK_TYPE([struct ip_mreqn], [ d18 4 d32 2 a33 2 AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) AC_DEFINE(_XOPEN_SOURCE, 2, Needed to get declarations for msg_control and msg_controllen on Solaris) d36 2 a37 2 AC_DEFINE(__EXTENSIONS__, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) ;; d39 3 a41 1 @@@@ -1465,11 +1477,12 @@@@ if test x"$glib_native_win32" = xyes; th d55 1 a55 1 @@@@ -1530,13 +1543,13 @@@@ if test "$G_MODULE_IMPL" = "G_MODULE_IMP d72 1 a72 1 @@@@ -1599,6 +1612,38 @@@@ dnl *** check for having dlerror() d75 1 a75 1 fi d111 1 a111 1 @@@@ -1609,7 +1654,7 @@@@ fi d120 1 a120 1 @@@@ -1628,6 +1673,8 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) a124 1 + d128 1 a128 1 @@@@ -1995,22 +2042,8 @@@@ if test x"$have_threads" = xposix; then d152 2 a153 2 fi @@@@ -2301,6 +2334,7 @@@@ case $host in @ 1.11 log @Changes 2.32.2: * GApplication: can now have a NULL application ID * g_clear_object: fix warnings when using it on C++ (due to lack of ability to implicitly cast void*) * GDBus: - add our own implementation of the message bus for use on Windows only - fix up a few bugs that use of this bus uncovered in GDBus - escape nonce files in dbus addressess (think 'c:\') - support initial underscores in dbus codegen namespace (for private) * Fix misdetection of GNUstep as Cocoa (for the MacOS GSettings backend) * make sure configure fails if AC_CHECK_ALIGNOF cannot detect the alignment * GAppInfo: overwrite the DISPLAY only if it is set in the launch context * glib/tests/date: force US locale running the GDateTime tests * GSocketControlMessage: Don't warn about unknown messages * Resources: - fix broken use of GVDB on big endian machines - set a 'display name' so that pretty file names appear in Gtk CSS warning messages * GMainContext: - block child sources when blocking the parent - introduce more testcases for child sources * Translations updates: Brazilian Portuguese French Galician Italian Lithuanian Polish Polish Serbian Simplified Chinese Spanish * Bug fixed: 619026 avoid warning in gutils.h when using gcc with -Wconversion 669260 Open/Save dialog hangs waiting for data with libsoup 671249 GApplication: Allow a null application_id? 672786 goa-daemon: action in notification doesn't work 673409 g_resource_lookup_data may return stale data pointer 674172 glib-2.32.1 misdetects GNUstep as Cocoa 674345 cssprovider: Make sure to print out file name in css warnings 674483 broken configure results when cross-compiling with gcc >= 4.5 @ text @d1 1 a1 1 $NetBSD$ d148 8 @ 1.10 log @update to 2.32.1 This is the new major tree, needed for a number of Gnome pkgs. The optional "kqueue" patch isn't ready yet, so the "kqueue" option does not work atm. @ text @d3 1 a3 1 --- configure.ac.orig 2012-03-24 03:02:16.000000000 +0000 d5 1 a5 1 @@@@ -835,7 +835,7 @@@@ int main (int argc, char **argv) d14 1 a14 1 @@@@ -1086,8 +1086,20 @@@@ AC_CHECK_TYPE([struct ip_mreqn], [ d35 1 a35 1 @@@@ -1448,11 +1460,12 @@@@ if test x"$glib_native_win32" = xyes; th d49 1 a49 1 @@@@ -1513,13 +1526,13 @@@@ if test "$G_MODULE_IMPL" = "G_MODULE_IMP d66 1 a66 1 @@@@ -1582,6 +1595,38 @@@@ dnl *** check for having dlerror() d105 1 a105 1 @@@@ -1592,7 +1637,7 @@@@ fi d114 1 a114 1 @@@@ -1611,6 +1656,8 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) d123 1 a123 1 @@@@ -1967,22 +2014,8 @@@@ if test x"$have_threads" = xposix; then @ 1.9 log @update to 2.30.2 this switches to the 2.30 release branch pkgsrc note: if you use net/libsoup24 with this glib2 version, make sure to use at least version 2.34.3nb1 @ text @d3 1 a3 1 --- configure.ac.orig 2011-10-14 04:12:40.000000000 +0000 d5 1 a5 1 @@@@ -882,7 +882,7 @@@@ int main (int argc, char **argv) d14 1 a14 1 @@@@ -1114,8 +1114,20 @@@@ AC_SUBST(NETWORK_LIBS) d35 1 a35 1 @@@@ -1509,11 +1521,12 @@@@ if test x"$glib_native_win32" = xyes; th d49 1 a49 1 @@@@ -1574,7 +1587,7 @@@@ if test "$G_MODULE_IMPL" = "G_MODULE_IMP d53 10 a62 3 - ${SHELL} ./libtool --mode=compile ${CC} -shared \ + ${SHELL} libtool --mode=compile ${CC} -shared \ -export-dynamic -o plugin.o plugin.c 2>&1 >/dev/null d65 2 a66 1 @@@@ -1638,6 +1651,38 @@@@ dnl *** check for having dlerror() d105 1 a105 1 @@@@ -1648,7 +1693,7 @@@@ fi d114 1 a114 1 @@@@ -1667,6 +1712,8 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) d123 24 a146 32 @@@@ -2055,22 +2102,8 @@@@ if test x"$have_threads" != xno; then G_THREAD_LIBS="-lpthread -lthread" ;; *) - for flag in pthread pthreads mt; do - glib_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -$flag" - AC_TRY_RUN(glib_thread_test(0), - glib_flag_works=yes, - glib_flag_works=no, - [AC_LINK_IFELSE([AC_LANG_SOURCE(glib_thread_test(0))], - glib_flag_works=yes, - glib_flag_works=no)]) - CFLAGS="$glib_save_CFLAGS" - if test $glib_flag_works = yes ; then - G_THREAD_CFLAGS=-$flag - G_THREAD_LIBS=-$flag - break; - fi - done + G_THREAD_LIBS="${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}" + G_THREAD_CFLAGS="${PTHREAD_CFLAGS}" ;; esac fi @@@@ -3771,7 +3804,7 @@@@ AC_ARG_ENABLE(Bsymbolic, enable_Bsymbolic=no) LDFLAGS="${SAVED_LDFLAGS}"]) -if test "x${enable_Bsymbolic}" == "xyes"; then +if test "x${enable_Bsymbolic}" = "xyes"; then GLIB_LINK_FLAGS=-Wl,-Bsymbolic-functions a147 1 @ 1.8 log @Add support for kqueue by using the patches written by Dmitry Matveev during the Google Summer of Code 2011 program. Congratulations, Dmitry! :-) This comes in the form of a new 'kqueue' build-time option. This should NOT be an option, but it is for two reasons: - I consider this still experimental for it to be enabled on everyone's machines, and the code is not "official". - The patch requires us to run automake/autoconf during the pre-configure stage, and I don't want to add these dependencies on the default package build. When these patches get integrated upstream, we can get rid of the option altogether. Also note that I had to backport some of our custom changes to Makefile.in files and some to configure to the original Makefile.am files and configure.ac. This is to prevent our custom patches from being lost during the automake/autoconf invocations we now do when 'kqueue' is enabled. Bump PKGREVISION to 1. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.7 2010/11/02 14:52:24 drochner Exp $ d3 3 a5 3 --- configure.ac.orig 2011-06-05 19:18:49.000000000 -0400 +++ configure.ac 2011-10-08 23:50:38.000000000 -0400 @@@@ -825,7 +825,7 @@@@ int main (int argc, char **argv) d14 1 a14 1 @@@@ -1023,8 +1023,20 @@@@ fi d35 1 a35 1 @@@@ -1379,11 +1391,12 @@@@ if test x"$glib_native_win32" = xyes; th d49 1 a49 1 @@@@ -1444,7 +1457,7 @@@@ if test "$G_MODULE_IMPL" = "G_MODULE_IMP d58 1 a58 1 @@@@ -1508,6 +1521,38 @@@@ dnl *** check for having dlerror() d97 1 a97 1 @@@@ -1518,7 +1563,7 @@@@ fi d106 1 a106 1 @@@@ -1537,6 +1582,8 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) d115 1 a115 1 @@@@ -1925,22 +1972,8 @@@@ if test x"$have_threads" != xno; then d125 1 a125 1 - [AC_LINK_IFELSE(glib_thread_test(0), d140 1 a140 1 @@@@ -3638,7 +3671,7 @@@@ AC_ARG_ENABLE(Bsymbolic, @ 1.7 log @update to 2.26.0 This switches to the gnome-2.32 release branch. @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.6 2010/05/31 17:30:36 drochner Exp $ d3 3 a5 3 --- configure.ac.orig 2010-05-02 23:58:58.000000000 +0000 +++ configure.ac @@@@ -846,7 +846,7 @@@@ int main (int argc, char **argv) d14 1 a14 1 @@@@ -1043,10 +1043,22 @@@@ fi a17 4 - AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) - AC_DEFINE(_XOPEN_SOURCE, 2, Needed to get declarations for msg_control and msg_controllen on Solaris) - AC_DEFINE(__EXTENSIONS__, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) - ;; d28 2 a29 2 + AC_DEFINE(_XOPEN_SOURCE_EXTENDED, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) + AC_DEFINE(_XOPEN_SOURCE, 2, Needed to get declarations for msg_control and msg_controllen on Solaris) d32 2 a33 2 + AC_DEFINE(__EXTENSIONS__, 1, Needed to get declarations for msg_control and msg_controllen on Solaris) + ;; d35 1 a35 3 dnl @@@@ -1399,11 +1411,12 @@@@ if test x"$glib_native_win32" = xyes; th d49 1 a49 1 @@@@ -1464,7 +1477,7 @@@@ if test "$G_MODULE_IMPL" = "G_MODULE_IMP d58 1 a58 1 @@@@ -1528,6 +1541,38 @@@@ dnl *** check for having dlerror() d97 1 a97 1 @@@@ -1538,7 +1583,7 @@@@ fi d106 1 a106 1 @@@@ -1557,6 +1602,8 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) d115 1 a115 1 @@@@ -1945,22 +1992,8 @@@@ if test x"$have_threads" != xno; then d140 9 @ 1.6 log @update to 2.24.1 this switches to the gnome-2.30 branch @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- configure.in.orig 2010-05-02 23:58:58.000000000 +0000 +++ configure.in @ 1.5 log @Fixes PR pkg/42336 (STD C99 requires to use XPG6) @ text @d3 3 a5 3 --- configure.in.orig 2009-10-07 15:29:47.000000000 +0200 +++ configure.in 2009-11-22 15:18:00.124347084 +0100 @@@@ -835,7 +835,7 @@@@ d14 1 a14 1 @@@@ -1023,10 +1023,22 @@@@ d41 1 a41 1 @@@@ -1379,11 +1391,12 @@@@ d55 1 a55 1 @@@@ -1444,7 +1457,7 @@@@ d64 1 a64 1 @@@@ -1508,6 +1521,38 @@@@ d103 1 a103 1 @@@@ -1518,7 +1563,7 @@@@ d112 1 a112 1 @@@@ -1537,6 +1582,8 @@@@ d121 1 a121 1 @@@@ -1925,22 +1972,8 @@@@ a145 11 @@@@ -2336,6 +2369,10 @@@@ *) G_THREAD_LIBS_FOR_GTHREAD="$G_THREAD_LIBS" ;; + *-*-netbsd*) + # On NetBSD, pkgsrc's libtool does the right thing. + G_THREAD_LIBS_FOR_GTHREAD="$G_THREAD_LIBS" + ;; esac AC_DEFINE_UNQUOTED(G_THREAD_SOURCE,"gthread-$have_threads.c", @ 1.4 log @PR 42090: Use our libtool when deciding what to do and not the included libtool 2.2.6 which has some issues. @ text @d3 39 a41 3 --- configure.in.orig 2009-08-28 05:43:57.000000000 +0200 +++ configure.in @@@@ -1297,11 +1297,12 @@@@ if test x"$glib_native_win32" = xyes; th d55 1 a55 1 @@@@ -1362,7 +1363,7 @@@@ if test "$G_MODULE_IMPL" = "G_MODULE_IMP d64 1 a64 1 @@@@ -1426,6 +1427,38 @@@@ dnl *** check for having dlerror() d103 1 a103 1 @@@@ -1436,7 +1469,7 @@@@ fi d112 1 a112 1 @@@@ -1455,6 +1488,8 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) d121 1 a121 1 @@@@ -1843,22 +1878,8 @@@@ if test x"$have_threads" != xno; then d146 1 a146 1 @@@@ -2254,6 +2275,10 @@@@ case $host in @ 1.3 log @Update glib2 to 2.18.0. Based on patch provided by Juan RP in pkgsrc-users ml. Overview of Changes from GLib 2.17.7 to GLib 2.18.0 =================================================== * Win32: - rework the g_poll() implementation to match poll() semantics more closely * Bugs fixed: 324234 Using g_io_add_watch_full() to wait for connect() to return... 548278 Async GETs connections are always terminated unexpectedly... 500246 Bug fixes for giowin32 523939 Example program for GValue 550096 GBookmarkFile parser is not forward compatible 550040 Move GString, rand and printf tests to the unit test framework 550104 trivial documentation fix for g_get_home_dir 548988 g_file_replace fails on Windows when the target file exists 550059 Wrong docs for g_emblemed_icon_add_emblem 548800 Missing a g_object_get_type function 550056 Missing documentation for g_emblemed_icon_get_emblems * Updated translations: Bulgarian (bg) Czech (cs) German (de) Estonian (et) Basque (eu) French (fr) Hebrew (he) Hungarian (hu) Italian (it) Japanese (ja) Lithuanian (lt) Maithili (mai) Dutch (nl) Swedish (sv) Thai (th) Ukrainian (uk) Vietnamese (vi) Overview of Changes from GLib 2.17.6 to GLib 2.17.7 =================================================== * More fixes for 64-bit Windows * GIO - Add a vfs implementation for HTTP and HTTPS URIs on Windows * Bugs fixed: 546329 API docs for g_utf8_normalize() are incorrect 546876 Modify GMarkup parser to accept  ..  547200 g_utf8_find_next_char() issues 547637 unconditional #include of sys/statfs.h in configure 547337 G_DISABLE_DEPRECATED breaks tests build 547832 gtk+-2.12.11 fails to build - AC_PROG_MMAP too strict 502498 Test framework assertion failures should follow gcc 546371 Improve docs re g_file_monitor 546483 GThemedIcon:use-default-fallbacks is not readable without... 546132 GFileIcon is bindings-unfriendly 542156 zfs mount in home directory shown on nautilus desktop 535124 umask 002 not being applied for new directories... 547080 g_file_copy leaks expected errors 546582 Callbacks from GFileMonitor present a GFile... 547262 Missing link in the docs * Updated translations: Arabic (ar) Catalan (ca) Spanish (es) Basque (eu) Finnish (fi) Galician (gl) Hebrew (he) Marathi (mr) Norwegian bokmål (nb) Portugese (pt) Brazilian Portugese (pt_BR) Swedish (sv) Thai (th) Overview of Changes from GLib 2.17.4 to GLib 2.17.6 =================================================== * Fix problems on 64-bit Windows * g_markup_context_get_user_data: New function to access the user_data outside of callbacks * GIO - g_mount_guess_content_type_sync: synchronous version of g_mount_guess_content_type - GEmblem: A GIcon implementation that adds emblem-related metadata to icons - GEmblemedIcon: A GIcon implementation that can add emblems to icons * Bugs fixed: 544088 option_test_LDADD is left in tests/Makefile.am 544465 gmarkup makes it hard to use pre-rolled parsers 545485 Implicit declaration of utime() 545798 "Since: 2.18" mark is missing in g_set_error_literal... 544140 fam-helper 64-bit issue 529694 SELinux context setting support 545157 wrong/no list of "open with" applications for .cc... 545203 gfile.c: argument is different type 545457 gdmsetup crashed with SIGSEGV in g_unix_mount_guess... 544177 Fix trivial cut and paste error in documentation 545395 Language tweak for g_value_set_string* docs 541036 Gnumeric crashes when trying to open Desktop... 546079 leak in xdgmime 545395 Language tweak for g_value_set_string* docs 546017 Don't copy attributes when copying a symlink * Updated translations: Arabic (ar) Estonian (et) Galician (gl) Italian (it) Japanese (ja) Korean (ko) Norwegian bokmål (nb) Pashto (ps) Portugese (pt) Overview of Changes from GLib 2.17.3 to GLib 2.17.4 =================================================== * GIO: - New API to handle content types: g_mount_guess_content_type, g_content_type_guess_for_tree. - Export the eject-button signal on the volume monitor class - New API to enable out-of-process volume monitors: g_volume_get_activation_root * GObject: - New API to handle signals without slots in the class structure: g_signal_new_class_handler, g_signal_override_class_handler * Internationalization: - Add an NC_ macro that is a no-op equivalent of C_ * GMarkup: - Add two new functions g_markup_parse_context_push, g_markup_parse_context_pop to support "subparsers" * Bugs fixed: 541208 Functions to easily install and use signals without... 541507 Ambiguous description of assigned characters in the... 543040 async reading on dummy file will crash on GIO_USE_VFS=local 543560 enable gio-FEN back-end warnings on Solaris will crash... 528317 GRegex does not allow recursion limit 337518 GMarkup: Subparser support 541794 drive-eject-button signal 541793 activation root for volumes 467707 test_iconv_state() in tests/convert-test.c fails on AIX 5.3 428048 2 of 51 tests fail on Solaris 542332 small fix for error message in GMarkup 482413 get_contents_stdio -- overflow and memory corruption 406120 g_ascii_strtod 334234 "printf" format error 536996 Missing noop i18n macro equivalent to C_ 540616 mem leak in filechooser button 539229 gobject-query calls itself query 521589 [RFC] gobject documentation should mention Vala 543168 Description of G_SLICE=debug-blocks discourages its use 543220 Case collision on gio-extension-points.html 530759 update the gobject tutorial to the XXI century 535223 gbookmark file inefficiency ... 543504 crash in Epiphany Web Browser: Opening local file * Updated translation: German (de) Estonian (et) Pashto (ps) Albanian (sq) Thai (th) Traditional Chinese (zh_HK) Traditional Chinese (zh_TW) Overview of Changes from GLib 2.17.1 to GLib 2.17.3 =================================================== * PCRE - fix for CVE-2008-2371 * Bugs fixed: 538119 glib's mainloop leaks a pipe to sub-processes 537635 Corrections and improvements to g_time_val_{to,from}_iso8601 539067 The document g_io_channel_win32_new_fd() says... 535949 annotate g_strip_context and g_dpgettext with G_GNUC_FORMAT 539123 annotate g_d[n]gettext with G_GNUC_FORMAT 539074 Cannot get exit status with g_spawn_command_line_sync 316221 G_LOCK warns about breaking strict-aliasing rules 539770 migrate gstrfunc unit tests to gtest 539626 Update docstrings for g_object_freeze_notify and g_object_thaw_notify 538044 unconditional use of LC_MESSAGES 540545 Monotonic time and timer offset 535947 want g_set_error_literal 539999 glibconfig.h: add GLIB_USING_SYSTEM_PRINTF 536252 GFileEnumerator should allow access to the containing GFile 538362 Get Win32 icons back in the file chooser 540802 g_list_prepend doesn't concat lists 540423 unrecoverable error after g_seekable_truncate 538836 make check failure on PPC and ALPHA: pltcheck.sh on g_atomic_pointer_get 539090 g_content_type_from_mime_type() should unalias 540331 g_file_append_to () documentation: can return NULL 534639 add g_desktop_app_info_new_from_keyfile 536733 gio build failure on Irix 536160 Add g_file_monitor() 538127 FileChooser broken on win32 531476 /live-g-file/test_traverse_structure test fails on Mac HFS+ 538564 gio should have gio-types.h 540047 glib-genmarshal.c: '#include ' is too before Updated translations: Korean (ko) Occitan (oc) Overview of Changes from GLib 2.17.0 to GLib 2.17.1 =================================================== * New function: g_utime(), a gstdio wrapper for utime() * New functions: g_dgettext() and g_dngettext(), wrappers for corresponding gettext functions with added functionaliy * Support the latest version of the shared-mime spec, including icons for mime types * New function: g_themed_icon_prepend_name() * Bugs fixed: 535418 Please document which glib version defines goffset 528715 Misprint in the description of the interface g_type_class_add_private 528714 Misprint in the description of the interface g_param_spec_flags 537260 Doc bug in G_TYPE_INSTANCE_GET_CLASS() 530527 Misprint in the description of the interface g_cclosure_marshal_VOID__FLAGS 530526 Misprint in the description of the fields 'class_init' and 'class_finalize' of the structure GTypeInfo 528719 Improvement to the documentation of the "g_object_connect" interface 528172 gtk_signal_handlers_unblock_* functions return value amount of matched signals, not amount of actually unblocked 528717 Misprint in the description of the parameter 'type_id' for the interface g_type_register_fundamental 528716 Misprint in the description of the parameter 'iface_data' for the callback types GInterfaceInitFunc and GInterfaceFinalizeFunc 537555 GObject instantiation not thread safe 537546 'desktop' shortcut in file chooser looks like a generic folder 537392 Additional colon in xattr name 536641 Filesystem querying in gio does not list AFS and autofs file systems 528600 g_dummy_file_get_parent("scheme://example.com/") 503071 Application direction changes to right to left even if theres no translation 502511 g_assert_cmphex prints invalid message 338162 Use po/LINGUAS 314453 Nautilus crashes in Solaris when browsing the attached file 529321 make check fails in glib/pcre 455215 g_get_user_special_dir: no reference about G_USER_DIRECTORY_DOWNLOAD fallback to $HOME/Desktop if xdg-user-dirs is not in use 498732 g_key_file_to_data cannot fail 511367 add g_file_make_directory_with_parents 531900 Use __builtin_offsetof for G_STRUCT_OFFSET if building with gcc 4.0 or newer 536158 also bump GHashTable version when a node is removed via g_hash_table_iter_remove()/g_hash_table_iter_steal() 531403 g_utf8_collate broken on Mac 535628 test/patterntest.c still includes gpattern.h directly 535625 alias.h:2648: error: 'utime' undeclared here (not in a function) * Translation updates: Arabic (ar) German (de) Italian (it) Norwegian bokmål (nb) Thai (th) Overview of Changes from GLib 2.16.x to GLib 2.17.0 =================================================== * Update to Unicode 5.1 * Update included libcharset to the one shipped with libiconv 0.12 * Update included PCRE to 7.7 * Enforce that only toplevel headers are directly included. This is turned on by default for GObject and GIO. To turn it on for GLib, define G_DISABLE_SINGLE_INCLUDES. * Fix library version of GIO. GLib 2.16 shipped with libgio-2.0.so.0.0.0 * On Solaris, use FEN for file monitoring in GIO * Use the GIO_EXTRA_MODULES environment variable to find additional GIO modules * G_GNUC_ALLOC_SIZE: New macro that wraps the gcc alloc_size function attribute * g_checksum_reset: New function to reset the state of a GChecksum * g_unix_mount_monitor_set_rate_limit: New function to limit the rate at which events are reported * g_file_query_file_type: New utility function to query the type of a file * g_memory_output_stream_get_data_size: New function to obtain the size of the written data. * Bugs fixed: 522292 Gives warnings in glib/gutils.h with GCC in C99 mode 523298 win_iconv can't convert from UTF-8 to GB18030 (or vice versa) 518160 replace two g_strdup_printf calls in GBookmarkFile 523877 gbookmarkfile: avoid using g_string_append_printf() and other optimizations 525192 100% CPU if run main loop with no IO sources 315437 extern inline -> static inline 524314 g_convert() on Win32 implicitly converts full width alphanumerics into half width 525732 Error in documentation for g_list_first 525674 A typo in gmarkup.c 448943 g_timeout_add_seconds() problems 525972 UCS-4 not in the new win_iconv implementation 526619 make test-report crash 491554 Update to Unicode 5.1.0 519137 g_slice_dup macro needs cast for 64-bit platform 528752 Win32 build and SSL not working 530457 G_USER_DIRECTORY_DOWNLOAD folder improperly mapped 528667 Typos in testing module documentation 459905 Bug in wcwidth data 534085 g_unichar_iswide_cjk() has a totally wrong table 501651 Update glib/libcharset 519026 G_STMT_START/G_STMT_END test a non-existent preprocessor symbol 534319 GLib's .pc files could use Libs.private 534137 Typo in g_spawn_async_with_pipes doc 517419 gio win32 directory monitor 526796 Wrong order of arguments in g_file_copy's fallback 530196 _g_local_file_has_trash_dir() doesn't handle st_dev == 0 532965 Should not return filesystem::free for certain file systems 525553 fix typo and nitpicking in GArray documentation 526572 Missing * in declaration of parent_class in Object Destruction section of GObject Reference Manual 528648 Extra >s in Object Construction section 535021 g_param_spec_internal documentation should describe purpose of nick and blurb 521513 Firefox crash when using file picker 528433 gdesktopappinfo snafu ... 533369 API g_file_info_get_attribute_string () unables to get "... 521045 glib f_fstypename miscellany 521672 compile error 521946 control rate limit on GUnixMountMonitor 522335 Fails to build: glib/gtester.c:276: error: 'ARG_MAX' unde... 523015 Implement sliding window based upload operation 523019 Use new GCC 4 feature 523338 list nfs4 as a nfs mount type 524350 Make glib build without NLS again 524579 g_file_copy reports wrong total on progress callback for ... 524742 A typo in gtestutils.c. 524950 Minor documentation typos. 525866 the user directory should not be considered as a mount to... 526320 should not list mounts that the user doesn't have permiss... 527132 nautilus crash when making ftp connection 532852 CRITICAL **: totem_pl_parser_parse_with_base: assertion `... 534759 Build failure in gio 534764 Typo in error produced by g_file_make_directory 521851 Redudant tests in gunixmounts.c 524344 glib/gthread.h still use G_GNUC_PRETTY_FUNCTION 525060 glib fails to build with -DG_DISABLE_ASSERT in CPPFLAGS o... 534177 Invalid description of the interface g_cclosure_marshal_S... 520715 Add GFile method g_file_query_file_type 523039 nautilus can't access to trash/computer/network if gvfs i... * Updated translations: Arabic (ar) Bulgarian (bg) Catalan (ca) Czech (cs) Greek (el) Candian English (en_CA) British English (en_GB) Spanish (es) Estonian (et) Basque (eu) Galician (gl) Hebrew (he) Hungarian (hu) Japanese (ja) Lithuanian (lt) Norwegian bokmål (nb) Dutch (nl) Occitan (oc) Portugese (pt) Russian (ru) Slovak (sk) Albanian (sq) Swedish (sv) Turkish (tr) Vietnamese (vi) @ text @d1 1 a1 1 $NetBSD: patch-ak,v 1.2 2007/11/08 19:52:21 drochner Exp $ d3 1 a3 1 --- configure.in.orig 2008-09-02 17:47:31.000000000 +0000 d5 7 a11 1 @@@@ -1304,6 +1304,7 @@@@ fi d19 10 a28 1 @@@@ -1428,6 +1429,38 @@@@ dnl *** check for having dlerror() d67 10 a76 1 @@@@ -1457,6 +1490,8 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) d85 1 a85 1 @@@@ -1844,22 +1879,8 @@@@ if test x"$have_threads" != xno; then d110 1 a110 1 @@@@ -2255,6 +2276,10 @@@@ case $host in @ 1.2 log @update to 2.14.3 changes: -update the bundled PCRE from 7.2 to 7.4 -minor bugfixes -translation updates pkgsrc changes: -don't use the bundled PCRE anymore, use pkgsrc's -try to work around some ld.so lossage on NetBSD (which leads to some applications - most notably evolution and glade3 - not resolving symbols in dynamically loaded plugins) another way: use the RTLD_DEFAULT pseudo-handle when the main module is referred to. This could replace the previous mechanism, but it needs more investigation and tests, so I'm leaving both in parallel for now. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.in.orig 2007-11-07 06:12:00.000000000 +0100 d5 1 a5 1 @@@@ -1202,6 +1202,7 @@@@ fi d13 1 a13 1 @@@@ -1326,6 +1327,38 @@@@ dnl *** check for having dlerror() d52 1 a52 1 @@@@ -1355,6 +1388,8 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) d61 1 a61 1 @@@@ -1598,22 +1633,8 @@@@ if test x"$have_threads" != xno; then d86 1 a86 1 @@@@ -1970,6 +1991,10 @@@@ case $host in @ 1.1 log @Update to glib2-2.14.0. Based on patch provided by Makoto Fujiwara in PR pkg/36731. Highlights of NEWS follow: Overview of Changes from GLib 2.13.7 to GLib 2.14.0 * Last-minute API additions: - Make g_unichar_combining_class public - Add goffset type, add G_MAXSSIZE and G_MINSSIZE * Update PCRE to 7.2 * Bugs fixed: 453998 Make _g_unichar_combining_class() public 462549 gregex.c: variable is declared at middle of block 417068 g_file_test doc inconsistency * Updated translations Overview of Changes from GLib 2.13.6 to GLib 2.13.7 * The memory corruption warning from the slice allocator that occurred when threads were initialized after the slice allocator has been removed, as the slice allocator now works fine in this scenario. * New functions g_once_init_enter() and g_once_init_leave() make it easier to write threadsafe one-time initialization functions * Bugs fixed: 454473 Simple XML Subset Parser terminates on invalid XML 445813 g_module_open error, add file name 453796 errno gets clobbered by g_filename_display_name 341988 don't use "-c" with msgfmt in Makefile.in.in 447048 Please produce slightly more output during long tests 454785 GModule documentation lists same block of code twice. 454786 GModule documentation lists same paragraph twice. 383155 small docs quirks in gobject/closure API documentation 65041 _get_type() functions aren't thread safe * Updated translations Overview of Changes from GLib 2.13.5 to GLib 2.13.6 * Reintroduce a GType typedef whose removal in 2.13.5 caused trouble for C++ bindings * Bugs fixed: 450216 docs not explicit enough about g_free() 451459 g_type_register_static_simple calls g_type_register_static * Updated translations Overview of Changes from GLib 2.13.4 to GLib 2.13.5 * xdg-user-dirs support: - the Desktop directory is guaranteed to be defined - user-dirs.dirs is no longer reloaded on changes * Slice allocator: - new api to duplicate slices * Regular expression support: - GRegex is a boxed type now * Bugs fixed: 44793 make check failing in trunk 354522 Small problem with PLT hiding 6 symbols 363986 glib 2.12.4 does not compile with SGI IDO cc 443869 g_type_class_add_private doesn't warn when adding 0-sized... 446859 Legitimately return 0 for g_quark_from_string(NULL) 447534 Small typo in g_timeout_add_seconds() doc 447583 GStaticRWLock 447935 g_get_current_dir SIGSEGV on long path 448260 CLAMP has surprising result if low > high 57693 g_string_vprintf() 442029 add g_slice_dup() 445065 Add GRegex boxed type 448819 Add full version of g_timeout_add_seconds() * Updated translations Overview of Changes from GLib 2.13.3 to GLib 2.13.4 * Bugs fixed: 444121 g_get_user_special_dir deadlocks 444161 invalid UTF8 in key name shows up as valgrind error in g_... 444130 g_option_context_get_help() is broken when there's a desc... Overview of Changes from GLib 2.13.2 to GLib 2.13.3 * GKeyFile: - Added defines for easier handling of desktop files * Unicode support: - Update g_unichar_iswide_cjk for Unicode 5.0 * Regular expression support: - GRegex structs can now be ref-counted - Some new functions for dealing with incremental replacement have been added - The GRegexEvalCallback signature has been changed * g_get_user_special_dir() has been added to support xdg-user-dirs * Bugs fixed: 419376 Functions using named subpatterns behave inconsistently w... 434358 g_regex_fetch_named() and g_regex_fetch_named_pos() are b... 423708 typo in the README.win32 file see patch below 339225 Add new defines for easier handling of .desktop files 442265 API additions/changes for GRegex 432651 Add a glib-ish xdg_user_dir_lookup * Updated translations Overview of Changes from GLib 2.13.1 to GLib 2.13.2 * Unicode support: - Add g_unichar_ismark() * GOption: - Allow to use callbacks for remaining args * Updated translations Overview of Changes from GLib 2.13.0 to GLib 2.13.1 * GRegex: - Portability fixes - Split into immutable GRegex and GMatchInfo - Add g_regex_get_max_backref() and g_regex_get_capture_count() to obtain information about the compiled regex * GKeyFile: - Fix roundtrip problems - Add g_key_file_load_from_dirs() * Unicode support: - Fix corner cases in case conversion routines * GOption: - Add a function to get the formatted help string * GHash: - Add new functions g_hash_table_get_keys() and g_hash_table_get_values() to retrieve the keys and values in list form * Updated transations Overview of Changes from GLib 2.12 to GLib 2.13.0 * Add GSequence, a list that is implemented using a balanced binary tree. * Add GRegex, an implementation of Perl regular expressions, based on PCRE. * Use Posix monotonic clocks instead of gettimeofday() for GTimer when available. * Support static initialization of GQeues with G_QUEUE_INIT, g_queue_init() and g_queue_clear(). * Add g_string_chunk_clear() for clearing a GStringChunk. * Add g_unichar_get_script() to obtain Unicode script information. * Add g_unichar_iszerowidth() to obtain information about zero-width characters. * Add G_GNUC_MAY_ALIAS which wraps the gcc may_alias type attribute. * G_GNUC_INTERNAL has a working definition for the Sun Studio compiler. This requires the macro to be positioned before the function declaration. * The slice allocator can produce detailed debugging information with G_SLICE=debug-blocks. * Modules support G_DEBUG flags resident-modules and bind-now-modules. * Add G_DEFINE_DYNAMIC_TYPE() to make it easier to define types in modules. * Bug fixes: too many to list them in detail here. * New and updated translations @ text @d3 1 a3 1 --- configure.in.orig 2007-08-04 02:50:45.000000000 +0200 d5 1 a5 1 @@@@ -1205,6 +1205,7 @@@@ fi d13 1 a13 1 @@@@ -1329,6 +1330,38 @@@@ dnl *** check for having dlerror() d32 1 a32 1 + handle = dlopen ("libintl.so", RTLD_GLOBAL | RTLD_LAZY); d36 1 a36 1 + handle = dlsym (handle, "gettext"); d44 1 a44 1 + if test "xglib_cv_dlopennull_broken$" = "xyes"; then d52 1 a52 1 @@@@ -1358,6 +1391,8 @@@@ AC_SUBST(G_MODULE_PLUGIN_LIBS) d61 1 a61 1 @@@@ -1601,22 +1636,8 @@@@ if test x"$have_threads" != xno; then d86 1 a86 1 @@@@ -1972,6 +1993,10 @@@@ case $host in @