Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libraqm for openSUSE:Factory checked 
in at 2021-10-12 21:49:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libraqm (Old)
 and      /work/SRC/openSUSE:Factory/.libraqm.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libraqm"

Tue Oct 12 21:49:53 2021 rev:5 rq:924870 version:0.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libraqm/libraqm.changes  2021-09-07 
21:22:26.421376858 +0200
+++ /work/SRC/openSUSE:Factory/.libraqm.new.2443/libraqm.changes        
2021-10-12 21:51:15.776035743 +0200
@@ -1,0 +2,16 @@
+Thu Sep 30 08:10:08 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 0.7.2
+  * Fix test failure with newer HarfBuzz versions.
+  * Apply FT_Face transformation matrix when built against FreeType
+    2.11 or later.
+  * Add meson build system. Autotools build system will be dropped
+    in next release.
+  * Improve MSVC support (#134).
+  * Build and documentation fixes.
+- Drop upstream patch:
+  * libraqm-fix-cursor_position-GB8a.patch
+- Add upstream change:
+  * 0001-Pass_version_to_meson_library.patch
+
+-------------------------------------------------------------------

Old:
----
  libraqm-fix-cursor_position-GB8a.patch
  raqm-0.7.1.tar.gz

New:
----
  0001-Pass_version_to_meson_library.patch
  raqm-0.7.2.tar.xz

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

Other differences:
------------------
++++++ libraqm.spec ++++++
--- /var/tmp/diff_new_pack.0qJwgC/_old  2021-10-12 21:51:16.340036550 +0200
+++ /var/tmp/diff_new_pack.0qJwgC/_new  2021-10-12 21:51:16.340036550 +0200
@@ -18,18 +18,20 @@
 
 %define sover 0
 Name:           libraqm
-Version:        0.7.1
+Version:        0.7.2
 Release:        0
 Summary:        Complex Textlayout Library
 License:        MIT
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/HOST-Oman/libraqm
-Source:         
https://github.com/HOST-Oman/libraqm/releases/download/v%{version}/raqm-%{version}.tar.gz
-Patch1:         libraqm-fix-cursor_position-GB8a.patch
+Source:         
https://github.com/HOST-Oman/libraqm/releases/download/v%{version}/raqm-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM
+Patch0:         0001-Pass_version_to_meson_library.patch
 BuildRequires:  freetype2-devel
 BuildRequires:  fribidi-devel
 BuildRequires:  gcc
 BuildRequires:  gtk-doc
+BuildRequires:  meson
 BuildRequires:  pkgconfig(harfbuzz) >= 1.7.2
 
 %description
@@ -39,6 +41,8 @@
 %package -n %{name}%{sover}
 Summary:        Complex Textlayout Library
 Group:          System/Libraries
+# The license and the generic %%doc files were moved to the library subpackage
+Conflicts:      libraqm-doc < 0.7.2
 
 %description -n %{name}%{sover}
 Library that encapsulates the logic for complex
@@ -63,26 +67,27 @@
 
 %prep
 %autosetup -n raqm-%{version} -p1
-%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1500
-sed s:python:%{__python3}:g -i tests/Makefile.in #Fixed in next release on 
upstream
-%endif
 
 %build
-%configure --enable-gtk-doc
-%make_build
+%meson -Ddocs=true
+%meson_build
+
+%install
+%meson_install
 
 %check
+# python 3.6 is too old for running tests
+%if 0%{suse_version} > 1500
 export LC_ALL=C.utf8
-%make_build check
-
-%install
-%make_install
-rm -fv %{buildroot}/%{_libdir}/*.a %{buildroot}/%{_libdir}/*.la
+%meson_test
+%endif
 
 %post -n %{name}%{sover} -p /sbin/ldconfig
 %postun -n %{name}%{sover} -p /sbin/ldconfig
 
 %files -n %{name}%{sover}
+%license COPYING
+%doc AUTHORS NEWS README
 %{_libdir}/libraqm.so.*
 
 %files devel
@@ -92,8 +97,6 @@
 %{_libdir}/pkgconfig/raqm.pc
 
 %files doc
-%license COPYING
-%doc AUTHORS NEWS README
 %{_datadir}/gtk-doc/html/raqm
 
 %changelog

++++++ 0001-Pass_version_to_meson_library.patch ++++++
>From 819a3e9cdda55aaeb062830cc91afeb6584f410a Mon Sep 17 00:00:00 2001
From: Khaled Hosny <kha...@aliftype.com>
Date: Tue, 28 Sep 2021 16:10:16 +0200
Subject: [PATCH] Pass version to meson library

Fixes https://github.com/HOST-Oman/libraqm/issues/136
---
 src/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/meson.build b/src/meson.build
index 40554b2..16ec18c 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -42,6 +42,7 @@ libraqm = library(
   'raqm',
   'raqm.c',
   'raqm.h',
+  version : meson.project_version(),
   dependencies : deps,
   c_args : ['-DHAVE_CONFIG_H'],
   install : true,

Reply via email to