Hello community,

here is the log from the commit of package glib2 for openSUSE:Factory
checked in at Thu Jul 21 08:56:08 CEST 2011.



--------
--- GNOME/glib2/glib2.changes   2011-07-11 13:17:05.000000000 +0200
+++ /mounts/work_src_done/STABLE/glib2/glib2.changes    2011-07-20 
09:23:51.000000000 +0200
@@ -1,0 +2,14 @@
+Wed Jul 20 08:54:59 CEST 2011 - [email protected]
+
+- Update to version 2.29.12:
+  + Add new API to do Unicode (de-)composition in atomic steps, for
+    use in Harfbuzz.
+  + Bugs fixed: bgo#615895, bgo#617949, bgo#620423, bgo#627974,
+    bgo#644687, bgo#649246, bgo#653841, bgo#653935, bgo#654017,
+    bgo#654085, bgo#654195, bgo#654232, bgo#654394, bgo#654536,
+    bgo#654627, bgo#654651, bgo#654917.
+  + Updated translations.
+- Add glib2-no-deprecated-call.patch to fix build by not using
+  newly deprecated API.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


Old:
----
  glib-2.29.10.tar.bz2

New:
----
  glib-2.29.12.tar.bz2
  glib2-no-deprecated-call.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glib2.spec ++++++
--- /var/tmp/diff_new_pack.h5wx8p/_old  2011-07-21 08:55:31.000000000 +0200
+++ /var/tmp/diff_new_pack.h5wx8p/_new  2011-07-21 08:55:31.000000000 +0200
@@ -21,8 +21,8 @@
 
 Name:           glib2
 %define _name glib
-Version:        2.29.10
-Release:        2
+Version:        2.29.12
+Release:        1
 # FIXME: change zlib-devel to pkgconfig(zlib) once we have a recent enough 
version of zlib
 # FIXME: find out if tapsets should really be in devel package or in main 
package
 License:        LGPLv2+
@@ -44,6 +44,8 @@
 Source99:       baselibs.conf
 # PATCH-FIX-OPENSUSE glib2-use-old-pcre.patch [email protected] -- Do no 
require a too recent version of pcre on openSUSE versions that don't have it
 Patch0:         glib2-use-old-pcre.patch
+# PATCH-FIX-UPSTREAM glib2-no-deprecated-call.patch bgo#654948 
[email protected] -- Stop calling deprecated 
g_unicode_canonical_decomposition(); fix build.
+Patch1:         glib2-no-deprecated-call.patch
 # PATCH-FIX-OPENSUSE glib2-bnc379332-desktop-su.patch bnc379332 
[email protected] -- Use X-KDE-SubstituteUID
 Patch8:         glib2-bnc379332-desktop-su.patch
 # PATCH-FEATURE-UPSTREAM glib2-bgo569829-gettext-gkeyfile.patch fate300461 
bgo569829 [email protected] -- Look for translation of desktop entry strings via 
gettext, part that we share with Ubuntu and try to push upstream
@@ -266,6 +268,7 @@
 %if 0%{?suse_version} <= 1140
 %patch0 -p1 -R
 %endif
+%patch1 -p1
 %patch8
 %patch10 -p1
 %patch11 -p1

++++++ README.Gsettings-overrides ++++++
--- /var/tmp/diff_new_pack.h5wx8p/_old  2011-07-21 08:55:31.000000000 +0200
+++ /var/tmp/diff_new_pack.h5wx8p/_new  2011-07-21 08:55:31.000000000 +0200
@@ -14,6 +14,6 @@
        key2=1.5
 
 glib-compile-schemas expects schema files to have the extension
-.gschema.override 
+.gschema.override
 
 [1] http://developer.gnome.org/gio/stable/GSettings.html

++++++ glib-2.29.10.tar.bz2 -> glib-2.29.12.tar.bz2 ++++++
GNOME/glib2/glib-2.29.10.tar.bz2 
/mounts/work_src_done/STABLE/glib2/glib-2.29.12.tar.bz2 differ: char 11, line 1

++++++ glib2-no-deprecated-call.patch ++++++
commit 92aeb954eacbc4213a759177f8ce7e85fe6e4439
Author: Vincent Untz <[email protected]>
Date:   Wed Jul 20 09:22:12 2011 +0200

    Stop using deprecated g_unicode_canonical_decomposition()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=654948

diff --git a/glib/guniprop.c b/glib/guniprop.c
index 923478d..ceec0c6 100644
--- a/glib/guniprop.c
+++ b/glib/guniprop.c
@@ -855,15 +855,14 @@ real_toupper (const gchar *str,
                   * which could simplify this considerably.
                   */
                  gsize decomp_len, i;
-                 gunichar *decomp;
+                 gunichar decomp[4];
 
-                 decomp = g_unicode_canonical_decomposition (c, &decomp_len);
+                 decomp_len = g_unichar_fully_decompose (c, FALSE, decomp, 4);
                  for (i=0; i < decomp_len; i++)
                    {
                      if (decomp[i] != 0x307 /* COMBINING DOT ABOVE */)
                        len += g_unichar_to_utf8 (g_unichar_toupper 
(decomp[i]), out_buffer ? out_buffer + len : NULL);
                    }
-                 g_free (decomp);
                  
                  len += output_marks (&p, out_buffer ? out_buffer + len : 
NULL, TRUE);
 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to