From 3070d581884de63cb8bfce2b1c8a8d970ff2a571 Mon Sep 17 00:00:00 2001 From: Marek Kasik Date: Fri, 22 Jan 2016 15:14:21 +0100 Subject: [PATCH] Update to 0.40.0 Resolves: #1251781 --- .gitignore | 1 + poppler-0.30.0-rotated-words-selection.patch | 6 +++--- poppler.spec | 8 ++++++-- sources | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index f917059..57e4d2b 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ /poppler-0.30.0.tar.xz /poppler-0.33.0.tar.xz /poppler-0.34.0.tar.xz +/poppler-0.40.0.tar.xz diff --git a/poppler-0.30.0-rotated-words-selection.patch b/poppler-0.30.0-rotated-words-selection.patch index 6b18058..d62fd51 100644 --- a/poppler-0.30.0-rotated-words-selection.patch +++ b/poppler-0.30.0-rotated-words-selection.patch @@ -26,9 +26,9 @@ index 7c2ca78..e93908c 100644 + ((x) < (a) && (x) < (b))) ? \ + gTrue : gFalse) + - //------------------------------------------------------------------------ - // TextUnderline - //------------------------------------------------------------------------ + static int reorderText(Unicode *text, int len, UnicodeMap *uMap, GBool primaryLR, GooString *s, Unicode* u) { + char lre[8], rle[8], popdf[8], buf[8]; + int lreLen = 0, rleLen = 0, popdfLen = 0, n; @@ -4411,11 +4417,37 @@ void TextSelectionSizer::visitLine (TextLine *line, PDFRectangle *rect; double x1, y1, x2, y2, margin; diff --git a/poppler.spec b/poppler.spec index de9f650..be60df4 100644 --- a/poppler.spec +++ b/poppler.spec @@ -1,6 +1,6 @@ Summary: PDF rendering library Name: poppler -Version: 0.34.0 +Version: 0.40.0 Release: 1%{?dist} License: (GPLv2 or GPLv3) and GPLv2+ and LGPLv2+ and MIT Group: Development/Libraries @@ -213,7 +213,7 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}" %files %defattr(-,root,root,-) %doc COPYING README -%{_libdir}/libpoppler.so.53* +%{_libdir}/libpoppler.so.58* %files devel %defattr(-,root,root,-) @@ -282,6 +282,10 @@ test "$(pkg-config --modversion poppler-splash)" = "%{version}" %changelog +* Fri Jan 22 2016 Marek Kasik - 0.40.0-1 +- Update to 0.40.0 +- Resolves: #1251781 + * Wed Jul 22 2015 Marek Kasik - 0.34.0-1 - Update to 0.34.0 - Resolves: #1241305 diff --git a/sources b/sources index 0f04d36..fb362df 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7d788f85bca1c03d71773af0b902e203 poppler-0.34.0.tar.xz +2fec3b2401a1722418b1f5bf64cd00cd poppler-0.40.0.tar.xz