Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pango for openSUSE:Factory checked 
in at 2022-09-30 17:57:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pango (Old)
 and      /work/SRC/openSUSE:Factory/.pango.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pango"

Fri Sep 30 17:57:01 2022 rev:141 rq:1006525 version:1.50.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/pango/pango.changes      2022-08-14 
15:55:32.927756974 +0200
+++ /work/SRC/openSUSE:Factory/.pango.new.2275/pango.changes    2022-09-30 
17:57:02.929152976 +0200
@@ -1,0 +2,12 @@
+Sun Sep 25 20:07:33 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Add 639.patch: layout: Fix crash when no font is installed.
+
+-------------------------------------------------------------------
+Fri Sep 16 16:59:29 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 1.50.10:
+  + Avoid some unnecessary strdups.
+  + Fix line height computations with a non-trivial CTM.
+
+-------------------------------------------------------------------

Old:
----
  pango-1.50.9.obscpio

New:
----
  639.patch
  pango-1.50.10.obscpio

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

Other differences:
------------------
++++++ pango.spec ++++++
--- /var/tmp/diff_new_pack.GYHPLi/_old  2022-09-30 17:57:03.729154686 +0200
+++ /var/tmp/diff_new_pack.GYHPLi/_new  2022-09-30 17:57:03.737154703 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           pango
-Version:        1.50.9
+Version:        1.50.10
 Release:        0
 Summary:        Library for Layout and Rendering of Text
 License:        LGPL-2.1-or-later
@@ -26,6 +26,8 @@
 Source0:        %{name}-%{version}.tar.xz
 Source2:        macros.pango
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM 639.patch -- layout: Fix crash when no font is installed
+Patch0:         https://gitlab.gnome.org/GNOME/pango/-/merge_requests/639.patch
 
 BuildRequires:  gcc-c++
 BuildRequires:  help2man
@@ -117,7 +119,7 @@
 to develop applications that require these.
 
 %prep
-%setup
+%autosetup -p1
 
 %build
 %meson \

++++++ 639.patch ++++++
>From 2771f621ed31deeae6c7ad984db1e5aa33f08a3c Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6...@gmail.com>
Date: Thu, 22 Sep 2022 16:12:37 -0700
Subject: [PATCH] layout: Fix crash when no font is installed

Fixes: https://gitlab.gnome.org/GNOME/pango/-/issues/701
---
 pango/pango-layout.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index a1c472039..b8eeede00 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -5707,13 +5707,14 @@ pango_layout_run_get_extents_and_height (PangoLayoutRun 
*run,
         }
       else
         {
-          double xscale, yscale;
+          double xscale = 0, yscale = 0;
 
           if (!metrics)
             metrics = pango_font_get_metrics (run->item->analysis.font,
                                               run->item->analysis.language);
 
-          pango_font_get_scale_factors (run->item->analysis.font, &xscale, 
&yscale);
+          if (G_LIKELY(run->item->analysis.font))
+            pango_font_get_scale_factors (run->item->analysis.font, &xscale, 
&yscale);
           *height = pango_font_metrics_get_height (metrics) * MAX (xscale, 
yscale);
         }
     }
-- 
GitLab


++++++ _service ++++++
--- /var/tmp/diff_new_pack.GYHPLi/_old  2022-09-30 17:57:03.785154806 +0200
+++ /var/tmp/diff_new_pack.GYHPLi/_new  2022-09-30 17:57:03.793154823 +0200
@@ -1,8 +1,8 @@
 <services>
-  <service name="obs_scm" mode="disabled">
+  <service name="obs_scm" mode="manual">
     <param name="url">https://gitlab.gnome.org/GNOME/pango.git</param>
     <param name="scm">git</param>
-    <param name="revision">refs/tags/1.50.9</param>
+    <param name="revision">refs/tags/1.50.10</param>
     <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
     <param name="versionrewrite-pattern">(.*)\+0</param>
     <param name="versionrewrite-replacement">\1</param>
@@ -12,6 +12,6 @@
     <param name="file">*.tar</param>
     <param name="compression">xz</param>
   </service>
-  <service mode="disabled" name="set_version" />
+  <service mode="manual" name="set_version" />
 </services>
 

++++++ pango-1.50.9.obscpio -> pango-1.50.10.obscpio ++++++
/work/SRC/openSUSE:Factory/pango/pango-1.50.9.obscpio 
/work/SRC/openSUSE:Factory/.pango.new.2275/pango-1.50.10.obscpio differ: char 
48, line 1

++++++ pango.obsinfo ++++++
--- /var/tmp/diff_new_pack.GYHPLi/_old  2022-09-30 17:57:03.873154994 +0200
+++ /var/tmp/diff_new_pack.GYHPLi/_new  2022-09-30 17:57:03.877155002 +0200
@@ -1,5 +1,5 @@
 name: pango
-version: 1.50.9
-mtime: 1660068083
-commit: a3517dcc6de9bae1193075b7112aa7db97b39dcc
+version: 1.50.10
+mtime: 1663332574
+commit: 8d4e58f15b6d608d1da7268371f7efde7b35e950
 

Reply via email to