From 3a64069f011f08cb316b0504112c90bb21126bdc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 09:40:01 +0000 Subject: [PATCH 01/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index 7306d11..a64c13a 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -3,7 +3,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multilingual text library License: LGPLv2+ @@ -112,6 +112,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 1.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Sat Feb 10 2018 Parag Nemade - 1.8.0-1 - Update to 1.8.0 version (#1543670) From be18af57a7fe80fe22f5cb3cdcc363e25a3ab322 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Mon, 26 Nov 2018 19:21:47 +0530 Subject: [PATCH 02/34] Added Provides: bundled(gnulib) --- m17n-lib.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index a64c13a..ccc9d02 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -3,7 +3,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Multilingual text library License: LGPLv2+ @@ -19,6 +19,10 @@ BuildRequires: libXaw-devel libotf-devel BuildRequires: autoconf gettext-devel BuildRequires: automake libtool +# The upstream source contains part of gnulib +# library which includes directories intl and m4 +Provides: bundled(gnulib) + %if %{with anthy} BuildRequires: anthy-devel %endif @@ -112,6 +116,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Mon Nov 26 2018 Parag Nemade - 1.8.0-3 +- Added Provides: bundled(gnulib) + * Fri Jul 13 2018 Fedora Release Engineering - 1.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 08af07f62cb5faa5318067d22d15e416c9bfd053 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:21 +0100 Subject: [PATCH 03/34] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- m17n-lib.spec | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index ccc9d02..359d304 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -80,11 +80,9 @@ rm %{buildroot}%{_libdir}/m17n/1.0/libmimx-ispell.so find %{buildroot} -name '*.la' -exec rm -f {} ';' -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets -%post tools -p /sbin/ldconfig -%postun tools -p /sbin/ldconfig +%ldconfig_scriptlets tools %files %doc AUTHORS NEWS ChangeLog README From 4e4eaf48ed8dc92ad7ab4ce78a237f74f35aa3bb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 09:28:03 +0000 Subject: [PATCH 04/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index 359d304..9861a54 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -3,7 +3,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Multilingual text library License: LGPLv2+ @@ -114,6 +114,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 1.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Mon Nov 26 2018 Parag Nemade - 1.8.0-3 - Added Provides: bundled(gnulib) From 5d433d6946c2456f6580d98f4c09d7e1463d04e7 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 30 Apr 2019 10:36:43 +0200 Subject: [PATCH 05/34] Fix segmentation fault when using ibus-m17n with vi-telex in gedit in Gnome Wayland Resolves: rhbz#1704156 --- ...7n-with-vi-telex-in-gedit-in-wayland.patch | 27 +++++++++++++++++++ m17n-lib.spec | 9 +++++-- 2 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch diff --git a/Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch b/Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch new file mode 100644 index 0000000..3a25ea1 --- /dev/null +++ b/Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch @@ -0,0 +1,27 @@ +From 4d815754f9f32c54ec47f9e323940f6332a7cb5d Mon Sep 17 00:00:00 2001 +From: Mike FABIAN +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 + diff --git a/m17n-lib.spec b/m17n-lib.spec index 9861a54..ee4d119 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -3,13 +3,14 @@ Name: m17n-lib Version: 1.8.0 -Release: 4%{?dist} +Release: 5%{?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: m17n-db-devel libthai-devel BuildRequires: libxml2-devel libXft-devel @@ -61,7 +62,7 @@ Tools to test M17n GUI widget library. %prep -%autosetup +%autosetup -p1 %build #autoreconf -ivf @@ -114,6 +115,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Tue Apr 30 2019 Mike FABIAN - 1.8.0-5 +- Fix segmentation fault when using ibus-m17n with vi-telex in gedit in Gnome Wayland +- Resolves: rhbz#1704156 + * Fri Feb 01 2019 Fedora Release Engineering - 1.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From b4bdd9688bc4dd3ae6d07e1bf1185586b6b56956 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 15:40:56 +0000 Subject: [PATCH 06/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index ee4d119..556a53b 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -3,7 +3,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Multilingual text library License: LGPLv2+ @@ -115,6 +115,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 1.8.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Tue Apr 30 2019 Mike FABIAN - 1.8.0-5 - Fix segmentation fault when using ibus-m17n with vi-telex in gedit in Gnome Wayland - Resolves: rhbz#1704156 From 74c09d3142c2f4c86ef376d55b336455a89776f1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 11:49:56 +0000 Subject: [PATCH 07/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index 556a53b..0e24c4d 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -3,7 +3,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Multilingual text library License: LGPLv2+ @@ -115,6 +115,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 1.8.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Fedora Release Engineering - 1.8.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 84fbe5b31e38fc440546af0d8bf35471ef61bfdc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 06:42:45 +0000 Subject: [PATCH 08/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index 0e24c4d..cb2e28c 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -3,7 +3,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Multilingual text library License: LGPLv2+ @@ -115,6 +115,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 1.8.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jan 29 2020 Fedora Release Engineering - 1.8.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 6ecfb58dc4b1059d3f598f0c4638f6c70a20bb2a Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 6 Jan 2021 21:20:37 +0000 Subject: [PATCH 09/34] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- m17n-lib.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/m17n-lib.spec b/m17n-lib.spec index cb2e28c..b930c54 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -12,6 +12,7 @@ Source0: http://download.savannah.gnu.org/releases/m17n/%{name}-%{version 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 BuildRequires: libxml2-devel libXft-devel BuildRequires: fontconfig-devel freetype-devel From 57e07489c85fc759c21985bfb8adb5e8a324bd8d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 19:05:59 +0000 Subject: [PATCH 10/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index b930c54..7e55853 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -3,7 +3,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Multilingual text library License: LGPLv2+ @@ -116,6 +116,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 1.8.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 1.8.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From f55d93a40d1b90a7f620736f2c30292dbb85aa54 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Tue, 25 May 2021 14:04:00 +0530 Subject: [PATCH 11/34] Add gating tests Signed-off-by: Parag Nemade --- tests/smoke/hello.txt | 15 +++++++++++++++ tests/smoke/old.png | Bin 0 -> 7753 bytes tests/smoke/runtest.sh | 20 ++++++++++++++++++++ tests/tests.yml | 11 +++++++++++ 4 files changed, 46 insertions(+) create mode 100644 tests/smoke/hello.txt create mode 100644 tests/smoke/old.png create mode 100644 tests/smoke/runtest.sh create mode 100644 tests/tests.yml diff --git a/tests/smoke/hello.txt b/tests/smoke/hello.txt new file mode 100644 index 0000000..6f6082a --- /dev/null +++ b/tests/smoke/hello.txt @@ -0,0 +1,15 @@ +hallo +እው ሰላም ነው +مرحبا +হ্যালো +你好 +Ciao +こんにちは +नमस्कार +ਸਤ ਸ੍ਰੀ ਅਕਾਲ +Привет +හෙලෝ +வணக்கம் +สวัสดี +ہیلو +xin chào diff --git a/tests/smoke/old.png b/tests/smoke/old.png new file mode 100644 index 0000000000000000000000000000000000000000..7111cfdbe5bb09b5966175fedbd83ad434dd163c GIT binary patch literal 7753 zcmb_>WmFVg*ES)YN=bK14WZN^!ca4Wz(|WogLHS-(CtW!)F6%0jUXj0r67!Shs00= zyz5@?_uXqf&wD@jd$09VhGaOel`0aA#p*r*1d z@}z`8*l^)b@&E1M0+_VAyDNC%x#7XzS63s%@|_(JmTAyVi)!563Q-=Hi?x#VN#%Ha9n) zL|wIv-qdU&bg$7KLd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*XG>~~iM-jh9=Kn(JAE8ny{peEh@H3h51r52MmH)z2+9OiW zb+6H%;~}T4JJW;+V63%2H2uEW_tnw%b9z?`g+oQN{(|;uI3sqvR?t%(GFyecQJ{S^ z{x957rqJj^PG-2co9r3ywYJBEzx+vjMhlSa8Yt5k6qKb&4jir7%-wdumqkhq?k*%) zTg+bfkAikgW9%kChJ)wNTN<4`;Uyzp>Q%z5i%ot*httM!{US3u#UrlWUZUb%F7@@} zX6Klu@r<&Fe7B5O&C(wl8!b1q>2BmKGuzeBixENy;1``#SrByhd^N#wG2xWD487NH zzCjgq#i_@`qrh=wLo8j5@!;6yjD3XmLUd6FD_!<|y$c@@azUY*>fT@;HE~2_Dc1NM zpS$_u34#1yS8(ydWlMa)II8DnYc^l3{WlvvytX*FpfFdwI_gpy%EYqp_p0$N#YbTVwN3qMGb}7DEOn5Ua`m%U;r|8Y C(?H4q literal 0 HcmV?d00001 diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh new file mode 100644 index 0000000..1b982f5 --- /dev/null +++ b/tests/smoke/runtest.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +# If one of the commands below returns non-zero then exit immediately +set -e + +echo "Testing m17n-dump tool" +old_size=`stat -c "%s" old.png` +echo "old_size is $old_size" + +m17n-dump hello.txt +new_size=`stat -c "%s" hello.txt.png` +echo "new_size is $new_size" +file old.png hello.txt.png +echo "Using font `fc-match`" + +if [ $old_size -ne $new_size ]; then + echo "m17n-dump generated different png file" +else + echo "m17n-dump generated same png file" +fi diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..43337e6 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,11 @@ +--- +- hosts: localhost + tags: + - classic + roles: + - role: standard-test-basic + tests: + - smoke + required_packages: + - m17n-lib-tools + - m17n-lib-devel From 0e0a675ba29dc579d55aac0dc89528957d5b361a Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Fri, 4 Jun 2021 15:37:56 +0530 Subject: [PATCH 12/34] Add conditional for anthy module subpackage --- m17n-lib.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index 7e55853..446666b 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -1,9 +1,13 @@ # note this duplicates native anthy IMEs +%if 0%{?fedora} %bcond_without anthy +%else +%bcond_with anthy +%endif Name: m17n-lib Version: 1.8.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Multilingual text library License: LGPLv2+ @@ -37,13 +41,14 @@ the input of many languages with the input table maps from m17n-db. The package provides the core and input method backend libraries. +%if %{with anthy} %package anthy Summary: Anthy module for m17n Requires: %{name}%{?_isa} = %{version}-%{release} %description anthy Anthy module for %{name} allows ja-anthy.mim to support input conversion. - +%endif %package devel Summary: Development files for %{name} @@ -80,6 +85,10 @@ make install DESTDIR=%{buildroot} INSTALL="install -p" # fix bug rh#680363 rm %{buildroot}%{_libdir}/m17n/1.0/libmimx-ispell.so +%if %{without anthy} +rm %{buildroot}%{_libdir}/m17n/1.0/libmimx-anthy.so +%endif + find %{buildroot} -name '*.la' -exec rm -f {} ';' %ldconfig_scriptlets @@ -98,8 +107,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-flt.so.* #Anthy module +%if %{with anthy} %files anthy %{_libdir}/m17n/1.0/libmimx-anthy.so +%endif %files devel %{_includedir}/* @@ -116,6 +127,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Fri Jun 04 2021 Parag Nemade - 1.8.0-10 +- Add conditional for anthy module subpackage + * Tue Jan 26 2021 Fedora Release Engineering - 1.8.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 07f20bc5900aecba1acdcaf9306798be3ab3ef7c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 13:35:20 +0000 Subject: [PATCH 13/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index 446666b..944beeb 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -7,7 +7,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Multilingual text library License: LGPLv2+ @@ -127,6 +127,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 1.8.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Parag Nemade - 1.8.0-10 - Add conditional for anthy module subpackage From a83bb4cdff667b0046a79d8212ac3159810e8c9c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 18:31:55 +0000 Subject: [PATCH 14/34] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index 944beeb..5163946 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -7,7 +7,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Multilingual text library License: LGPLv2+ @@ -127,6 +127,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 1.8.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 1.8.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From c7bb2ba9010736dfc71d5759115fbdb91926b367 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 20:20:31 +0000 Subject: [PATCH 15/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index 5163946..e82680e 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -7,7 +7,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Multilingual text library License: LGPLv2+ @@ -127,6 +127,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 1.8.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Thu Jan 20 2022 Fedora Release Engineering - 1.8.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 0f5ca7c163b85dd0087329072e7faecf36aad7a3 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 30 Nov 2022 15:15:13 +0100 Subject: [PATCH 16/34] Migrate license tag to SPDX --- m17n-lib.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index e82680e..22b4ff7 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -7,10 +7,10 @@ Name: m17n-lib Version: 1.8.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Multilingual text library -License: LGPLv2+ +License: LGPL-2.1-or-later 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 @@ -127,6 +127,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Wed Nov 30 2022 Mike FABIAN - 1.8.0-14 +- Migrate license tag to SPDX + * Thu Jul 21 2022 Fedora Release Engineering - 1.8.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 87605f31506689fb344376f92f1659192c5dcc20 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 18:46:43 +0000 Subject: [PATCH 17/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index 22b4ff7..2b18554 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -7,7 +7,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Multilingual text library License: LGPL-2.1-or-later @@ -127,6 +127,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 1.8.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Wed Nov 30 2022 Mike FABIAN - 1.8.0-14 - Migrate license tag to SPDX From 6735ce8eab3e1c8e918c1f787ae2a5ed21ec240f Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 25 Apr 2023 12:17:20 +0200 Subject: [PATCH 18/34] Fix C99 compatibility issue in example code Related to: --- m17n-lib-c99.patch | 15 +++++++++++++++ m17n-lib.spec | 6 +++++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 m17n-lib-c99.patch diff --git a/m17n-lib-c99.patch b/m17n-lib-c99.patch new file mode 100644 index 0000000..d8158c9 --- /dev/null +++ b/m17n-lib-c99.patch @@ -0,0 +1,15 @@ +Submitted upstream: + +diff --git a/example/medit.c b/example/medit.c +index e6a6dc8c108fe44f..f2b109db3e0e2b81 100644 +--- a/example/medit.c ++++ b/example/medit.c +@@ -662,7 +662,7 @@ static void MenuHelpProc (Widget, XEvent *, String *, Cardinal *); + off the current input method, otherwide turn on the input method + input_method_table[$IDX]. */ + void +-select_input_method (idx) ++select_input_method (int idx) + { + int previous_input_method = current_input_method; + diff --git a/m17n-lib.spec b/m17n-lib.spec index 2b18554..d5d712a 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -7,7 +7,7 @@ Name: m17n-lib Version: 1.8.0 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Multilingual text library License: LGPL-2.1-or-later @@ -15,6 +15,7 @@ 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 +Patch2: m17n-lib-c99.patch BuildRequires: make BuildRequires: m17n-db-devel libthai-devel @@ -127,6 +128,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Tue Apr 25 2023 Florian Weimer - 1.8.0-16 +- Fix C99 compatibility issue in example code + * Thu Jan 19 2023 Fedora Release Engineering - 1.8.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 9584f253e109626f399be8716a665e6e096ad5e7 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 4 May 2023 15:23:18 +0200 Subject: [PATCH 19/34] Update to 1.8.1 - Remove m17n-lib-c99.patch (included upstream) - Remove Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch (included upstream) --- .gitignore | 1 + ...7n-with-vi-telex-in-gedit-in-wayland.patch | 27 ------------------- m17n-lib-c99.patch | 15 ----------- m17n-lib.spec | 12 ++++++--- sources | 2 +- 5 files changed, 10 insertions(+), 47 deletions(-) delete mode 100644 Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch delete mode 100644 m17n-lib-c99.patch diff --git a/.gitignore b/.gitignore index 742086d..675c07f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ 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 diff --git a/Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch b/Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch deleted file mode 100644 index 3a25ea1..0000000 --- a/Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 4d815754f9f32c54ec47f9e323940f6332a7cb5d Mon Sep 17 00:00:00 2001 -From: Mike FABIAN -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 - diff --git a/m17n-lib-c99.patch b/m17n-lib-c99.patch deleted file mode 100644 index d8158c9..0000000 --- a/m17n-lib-c99.patch +++ /dev/null @@ -1,15 +0,0 @@ -Submitted upstream: - -diff --git a/example/medit.c b/example/medit.c -index e6a6dc8c108fe44f..f2b109db3e0e2b81 100644 ---- a/example/medit.c -+++ b/example/medit.c -@@ -662,7 +662,7 @@ static void MenuHelpProc (Widget, XEvent *, String *, Cardinal *); - off the current input method, otherwide turn on the input method - input_method_table[$IDX]. */ - void --select_input_method (idx) -+select_input_method (int idx) - { - int previous_input_method = current_input_method; - diff --git a/m17n-lib.spec b/m17n-lib.spec index d5d712a..edc65f6 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -6,16 +6,14 @@ %endif Name: m17n-lib -Version: 1.8.0 -Release: 16%{?dist} +Version: 1.8.1 +Release: 11%{?dist} Summary: Multilingual text library License: LGPL-2.1-or-later 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 -Patch2: m17n-lib-c99.patch BuildRequires: make BuildRequires: m17n-db-devel libthai-devel @@ -128,6 +126,12 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Fri May 05 2023 Mike FABIAN - 1.8.1-1 +- Update to 1.8.1 +- Remove m17n-lib-c99.patch (included upstream) +- Remove Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch + (included upstream) + * Tue Apr 25 2023 Florian Weimer - 1.8.0-16 - Fix C99 compatibility issue in example code diff --git a/sources b/sources index 9fbb7b6..d99b92e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (m17n-lib-1.8.0.tar.gz) = 8aba862888393232172c03cdf52531e29ea969c4327e6f69879ecf7438eafee32782f509ec292b3e1b7cd3202e2764984d7a59e85cdb87a7c8bfcbac5b0ee6fd +SHA512 (m17n-lib-1.8.1.tar.gz) = d8b97c0145ac9056b962c4ef6204bd9f1766487393def8b31d984199003ba984eb1312b84e2c74261cafee493c370c1676e79dbd850a77bbfb3392f4cd9db437 From cd5305a956f7df8d3db73998b12bb882488451e3 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 9 May 2023 20:00:46 +0200 Subject: [PATCH 20/34] 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 --- .gitignore | 1 + m17n-lib.spec | 14 +++++++++----- sources | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 675c07f..1cf883c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ m17n-lib-1.6.1.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 diff --git a/m17n-lib.spec b/m17n-lib.spec index edc65f6..dc113c5 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -6,8 +6,8 @@ %endif Name: m17n-lib -Version: 1.8.1 -Release: 11%{?dist} +Version: 1.8.2 +Release: 1%{?dist} Summary: Multilingual text library License: LGPL-2.1-or-later @@ -75,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" @@ -126,7 +125,12 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog -* Fri May 05 2023 Mike FABIAN - 1.8.1-1 +* Tue May 09 2023 Mike FABIAN - 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 m17n-lib-c99.patch (included upstream) - Remove Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch diff --git a/sources b/sources index d99b92e..51dfdc6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (m17n-lib-1.8.1.tar.gz) = d8b97c0145ac9056b962c4ef6204bd9f1766487393def8b31d984199003ba984eb1312b84e2c74261cafee493c370c1676e79dbd850a77bbfb3392f4cd9db437 +SHA512 (m17n-lib-1.8.2.tar.gz) = 715aae4ba64399021c5f29ae35af0ce872eaee23cd70a94726692e6cf9e591e9e6195cce305ad58c12aab756beb257113150e2adfb1e203b91ef3a06ac3424d0 From be93fcf175a4c8d77f7bf14d47270419b4d16a95 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 13:33:20 +0000 Subject: [PATCH 21/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index dc113c5..308b3bd 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -7,7 +7,7 @@ Name: m17n-lib Version: 1.8.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multilingual text library License: LGPL-2.1-or-later @@ -125,6 +125,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Thu Jul 20 2023 Fedora Release Engineering - 1.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Tue May 09 2023 Mike FABIAN - 1.8.2-1 - Update to 1.8.2 - Fix parallel builds by switching from absolute to relative paths From d012b71aeb70b53c910d094810dcebc729078875 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 25 Jul 2023 10:44:59 +0200 Subject: [PATCH 22/34] Update to 1.8.3 --- .gitignore | 1 + m17n-lib.spec | 8 ++++++-- sources | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1cf883c..392e33d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ m17n-lib-1.6.1.tar.gz /m17n-lib-1.8.0.tar.gz /m17n-lib-1.8.1.tar.gz /m17n-lib-1.8.2.tar.gz +/m17n-lib-1.8.3.tar.gz diff --git a/m17n-lib.spec b/m17n-lib.spec index 308b3bd..cadf49b 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -6,8 +6,8 @@ %endif Name: m17n-lib -Version: 1.8.2 -Release: 2%{?dist} +Version: 1.8.3 +Release: 1%{?dist} Summary: Multilingual text library License: LGPL-2.1-or-later @@ -125,6 +125,10 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Tue Jul 25 2023 Mike FABIAN - 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 - 1.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 51dfdc6..edead21 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (m17n-lib-1.8.2.tar.gz) = 715aae4ba64399021c5f29ae35af0ce872eaee23cd70a94726692e6cf9e591e9e6195cce305ad58c12aab756beb257113150e2adfb1e203b91ef3a06ac3424d0 +SHA512 (m17n-lib-1.8.3.tar.gz) = 3f162fded40b3c84fc112c265ebda7a11cf8c4010ec3506a3b20c5f014210914068d47e5338862e86e4d978ef89c6d09938ecf92b0e71a95f29a5f3681dd28b6 From 2b4a45fc87b5d2a7bb7997af05c685d95ac94036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Esser?= Date: Wed, 26 Jul 2023 09:40:31 +0200 Subject: [PATCH 23/34] Rebuild(libotf) --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index cadf49b..4c65b00 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -7,7 +7,7 @@ Name: m17n-lib Version: 1.8.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multilingual text library License: LGPL-2.1-or-later @@ -125,6 +125,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Wed Jul 26 2023 Björn Esser - 1.8.3-2 +- Rebuild(libotf) + * Tue Jul 25 2023 Mike FABIAN - 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 From 432d9711e8c7eaab98268ffed0b5d02b8611ed6c Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 23 Aug 2023 10:31:44 +0200 Subject: [PATCH 24/34] Update to 1.8.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixes “typedef in m17n-core.h causing error when compiling with C++ code” (Resolves: https://savannah.nongnu.org/bugs/index.php?64566) --- .gitignore | 1 + m17n-lib.spec | 9 +++++++-- sources | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 392e33d..86a0170 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ m17n-lib-1.6.1.tar.gz /m17n-lib-1.8.1.tar.gz /m17n-lib-1.8.2.tar.gz /m17n-lib-1.8.3.tar.gz +/m17n-lib-1.8.4.tar.gz diff --git a/m17n-lib.spec b/m17n-lib.spec index 4c65b00..f43bf72 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -6,8 +6,8 @@ %endif Name: m17n-lib -Version: 1.8.3 -Release: 2%{?dist} +Version: 1.8.4 +Release: 1%{?dist} Summary: Multilingual text library License: LGPL-2.1-or-later @@ -125,6 +125,11 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Wed Aug 23 2023 Mike FABIAN - 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 - 1.8.3-2 - Rebuild(libotf) diff --git a/sources b/sources index edead21..eb1e9ea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (m17n-lib-1.8.3.tar.gz) = 3f162fded40b3c84fc112c265ebda7a11cf8c4010ec3506a3b20c5f014210914068d47e5338862e86e4d978ef89c6d09938ecf92b0e71a95f29a5f3681dd28b6 +SHA512 (m17n-lib-1.8.4.tar.gz) = 7e322788aed8a758a8c289112433aabccd12dacf14b247ba9060503bcc44930c9251f0c4e718987b9a151de097e72bc1e07c8096f7f4ad83a7d7183a549721d6 From 5d8dab9efa9e9e513e3b84c94130bafc5f196cb5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 06:43:00 +0000 Subject: [PATCH 25/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index f43bf72..2f5ed93 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -7,7 +7,7 @@ Name: m17n-lib Version: 1.8.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Multilingual text library License: LGPL-2.1-or-later @@ -125,6 +125,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Sun Jan 21 2024 Fedora Release Engineering - 1.8.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Wed Aug 23 2023 Mike FABIAN - 1.8.4-1 - Update to 1.8.4 - Fixes “typedef in m17n-core.h causing error when compiling with C++ code” From b750709b2aca90f4f1d504077fc11e64d8514d83 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 05:34:12 +0000 Subject: [PATCH 26/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- m17n-lib.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m17n-lib.spec b/m17n-lib.spec index 2f5ed93..5d4b20f 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -7,7 +7,7 @@ Name: m17n-lib Version: 1.8.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Multilingual text library License: LGPL-2.1-or-later @@ -125,6 +125,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog +* Thu Jan 25 2024 Fedora Release Engineering - 1.8.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sun Jan 21 2024 Fedora Release Engineering - 1.8.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 47f97c458df52ccf6ad4d0279390469082dc6804 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 18 Jul 2024 10:56:00 +0200 Subject: [PATCH 27/34] Convert to rpm-autospec --- changelog | 280 +++++++++++++++++++++++++++++++++++++++++++++++++ m17n-lib.spec | 283 +------------------------------------------------- 2 files changed, 282 insertions(+), 281 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..c27694a --- /dev/null +++ b/changelog @@ -0,0 +1,280 @@ +* Thu Jan 25 2024 Fedora Release Engineering - 1.8.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 1.8.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Aug 23 2023 Mike FABIAN - 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 - 1.8.3-2 +- Rebuild(libotf) + +* Tue Jul 25 2023 Mike FABIAN - 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 - 1.8.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue May 09 2023 Mike FABIAN - 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 m17n-lib-c99.patch (included upstream) +- Remove Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch + (included upstream) + +* Tue Apr 25 2023 Florian Weimer - 1.8.0-16 +- Fix C99 compatibility issue in example code + +* Thu Jan 19 2023 Fedora Release Engineering - 1.8.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Nov 30 2022 Mike FABIAN - 1.8.0-14 +- Migrate license tag to SPDX + +* Thu Jul 21 2022 Fedora Release Engineering - 1.8.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 1.8.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.8.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri Jun 04 2021 Parag Nemade - 1.8.0-10 +- Add conditional for anthy module subpackage + +* Tue Jan 26 2021 Fedora Release Engineering - 1.8.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.8.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 1.8.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 1.8.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Apr 30 2019 Mike FABIAN - 1.8.0-5 +- Fix segmentation fault when using ibus-m17n with vi-telex in gedit in Gnome Wayland +- Resolves: rhbz#1704156 + +* Fri Feb 01 2019 Fedora Release Engineering - 1.8.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Mon Nov 26 2018 Parag Nemade - 1.8.0-3 +- Added Provides: bundled(gnulib) + +* Fri Jul 13 2018 Fedora Release Engineering - 1.8.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Feb 10 2018 Parag Nemade - 1.8.0-1 +- Update to 1.8.0 version (#1543670) + +* Thu Feb 08 2018 Fedora Release Engineering - 1.8.0-0.2.RC1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 03 2018 Parag Nemade - 1.8.0-0.1.RC1 +- Update to 1.8.0 (#1523968) + +* Thu Aug 03 2017 Fedora Release Engineering - 1.7.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.7.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.7.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.7.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Aug 26 2015 Mike FABIAN - 1.7.0-4 +- Fix "Transliteration not working on Marathi language" (it crashed). +- Resolves: rhbz#1256244 + +* Wed Jun 17 2015 Fedora Release Engineering - 1.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Feb 21 2015 Till Maas - 1.7.0-2 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Mon Dec 22 2014 Parag Nemade - 1.7.0-1 +- update to 1.7.0 +- Drop aarch64 patch and use autoreconf + +* Sun Aug 17 2014 Fedora Release Engineering - 1.6.4-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Thu Aug 07 2014 Parag Nemade - 1.6.4-12 +- Resolves:rh#1127583 - Add missing BuildRequires + +* Sat Jun 07 2014 Fedora Release Engineering - 1.6.4-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sat Aug 03 2013 Fedora Release Engineering - 1.6.4-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jun 11 2013 Remi Collet - 1.6.4-9 +- rebuild for new GD 2.1.0 + +* Sun Mar 24 2013 Parag Nemade - 1.6.4-8 +- Resolves:rh#926108 - Does not support aarch64 in f19 and rawhide + +* Thu Mar 14 2013 Hans de Goede - 1.6.4-7 +- Fix m17n-config not working on non x86_* archs (rh#921189) + +* Mon Mar 11 2013 Parag Nemade - 1.6.4-6 +- Resolves:rh#907488 - shell syntax error in m17n-config + +* Thu Feb 14 2013 Fedora Release Engineering - 1.6.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Nov 30 2012 Parag Nemade - 1.6.4-4 +- Resolves:rh#880957 - m17n-lib doesn't uninstall properly + +* Tue Nov 20 2012 Parag Nemade - 1.6.4-3 +- m17n-lib to own %%{_libdir}/m17n + +* Tue Nov 20 2012 Parag Nemade - 1.6.4-2 +- Resolves:rh#877925 - drop m17n-lib-flt provides +- Fix bogus date in %%changelog +- Make sure not to attempt to use parallel make as it fails the build + +* Tue Sep 18 2012 Parag Nemade - 1.6.4-1 +- update to 1.6.4 + +* Thu Jul 19 2012 Fedora Release Engineering - 1.6.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.6.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Oct 11 2011 Parag Nemade - 1.6.3-1 +- update to 1.6.3 + +* Tue Mar 22 2011 Parag Nemade - 1.6.2-3 +- Resolves: rh#680363 - Remove m17n-lib-ispell subpackage +- Resolves: rh#677866 - m17n*.pc reports wrong moduledir on x86_64 system + +* Tue Feb 08 2011 Fedora Release Engineering - 1.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Oct 06 2010 Parag Nemade - 1.6.2-1 +- update to new upstream release 1.6.2 + +* Mon Sep 13 2010 Parag Nemade - 1.6.1-5 +- Fix some packaging issue +- Change Requires: m17n-db-datafiles to m17n-db-extras + +* Fri Sep 10 2010 Daiki Ueno - 1.6.1-4 +- supply libotf cflags/libs manually, since the current libotf package + does not ship with "libotf-config" and m17n-lib cannot detect those + values +- fix paths for modules used by GUI support + +* Wed Aug 11 2010 Adam Jackson 1.6.1-3 +- Fix Obsoletes: so upgrades actually work (1.5.5-3 < 1.5.5-3.fc13) + +* Wed Jul 07 2010 Parag Nemade - 1.6.1-2 +- Resolves: rh#602029:-m17n-lib-devel multilib conflict +- Fix rpmlint rpath error. + +* Tue Apr 27 2010 Parag Nemade - 1.6.1-1 +- update to new upstream release 1.6.1 + +* Wed Apr 07 2010 Parag Nemade - 1.6.0-1 +- update to new upstream release 1.6.0 + +* Wed Dec 23 2009 Jens Petersen - 1.5.5-2 +- add bcond for otf, anthy, and gui +- subpackage flt for emacs, etc +- add subpackages for anthy and ispell modules +- disable new gui subpackage (and hence ispell) + +* Mon Aug 17 2009 Parag Nemade - 1.5.5-1 +- update to new upstream release 1.5.5 + +* Sat Jul 25 2009 Fedora Release Engineering - 1.5.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Mar 03 2009 Parag Nemade -1.5.4-1 +- Update to new upstream release 1.5.4 + +* Wed Feb 25 2009 Fedora Release Engineering - 1.5.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Oct 21 2008 Parag Nemade -1.5.3-1.fc10 +- Update to new upstream release 1.5.3 + +* Thu Jul 03 2008 Parag Nemade -1.5.2-1 +- Update to new upstream release 1.5.2 + +* Thu Feb 07 2008 Parag Nemade -1.5.1-1.fc9 +- Update to new upstream release 1.5.1 + +* Fri Dec 28 2007 Parag Nemade -1.5.0-1.fc9 +- Update to new upstream release 1.5.0 +- Added missing internal-flt.h file as Source1 + +* Wed Aug 22 2007 Parag Nemade - 1.4.0-2 +- rebuild against new rpm package +- update license tag + +* Thu Jul 19 2007 Jens Petersen +- buildrequire and require m17n-db >= 1.4.0 + +* Thu Jul 19 2007 Parag Nemade - 1.4.0-1 +- Updated to new upstream release 1.4.0 + +* Wed Jan 10 2007 Mayank Jain - 1.3.4-1.1.fc7 +- rebuild for m17n-lib-1.3.4 version +- Updated m17n-lib-nobuild-examples.patch + +* Wed Jul 12 2006 Jesse Keating - 1.3.3-1.1.fc6 +- rebuild + +* Wed Jul 12 2006 Mayank Jain - 1.3.3-1.fc6 +- Updated spec file for changes mentioned in RH bug 193524, comment 4 +- Thanks to Mamoru Tasaka + +* Thu Mar 2 2006 Jens Petersen - 1.3.3-1 +- update to 1.3.3 minor bugfix release + +* Fri Feb 10 2006 Jesse Keating - 1.3.2-1.1 +- bump again for double-long bug on ppc(64) + +* Fri Feb 10 2006 Jens Petersen - 1.3.2-1 +- update to 1.3.2 bugfix release + - m17n-lib-no-gui-headers.patch is now upstream + +* Tue Feb 07 2006 Jesse Keating - 1.3.1-1.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Thu Feb 2 2006 Jens Petersen - 1.3.1-1 +- update to 1.3.1 release + - rename use_otf and use_anthy macros to with_gui and with_examples + - build --with-gui=no and replace m17n-lib-1.2.0-core-libs-only.patch + with m17n-lib-no-gui-headers.patch and m17n-lib-nobuild-examples.patch + +* Fri Dec 16 2005 Jens Petersen - 1.2.0-2 +- import to Fedora Core +- buildrequire autoconf + +* Thu Nov 10 2005 Jens Petersen - 1.2.0-1 +- do not build static lib and .la files (Warren Togami) + +* Wed Oct 5 2005 Jens Petersen +- initial packaging for Fedora Extras + +* Sat Jan 15 2005 UTUMI Hirosi +- modify spec for fedora diff --git a/m17n-lib.spec b/m17n-lib.spec index 5d4b20f..7754ca5 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -7,7 +7,7 @@ Name: m17n-lib Version: 1.8.4 -Release: 3%{?dist} +Release: %autorelease Summary: Multilingual text library License: LGPL-2.1-or-later @@ -125,283 +125,4 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_libdir}/libm17n-gui.so.* %changelog -* Thu Jan 25 2024 Fedora Release Engineering - 1.8.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sun Jan 21 2024 Fedora Release Engineering - 1.8.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Wed Aug 23 2023 Mike FABIAN - 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 - 1.8.3-2 -- Rebuild(libotf) - -* Tue Jul 25 2023 Mike FABIAN - 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 - 1.8.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue May 09 2023 Mike FABIAN - 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 m17n-lib-c99.patch (included upstream) -- Remove Fix-segmentation-fault-when-using-ibus-m17n-with-vi-telex-in-gedit-in-wayland.patch - (included upstream) - -* Tue Apr 25 2023 Florian Weimer - 1.8.0-16 -- Fix C99 compatibility issue in example code - -* Thu Jan 19 2023 Fedora Release Engineering - 1.8.0-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Wed Nov 30 2022 Mike FABIAN - 1.8.0-14 -- Migrate license tag to SPDX - -* Thu Jul 21 2022 Fedora Release Engineering - 1.8.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jan 20 2022 Fedora Release Engineering - 1.8.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Jul 22 2021 Fedora Release Engineering - 1.8.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Parag Nemade - 1.8.0-10 -- Add conditional for anthy module subpackage - -* Tue Jan 26 2021 Fedora Release Engineering - 1.8.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 1.8.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jan 29 2020 Fedora Release Engineering - 1.8.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 1.8.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Tue Apr 30 2019 Mike FABIAN - 1.8.0-5 -- Fix segmentation fault when using ibus-m17n with vi-telex in gedit in Gnome Wayland -- Resolves: rhbz#1704156 - -* Fri Feb 01 2019 Fedora Release Engineering - 1.8.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Nov 26 2018 Parag Nemade - 1.8.0-3 -- Added Provides: bundled(gnulib) - -* Fri Jul 13 2018 Fedora Release Engineering - 1.8.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Sat Feb 10 2018 Parag Nemade - 1.8.0-1 -- Update to 1.8.0 version (#1543670) - -* Thu Feb 08 2018 Fedora Release Engineering - 1.8.0-0.2.RC1 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jan 03 2018 Parag Nemade - 1.8.0-0.1.RC1 -- Update to 1.8.0 (#1523968) - -* Thu Aug 03 2017 Fedora Release Engineering - 1.7.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.7.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 1.7.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 1.7.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Aug 26 2015 Mike FABIAN - 1.7.0-4 -- Fix "Transliteration not working on Marathi language" (it crashed). -- Resolves: rhbz#1256244 - -* Wed Jun 17 2015 Fedora Release Engineering - 1.7.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Feb 21 2015 Till Maas - 1.7.0-2 -- Rebuilt for Fedora 23 Change - https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code - -* Mon Dec 22 2014 Parag Nemade - 1.7.0-1 -- update to 1.7.0 -- Drop aarch64 patch and use autoreconf - -* Sun Aug 17 2014 Fedora Release Engineering - 1.6.4-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Thu Aug 07 2014 Parag Nemade - 1.6.4-12 -- Resolves:rh#1127583 - Add missing BuildRequires - -* Sat Jun 07 2014 Fedora Release Engineering - 1.6.4-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Aug 03 2013 Fedora Release Engineering - 1.6.4-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Tue Jun 11 2013 Remi Collet - 1.6.4-9 -- rebuild for new GD 2.1.0 - -* Sun Mar 24 2013 Parag Nemade - 1.6.4-8 -- Resolves:rh#926108 - Does not support aarch64 in f19 and rawhide - -* Thu Mar 14 2013 Hans de Goede - 1.6.4-7 -- Fix m17n-config not working on non x86_* archs (rh#921189) - -* Mon Mar 11 2013 Parag Nemade - 1.6.4-6 -- Resolves:rh#907488 - shell syntax error in m17n-config - -* Thu Feb 14 2013 Fedora Release Engineering - 1.6.4-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Fri Nov 30 2012 Parag Nemade - 1.6.4-4 -- Resolves:rh#880957 - m17n-lib doesn't uninstall properly - -* Tue Nov 20 2012 Parag Nemade - 1.6.4-3 -- m17n-lib to own %%{_libdir}/m17n - -* Tue Nov 20 2012 Parag Nemade - 1.6.4-2 -- Resolves:rh#877925 - drop m17n-lib-flt provides -- Fix bogus date in %%changelog -- Make sure not to attempt to use parallel make as it fails the build - -* Tue Sep 18 2012 Parag Nemade - 1.6.4-1 -- update to 1.6.4 - -* Thu Jul 19 2012 Fedora Release Engineering - 1.6.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Fri Jan 13 2012 Fedora Release Engineering - 1.6.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Oct 11 2011 Parag Nemade - 1.6.3-1 -- update to 1.6.3 - -* Tue Mar 22 2011 Parag Nemade - 1.6.2-3 -- Resolves: rh#680363 - Remove m17n-lib-ispell subpackage -- Resolves: rh#677866 - m17n*.pc reports wrong moduledir on x86_64 system - -* Tue Feb 08 2011 Fedora Release Engineering - 1.6.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Oct 06 2010 Parag Nemade - 1.6.2-1 -- update to new upstream release 1.6.2 - -* Mon Sep 13 2010 Parag Nemade - 1.6.1-5 -- Fix some packaging issue -- Change Requires: m17n-db-datafiles to m17n-db-extras - -* Fri Sep 10 2010 Daiki Ueno - 1.6.1-4 -- supply libotf cflags/libs manually, since the current libotf package - does not ship with "libotf-config" and m17n-lib cannot detect those - values -- fix paths for modules used by GUI support - -* Wed Aug 11 2010 Adam Jackson 1.6.1-3 -- Fix Obsoletes: so upgrades actually work (1.5.5-3 < 1.5.5-3.fc13) - -* Wed Jul 07 2010 Parag Nemade - 1.6.1-2 -- Resolves: rh#602029:-m17n-lib-devel multilib conflict -- Fix rpmlint rpath error. - -* Tue Apr 27 2010 Parag Nemade - 1.6.1-1 -- update to new upstream release 1.6.1 - -* Wed Apr 07 2010 Parag Nemade - 1.6.0-1 -- update to new upstream release 1.6.0 - -* Wed Dec 23 2009 Jens Petersen - 1.5.5-2 -- add bcond for otf, anthy, and gui -- subpackage flt for emacs, etc -- add subpackages for anthy and ispell modules -- disable new gui subpackage (and hence ispell) - -* Mon Aug 17 2009 Parag Nemade - 1.5.5-1 -- update to new upstream release 1.5.5 - -* Sat Jul 25 2009 Fedora Release Engineering - 1.5.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Tue Mar 03 2009 Parag Nemade -1.5.4-1 -- Update to new upstream release 1.5.4 - -* Wed Feb 25 2009 Fedora Release Engineering - 1.5.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Tue Oct 21 2008 Parag Nemade -1.5.3-1.fc10 -- Update to new upstream release 1.5.3 - -* Thu Jul 03 2008 Parag Nemade -1.5.2-1 -- Update to new upstream release 1.5.2 - -* Thu Feb 07 2008 Parag Nemade -1.5.1-1.fc9 -- Update to new upstream release 1.5.1 - -* Fri Dec 28 2007 Parag Nemade -1.5.0-1.fc9 -- Update to new upstream release 1.5.0 -- Added missing internal-flt.h file as Source1 - -* Wed Aug 22 2007 Parag Nemade - 1.4.0-2 -- rebuild against new rpm package -- update license tag - -* Thu Jul 19 2007 Jens Petersen -- buildrequire and require m17n-db >= 1.4.0 - -* Thu Jul 19 2007 Parag Nemade - 1.4.0-1 -- Updated to new upstream release 1.4.0 - -* Wed Jan 10 2007 Mayank Jain - 1.3.4-1.1.fc7 -- rebuild for m17n-lib-1.3.4 version -- Updated m17n-lib-nobuild-examples.patch - -* Wed Jul 12 2006 Jesse Keating - 1.3.3-1.1.fc6 -- rebuild - -* Wed Jul 12 2006 Mayank Jain - 1.3.3-1.fc6 -- Updated spec file for changes mentioned in RH bug 193524, comment 4 -- Thanks to Mamoru Tasaka - -* Thu Mar 2 2006 Jens Petersen - 1.3.3-1 -- update to 1.3.3 minor bugfix release - -* Fri Feb 10 2006 Jesse Keating - 1.3.2-1.1 -- bump again for double-long bug on ppc(64) - -* Fri Feb 10 2006 Jens Petersen - 1.3.2-1 -- update to 1.3.2 bugfix release - - m17n-lib-no-gui-headers.patch is now upstream - -* Tue Feb 07 2006 Jesse Keating - 1.3.1-1.1 -- rebuilt for new gcc4.1 snapshot and glibc changes - -* Thu Feb 2 2006 Jens Petersen - 1.3.1-1 -- update to 1.3.1 release - - rename use_otf and use_anthy macros to with_gui and with_examples - - build --with-gui=no and replace m17n-lib-1.2.0-core-libs-only.patch - with m17n-lib-no-gui-headers.patch and m17n-lib-nobuild-examples.patch - -* Fri Dec 16 2005 Jens Petersen - 1.2.0-2 -- import to Fedora Core -- buildrequire autoconf - -* Thu Nov 10 2005 Jens Petersen - 1.2.0-1 -- do not build static lib and .la files (Warren Togami) - -* Wed Oct 5 2005 Jens Petersen -- initial packaging for Fedora Extras - -* Sat Jan 15 2005 UTUMI Hirosi -- modify spec for fedora +%autochangelog From 4c29553301a3de7ee0ed4a04d7e983be81c0ad50 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Thu, 18 Jul 2024 11:00:57 +0200 Subject: [PATCH 28/34] Convert CI test to tmt --- .fmf/version | 1 + plans/basic.fmf | 5 +++ tests/{smoke => }/hello.txt | 0 tests/main.fmf | 15 +++++++++ tests/{smoke => }/old.png | Bin tests/runtest.sh | 60 ++++++++++++++++++++++++++++++++++++ tests/smoke/runtest.sh | 20 ------------ tests/tests.yml | 11 ------- 8 files changed, 81 insertions(+), 31 deletions(-) create mode 100644 .fmf/version create mode 100644 plans/basic.fmf rename tests/{smoke => }/hello.txt (100%) create mode 100644 tests/main.fmf rename tests/{smoke => }/old.png (100%) create mode 100755 tests/runtest.sh delete mode 100644 tests/smoke/runtest.sh delete mode 100644 tests/tests.yml diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/basic.fmf b/plans/basic.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/basic.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/tests/smoke/hello.txt b/tests/hello.txt similarity index 100% rename from tests/smoke/hello.txt rename to tests/hello.txt diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..f5d562e --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,15 @@ +test: ./runtest.sh +duration: 10m +framework: beakerlib +require: + - m17n-lib + - m17n-lib-devel + - m17n-lib-tools + - glibc-locale-source + - rpm-build + - autoconf + - automake + - libtool + - make + - gettext-devel + - gcc diff --git a/tests/smoke/old.png b/tests/old.png similarity index 100% rename from tests/smoke/old.png rename to tests/old.png diff --git a/tests/runtest.sh b/tests/runtest.sh new file mode 100755 index 0000000..8032650 --- /dev/null +++ b/tests/runtest.sh @@ -0,0 +1,60 @@ +#!/bin/bash +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +NAME=m17n-lib + +rlJournalStart + rlPhaseStartSetup + rlAssertRpm ${NAME} + rlAssertRpm ${NAME}-devel + rlAssertRpm glibc-locale-source + rlShowPackageVersion ${NAME} + rlRun -t -l "VERSION=$(rpm -q ${NAME} --queryformat='%{version}')" 0 "Get VERSION" + FEDORA_VERSION=$(rlGetDistroRelease) + rlLog "FEDORA_VERSION=${DISTRO_RELEASE}" + rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory" + rlRun "cp hello.txt old.png $tmp" 0 "Copy files needed for tests" + rlRun "pushd $tmp" + rlFetchSrcForInstalled "${NAME}" + rlRun "rpm --define '_topdir $tmp' -i *src.rpm" + rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory" + rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec" + if [ -d BUILD/${NAME}-${VERSION}-build ]; then + rlRun -t -l "pushd BUILD/${NAME}-${VERSION}-build/${NAME}-${VERSION}" + else + rlRun -t -l "pushd BUILD/${NAME}-${VERSION}" + fi + rlRun "set -o pipefail" + rlRun -t -l "./bootstrap.sh" + rlRun -t -l "./configure --prefix=/usr" + rlRun -t -l "make check" + rlPhaseEnd + + rlPhaseStartTest + rlRun "pushd $tmp" + rlGetTestState + rlLog "Number of failed asserts so far: ${ECODE}" + rlRun -t -l "OLD_SIZE=$(stat -c \"%s\" old.png)" \ + 0 "Get size of old.png" + rlLog "Old size is ${OLD_SIZE}" + rlRun -t -l "m17n-dump hello.txt" \ + 0 "Create a new png" + rlFileSubmit hello.txt.png + rlRun -t -l "NEW_SIZE=$(stat -c \"%s\" hello.txt.png)" \ + 0 "Get size of hello.txt.png" + rlLog "New size is ${NEW_SIZE}" + rlRun -t -l "file old.png hello.txt.png" \ + 0 "Log output of file command" + rlRun -t -l "echo $(fc-match)" \ + 0 "Show which font was used" + rlAssertGreater "New size should be greater than 1000" ${NEW_SIZE} 1000 + rlGetTestState + rlLog "Number of failed asserts so far: ${ECODE}" + rlRun "popd" 0 + rlPhaseEnd + + rlPhaseStartCleanup + rlRun "popd" + rlRun "rm -r $tmp" 0 "Remove tmp directory" + rlPhaseEnd +rlJournalEnd diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh deleted file mode 100644 index 1b982f5..0000000 --- a/tests/smoke/runtest.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# If one of the commands below returns non-zero then exit immediately -set -e - -echo "Testing m17n-dump tool" -old_size=`stat -c "%s" old.png` -echo "old_size is $old_size" - -m17n-dump hello.txt -new_size=`stat -c "%s" hello.txt.png` -echo "new_size is $new_size" -file old.png hello.txt.png -echo "Using font `fc-match`" - -if [ $old_size -ne $new_size ]; then - echo "m17n-dump generated different png file" -else - echo "m17n-dump generated same png file" -fi diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index 43337e6..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -- hosts: localhost - tags: - - classic - roles: - - role: standard-test-basic - tests: - - smoke - required_packages: - - m17n-lib-tools - - m17n-lib-devel From 64904c31f5ca66d94eed978e0d41cf967b3eb320 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 16:32:08 +0000 Subject: [PATCH 29/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 1cee685bd75e70acec5f08d2a207eab49f790e9f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 16:39:20 +0000 Subject: [PATCH 30/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From aeed128a117388dacf22ed9b07ee2a61f1d015ab Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 22 Jan 2025 11:39:22 +0100 Subject: [PATCH 31/34] Fix build on rawhide (F42) --- m17n-lib-1.8.4-fix-build.patch | 12 ++++++++++++ m17n-lib.spec | 1 + 2 files changed, 13 insertions(+) create mode 100644 m17n-lib-1.8.4-fix-build.patch diff --git a/m17n-lib-1.8.4-fix-build.patch b/m17n-lib-1.8.4-fix-build.patch new file mode 100644 index 0000000..2c63a6b --- /dev/null +++ b/m17n-lib-1.8.4-fix-build.patch @@ -0,0 +1,12 @@ +diff -ru m17n-lib-1.8.4.orig/example/medit.c m17n-lib-1.8.4/example/medit.c +--- m17n-lib-1.8.4.orig/example/medit.c 2023-06-29 15:51:21.000000000 +0200 ++++ m17n-lib-1.8.4/example/medit.c 2025-01-22 11:33:48.713029732 +0100 +@@ -1861,7 +1861,7 @@ + } + + MText * +-read_file () ++read_file (const char *filename) + { + FILE *fp = fopen (filename, "r"); + diff --git a/m17n-lib.spec b/m17n-lib.spec index 7754ca5..4a86817 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -14,6 +14,7 @@ License: LGPL-2.1-or-later 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: %{name}-1.8.4-fix-build.patch BuildRequires: make BuildRequires: m17n-db-devel libthai-devel From 0a384be7ba1c10d93d02259295e0f674b3cccbf1 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Sun, 9 Feb 2025 22:43:28 +0100 Subject: [PATCH 32/34] Update to 1.8.5 - Use UTF-8 instead of EUC-JP in example/mimx-anthy.c This fixes encoding problems when ja-anthy is used by ibus-m17n (m17n:ja:anthy - ja-anthy (m17n)) or by ibus-typing-booster. - Enable anthy-unicode (thanks to Takao Fujiwara ) - Fix build on Fedora rawhide (Fedora 42) (Now included in upstream tarball, remove patch) - configure.ac: fix incorrect bashism (thanks to Eli Schwartz ) --- .gitignore | 1 + m17n-lib-1.8.4-fix-build.patch | 12 ------------ m17n-lib.spec | 5 ++--- sources | 2 +- 4 files changed, 4 insertions(+), 16 deletions(-) delete mode 100644 m17n-lib-1.8.4-fix-build.patch diff --git a/.gitignore b/.gitignore index 86a0170..9bc4420 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ m17n-lib-1.6.1.tar.gz /m17n-lib-1.8.2.tar.gz /m17n-lib-1.8.3.tar.gz /m17n-lib-1.8.4.tar.gz +/m17n-lib-1.8.5.tar.gz diff --git a/m17n-lib-1.8.4-fix-build.patch b/m17n-lib-1.8.4-fix-build.patch deleted file mode 100644 index 2c63a6b..0000000 --- a/m17n-lib-1.8.4-fix-build.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru m17n-lib-1.8.4.orig/example/medit.c m17n-lib-1.8.4/example/medit.c ---- m17n-lib-1.8.4.orig/example/medit.c 2023-06-29 15:51:21.000000000 +0200 -+++ m17n-lib-1.8.4/example/medit.c 2025-01-22 11:33:48.713029732 +0100 -@@ -1861,7 +1861,7 @@ - } - - MText * --read_file () -+read_file (const char *filename) - { - FILE *fp = fopen (filename, "r"); - diff --git a/m17n-lib.spec b/m17n-lib.spec index 4a86817..c74e1e2 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -6,7 +6,7 @@ %endif Name: m17n-lib -Version: 1.8.4 +Version: 1.8.5 Release: %autorelease Summary: Multilingual text library @@ -14,7 +14,6 @@ License: LGPL-2.1-or-later 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: %{name}-1.8.4-fix-build.patch BuildRequires: make BuildRequires: m17n-db-devel libthai-devel @@ -30,7 +29,7 @@ BuildRequires: automake libtool Provides: bundled(gnulib) %if %{with anthy} -BuildRequires: anthy-devel +BuildRequires: anthy-unicode-devel %endif Requires: m17n-db diff --git a/sources b/sources index eb1e9ea..0005908 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (m17n-lib-1.8.4.tar.gz) = 7e322788aed8a758a8c289112433aabccd12dacf14b247ba9060503bcc44930c9251f0c4e718987b9a151de097e72bc1e07c8096f7f4ad83a7d7183a549721d6 +SHA512 (m17n-lib-1.8.5.tar.gz) = ac343e27df790161d9459bb0ef9827302cad6e1e291a5b245867d4bc93b2aa53faf5feb22af655de3402afda0665ac1d0ed0b765bd48c6bd458cea15dc325fc3 From 8e2fbedce473160492817555e48e0f5b18867113 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Tue, 3 Jun 2025 16:05:00 +0200 Subject: [PATCH 33/34] Update to 1.8.6 - Add m17n-input-test program (by David Mandelberg ) - input.c (regularize_action): Do not update the element of action_list if the element is a symbol that is defined as a variable (By K. Handa ). - Increment buffer index correctly in read_mtext_element () (Resolves: https://savannah.nongnu.org/bugs/index.php?67107) (by David Mandelberg ) - Simplify configure check for anthy/anthy-unicode --- .gitignore | 1 + m17n-lib.spec | 3 ++- sources | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9bc4420..0aba3eb 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ m17n-lib-1.6.1.tar.gz /m17n-lib-1.8.3.tar.gz /m17n-lib-1.8.4.tar.gz /m17n-lib-1.8.5.tar.gz +/m17n-lib-1.8.6.tar.gz diff --git a/m17n-lib.spec b/m17n-lib.spec index c74e1e2..58c646a 100644 --- a/m17n-lib.spec +++ b/m17n-lib.spec @@ -6,7 +6,7 @@ %endif Name: m17n-lib -Version: 1.8.5 +Version: 1.8.6 Release: %autorelease Summary: Multilingual text library @@ -120,6 +120,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_bindir}/m17n-dump %{_bindir}/m17n-edit %{_bindir}/m17n-view +%{_bindir}/m17n-input-test %{_libdir}/m17n/1.0/libm17n-X.so %{_libdir}/m17n/1.0/libm17n-gd.so %{_libdir}/libm17n-gui.so.* diff --git a/sources b/sources index 0005908..2a38cb9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (m17n-lib-1.8.5.tar.gz) = ac343e27df790161d9459bb0ef9827302cad6e1e291a5b245867d4bc93b2aa53faf5feb22af655de3402afda0665ac1d0ed0b765bd48c6bd458cea15dc325fc3 +SHA512 (m17n-lib-1.8.6.tar.gz) = 4fe3e9d2f88a90e8e9b30ee53a71612f937ab3d4c5243075f39de13818522e5c595840f67b3411b03d403affeafeb1802158b6ae8ddf80a1e695d1105b595a59 From aaf7d119d54ed71a5b612fe1ebdfcfddf5c2d510 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 21:09:52 +0000 Subject: [PATCH 34/34] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild