Compare commits
10 Commits
c1976d0215
...
311dfb0385
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
311dfb0385 | ||
|
|
354aa331a2 | ||
|
|
daafdfb36e | ||
|
|
f0c504f9a4 | ||
|
|
8c96c13392 | ||
|
|
d8fbcb69f7 | ||
|
|
0b99591db7 | ||
|
|
0ec8256091 | ||
|
|
28a27e49a9 | ||
|
|
fb42ea6477 |
24
add-pix_internal.h-to-alltypes.h.patch
Normal file
24
add-pix_internal.h-to-alltypes.h.patch
Normal 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
|
||||
|
||||
Binary file not shown.
@ -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
|
||||
|
||||
|
||||
@ -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: "."
|
||||
Loading…
x
Reference in New Issue
Block a user