pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/glib2 Update to 2.12.0. Add a patch fixing PR 33...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/958a5a79dfe1
branches:  trunk
changeset: 515539:958a5a79dfe1
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jul 03 21:01:53 2006 +0000

description:
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)

diffstat:

 devel/glib2/Makefile         |  11 +++++------
 devel/glib2/PLIST            |  10 +++++++---
 devel/glib2/distinfo         |  13 +++++++------
 devel/glib2/patches/patch-aa |  18 +++++++++---------
 devel/glib2/patches/patch-ag |  15 +++++++++++++++
 devel/glib2/patches/patch-ah |  10 +++++-----
 6 files changed, 48 insertions(+), 29 deletions(-)

diffs (235 lines):

diff -r ec4fb5c1f422 -r 958a5a79dfe1 devel/glib2/Makefile
--- a/devel/glib2/Makefile      Mon Jul 03 20:58:44 2006 +0000
+++ b/devel/glib2/Makefile      Mon Jul 03 21:01:53 2006 +0000
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.100 2006/07/02 14:22:35 markd Exp $
+# $NetBSD: Makefile,v 1.101 2006/07/03 21:01:53 wiz Exp $
 
-DISTNAME=              glib-2.10.3
-PKGREVISION=           1
+DISTNAME=              glib-2.12.0
 PKGNAME=               ${DISTNAME:S/glib/glib2/}
 CATEGORIES=            devel
-MASTER_SITES=          ftp://ftp.gtk.org/pub/gtk/v2.10/ \
-                       ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.10/ \
-                       ${MASTER_SITE_GNOME:=sources/glib/2.10/}
+MASTER_SITES=          ftp://ftp.gtk.org/pub/gtk/v2.12/ \
+                       ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.12/ \
+                       ${MASTER_SITE_GNOME:=sources/glib/2.12/}
 EXTRACT_SUFX=          .tar.bz2
 
 MAINTAINER=            wiz%NetBSD.org@localhost
diff -r ec4fb5c1f422 -r 958a5a79dfe1 devel/glib2/PLIST
--- a/devel/glib2/PLIST Mon Jul 03 20:58:44 2006 +0000
+++ b/devel/glib2/PLIST Mon Jul 03 21:01:53 2006 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.31 2006/04/17 07:07:16 jlam Exp $
+@comment $NetBSD: PLIST,v 1.32 2006/07/03 21:01:53 wiz Exp $
 bin/glib-genmarshal
 bin/glib-gettextize
 bin/glib-mkenums
@@ -10,6 +10,8 @@
 include/glib/glib-2.0/glib/gasyncqueue.h
 include/glib/glib-2.0/glib/gatomic.h
 include/glib/glib-2.0/glib/gbacktrace.h
+include/glib/glib-2.0/glib/gbase64.h
+include/glib/glib-2.0/glib/gbookmarkfile.h
 include/glib/glib-2.0/glib/gcache.h
 include/glib/glib-2.0/glib/gcompletion.h
 include/glib/glib-2.0/glib/gconvert.h
@@ -98,7 +100,9 @@
 share/doc/glib/glib-Atomic-Operations.html
 share/doc/glib/glib-Automatic-String-Completion.html
 share/doc/glib/glib-Balanced-Binary-Trees.html
+share/doc/glib/glib-Base64-Encoding.html
 share/doc/glib/glib-Basic-Types.html
+share/doc/glib/glib-Bookmark-file-parser.html
 share/doc/glib/glib-Byte-Arrays.html
 share/doc/glib/glib-Byte-Order-Macros.html
 share/doc/glib/glib-Caches.html
@@ -175,6 +179,7 @@
 share/doc/glib/ix05.html
 share/doc/glib/ix06.html
 share/doc/glib/ix07.html
+share/doc/glib/ix08.html
 share/doc/glib/left.png
 share/doc/glib/mainloop-states.gif
 share/doc/glib/right.png
@@ -234,6 +239,7 @@
 share/doc/gobject/ix05.html
 share/doc/gobject/ix06.html
 share/doc/gobject/ix07.html
+share/doc/gobject/ix08.html
 share/doc/gobject/left.png
 share/doc/gobject/pr01.html
 share/doc/gobject/pt01.html
@@ -263,7 +269,6 @@
 share/locale/cy/LC_MESSAGES/glib20.mo
 share/locale/da/LC_MESSAGES/glib20.mo
 share/locale/de/LC_MESSAGES/glib20.mo
-share/locale/dz/LC_MESSAGES/glib20.mo
 share/locale/el/LC_MESSAGES/glib20.mo
 share/locale/en_CA/LC_MESSAGES/glib20.mo
 share/locale/en_GB/LC_MESSAGES/glib20.mo
