Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Mike FABIAN
5892e65768 Update to 1.8.2
- Fix parallel builds by switching from absolute to relative paths
  (Resolves: https://savannah.nongnu.org/bugs/index.php?61377)
- enable parallel builds in the spec file
2023-05-09 20:23:32 +02:00
Mike FABIAN
82c8e1a5d2 Update to 1.8.1
- Remove Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch
  (included upstream)
2023-05-06 20:42:09 +02:00
4 changed files with 16 additions and 33 deletions

2
.gitignore vendored
View file

@ -5,3 +5,5 @@ m17n-lib-1.6.1.tar.gz
/m17n-lib-1.7.0.tar.gz
/m17n-lib-1.8.0RC.tar.gz
/m17n-lib-1.8.0.tar.gz
/m17n-lib-1.8.1.tar.gz
/m17n-lib-1.8.2.tar.gz

View file

@ -1,27 +0,0 @@
From 4d815754f9f32c54ec47f9e323940f6332a7cb5d Mon Sep 17 00:00:00 2001
From: Mike FABIAN <mfabian@redhat.com>
Date: Tue, 30 Apr 2019 10:32:13 +0200
Subject: [PATCH] Fix segmentation fault when using ibus-m17n with vi-telex in
gedit in Gnome Wayland
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1704156
---
src/m17n-core.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/m17n-core.c b/src/m17n-core.c
index fe5aa77..642dfee 100644
--- a/src/m17n-core.c
+++ b/src/m17n-core.c
@@ -930,6 +930,8 @@ m17n_object_unref (void *object)
M17NObjectRecord *record;
unsigned *count;
+ if (object == NULL)
+ return -1;
if (! obj->ref_count_extended)
{
if (! --obj->ref_count)
--
2.20.1

View file

@ -6,15 +6,14 @@
%endif
Name: m17n-lib
Version: 1.8.0
Release: 12%{?dist}
Version: 1.8.2
Release: 1%{?dist}
Summary: Multilingual text library
License: LGPLv2+
URL: http://www.nongnu.org/m17n/
Source0: http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
Patch0: %{name}-1.8.0-multilib.patch
Patch1: Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch
BuildRequires: make
BuildRequires: m17n-db-devel libthai-devel
@ -76,8 +75,7 @@ Tools to test M17n GUI widget library.
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
# parallel make usage with make command fails build on koji
make
%{make_build}
%install
make install DESTDIR=%{buildroot} INSTALL="install -p"
@ -127,6 +125,16 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_libdir}/libm17n-gui.so.*
%changelog
* Tue May 09 2023 Mike FABIAN <mfabian@redhat.com> - 1.8.2-1
- Update to 1.8.2
- Fix parallel builds by switching from absolute to relative paths
(Resolves: https://savannah.nongnu.org/bugs/index.php?61377)
- enable parallel builds in the spec file
- Update to 1.8.1
- Remove Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch
(included upstream)
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View file

@ -1 +1 @@
SHA512 (m17n-lib-1.8.0.tar.gz) = 8aba862888393232172c03cdf52531e29ea969c4327e6f69879ecf7438eafee32782f509ec292b3e1b7cd3202e2764984d7a59e85cdb87a7c8bfcbac5b0ee6fd
SHA512 (m17n-lib-1.8.2.tar.gz) = 715aae4ba64399021c5f29ae35af0ce872eaee23cd70a94726692e6cf9e591e9e6195cce305ad58c12aab756beb257113150e2adfb1e203b91ef3a06ac3424d0