Compare commits

...

No commits in common. 'i10cs' and 'c9' have entirely different histories.
i10cs ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/m17n-lib-1.8.4.tar.gz SOURCES/m17n-lib-1.8.0.tar.gz

@ -1 +1 @@
145a663176ff71ea8e99e9cc2140ef67c230b388 SOURCES/m17n-lib-1.8.4.tar.gz 298923e2f7f6b8763769b74c8b2da8fe4d13ecce SOURCES/m17n-lib-1.8.0.tar.gz

@ -0,0 +1,27 @@
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

@ -1,13 +1,3 @@
## START: Set by rpmautospec
## (rpmautospec version 0.6.5)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 7;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# note this duplicates native anthy IMEs # note this duplicates native anthy IMEs
%if 0%{?fedora} %if 0%{?fedora}
%bcond_without anthy %bcond_without anthy
@ -16,14 +6,15 @@
%endif %endif
Name: m17n-lib Name: m17n-lib
Version: 1.8.4 Version: 1.8.0
Release: %autorelease Release: 13%{?dist}
Summary: Multilingual text library Summary: Multilingual text library
License: LGPL-2.1-or-later License: LGPLv2+
URL: http://www.nongnu.org/m17n/ URL: http://www.nongnu.org/m17n/
Source0: http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz Source0: http://download.savannah.gnu.org/releases/m17n/%{name}-%{version}.tar.gz
Patch0: %{name}-1.8.0-multilib.patch 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: make
BuildRequires: m17n-db-devel libthai-devel BuildRequires: m17n-db-devel libthai-devel
@ -85,7 +76,8 @@ Tools to test M17n GUI widget library.
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 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 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{make_build} # parallel make usage with make command fails build on koji
make
%install %install
make install DESTDIR=%{buildroot} INSTALL="install -p" make install DESTDIR=%{buildroot} INSTALL="install -p"
@ -135,68 +127,18 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_libdir}/libm17n-gui.so.* %{_libdir}/libm17n-gui.so.*
%changelog %changelog
## START: Generated by rpmautospec * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.0-13
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.8.4-7 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
- Bump release for October 2024 mass rebuild: Related: rhbz#1991688
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.8.4-4
- Rebuilt for MSVSphere 10
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.8.4-4
- Bump release for June 2024 mass rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Aug 23 2023 Mike FABIAN <mfabian@redhat.com> - 1.8.4-1
- Update to 1.8.4
- Fixes “typedef in m17n-core.h causing error when compiling with C++ code”
(Resolves: https://savannah.nongnu.org/bugs/index.php?64566)
* Wed Jul 26 2023 Björn Esser <besser82@fedoraproject.org> - 1.8.3-2
- Rebuild(libotf)
* Tue Jul 25 2023 Mike FABIAN <mfabian@redhat.com> - 1.8.3-1
- Update to 1.8.3
- Fixes to be able to create m17n-docs-1.8.3: Fix doxygen tags, change all EUC-JP files to UTF-8
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2 * Mon Jun 07 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - Resolves:rhbz#1967892 - Add conditional for anthy module subpackage
* Tue May 09 2023 Mike FABIAN <mfabian@redhat.com> - 1.8.2-1 * Tue May 25 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-11
- Update to 1.8.2 - Resolves:rhbz#1961998 - Add gating tests from rhel-8
- 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 * Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.8.0-10
- Remove m17n-lib-c99.patch (included upstream) - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
- Remove Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch
(included upstream)
* Tue Apr 25 2023 Florian Weimer <fweimer@redhat.com> - 1.8.0-16
- Fix C99 compatibility issue in example code
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Nov 30 2022 Mike FABIAN <mfabian@redhat.com> - 1.8.0-14
- Migrate license tag to SPDX
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.8.0-10
- Add conditional for anthy module subpackage
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-9 * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
@ -425,5 +367,3 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
* Sat Jan 15 2005 UTUMI Hirosi <utuhiro78@yahoo.co.jp> * Sat Jan 15 2005 UTUMI Hirosi <utuhiro78@yahoo.co.jp>
- modify spec for fedora - modify spec for fedora
## END: Generated by rpmautospec

Loading…
Cancel
Save