@@ -298,7 +303,6 @@
 share/locale/ne/LC_MESSAGES/glib20.mo
 share/locale/nl/LC_MESSAGES/glib20.mo
 share/locale/nn/LC_MESSAGES/glib20.mo
-share/locale/no/LC_MESSAGES/glib20.mo
 share/locale/or/LC_MESSAGES/glib20.mo
 share/locale/pa/LC_MESSAGES/glib20.mo
 share/locale/pl/LC_MESSAGES/glib20.mo
diff -r ec4fb5c1f422 -r 958a5a79dfe1 devel/glib2/distinfo
--- a/devel/glib2/distinfo      Mon Jul 03 20:58:44 2006 +0000
+++ b/devel/glib2/distinfo      Mon Jul 03 21:01:53 2006 +0000
@@ -1,13 +1,14 @@
-$NetBSD: distinfo,v 1.62 2006/05/29 17:06:49 drochner Exp $
+$NetBSD: distinfo,v 1.63 2006/07/03 21:01:54 wiz Exp $
 
-SHA1 (glib-2.10.3.tar.bz2) = bba1dea73c4426f6a130c82e0b7a07b78dfc73ce
-RMD160 (glib-2.10.3.tar.bz2) = da56e238f4f6e9c6e7c08d4e53f75128b5178047
-Size (glib-2.10.3.tar.bz2) = 2774011 bytes
-SHA1 (patch-aa) = 3c9357a4cb2ea86726cac754edea419089b79bd9
+SHA1 (glib-2.12.0.tar.bz2) = 3a5afb427bf7ea064b47ecd9316603ddd07de1f1
+RMD160 (glib-2.12.0.tar.bz2) = 05c42ad616b3cb4aec3831d30414516c70142a4f
+Size (glib-2.12.0.tar.bz2) = 2862476 bytes
+SHA1 (patch-aa) = e8e2c1f3084a58de26a5033a269a9c2bd5c74d65
 SHA1 (patch-ab) = a765c6e43856ce858f23f237ffd5b48cb6d029e6
 SHA1 (patch-ac) = 43a30df9822e90e0f84df4458cc20de286509961
 SHA1 (patch-ad) = c926d96bdc9ddf4f434fc57af0adbe11002cffc3
 SHA1 (patch-ae) = 09f16e8e14bdea3ee0e478d335f65cb66939e5f5
 SHA1 (patch-af) = 192998d1e2188c0210d7a471786495b758c437ae
-SHA1 (patch-ah) = b77a04abeb3fa70e7f8cd5a46aeb6a55f6f18851
+SHA1 (patch-ag) = 312ca380107765534b80e9f6c27f98cc2f24e449
+SHA1 (patch-ah) = aac1edb4b40a7c82e04d78d96b33ff9f4321eb45
 SHA1 (patch-aj) = f0c15174e83dae88cca50d040d0c09438ee9053b
diff -r ec4fb5c1f422 -r 958a5a79dfe1 devel/glib2/patches/patch-aa
--- a/devel/glib2/patches/patch-aa      Mon Jul 03 20:58:44 2006 +0000
+++ b/devel/glib2/patches/patch-aa      Mon Jul 03 21:01:53 2006 +0000
@@ -1,9 +1,9 @@
-$NetBSD: patch-aa,v 1.23 2006/03/08 07:25:04 wiz Exp $
+$NetBSD: patch-aa,v 1.24 2006/07/03 21:01:54 wiz Exp $
 
 http://bugzilla.gnome.org/show_bug.cgi?id=140329
 http://bugzilla.gnome.org/show_bug.cgi?id=141256
 
---- configure.orig     2006-03-07 17:42:20.000000000 +0000
+--- configure.orig     2006-07-02 18:48:07.000000000 +0000
 +++ configure
 @@ -465,7 +465,7 @@ ac_includes_default="\
  # include <unistd.h>
@@ -14,7 +14,7 @@
  ac_subst_files=''
  
  # Initialize some variables set by options.
-@@ -33149,6 +33149,7 @@ else
+@@ -32207,6 +32207,7 @@ else
  fi
  G_MODULE_NEED_USCORE=0
  G_MODULE_BROKEN_RTLD_GLOBAL=0
@@ -22,7 +22,7 @@
  G_MODULE_HAVE_DLERROR=0
  if test -z "$G_MODULE_IMPL"; then
    case "$host" in
-@@ -33802,6 +33803,72 @@ echo "${ECHO_T}$glib_cv_rtldglobal_broke
+@@ -32860,6 +32861,72 @@ echo "${ECHO_T}$glib_cv_rtldglobal_broke
        else
                G_MODULE_BROKEN_RTLD_GLOBAL=0
        fi
