Compare commits

..

No commits in common. "311dfb03857eff1873825db9620030f65d8635d9" and "c1976d02156153f61c6c4ebed19fcc2479fade97" have entirely different histories.

4 changed files with 7 additions and 46 deletions

View File

@ -1,24 +0,0 @@
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,15 +1,13 @@
Name: leptonica
Version: 1.83.1
Release: 2
Version: 1.79.0
Release: 1
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 make
BuildRequires: gnuplot
%description
The library supports many operations that are useful on
* Document images
@ -50,7 +48,6 @@ 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
@ -60,7 +57,7 @@ make check VERBOSE=1
%files
%license leptonica-license.txt
%doc README.html version-notes.html
%{_libdir}/libleptonica.so.6*
%{_libdir}/liblept.so.5*
%files devel
%{_includedir}/%{name}
@ -74,18 +71,6 @@ 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/DanBloomberg/leptonica.git
git_url: https://github.com/danblommberg/leptonica.git
version_control: github
src_repo: DanBloomberg/leptonica
src_repo: danblommberg/leptonica
tag_prefix: "^"
separator: "."
seperator: "."