head 1.19; access; symbols pkgsrc-2013Q2:1.19.0.4 pkgsrc-2013Q2-base:1.19 pkgsrc-2012Q4:1.19.0.2 pkgsrc-2012Q4-base:1.19 pkgsrc-2012Q1:1.18.0.24 pkgsrc-2012Q1-base:1.18 pkgsrc-2011Q4:1.18.0.22 pkgsrc-2011Q4-base:1.18 pkgsrc-2011Q3:1.18.0.20 pkgsrc-2011Q3-base:1.18 pkgsrc-2011Q2:1.18.0.18 pkgsrc-2011Q2-base:1.18 pkgsrc-2011Q1:1.18.0.16 pkgsrc-2011Q1-base:1.18 pkgsrc-2010Q4:1.18.0.14 pkgsrc-2010Q4-base:1.18 pkgsrc-2010Q3:1.18.0.12 pkgsrc-2010Q3-base:1.18 pkgsrc-2010Q2:1.18.0.10 pkgsrc-2010Q2-base:1.18 pkgsrc-2010Q1:1.18.0.8 pkgsrc-2010Q1-base:1.18 pkgsrc-2009Q4:1.18.0.6 pkgsrc-2009Q4-base:1.18 pkgsrc-2009Q3:1.18.0.4 pkgsrc-2009Q3-base:1.18 pkgsrc-2009Q2:1.18.0.2 pkgsrc-2009Q2-base:1.18 pkgsrc-2009Q1:1.17.0.4 pkgsrc-2009Q1-base:1.17 pkgsrc-2008Q4:1.17.0.2 pkgsrc-2008Q4-base:1.17 pkgsrc-2008Q3:1.16.0.4 pkgsrc-2008Q3-base:1.16 cube-native-xorg:1.16.0.2 cube-native-xorg-base:1.16 pkgsrc-2008Q2:1.15.0.4 pkgsrc-2008Q2-base:1.15 cwrapper:1.15.0.2 pkgsrc-2008Q1:1.14.0.2 pkgsrc-2008Q1-base:1.14 pkgsrc-2007Q4:1.13.0.2 pkgsrc-2007Q4-base:1.13 pkgsrc-2007Q3:1.12.0.6 pkgsrc-2007Q3-base:1.12 pkgsrc-2007Q2:1.12.0.4 pkgsrc-2007Q2-base:1.12 pkgsrc-2007Q1:1.12.0.2 pkgsrc-2007Q1-base:1.12 pkgsrc-2006Q4:1.11.0.2 pkgsrc-2006Q4-base:1.11 pkgsrc-2006Q3:1.9.0.2 pkgsrc-2006Q3-base:1.9 pkgsrc-2006Q2:1.7.0.2 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.6.0.2 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.5.0.8 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.6 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.4 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.5.0.2 pkgsrc-2005Q1-base:1.5 pkgsrc-2004Q4:1.4.0.6 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.4 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.2 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.19 date 2012.04.30.13.53.48; author drochner; state dead; branches; next 1.18; 1.18 date 2009.05.20.13.07.36; author wiz; state Exp; branches; next 1.17; 1.17 date 2008.11.30.22.25.01; author ahoka; state Exp; branches; next 1.16; 1.16 date 2008.09.06.11.07.20; author obache; state dead; branches; next 1.15; 1.15 date 2008.04.10.12.13.49; author drochner; state Exp; branches; next 1.14; 1.14 date 2008.01.08.23.31.56; author tnn; state Exp; branches; next 1.13; 1.13 date 2007.11.26.00.26.22; author tron; state Exp; branches; next 1.12; 1.12 date 2007.01.08.15.56.14; author drochner; state dead; branches; next 1.11; 1.11 date 2006.10.03.02.31.46; author dmcmahill; state Exp; branches; next 1.10; 1.10 date 2006.10.02.21.20.09; author dmcmahill; state Exp; branches; next 1.9; 1.9 date 2006.07.23.14.15.02; author wiz; state dead; branches 1.9.2.1; next 1.8; 1.8 date 2006.07.03.21.01.54; author wiz; state Exp; branches; next 1.7; 1.7 date 2006.04.08.21.23.24; author wiz; state dead; branches; next 1.6; 1.6 date 2006.02.25.13.31.03; author wiz; state Exp; branches; next 1.5; 1.5 date 2005.01.06.09.07.06; author itohy; state Exp; branches; next 1.4; 1.4 date 2004.04.28.14.20.29; author tv; state dead; branches; next 1.3; 1.3 date 2004.04.28.03.43.02; author tv; state Exp; branches; next 1.2; 1.2 date 2002.03.30.19.58.10; author dmcmahill; state dead; branches; next 1.1; 1.1 date 2002.03.24.20.27.13; author dmcmahill; state Exp; branches 1.1.1.1; next ; 1.9.2.1 date 2006.10.03.14.23.12; author ghen; state Exp; branches; next ; 1.1.1.1 date 2002.03.24.20.27.13; author dmcmahill; state Exp; branches; next ; desc @@ 1.19 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 @$NetBSD: patch-ag,v 1.18 2009/05/20 13:07:36 wiz Exp $ http://bugzilla.gnome.org/show_bug.cgi?id=583321 --- glib/gtester.c.orig 2008-11-24 06:45:23.000000000 +0100 +++ glib/gtester.c @@@@ -636,7 +636,11 @@@@ main (int argc, struct sigaction osa; sa.sa_handler = SIG_DFL; sigfillset (&sa.sa_mask); +#ifdef SA_RESTART sa.sa_flags = SA_RESTART; +#else /* QNX */ + sa.sa_flags = 0; +#endif sigaction (SIGCHLD, &sa, &osa); } @ 1.18 log @Add upstream bug report URLs. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.17 2008/11/30 22:25:01 ahoka Exp $ @ 1.17 log @Compensate QNX's lack of SA_RESTART flag (It can be safely ignored). Maybe this could be autoconf (but defining HAVE_SA_RESTART if SA_RESTART is defined would be awkward (wouldn't it?). @ text @d1 3 a3 1 $NetBSD$ @ 1.16 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-ag,v 1.15 2008/04/10 12:13:49 drochner Exp $ d3 14 a16 11 --- glib/gutils.h.orig 2008-03-31 22:45:04.000000000 +0200 +++ glib/gutils.h @@@@ -96,6 +96,8 @@@@ G_BEGIN_DECLS #ifdef G_IMPLEMENT_INLINES # define G_INLINE_FUNC # undef G_CAN_INLINE +#elif defined (__APPLE__) +# define G_INLINE_FUNC static inline #elif defined (__GNUC__) # if defined (__GNUC_STDC_INLINE__) || defined (__GNUC_GNU_INLINE__) # define G_INLINE_FUNC extern inline __attribute__ ((__gnu_inline__)) @ 1.15 log @update to 2.16.3 This switches to the gnome-2.22 release branch. @ text @d1 1 a1 1 $NetBSD$ @ 1.14 log @Update to glib2-2.14.5. Overview of Changes from GLib 2.14.4 to GLib 2.14.5 =================================================== * Bugs fixed: 482313 gregex: no way to tell why compilation failed 315437 extern inline -> static inline 480122 g_module_open fails to open modules with ".la" extension 495589 gspawn.c failing to set FD_CLOEXEC 500638 gkeyfile speedup ... 503029 g_time_val_from_iso8601 parse non-ISO8601 dates 503420 gkeyfile leaks a hash table @ text @d3 1 a3 1 --- glib/gutils.h.orig 2008-01-08 02:39:49.000000000 +0100 d5 1 a5 1 @@@@ -108,6 +108,8 @@@@ G_BEGIN_DECLS d12 2 a13 2 # if __GNUC_PREREQ (4,2) && defined (__STDC_VERSION__) \ && __STDC_VERSION__ >= 199901L @ 1.13 log @Use patch from MacPorts to fix build problem under Mac OS X Leopard. @ text @d3 3 a5 3 --- glib/gutils.h.orig 2007-11-07 05:11:58.000000000 +0000 +++ glib/gutils.h 2007-11-25 23:54:06.000000000 +0000 @@@@ -96,6 +96,8 @@@@ d12 2 a13 2 # define G_INLINE_FUNC extern inline #elif defined (G_CAN_INLINE) @ 1.12 log @update to 2.12.7 changes: -portability fixes -bugfixes -translation updates -Make GKeyFile accept keys that are commonly used -some consistency checks added -deal with double-width and zero-width characters in --help output based on wiz's work @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.11 2006/10/03 02:31:46 dmcmahill Exp $ d3 11 a13 22 http://bugzilla.gnome.org/show_bug.cgi?id=347944 --- tests/run-markup-tests.sh.orig 2006-05-28 18:58:41.000000000 -0400 +++ tests/run-markup-tests.sh @@@@ -26,7 +26,8 @@@@ for I in ${srcdir:-.}/markups/fail-*.gma fi done -for (( I=1 ; I < 100 ; I++ )) ; do +I=1 +while test $I -lt 100 ; do F=${srcdir:-.}/markups/valid-$I.gmarkup if [ -f $F ] ; then echo_v "Parsing $F, should succeed" @@@@ -34,6 +35,7 @@@@ for (( I=1 ; I < 100 ; I++ )) ; do diff -u ${srcdir:-.}/markups/expected-$I actual || fail "unexpected output on $F" rm actual fi + I=`expr $I + 1` done echo_v "All tests passed." @ 1.11 log @Add bugzilla URL's now that bug reports exist upstream. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.10 2006/10/02 21:20:09 dmcmahill Exp $ @ 1.10 log @Fix compilation on solaris and also increase the portability of a shell script used in the testsuite. 49/50 tests pass on solaris-2.9. @ text @d1 3 a3 1 $NetBSD$ @ 1.9 log @Update to 2.12.1: Overview of Changes from GLib 2.12.0 to GLib 2.12.1 =================================================== * Update to final Unicode Character Database 5.0.0 * Bugs fixed: 346660 issues with base64 api documentation / g_base64_decode_cl... 348136 Coverity reports allocation of wrong size CID #2839 336281 Update to UCD 5.0 346197 g_date_strftime %F option doesnt work for win32 348011 Small optimization to real_toupper() 246494 prototype mismatch in glib/gconvert.c * New and updated translations (bg,bn_IN,ca,dz,eu,fi, fr,he,it,ja,mk,or,pt) @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.8 2006/07/03 21:01:54 wiz Exp $ d3 5 a7 7 http://bugzilla.gnome.org/show_bug.cgi?id=346494 --- glib/gconvert.c.orig 2006-05-10 00:44:49.000000000 +0000 +++ glib/gconvert.c @@@@ -88,7 +88,7 @@@@ try_to_aliases (const char **to_aliases, return FALSE; } d9 12 a20 2 -extern const char **_g_charset_get_aliases (const char *canonical_name) G_GNUC_INTERNAL; +extern const char ** G_GNUC_INTERNAL _g_charset_get_aliases (const char *canonical_name); d22 1 a22 2 /** * g_iconv_open: @ 1.9.2.1 log @Pullup ticket 1838 - requested by dmcmahill build fix for glib2 on solaris Revisions pulled up: - pkgsrc/devel/glib2/distinfo 1.69-1.70 - pkgsrc/devel/glib2/patch-ai 1.10-1.11 - pkgsrc/devel/glib2/patch-ag 1.8-1.9 Module Name: pkgsrc Committed By: dmcmahill Date: Mon Oct 2 21:20:09 UTC 2006 Modified Files: pkgsrc/devel/glib2: distinfo pkgsrc/devel/glib2/patches: patch-ai Added Files: pkgsrc/devel/glib2/patches: patch-ag --- Log Message: Fix compilation on solaris and also increase the portability of a shell script used in the testsuite. 49/50 tests pass on solaris-2.9. Module Name: pkgsrc Committed By: dmcmahill Date: Tue Oct 3 02:31:46 UTC 2006 Modified Files: pkgsrc/devel/glib2: distinfo pkgsrc/devel/glib2/patches: patch-ag patch-ai Log Message: Add bugzilla URL's now that bug reports exist upstream. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.11 2006/10/03 02:31:46 dmcmahill Exp $ d3 1 a3 1 http://bugzilla.gnome.org/show_bug.cgi?id=347944 d5 5 a9 5 --- tests/run-markup-tests.sh.orig 2006-05-28 18:58:41.000000000 -0400 +++ tests/run-markup-tests.sh @@@@ -26,7 +26,8 @@@@ for I in ${srcdir:-.}/markups/fail-*.gma fi done d11 2 a12 12 -for (( I=1 ; I < 100 ; I++ )) ; do +I=1 +while test $I -lt 100 ; do F=${srcdir:-.}/markups/valid-$I.gmarkup if [ -f $F ] ; then echo_v "Parsing $F, should succeed" @@@@ -34,6 +35,7 @@@@ for (( I=1 ; I < 100 ; I++ )) ; do diff -u ${srcdir:-.}/markups/expected-$I actual || fail "unexpected output on $F" rm actual fi + I=`expr $I + 1` done d14 2 a15 1 echo_v "All tests passed." @ 1.8 log @Update to 2.12.0. Add a patch fixing PR 33908, provided by Martijn van Buul. Changes: Overview of Changes from GLib 2.11.4 to GLib 2.12 ================================================= * Bugs fixed: 344905 leap-year bug in g_time_val_from_iso8601 w/o HAVE_TIMEGM * Updated translations (cy,nb,nl) Overview of Changes from GLib 2.11.3 to GLib 2.11.4 =================================================== * GBookmarkFile: - g_bookmark_file_remove_item returns a boolean * g_mkstemp accepts the XXXXXX in the middle of the template * Bugs fixed: 344868 g_key_file_to_data should separate groups * Updated translations (de,es,fr,gu,hi,ko,th) Overview of Changes from GLib 2.11.2 to GLib 2.11.3 =================================================== * GBookmarkFile: - g_bookmark_file_move_item: Return TRUE in case of an empty target * Bugs fixed: 343919 gunicollate.c: strxfrm bug on VC8 * Updated translations (fi) Overview of Changes from GLib 2.11.1 to GLib 2.11.2 =================================================== * Add g_ascii_stroll to parse signed 64bit integers * GMarkup: add a flag to treat CDATA as text * GHashTable: add functions to remove all entries * GMainLoop: add functions to find the currently running source, and determine if it is destroyed * Bug fixes: 342563 g_atomic_thread_init() needs to be called before other _g_*_thread_init() functions 343548 Potential use after free in callers of g_string_free() 168538 Wish: Clearing contents of GHashTables 321886 GTK+ cannot be reliably used in multi-threaded applications 341826 goption.c: 'strtoll' is C99's function 343899 g_ascii_formatd dosn't work as expected for all format strings 317793 Make GEnumValue strings const 337129 Compile warnings in G_IMPLEMENT_INTERFACE 303622 What is G_TYPE_CHAR? * Updated translations (bg,dz,eu,gl,ja,ko,nl,th,vi) Overview of Changes from GLib 2.11.0 to GLib 2.11.1 =================================================== * GOption - Support 64-bit integers - Allow optional text before and after the options in help output * Bug fixes: 340538 gbase64-test writes OOB 340816 GKeyFile set_string_list invalid memory reads 339105 g_key_file_parse_value_as_double 340434 convert-test.c fails (function test_one_half) 311043 Memory leaks (and potential infinite loops) when using G_ERRORCHECK_MUTEXES 335198 Error checking mutexes are fubar 341237 Add a G_OPTION_ARG_INT64 341192 g_io_channel_set_flags not implemented on win32 336120 Allow adding description before/after GOption --help output body 341191 misplaced check in g_relation_delete 340530 mismatched calloc / g_free in win32 threads * Updated translation (es) Overview of Changes from GLib 2.10.x to GLib 2.11.0 =================================================== * GBookmarkFile: a parser for files containing bookmarks stored using the Desktop Bookmark specification. * Base64 encoding support * Unicode 5.0 support * GOption supports floating point numbers * GKeyFile supports floating point numbers * Bug fixes: 155884 gatomic.c should be based on new SDK 157877 update-desktop-database doesn't handle duplicate entries 164719 keyfile parser doesn't support floats 327662 Import BookmarkFile from libegg 329548 Add G_OPTION_ARG_DOUBLE 329789 option-test.c type confusion 332841 Segmentation Fault when %llu is passed to vasnprintf and HAVE_SNPRINTF is not defined 333879 gthread/gthread-win32.c: IsDebuggerPresent needs '#define _WIN32_WINDOWS 0x0401' 333916 g_timer_elapsed docs should mention that microseconds may be NULL 334440 dlerror() portability issue causes crash on (old) a.out NetBSD platform 334646 goption + error out params 334799 g_remove() must check return value of remove() 334943 make check FAIL: threadpool-test 335215 Some breakages with GThreadPool 336085 g_option_context_new parameter lacks better explanation 336677 Documentation for g_object_ref_sink() is incorrect 337027 gbookmarkfile.c: sys/time.h include error 337553 Wrong escaping of URIs 338572 Dereferencing NULL value in g_key_file_get_group_comment 338845 g_completion_complete_utf8 crashes when NULL is passed to it 339337 g_bookmark_file_set_description 339338 gbookmarkfile.c, function expand_exec_line 339340 gbookmarkfile.c, function bookmark_app_info_dump * Translation updates (bg,en_GB,et,gl,gu,he,hi,ka,nb,nl,nn, or,pt_BR,ro,tr,vi,zh_CN) @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Update to 2.10.2: Overview of Changes from GLib 2.10.1 to GLib 2.10.2 =================================================== * Bugs fixed: 322476 Missing check for .dylib [Anders Carlsson] 332841 Segmentation Fault when %llu is passed to vasnprintf and HAVE_SNPRINTF is not defined [Michael McDonald] 333098 Add support for write FDs to GIOChannel [Markus Brinkmann] 334519 Memleak in goption.c::parse_short_option [Chris Wilson] 334471 g_parse_debug_string reads beyond buffer [Morten Welinder] 334611 g_option_context_parse() should not set program name to '' if it is already set [Chong Kai Xiong] 335207 g_main_context_unref calls g_source_destroy_internal with incorrect arguments [Chris Wilson] 335216 Slight performance gains (GList, GAsyncQueue) [Chris Wilson] 335209 Use of unitialised memory in g_mem_profile [Chris Wilson] 334943 make check FAIL: threadpool-test 336085 g_option_context_new parameter lacks better explanation [Claudio Saavedra] 335215 Some breakages with GThreadPool [Chris Wilson] 333879 gthread/gthread-win32.c: IsDebuggerPresent needs '#define _WIN32_WINDOWS 0x0401' [Kazuki Iwamoto] 334440 dlerror() portability issue causes crash on (old) a.out NetBSD platform [ITOH Yasufumi] 333916 g_timer_elapsed docs should mention that microseconds may be NULL [Christian Neumair] 334646 goption + error out params [Christian Persch] 335294 Documentation should not reference G_HAVE_GINT64, as it's deprecated. [Richard Laager] * Translation updates (dz,et,he,hi,ka,or,pt_BR,ro,tr) @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.6 2006/02/25 13:31:03 wiz Exp $ d3 6 a8 19 --- gmodule/gmodule-dl.c.orig 2004-02-20 02:41:00.000000000 +0100 +++ gmodule/gmodule-dl.c @@@@ -140,10 +140,16 @@@@ _g_module_symbol (gpointer handle, const gchar *symbol_name) { gpointer p; + const gchar *errstr; p = dlsym (handle, symbol_name); if (!p) - g_module_set_error (fetch_dlerror (FALSE)); + { + errstr = fetch_dlerror (FALSE); + if (!errstr) + errstr = "symbol not found"; + g_module_set_error (errstr); + } return p; d10 6 @ 1.6 log @Update to 2.10.0: Overview of Changes from GLib 2.9.6 to GLib 2.10.0 ================================================== * Bugs fixed: 328997 64bit pointer trunction in glib slab-allocator [Pascal Hofstee] 331110 g_cond_broadcast(inform_cond) without holding inform_mutex [Chris Wilson, Sebastian Wilhelmi] 332093 Fix some leaks in the tests [Kjartan Maraas] 332435 g_utf8_strlen returns wrong value if a maximum number of bytes to check is specified [Matthias Clasen] 331367 gslice requires more POSIX-like semantics for GPrivate destructors [Tor Lillqvist] * Documentation improvements [Matthias, Kang Jeong-Hee, Tor Lillqvist, Stefan Kost] * Translation updates (el,eu,ka,uk) Overview of Changes from GLib 2.9.5 to GLib 2.9.6 ================================================= * Bugs fixed: 329124 distclean removes README [Kjartan Maraas, Tim Janik] 317679 GRelation field type not documented [Behdad Esfahbod] 329123 Typo in GTime docs [Kjartan Maraas] * Documentation improvements [Sven Herzberg, David Schleef, Kjartan Maraas, Behdad Esfahbod] * Translation updates (cs,cy,it,ko,pt,sq,sr,sr@@Latn,ru Overview of Changes from GLib 2.9.4 to GLib 2.9.5 ================================================= * Memory management: Runtime debugging support: The slice allocator can be turned off by setting G_SLICE=always-malloc in the environment. Zeroing of freed memory can now be turned on at runtime by setting G_DEBUG=gc-friendly in the environment. [Tim Janik] * Bugs fixed: 328253 HP-UX/IA-64 uses ".so" as default shared library extension [Albert Chin] 143380 unicode-encoding test fails converting to UTF-16 with libiconv [Marc Moorcroft] 328254 Build breakage (GSlice) [Jens Ganseuer] 328705 C99ism in glib/gmem.c [Kazuki Iwamoto] * Translation updates (da,et,zh_CN) Overview of Changes from GLib 2.9.3 to GLib 2.9.4 ================================================= * Type system: Fix a problem with g_object_compat_control() which can lead to segfaults in GTK+ applications on 64bit platforms. * Thread suppport: Unused threads now fall back to the global pool after 500 milliseconds, where they wait for another max-idle-time milliseconds. [Sebastian Wilhelmi] * Fix a memory allocation problem in GKeyFile. [Morten Welinder] Overview of Changes from GLib 2.9.2 to GLib 2.9.3 ================================================= * GTree: - Replace the simple recursive implementation by a nonrecursive, threaded one [Maurizio Monge] * Change g_filename_display_name and g_filename_display_basename to use the Unicode replacement character U+FFFD instead of a question mark, and don't append "(invalid encoding)" [Matthias] * Documentation improvements [Sven Herzberg, Federico Mena Quintero, Stefan Kost] * Bugs fixed: 323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X [Bogdan Nicula] 326558 Some test failures on IRIX 6.5 [Daichi Kawahata] 169285 "threaded" tree implementation for GTree [Maurizio Monge] 326747 g_filename_display_basename adds (invalid encoding) [Alberto Ruiz] Other contributors: Christian Kellner, Murray Cumming New and updated translations (bg,ca,de,es,et,gu,ja,nl,th,vi) Overview of Changes from GLib 2.9.1 to GLib 2.9.2 ================================================= * Memory management: - Add tests for cache colorization [Tim Janik] - Minimize space consumption if small amounts of differently sized slices are allocated, at a small performance cost. [Tim] * Thread support: - Add g_atomic_pointer_set() and g_atomic_int_set() [Tim Janik, Sebastian Wilhelmi] - Add g_thread_pool_set_sort_function() to allow sorting the tasks of a threadpool. [Martyn Russell] - Add g_thread_pool_set_idle_time() to allow unused threads to exit after a certain time. [Martyn] * Type system: - introduce a new type GInitiallyUnowned, which has an initial floating reference. [Tim] - Add support for GType parameters. [Matthias] * Main loop: - Add g_main_context_is_owner() to determine if the current thread is the owner of the context. [Michael Meeks] * Provide g_access(), g_chdir(), g_unlink(), g_rmdir() as wrapper functions instead of macros. [Manish Singh] * Documentation improvements [Tim, Matthias, Federico Mena Quintero, Stefan Kasal, Dan Williams] * New and updated translations (en_CA,fi,fr,gl,ml,nb,no,zh_HK,zh_TW) * Bugs fixed: 324179 g_allocator_new() returns pointer to const dummy which Gtk+ 2.8 tries to modify [J. Ali Harlow] 324332 g_option_context_parse() returns false without setting error [Tim-Philipp Müller] 324950 GLIB 2.9.1 testcase errors [Dan Yefimov] 325015 gslice.c: process.h is needed on Windows [Kazuki Iwamoto] 321978 G_DATALIST_GET_FLAGS() macro is not casting datalist to gpointer [Andrew Paprocki] 316221 G_LOCK warns about breaking strict-aliasing [Michal Benes, Stanislav Brabec] 325273 Error in documentation for glib_check_version () [Declan Naughton] 325310 g_spawn_sync hangs when catching both stdout and stderr [Tor Lillqvist] 325249 gcc warning when using g_rmdir from [Jani Monoses] 325864 glib/gthreadpool.c:"#define debug(...)" is C99 [Kazuki Iwamoto] 325874 Should say somewhere that source IDs are > 0 [Dan Williams] 325438 a typo (compatability) [Stefan Kasal] 323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X [Bogdan Nicula] Overview of Changes from GLib 2.9.0 to GLib 2.9.1 ================================================= * Memory management - The slice allocator is implemented [Tim Janik] - g_slice_free_chain() has been renamed to g_slice_free_chain_with_offset() [Tim, Behdad Esfahbod] - Mem chunks are deprecated [Matthias Clasen] * Data structures - Hash tables are refcounted, and have a boxed type [Tim] * Thread support - Support for Solaris threads has been removed [Sebastian Wilhelmi, Andrew Paprocki] - g_async_queue_sort(), g_async_queue_push_sorted() have been added to allow GAsyncQueue to be used as a priority queue, together with the corresponding _unlocked variants [Martyn Russell] * GObject: - The concept of a floating initial reference has been moved from GtkObject to GObject [Tim] * Win32 changes: - Make g_rename() replace existing files [Tor Lillqvist] * Misc new API: - G_GUINT64_CONSTANT macro to define guint64 constants [Andrew Paprocki] - G_GNUC_WARN_UNUSED_RESULT macro to instruct the compiler to emit a warning if the value returned by a function is ignored. [Arjan van de Ven, Alex Larsson] - GList and GSList now have sort functions which take an extra user data argument [Martyn Russell] - g_param_spec_ref_sink() has been added for consistency [Tim] * $LOGNAME is respected when determining user data. [Laszlo Peter] * Other changes and bug fixes [Tim, Matthias, Behdad, Christian Persch, Benedikt Meurer, Andrew Paprocki, Kazuki Iwamoto, Alexis S. L. Carvalho, Stanislav Brabec, Andreas Schwab, Kalle Vahlman] * Documentation - Deprecation warnings carry version information [Matthias] - The slice allocator has been documented [Matthias, Tim] - Other improvements [Morten Welinder] Overview of Changes from GLib 2.8.x to GLib 2.9.0 ================================================= * Unicode support: - The Unicode tables have been updated to Unicode 4.1, adding several new values to the GUnicodeBreakType enumeration. This breaks Pango <= 1.10 [Behdad Esfahbod] - The various Unicode character predicate functions (g_unichar_isalpha, g_unichar_isdigit,...) have been optimized [Behdad] - g_utf8_pointer_to_offset, g_utf8_offset_to_pointer: These functions handle negative offsets now, and going backwards in g_utf8_offset_to_pointer uses "stutter stepping". [Larry Ewing, Matthias Clasen] * Memory management: - Mem chunks are no longer used internally in GLib and GObject. GMemChunk will be deprecated in GLib 2.10 - All APIs based on GAllocator (g_list_push/pop_allocator, and similar push/pop_allocator functions for other data structures) have been deprecated, since they never worked as intended. - The g_slice_* functions have been added as a new API for fast allocation of small memory blocks. The implementation in GLib 2.9.0 is just a simple wrapper around malloc. GLib 2.10 will have an efficient and scalable implementation. [Tim Janik, Matthias] * Pattern matching: - g_pattern_match has been optimized to avoid unnecessary recursion. [Tim, Matthias] * g_intern_string, g_intern_static_string: - New functions to intern strings. These are now used by GObject to avoid duplicating static strings [Matthias] * g_thread_foreach: - New function to iterate over all GThreads [Tim, Matthias] * g_date_set_time_t, g_date_set_time_val: - New functions to set a GDate from a time_t or GTimeVal value. g_date_set_time has been deprecated in favor of these. [Roger Leigh] * g_snprintf and g_vsnprintf: - These functions are no longer declared in gprintf.h, since they are in glib.h [Matthias] @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.5 2005/01/06 09:07:06 itohy Exp $ @ 1.5 log @ld.so (a.out) doesn't treat "symbol not found" as an error and dlerror() returns NULL. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- gmodule/gmodule-dl.c.orig Fri Feb 20 10:41:00 2004 +++ gmodule/gmodule-dl.c Thu Jan 6 17:41:07 2005 @ 1.4 log @Revert Interix patch as we're no longer using poll(2) on that platform at all. @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.3 2004/04/28 03:43:02 tv Exp $ d3 20 a22 15 http://bugzilla.gnome.org/show_bug.cgi?id=141251 --- glib/gmain.c.orig Sun Mar 14 12:58:27 2004 +++ glib/gmain.c @@@@ -57,6 +57,10 @@@@ #endif #endif /* GLIB_HAVE_SYS_POLL_H */ +#ifdef __INTERIX +/* SUS standard location is NOT */ +#include +#endif #ifdef HAVE_UNISTD_H #include #endif /* HAVE_UNISTD_H */ @ 1.3 log @Make build and wotrk on Interix. (Bugzilla bugs open for these changes; noted in each patchfile.) @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @update to glib-2.0.1 Overview of Changes in GLib 2.0.1 ================================= * Portability fixes for Sun's Forte compiler [Erwann Chenede] * Performance improvements for GObject parameter lookup, g_filename_to/from_utf8() [Alex Larsson] * Actually check interface prerequisites [Matthias Clasen, Miroslaw Dobrzanski-Neumann] * Fix problem with glib-mkenums taking huge amounts of stack. [Owen Taylor] * Fix g_signal_handlers_disconnect_by_func() for C++ [Damien Sandras] * Fixes for g_log() and threading. [Sebastian Wilhelmi, Miroslaw Dobrzanski-Neumann, Tim Janik] * Make g_print(), g_printerr(), g_warning(), etc, convert from UTF-8 to the encoding of the locale [Sebastain Wilhelmi, Tim] * Fixes for GIOChannel on windows. [Tor Lillquist] * Fix gsize/gint mismatches in giochannel.c [Miroslaw] * Fix file descriptor leak in g_file_get_contents() [Matthias] * Workaround iconv() problems on older Solaris [Lauri Alanko] * Fix warnings with gcc-3.1 about asm const [Cody Russel] * Minor bug fixes. Other contributors: Hans Breuer, LEE Sau Dan, Sven Neumann, Salmaso Raffaele, Akira Tagoh, Morten Welinder @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.1 2002/03/24 20:27:13 dmcmahill Exp $ d3 15 a17 20 --- glib/giochannel.c.orig Fri Mar 8 10:50:54 2002 +++ glib/giochannel.c @@@@ -1730,7 +1730,7 @@@@ if (!channel->use_buffer) { - gint tmp_bytes; + glong tmp_bytes; g_assert (!channel->read_buf || channel->read_buf->len == 0); @@@@ -1922,7 +1922,7 @@@@ if (!channel->use_buffer) { - gint tmp_bytes; + glong tmp_bytes; g_assert (!channel->write_buf || channel->write_buf->len == 0); g_assert (channel->partial_write_buf[0] == '\0'); @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @import glib2-2.0.0 GLib is a library which includes routines for C, providing lists, trees, hashes, memory allocation functionality and many other things. glib2 will coexist with glib-1.2.* @ text @@