r36258 - in /desktop/experimental/pango1.0/debian/patches: 00git_memory_leak.patch 00git_missing_prototype.patch 00git_thai_zero_width_spaces.patch

mpitt at users.alioth.debian.org mpitt at users.alioth.debian.org
Mon Nov 12 12:13:53 UTC 2012


Author: mpitt
Date: Mon Nov 12 12:13:52 2012
New Revision: 36258

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=36258
Log:
svn add the new patches

Added:
    desktop/experimental/pango1.0/debian/patches/00git_memory_leak.patch
    desktop/experimental/pango1.0/debian/patches/00git_missing_prototype.patch
    desktop/experimental/pango1.0/debian/patches/00git_thai_zero_width_spaces.patch

Added: desktop/experimental/pango1.0/debian/patches/00git_memory_leak.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pango1.0/debian/patches/00git_memory_leak.patch?rev=36258&op=file
==============================================================================
--- desktop/experimental/pango1.0/debian/patches/00git_memory_leak.patch (added)
+++ desktop/experimental/pango1.0/debian/patches/00git_memory_leak.patch [utf-8] Mon Nov 12 12:13:52 2012
@@ -1,0 +1,37 @@
+From dc54dda64344fe8f7c18ce1223351fa2d8740832 Mon Sep 17 00:00:00 2001
+From: Robert Ancell <robert.ancell at canonical.com>
+Date: Thu, 14 Jun 2012 12:24:04 +1200
+Subject: [PATCH] [opentype] Free mutex on hb_blob destruction
+
+---
+ pango/opentype/hb-blob.c    |    1 +
+ pango/opentype/hb-private.h |    1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/pango/opentype/hb-blob.c b/pango/opentype/hb-blob.c
+index 3e787fc..3e2f16c 100644
+--- a/pango/opentype/hb-blob.c
++++ b/pango/opentype/hb-blob.c
+@@ -174,6 +174,7 @@ hb_blob_destroy (hb_blob_t *blob)
+   HB_OBJECT_DO_DESTROY (blob);
+ 
+   _hb_blob_destroy_user_data (blob);
++  hb_mutex_free (blob->lock);
+ 
+   free (blob);
+ }
+diff --git a/pango/opentype/hb-private.h b/pango/opentype/hb-private.h
+index 2791b05..4523a1d 100644
+--- a/pango/opentype/hb-private.h
++++ b/pango/opentype/hb-private.h
+@@ -76,6 +76,7 @@ typedef GStaticMutex hb_mutex_t;
+ #define hb_mutex_lock(M)		g_static_mutex_lock (&M)
+ #define hb_mutex_trylock(M)		g_static_mutex_trylock (&M)
+ #define hb_mutex_unlock(M)		g_static_mutex_unlock (&M)
++#define hb_mutex_free(M)		g_static_mutex_free (&M)
+ 
+ #else
+ #error "Could not find any system to define platform macros, see hb-private.h"
+-- 
+1.7.10.4
+

Added: desktop/experimental/pango1.0/debian/patches/00git_missing_prototype.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pango1.0/debian/patches/00git_missing_prototype.patch?rev=36258&op=file
==============================================================================
--- desktop/experimental/pango1.0/debian/patches/00git_missing_prototype.patch (added)
+++ desktop/experimental/pango1.0/debian/patches/00git_missing_prototype.patch [utf-8] Mon Nov 12 12:13:52 2012
@@ -1,0 +1,24 @@
+From be09d2e46f443040824e9e035c362d800bd52921 Mon Sep 17 00:00:00 2001
+From: Robert Ancell <robert.ancell at canonical.com>
+Date: Fri, 8 Jun 2012 15:08:19 +1200
+Subject: [PATCH] Add missing prototype for pango_config_key_get_system
+
+---
+ pango/pango-utils.h |    1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/pango/pango-utils.h b/pango/pango-utils.h
+index f86c662..188ea50 100644
+--- a/pango/pango-utils.h
++++ b/pango/pango-utils.h
+@@ -42,6 +42,7 @@ gboolean pango_scan_int       (const char **pos,
+ 			       int         *out);
+ 
+ #ifdef PANGO_ENABLE_BACKEND
++char *   pango_config_key_get_system (const char *key);
+ char *   pango_config_key_get (const char  *key);
+ void     pango_lookup_aliases (const char   *fontname,
+ 			       char       ***families,
+-- 
+1.7.10
+

Added: desktop/experimental/pango1.0/debian/patches/00git_thai_zero_width_spaces.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pango1.0/debian/patches/00git_thai_zero_width_spaces.patch?rev=36258&op=file
==============================================================================
--- desktop/experimental/pango1.0/debian/patches/00git_thai_zero_width_spaces.patch (added)
+++ desktop/experimental/pango1.0/debian/patches/00git_thai_zero_width_spaces.patch [utf-8] Mon Nov 12 12:13:52 2012
@@ -1,0 +1,13 @@
+diff --git a/modules/thai/thai-fc.c b/modules/thai/thai-fc.c
+--- a/modules/thai/thai-fc.c
++++ b/modules/thai/thai-fc.c
+@@ -233,6 +233,9 @@ thai_make_glyph_uni (ThaiFontInfo *font_info, gunichar uc)
+   PangoGlyph result;
+   PangoFcFont *fc_font = (PangoFcFont *)font_info->font;
+
++  if (pango_is_zero_width (uc))
++    return PANGO_GLYPH_EMPTY;
++
+   result = pango_fc_font_get_glyph (fc_font, uc);
+   if (result)
+     return result;




More information about the pkg-gnome-commits mailing list