From a7a2a3f9b0f1e963d758b7256d92eaa783b316b7 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 2 Feb 2017 15:02:20 +0100 Subject: [PATCH] Update to 0.9.5 --- .gitignore | 1 + podofo-0.9.4-intmax.patch | 28 ---------------------------- podofo.spec | 9 ++++++--- sources | 2 +- 4 files changed, 8 insertions(+), 32 deletions(-) delete mode 100644 podofo-0.9.4-intmax.patch diff --git a/.gitignore b/.gitignore index a1e01e0..db4a802 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ podofo-0.8.1.tar.gz /podofo-0.9.0.tar.gz /podofo-0.9.1.tar.gz /podofo-0.9.4.tar.gz +/podofo-0.9.5.tar.gz diff --git a/podofo-0.9.4-intmax.patch b/podofo-0.9.4-intmax.patch deleted file mode 100644 index ca691c5..0000000 --- a/podofo-0.9.4-intmax.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -rupN podofo-0.9.4/src/base/PdfMemoryManagement.h podofo-0.9.4-new/src/base/PdfMemoryManagement.h ---- podofo-0.9.4/src/base/PdfMemoryManagement.h 2016-05-13 16:04:34.000000000 +0200 -+++ podofo-0.9.4-new/src/base/PdfMemoryManagement.h 2016-09-23 20:19:54.435500447 +0200 -@@ -34,6 +34,10 @@ - #ifndef _PDF_MEMORY_MANAGEMENT_H_ - #define _PDF_MEMORY_MANAGEMENT_H_ - -+#ifndef __STDC_LIMIT_MACROS -+#define __STDC_LIMIT_MACROS -+#endif -+ - #include "PdfDefines.h" - #include - -diff -rupN podofo-0.9.4/src/base/PdfParser.h podofo-0.9.4-new/src/base/PdfParser.h ---- podofo-0.9.4/src/base/PdfParser.h 2016-05-08 19:03:27.000000000 +0200 -+++ podofo-0.9.4-new/src/base/PdfParser.h 2016-09-23 20:19:54.435500447 +0200 -@@ -34,6 +34,10 @@ - #ifndef _PDF_PARSER_H_ - #define _PDF_PARSER_H_ - -+#ifndef __STDC_LIMIT_MACROS -+#define __STDC_LIMIT_MACROS -+#endif -+ - #include "PdfDefines.h" - #include "PdfTokenizer.h" - #include "PdfVecObjects.h" diff --git a/podofo.spec b/podofo.spec index 81b0644..d96a7d2 100644 --- a/podofo.spec +++ b/podofo.spec @@ -1,5 +1,5 @@ Name: podofo -Version: 0.9.4 +Version: 0.9.5 Release: 1%{?dist} Summary: Tools and libraries to work with the PDF file format @@ -13,8 +13,6 @@ Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar. Patch0: podofo-0.9.4-freetype.patch # Fix build failure Patch1: podofo-0.9.4_build.patch -# Fix undefined INT_MAX -Patch2: podofo-0.9.4-intmax.patch BuildRequires: gcc-c++ %if %{?el7:1}%{!?el7:0} @@ -32,6 +30,7 @@ BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: libtiff-devel BuildRequires: lua-devel +BuildRequires: openssl-devel BuildRequires: texlive-epstopdf-bin BuildRequires: zlib-devel @@ -120,9 +119,13 @@ find doc/html -exec touch -r %{SOURCE0} {} \; %doc doc/html examples %{_includedir}/%{name} %{_libdir}/*.so +%{_libdir}/pkgconfig/lib%{name}-0.pc %changelog +* Thu Feb 02 2017 Sandro Mani - 0.9.5-1 +- Update to 0.9.5 + * Fri Sep 23 2016 Sandro Mani - 0.9.4-1 - Update to 0.9.4 diff --git a/sources b/sources index d224a09..dd53cf8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -929c9d2bd367fb6cb1f178cd4eb93dd3 podofo-0.9.4.tar.gz +SHA512 (podofo-0.9.5.tar.gz) = d13b30bfebc89b809173cd2251eed1f15dfa90abb58371bfdce875797d40663923571824ad2b0b1d97aa1be212bdbb710c3a0439bc05bed7022b8eb75ca74705