@@ -95,7 +95,7 @@
        echo "$as_me:$LINENO: checking for preceeding underscore in symbols" >&5
  echo $ECHO_N "checking for preceeding underscore in symbols... $ECHO_C" >&6
  if test "${glib_cv_uscore+set}" = set; then
-@@ -34367,9 +34434,34 @@ if test x"$have_threads" != xno; then
+@@ -33422,9 +33489,34 @@ if test x"$have_threads" != xno; then
           # skip cygwin and darwin -pthread or -pthreads test
           ;;
        *)
@@ -132,7 +132,7 @@
            if test "$cross_compiling" = yes; then
    cat >conftest.$ac_ext <<_ACEOF
  
-@@ -34458,10 +34550,12 @@ rm -f core *.core gmon.out bb.out confte
+@@ -33513,10 +33605,12 @@ rm -f core *.core gmon.out bb.out confte
  fi
            CFLAGS="$glib_save_CFLAGS"
            if test $glib_flag_works = yes ; then
@@ -147,7 +147,7 @@
           ;;
      esac
    fi
-@@ -34514,6 +34608,15 @@ fi
+@@ -33569,6 +33663,15 @@ fi
  
    fi
  
@@ -163,7 +163,7 @@
      # if we are not finding the localtime_r function, then we probably are
      # not using the proper multithread flag
  
-@@ -36467,6 +36570,10 @@ case $host in
+@@ -35522,6 +35625,10 @@ case $host in
    *)
      G_THREAD_LIBS_FOR_GTHREAD="$G_THREAD_LIBS"
      ;;
@@ -174,7 +174,7 @@
  esac
  
  
-@@ -40741,6 +40848,7 @@ s,@G_MODULE_PLUGIN_LIBS@,$G_MODULE_PLUGI
+@@ -39796,6 +39905,7 @@ s,@G_MODULE_PLUGIN_LIBS@,$G_MODULE_PLUGI
  s,@G_MODULE_LDFLAGS@,$G_MODULE_LDFLAGS,;t t
  s,@G_MODULE_HAVE_DLERROR@,$G_MODULE_HAVE_DLERROR,;t t
  s,@G_MODULE_BROKEN_RTLD_GLOBAL@,$G_MODULE_BROKEN_RTLD_GLOBAL,;t t
diff -r ec4fb5c1f422 -r 958a5a79dfe1 devel/glib2/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/glib2/patches/patch-ag      Mon Jul 03 21:01:53 2006 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ag,v 1.8 2006/07/03 21:01:54 wiz Exp $
+
+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;
+ }
+ 
+-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);
+ 
+ /**
+  * g_iconv_open:
diff -r ec4fb5c1f422 -r 958a5a79dfe1 devel/glib2/patches/patch-ah
--- a/devel/glib2/patches/patch-ah      Mon Jul 03 20:58:44 2006 +0000
+++ b/devel/glib2/patches/patch-ah      Mon Jul 03 21:01:53 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ah,v 1.5 2006/03/08 07:25:04 wiz Exp $
+$NetBSD: patch-ah,v 1.6 2006/07/03 21:01:54 wiz Exp $
 
---- glib/gutils.c.orig 2006-03-01 14:18:55.000000000 +0000
+--- glib/gutils.c.orig 2006-06-13 22:46:52.000000000 +0000
 +++ glib/gutils.c
-@@ -2467,7 +2467,7 @@ g_get_system_data_dirs (void)
+@@ -2472,7 +2472,7 @@ g_get_system_data_dirs (void)
        gchar *data_dirs = (gchar *) g_getenv ("XDG_DATA_DIRS");
  
        if (!data_dirs || !data_dirs[0])
@@ -11,7 +11,7 @@
  
        data_dir_vector = g_strsplit (data_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
  #endif
-@@ -2521,7 +2521,7 @@ g_get_system_config_dirs (void)
+@@ -2526,7 +2526,7 @@ g_get_system_config_dirs (void)
        conf_dirs = (gchar *) g_getenv ("XDG_CONFIG_DIRS");
  
        if (!conf_dirs || !conf_dirs[0])
@@ -20,7 +20,7 @@
  
        conf_dir_vector = g_strsplit (conf_dirs, G_SEARCHPATH_SEPARATOR_S, 0);
  #endif
-@@ -2602,7 +2602,7 @@ unalias_lang (char *lang)
+@@ -2607,7 +2607,7 @@ unalias_lang (char *lang)
    int i;
  
    if (!alias_table)



Home | Main Index | Thread Index | Old Index