Update to 3.1.90

This commit is contained in:
Sandro Mani 2016-04-27 23:40:48 +02:00
parent 73133510c5
commit 973a757562
4 changed files with 29 additions and 37 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/gimagereader-3.1.tar.xz
/gimagereader-3.1.1.tar.xz
/gimagereader-3.1.2.tar.xz
/gimagereader-3.1.90.tar.xz

View File

@ -1,11 +0,0 @@
diff -rupN gimagereader-3.1.2/qt/src/Displayer.cc gimagereader-3.1.2-new/qt/src/Displayer.cc
--- gimagereader-3.1.2/qt/src/Displayer.cc 2015-06-30 17:36:39.000000000 +0200
+++ gimagereader-3.1.2-new/qt/src/Displayer.cc 2016-02-04 09:32:25.701479818 +0100
@@ -32,6 +32,7 @@
#include <QWheelEvent>
#include <tesseract/baseapi.h>
#include <cassert>
+#include <cmath>
class GraphicsScene : public QGraphicsScene

View File

@ -1,17 +1,16 @@
Name: gimagereader
Version: 3.1.2
Release: 5%{?dist}
Version: 3.1.90
Release: 1%{?dist}
Summary: A front-end to tesseract-ocr
License: GPLv3+
URL: https://github.com/manisandro/gimagereader
Source0: https://github.com/manisandro/gimagereader/releases/download/v%{version}/%{name}-%{version}.tar.xz
# Fix FTBFS
Patch0: ftbfs.patch
BuildRequires: cmake
BuildRequires: gtkmm30-devel
BuildRequires: gtkspellmm30-devel
BuildRequires: gtksourceviewmm3-devel
BuildRequires: cairomm-devel
BuildRequires: poppler-glib-devel
BuildRequires: tesseract-devel
@ -22,19 +21,20 @@ BuildRequires: libappstream-glib
BuildRequires: qt5-qtbase-devel
BuildRequires: qtspell-qt5-devel
BuildRequires: poppler-qt5-devel
BuildRequires: gtksourceviewmm3-devel
BuildRequires: json-glib-devel
BuildRequires: libxml++-devel
Requires: hicolor-icon-theme
%description
gImageReader is a simple front-end to tesseract. Features include:
- Automatic page layout detection
- User can manually define and adjust recognition regions
- Import images from disk, scanning devices, clipboard and screenshots
- Supports multipage PDF documents
- Import PDF documents and images from disk, scanning devices, clipboard and screenshots
- Process multiple images and documents in one go
- Manual or automatic recognition area definition
- Recognize to plain text or to hOCR documents
- Recognized text displayed directly next to the image
- Editing of output text, including search/replace and removing line breaks
- Spellchecking for output text (if corresponding dictionary installed)
- Post-process the recognized text, including spellchecking
- Generate PDF documents from hOCR documents
%package gtk
@ -44,13 +44,13 @@ Obsoletes: %{name} < 2.94-1
%description gtk
gImageReader is a simple front-end to tesseract. Features include:
- Automatic page layout detection
- User can manually define and adjust recognition regions
- Import images from disk, scanning devices, clipboard and screenshots
- Supports multipage PDF documents
- Import PDF documents and images from disk, scanning devices, clipboard and screenshots
- Process multiple images and documents in one go
- Manual or automatic recognition area definition
- Recognize to plain text or to hOCR documents
- Recognized text displayed directly next to the image
- Editing of output text, including search/replace and removing line breaks
- Spellchecking for output text (if corresponding dictionary installed)
- Post-process the recognized text, including spellchecking
- Generate PDF documents from hOCR documents
This package contains the Gtk+ front-end.
@ -60,13 +60,13 @@ Requires: %{name}-common = %{version}-%{release}
%description qt
gImageReader is a simple front-end to tesseract. Features include:
- Automatic page layout detection
- User can manually define and adjust recognition regions
- Import images from disk, scanning devices, clipboard and screenshots
- Supports multipage PDF documents
- Import PDF documents and images from disk, scanning devices, clipboard and screenshots
- Process multiple images and documents in one go
- Manual or automatic recognition area definition
- Recognize to plain text or to hOCR documents
- Recognized text displayed directly next to the image
- Editing of output text, including search/replace and removing line breaks
- Spellchecking for output text (if corresponding dictionary installed)
- Post-process the recognized text, including spellchecking
- Generate PDF documents from hOCR documents
This package contains the Qt front-end.
%package common
@ -79,7 +79,6 @@ Common files for %{name}.
%prep
%setup -q
%patch0 -p1
%build
@ -144,7 +143,7 @@ fi
%files common -f %{name}.lang
%license COPYING
%doc AUTHORS ChangeLog NEWS README TODO
%doc AUTHORS ChangeLog NEWS README
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
@ -162,6 +161,9 @@ fi
%{_datadir}/applications/%{name}-qt5.desktop
%changelog
* Thu Apr 28 2016 Sandro Mani <manisandro@gmail.com> - 3.1.90-1
- Update to 3.1.90
* Thu Feb 04 2016 Sandro Mani <manisandro@gmail.com> - 3.1.2-5
- Add patch to fix FTBFS

View File

@ -1 +1 @@
131304714f4f2c1042d442388bceb8d4 gimagereader-3.1.2.tar.xz
2a4159745c976b7768098dd7c317fcb4 gimagereader-3.1.90.tar.xz