!7 update to 2.5.9
From: @wk333 Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
58e7d3b5c2
@ -1,50 +0,0 @@
|
|||||||
From 99f5259cf419c53c805c856ff59f28ce916e4743 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jeremy Linton <jeremy.linton@arm.com>
|
|
||||||
Date: Mon, 21 May 2018 16:00:59 -0500
|
|
||||||
Subject: [PATCH] Remove compressed image test
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
The binary representation of a compressed block of data
|
|
||||||
can vary depending on small implementation details in the
|
|
||||||
compression library. Lets depend on the tests following
|
|
||||||
the binary image comparison to decompress the .tec file
|
|
||||||
and validate that the compress/decompress logic is functional.
|
|
||||||
|
|
||||||
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
|
|
||||||
Petr Písař: Ported to 2.5.7 from 99f5259cf419c53c805c856ff59f28ce916e4743.
|
|
||||||
---
|
|
||||||
test/Makefile.am | 1 -
|
|
||||||
test/dotests.pl | 4 +++-
|
|
||||||
|
|
||||||
diff --git a/test/Makefile.am b/test/Makefile.am
|
|
||||||
index 009b736..53d5198 100644
|
|
||||||
--- a/test/Makefile.am
|
|
||||||
+++ b/test/Makefile.am
|
|
||||||
@@ -7,7 +7,6 @@ check_DATA += mrk.sf.legacy.txt.orig
|
|
||||||
check_DATA += mrk.txt
|
|
||||||
check_DATA += NormalizationTest.txt
|
|
||||||
check_DATA += SILGreek2004-04-27.map
|
|
||||||
-check_DATA += SILGreek2004-04-27.tec.orig
|
|
||||||
check_DATA += SILGreek2004-04-27.uncompressed.tec.orig
|
|
||||||
check_DATA += academy.tec
|
|
||||||
check_DATA += silipa93.tec
|
|
||||||
diff --git a/test/dotests.pl b/test/dotests.pl
|
|
||||||
index d8cc426..aa27401 100755
|
|
||||||
--- a/test/dotests.pl
|
|
||||||
+++ b/test/dotests.pl
|
|
||||||
@@ -41,7 +41,9 @@ compare("${srcdir}SILGreek2004-04-27.uncompressed.tec.orig", "SILGreek.uncompres
|
|
||||||
dotest("compiling Greek mapping (compressed)",
|
|
||||||
"${bindir}teckit_compile ${srcdir}SILGreek2004-04-27.map -o SILGreek.tec");
|
|
||||||
|
|
||||||
-compare("${srcdir}SILGreek2004-04-27.tec.orig", "SILGreek.tec");
|
|
||||||
+# Don't bother to check the compressed file as changes to the compression library can
|
|
||||||
+# slightly change the resulting image. The tests below which use the compressed file
|
|
||||||
+# should be sufficient to verify that it can be decompressed/used properly
|
|
||||||
|
|
||||||
dotest("converting plain-text file to unicode",
|
|
||||||
"${bindir}txtconv -t SILGreek.tec -i ${srcdir}mrk.txt -o mrk.utf8.txt -nfc");
|
|
||||||
--
|
|
||||||
2.21.0
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
teckit-2.5.9.tar.gz
Normal file
BIN
teckit-2.5.9.tar.gz
Normal file
Binary file not shown.
@ -1,13 +1,12 @@
|
|||||||
Name: teckit
|
Name: teckit
|
||||||
Version: 2.5.7
|
Version: 2.5.9
|
||||||
Release: 6
|
Release: 1
|
||||||
Summary: A library and compiler for mapping and transposition
|
Summary: A library and compiler for mapping and transposition
|
||||||
License: LGPLv2+ or CPL
|
License: LGPLv2+ or CPL
|
||||||
URL: https://github.com/silnrsi/teckit
|
URL: https://github.com/silnrsi/teckit
|
||||||
Source0: https://github.com/silnrsi/teckit/releases/download/v%{version}/teckit-%{version}.tar.gz
|
Source0: https://github.com/silnrsi/teckit/releases/download/v%{version}/teckit-%{version}.tar.gz
|
||||||
BuildRequires: expat-devel zlib-devel libtool gcc-c++ chrpath
|
BuildRequires: expat-devel zlib-devel libtool gcc-c++ chrpath
|
||||||
Patch0000: TECkit_2_5_1-includes.patch
|
Patch0000: TECkit_2_5_1-includes.patch
|
||||||
Patch0001: teckit-2.5.7-Remove-compressed-image-test.patch
|
|
||||||
%description
|
%description
|
||||||
Resort to this library dedicated to encoding conversions and make sure
|
Resort to this library dedicated to encoding conversions and make sure
|
||||||
the development and testing of mapping tables raises no issues whatsoever.
|
the development and testing of mapping tables raises no issues whatsoever.
|
||||||
@ -66,6 +65,9 @@ make check
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Oct 20 2022 caodongxia <caodongxia@h-partners.com> - 2.5.9-1
|
||||||
|
- Upgrade to version 2.5.9
|
||||||
|
|
||||||
* Thu Sep 09 2021 sunguoshuai <sunguoshuai@huawei.com> - 2.5.7-6
|
* Thu Sep 09 2021 sunguoshuai <sunguoshuai@huawei.com> - 2.5.7-6
|
||||||
- del rpath in some binaries
|
- del rpath in some binaries
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user