Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
311dfb0385
!20 add pix_internal.h to alltypes.h
From: @peijiankang 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-09-26 03:04:25 +00:00
peijiankang
354aa331a2 add pix_internal.h to alltypes.h 2023-09-26 09:49:17 +08:00
openeuler-ci-bot
daafdfb36e
!19 Update to 1.83.1
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-08-22 09:30:49 +00:00
lyn1001
f0c504f9a4 Update to 1.83.1 2023-08-22 15:58:04 +08:00
openeuler-ci-bot
8c96c13392
!12 CVE-2022-38266
From: @phluo 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-02-27 09:51:32 +00:00
phluo
d8fbcb69f7 Fix CVE-2022-38266 2023-02-27 17:13:10 +08:00
openeuler-ci-bot
0b99591db7 !11 【轻量级 PR】:修正yaml
Merge pull request !11 from Monday/N/A
2021-12-18 02:42:39 +00:00
Monday
0ec8256091
修正yaml 2021-12-15 02:12:07 +00:00
openeuler-ci-bot
28a27e49a9 !5 fix CVE-2020-36277 CVE-2020-36278 CVE-2020-36279 CVE-2020-36280 CVE-2020-36281
From: @starlet-dx
Reviewed-by: @miao_kaibo
Signed-off-by: @miao_kaibo
2021-08-12 10:06:56 +00:00
starlet_dx
fb42ea6477 fix CVE-2020-36277 CVE-2020-36278 CVE-2020-36279 CVE-2020-36280 CVE-2020-36281 2021-08-12 16:34:22 +08:00
4 changed files with 46 additions and 7 deletions

View File

@ -0,0 +1,24 @@
From b9b46c91092627085936660f4fb32691fbce166a Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Tue, 26 Sep 2023 09:46:28 +0800
Subject: [PATCH] add pix_internal.h to alltypes.h
---
src/alltypes.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/alltypes.h b/src/alltypes.h
index f3a3823..1fd0ae3 100644
--- a/src/alltypes.h
+++ b/src/alltypes.h
@@ -58,6 +58,7 @@
#include "jbclass.h"
#include "morph.h"
#include "pix.h"
+#include "pix_internal.h"
#include "recog.h"
#include "regutils.h"
#include "stringcode.h"
--
2.41.0

View File

@ -1,13 +1,15 @@
Name: leptonica
Version: 1.79.0
Release: 1
Version: 1.83.1
Release: 2
Summary: C library for efficient image processing and image analysis operations
License: Leptonica
URL: https://github.com/danbloomberg/leptonica
Source0: https://github.com/DanBloomberg/leptonica/archive/%{version}/%{name}-%{version}.tar.gz
Patch0: add-pix_internal.h-to-alltypes.h.patch
BuildRequires: gcc automake autoconf libtool giflib-devel libjpeg-devel libpng-devel
BuildRequires: libtiff-devel libwebp-devel zlib-devel
BuildRequires: gnuplot
BuildRequires: gnuplot make
%description
The library supports many operations that are useful on
* Document images
@ -48,6 +50,7 @@ autoreconf -ifv
%install
%make_install
ln -s %{_libdir}/libleptonica.so %{buildroot}%{_libdir}/liblept.so
rm -f %{buildroot}%{_libdir}/*.la
install -Dpm 0644 lept.pc %{buildroot}/%{_libdir}/pkgconfig
@ -57,7 +60,7 @@ make check VERBOSE=1
%files
%license leptonica-license.txt
%doc README.html version-notes.html
%{_libdir}/liblept.so.5*
%{_libdir}/libleptonica.so.6*
%files devel
%{_includedir}/%{name}
@ -71,6 +74,18 @@ make check VERBOSE=1
%{_bindir}/*
%changelog
* Tue Sep 26 2023 peijiankang <peijiankang@kylinos.cn> - 1.83.1-2
- add add-pix_internal.h-to-alltypes.h.patch
* Tue Aug 22 2023 liyanan <thistleslyn@163.com> - 1.83.1-1
- Update to 1.83.1
* Mon Feb 27 2023 luopihui <luopihui@ncti-gba.cn> - 1.79.0-3
- Fix CVE-2022-38266
* Thu Aug 12 2021 yaoxin <yaoxin30@huawei.com> - 1.79.0-2
- Fix CVE-2020-36277 CVE-2020-36278 CVE-2020-36279 CVE-2020-36280 CVE-2020-36281
* Thu May 6 2021 baizhonggui <baizhonggui@huawei.com> - 1.79.0-1
- update to 1.79.0

View File

@ -1,5 +1,5 @@
git_url: https://github.com/danblommberg/leptonica.git
git_url: https://github.com/DanBloomberg/leptonica.git
version_control: github
src_repo: danblommberg/leptonica
src_repo: DanBloomberg/leptonica
tag_prefix: "^"
seperator: "."
separator: "."