Hello community, here is the log from the commit of package poppler.1193 for openSUSE:12.2:Update checked in at 2013-01-02 09:24:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.2:Update/poppler.1193 (Old) and /work/SRC/openSUSE:12.2:Update/.poppler.1193.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "poppler.1193", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2012-12-21 01:49:00.356010756 +0100 +++ /work/SRC/openSUSE:12.2:Update/.poppler.1193.new/poppler-qt.changes 2013-01-02 09:24:29.000000000 +0100 @@ -0,0 +1,1610 @@ +------------------------------------------------------------------- +Sat Sep 29 16:11:04 UTC 2012 - zaitor@opensuse.org + +- Add poppler-fix-postscript-error-setprintermode.patch, fix + printing with postscript capable printers that fail in some cases + (bnc#774627). + +------------------------------------------------------------------- +Mon May 14 12:49:22 UTC 2012 - vuntz@opensuse.org + +- Change pkgconfig(lcms) to pkgconfig(lcms2) since poppler 0.20 now + supports lcms2. + +------------------------------------------------------------------- +Thu May 10 22:22:31 UTC 2012 - badshah400@gmail.com + +- Update to version 0.20.0: + + Core: + - Merge Xpdf 3.03 + - Annotation improvements + - CairoOutputDev: + . Fix regression caused by mesh gradients + . Use correct userfont font bbox (fdo#48399) + . Fix paintTransparencyGroup when both mask and fill opacity + are required (fdo#48453) + . Ensure 0 width lines with stroke_adjust are aligned + . Only align stroke coords for horizontal and vertical lines + (fdo#48318) + . Fix stroke pattern with transparency group (fdo#48468) + . Update cairo mesh pattern to 1.12 api + . Fix some transparency issues (fdo#47739) + . Fix regression in some shadings + . Avoid setting huge clip area when printing (fdo#44002) + . Fix test for rotation (fdo#14619) + . Don't read inline image streams twice (fdo#45668) + . Set mask matrix before drawing an image with a mask + (fdo#40828) + - SplashOutputDev: + . Implement Overprint + . Fix slow rendering of pdf with a lot of image masks in + pattern colorspace + . Fix rendering of knockout groups (fdo#12185) + . Fix cmyk transfer bug (fdo#49341) + - PSOutputDev: Implement Overprint + - TextOutputDev: Don't add newline to last line extracted by + TextSelectionDumper (fdo#45955) + - Add support for lcms2 + - More compatible file writing + - CJK font improvements + - ttc<->ttf fallback is expected for CJK font list in for + Windows (fdo#48046) + - Improve font matching for non embedded fonts + - Fix typos glyph names in truetype 'post' table standard mac + ordering + - Fix page labels to not have a null character at the end + - Fix logic error in Rendition parsing code (fdo#47063) + - Minor API changes to SplashOutputDev (fdo#46622) + - Expand glyph name ligatures such as "ff", "ffi" etc to + normal form (fdo#7002) + - Use an Identity CharCodeToUnicode for Adobe-Identity and + Adobe-UCS collections (fdo#35468) + - Update glyph names to Unicode values mapping (fdo#13131) + - Only use Hints table when there are no parse errors + (fdo#46459) + - Fix crash in JBIG2Stream decoding + - Fix crashes in broken documents + - Expose POPPLER_VERSION in poppler-config.h + - Reconstruct xref table if xref needed but missing + (fdo#40719) + - Fix getFullyQualifiedName with unicode field names + (fdo#49256) + - Bring back the Outputdev::begin/endMarkedContent virtuals + + Qt4: + - Annotations can now be modified/added/removed + - Form support improvements + - Support for LinkMovie object (fdo#40561) + - Support for Media Rendition + - Add the option of PSConverter creating EPS + - Convert propertly unicode encoded field qualified names + + Glib: + - Add poppler_fonts_iter_get_encoding + - Add poppler_fonts_iter_get_substitute_name + - Demo improvements + - Update gtk-doc makefile and m4 file + - Fix typos in documentation + - glib: Use delete[] to free array allocated with new[] + (fdo#48447) + + Utils: + - pdftohtml: + . Fix crash when the destination file does not exist + . Add producer and version to xml output + . Fix the mask inversion for PNG + . Extract mask images even if they are not JPEG (fdo#47186) + . Flip images if they need to (fdo#32340) + . Add possibilty of controlling word breaks percentage + (fdo#47022) + . Output images in -xml mode if no -i option is specified + . Get rid of static data members; merge duplicated jpeg + dumping code + . Be more consistent generating the outlines + . Generate outlines in pdftohtml in -xml mode (fdo#56993) + . Combine UTF16 surrogate pairs (fdo#46521) + - pdffonts: + . List the encoding of each font. (fdo#46888) + . Add -subst option to list the substitute font name and + filename + - pdfinfo: + . Report page rotation + . Decode utf-16 surrogate pairs + - pdftotext: Add missing section heading to man page + - pdftops: Fix -passfonts regression. (fdo#46744) + - pdftoppm: Allow one of -scale-to-[xy] = -1 to mean the + aspect ratio is to be preserved (fdo#43393) + - pdftocairo: Allow one of -scale-to-[xy] = -1 to mean the + aspect ratio is to be preserved + - pdfseparate: Produce PDF/X conformant pdf pages if the + original PDF was PDF/X conformant + - pdfimages: Add -list option to list all images (fdo#46066) + - Improve various manpages + + Build system: + - autotools: + . Do not append "-ansi" to CXXFLAG, if "-std=XXX" is already + specified. + . Do not clear FREETYPE_CFLAGS, FREETYPE_LIBS before + PKG_CHECK_MODULES() + . Copying graphics library CFLAGS to cpp frontend Makefile.am + . Print the cairo version required if not found (fdo#44619) + . Print the glib version required if not found + . Use pkgconfig to check for libopenjpeg (fdo#21789) + . Replace openjpeg compile test with a version test + - Minor cmake fixes + - Add a configuration option for the test data dir +- Updated sonames for shared libraries in keeping with upstream + package changes: poppler_soname is now 25, poppler_qt4_soname is + now 4. + +------------------------------------------------------------------- +Sun Mar 4 18:56:41 UTC 2012 - asterios.dramis@gmail.com + +- Enabled build requirement for openjpeg. + +------------------------------------------------------------------- +Thu Feb 16 09:05:41 UTC 2012 - vuntz@opensuse.org + +- Update to version 0.18.4: + + core: + - CairoOutputDev: + . Restore temporary clip used in CairoOutputDev::fill when + painting a mask + . Ensure paintTransparencyGroup uses same ctm as + beginTransparencyGroup (fdo#29968). + . Use fabs when comparing the transformed line width + (fdo#43441). + . Remove unused variable in CairoFontEngine.cc (fdo#45442). + - SplashOutputDev: Do not use 50Kb of stack in + SplashXPath::addCurve (fdo#44905). + - JpegWriter: set image parameters after jpeg_set_defaults() + (fdo#45224). + - OpenJPEG decoder: Set + OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG if you have it + (fdo#43414). + - Lexer: convert integer to real when overflow occurs + (fdo#45605). + + glib: + - Various minor introspection and documentation improvements + (fdo#44790). + - Fix return values (fdo#45440, fdo#45441). + - gtk-doc improvements (fdo#45549). + - Introspection improvements (fdo#45455). + + qt4: + - remove non-existing 'qt' include dirs + + utils: + - HtmlOutputDev: + . Proper unicode support when dumping PDF outline + (fdo#45572). + . Fix leaks (fdo#45805). + . Close li tags in generated outlines (fdo#45807). + - man pages: fix minor issues with hypens and % + + build system: + - automake: Link to lcms if needed + - automake: Fix build for builddir != srcdir (fdo#45434). + - automake: Improve moc detection when cross compiling + - Fix build with latest mingw-w64 headers (fdo#45407). + +------------------------------------------------------------------- +Mon Jan 16 13:20:26 UTC 2012 - vuntz@opensuse.org + +- Update to version 0.18.3: + + core: + - Do not fail if we are trying to save a file with Encrypt that + has not been modified (kde#288045) + - Include .otf fonts when finding substitute fonts (fdo#44412) + - Fix stack overflow in PDFDoc::markObject() (fdo#44660) + - Include strings.h as we use memcpy (fdo#43558) + + utils: + - pdfunite: Properly initialize globalParams (fdo#44659) + - pdfseparate: Properly initialize globalParams ++++ 1413 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.2:Update/.poppler.1193.new/poppler-qt.changes New Changes file: --- /dev/null 2012-12-21 01:49:00.356010756 +0100 +++ /work/SRC/openSUSE:12.2:Update/.poppler.1193.new/poppler.changes 2013-01-02 09:24:29.000000000 +0100 @@ -0,0 +1,1616 @@ +------------------------------------------------------------------- +Sat Dec 22 00:10:42 UTC 2012 - stefan.bruens@rwth-aachen.de + +- avoid division by zero when using origpagesizes option + (bnc#795582) + +------------------------------------------------------------------- +Sat Sep 29 16:11:04 UTC 2012 - zaitor@opensuse.org + +- Add poppler-fix-postscript-error-setprintermode.patch, fix + printing with postscript capable printers that fail in some cases + (bnc#774627). + +------------------------------------------------------------------- +Mon May 14 12:49:22 UTC 2012 - vuntz@opensuse.org + +- Change pkgconfig(lcms) to pkgconfig(lcms2) since poppler 0.20 now + supports lcms2. + +------------------------------------------------------------------- +Thu May 10 22:22:31 UTC 2012 - badshah400@gmail.com + +- Update to version 0.20.0: + + Core: + - Merge Xpdf 3.03 + - Annotation improvements + - CairoOutputDev: + . Fix regression caused by mesh gradients + . Use correct userfont font bbox (fdo#48399) + . Fix paintTransparencyGroup when both mask and fill opacity + are required (fdo#48453) + . Ensure 0 width lines with stroke_adjust are aligned + . Only align stroke coords for horizontal and vertical lines + (fdo#48318) + . Fix stroke pattern with transparency group (fdo#48468) + . Update cairo mesh pattern to 1.12 api + . Fix some transparency issues (fdo#47739) + . Fix regression in some shadings + . Avoid setting huge clip area when printing (fdo#44002) + . Fix test for rotation (fdo#14619) + . Don't read inline image streams twice (fdo#45668) + . Set mask matrix before drawing an image with a mask + (fdo#40828) + - SplashOutputDev: + . Implement Overprint + . Fix slow rendering of pdf with a lot of image masks in + pattern colorspace + . Fix rendering of knockout groups (fdo#12185) + . Fix cmyk transfer bug (fdo#49341) + - PSOutputDev: Implement Overprint + - TextOutputDev: Don't add newline to last line extracted by + TextSelectionDumper (fdo#45955) + - Add support for lcms2 + - More compatible file writing + - CJK font improvements + - ttc<->ttf fallback is expected for CJK font list in for + Windows (fdo#48046) + - Improve font matching for non embedded fonts + - Fix typos glyph names in truetype 'post' table standard mac + ordering + - Fix page labels to not have a null character at the end + - Fix logic error in Rendition parsing code (fdo#47063) + - Minor API changes to SplashOutputDev (fdo#46622) + - Expand glyph name ligatures such as "ff", "ffi" etc to + normal form (fdo#7002) + - Use an Identity CharCodeToUnicode for Adobe-Identity and + Adobe-UCS collections (fdo#35468) + - Update glyph names to Unicode values mapping (fdo#13131) + - Only use Hints table when there are no parse errors + (fdo#46459) + - Fix crash in JBIG2Stream decoding + - Fix crashes in broken documents + - Expose POPPLER_VERSION in poppler-config.h + - Reconstruct xref table if xref needed but missing + (fdo#40719) + - Fix getFullyQualifiedName with unicode field names + (fdo#49256) + - Bring back the Outputdev::begin/endMarkedContent virtuals + + Qt4: + - Annotations can now be modified/added/removed + - Form support improvements + - Support for LinkMovie object (fdo#40561) + - Support for Media Rendition + - Add the option of PSConverter creating EPS + - Convert propertly unicode encoded field qualified names + + Glib: + - Add poppler_fonts_iter_get_encoding + - Add poppler_fonts_iter_get_substitute_name + - Demo improvements + - Update gtk-doc makefile and m4 file + - Fix typos in documentation + - glib: Use delete[] to free array allocated with new[] + (fdo#48447) + + Utils: + - pdftohtml: + . Fix crash when the destination file does not exist + . Add producer and version to xml output + . Fix the mask inversion for PNG + . Extract mask images even if they are not JPEG (fdo#47186) + . Flip images if they need to (fdo#32340) + . Add possibilty of controlling word breaks percentage + (fdo#47022) + . Output images in -xml mode if no -i option is specified + . Get rid of static data members; merge duplicated jpeg + dumping code + . Be more consistent generating the outlines + . Generate outlines in pdftohtml in -xml mode (fdo#56993) + . Combine UTF16 surrogate pairs (fdo#46521) + - pdffonts: + . List the encoding of each font. (fdo#46888) + . Add -subst option to list the substitute font name and + filename + - pdfinfo: + . Report page rotation + . Decode utf-16 surrogate pairs + - pdftotext: Add missing section heading to man page + - pdftops: Fix -passfonts regression. (fdo#46744) + - pdftoppm: Allow one of -scale-to-[xy] = -1 to mean the + aspect ratio is to be preserved (fdo#43393) + - pdftocairo: Allow one of -scale-to-[xy] = -1 to mean the + aspect ratio is to be preserved + - pdfseparate: Produce PDF/X conformant pdf pages if the + original PDF was PDF/X conformant + - pdfimages: Add -list option to list all images (fdo#46066) + - Improve various manpages + + Build system: + - autotools: + . Do not append "-ansi" to CXXFLAG, if "-std=XXX" is already + specified. + . Do not clear FREETYPE_CFLAGS, FREETYPE_LIBS before + PKG_CHECK_MODULES() + . Copying graphics library CFLAGS to cpp frontend Makefile.am + . Print the cairo version required if not found (fdo#44619) + . Print the glib version required if not found + . Use pkgconfig to check for libopenjpeg (fdo#21789) + . Replace openjpeg compile test with a version test + - Minor cmake fixes + - Add a configuration option for the test data dir +- Updated sonames for shared libraries in keeping with upstream + package changes: poppler_soname is now 25, poppler_qt4_soname is + now 4. + +------------------------------------------------------------------- +Sun Mar 4 18:56:41 UTC 2012 - asterios.dramis@gmail.com + +- Enabled build requirement for openjpeg. + +------------------------------------------------------------------- +Thu Feb 16 09:05:41 UTC 2012 - vuntz@opensuse.org + +- Update to version 0.18.4: + + core: + - CairoOutputDev: + . Restore temporary clip used in CairoOutputDev::fill when + painting a mask + . Ensure paintTransparencyGroup uses same ctm as + beginTransparencyGroup (fdo#29968). + . Use fabs when comparing the transformed line width + (fdo#43441). + . Remove unused variable in CairoFontEngine.cc (fdo#45442). + - SplashOutputDev: Do not use 50Kb of stack in + SplashXPath::addCurve (fdo#44905). + - JpegWriter: set image parameters after jpeg_set_defaults() + (fdo#45224). + - OpenJPEG decoder: Set + OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG if you have it + (fdo#43414). + - Lexer: convert integer to real when overflow occurs + (fdo#45605). + + glib: + - Various minor introspection and documentation improvements + (fdo#44790). + - Fix return values (fdo#45440, fdo#45441). + - gtk-doc improvements (fdo#45549). + - Introspection improvements (fdo#45455). + + qt4: + - remove non-existing 'qt' include dirs + + utils: + - HtmlOutputDev: + . Proper unicode support when dumping PDF outline + (fdo#45572). + . Fix leaks (fdo#45805). + . Close li tags in generated outlines (fdo#45807). + - man pages: fix minor issues with hypens and % + + build system: + - automake: Link to lcms if needed + - automake: Fix build for builddir != srcdir (fdo#45434). + - automake: Improve moc detection when cross compiling + - Fix build with latest mingw-w64 headers (fdo#45407). + +------------------------------------------------------------------- +Mon Jan 16 13:20:26 UTC 2012 - vuntz@opensuse.org + +- Update to version 0.18.3: + + core: + - Do not fail if we are trying to save a file with Encrypt that + has not been modified (kde#288045) ++++ 1419 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.2:Update/.poppler.1193.new/poppler.changes New: ---- dcbc923bd3592a81876f84005fbaddcea18641cc.patch poppler-0.20.0.tar.gz poppler-fix-postscript-error-setprintermode.patch poppler-qt.changes poppler-qt.spec poppler.changes poppler.spec pre_checkin.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ poppler-qt.spec ++++++ # # spec file for package poppler-qt # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define build_qt 1 Name: poppler-qt %define _name poppler Version: 0.20.0 Release: 0 # Actual version of poppler-data: %define poppler_data_version 0.2.1 %define poppler_soname 25 %define poppler_cpp_soname 0 %define poppler_glib_soname 8 %define poppler_qt4_soname 4 %define poppler_api 0.18 %define poppler_apipkg 0_18 Url: http://poppler.freedesktop.org/ Summary: PDF Rendering Library License: GPL-2.0+ Group: System/Libraries Source: http://poppler.freedesktop.org/%{_name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM poppler-fix-postscript-error-setprintermode.patch bnc#774627 zaitor@opensuse.org -- Fix printing with postscript capable printers. Patch from upstream git. Patch0: poppler-fix-postscript-error-setprintermode.patch BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel %if %build_qt BuildRequires: libqt4-devel %endif %if 0%{?suse_version} > 1210 BuildRequires: openjpeg-devel %endif BuildRequires: update-desktop-files BuildRequires: zlib-devel BuildRequires: pkgconfig(cairo) >= 1.10.0 BuildRequires: pkgconfig(cairo-ft) >= 1.10.0 BuildRequires: pkgconfig(cairo-pdf) BuildRequires: pkgconfig(cairo-ps) BuildRequires: pkgconfig(cairo-svg) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gobject-2.0) >= 2.18 BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libpng) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler%{poppler_soname} Summary: PDF Rendering Library License: GPL-2.0 Group: System/Libraries Recommends: poppler-data >= %{poppler_data_version} # Last appeared in OpenSUSE 10.3: Provides: poppler = %{version} Obsoletes: poppler < %{version} %description -n libpoppler%{poppler_soname} Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-cpp%{poppler_cpp_soname} Summary: PDF Rendering Library License: GPL-2.0 Group: System/Libraries %description -n libpoppler-cpp%{poppler_cpp_soname} Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-glib%{poppler_glib_soname} Summary: PDF Rendering Library - GLib Wrapper License: GPL-2.0+ Group: System/Libraries Requires: libpoppler%{poppler_soname} >= %{version} # Last appeared in OpenSUSE 10.3: Provides: poppler-glib = %{version} Obsoletes: poppler-glib < %{version} %description -n libpoppler-glib%{poppler_glib_soname} Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n typelib-1_0-Poppler-%{poppler_apipkg} Summary: PDF Rendering Library - Introspection bindings License: GPL-2.0+ Group: System/Libraries %description -n typelib-1_0-Poppler-%{poppler_apipkg} Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. This package provides the GObject Introspection bindings for Poppler. %if %build_qt %package -n libpoppler-qt4-%{poppler_qt4_soname} Summary: PDF Rendering Library - Qt4 Wrapper License: GPL-2.0+ Group: System/Libraries Requires: libpoppler%{poppler_soname} >= %{version} # Last appeared in OpenSUSE 10.3: Provides: poppler-qt4 = %{version} Obsoletes: poppler-qt4 < %{version} %description -n libpoppler-qt4-%{poppler_qt4_soname} Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %endif %package tools Summary: PDF Rendering Library Tools License: GPL-2.0 Group: Productivity/Publishing/PDF Requires: libpoppler%{poppler_soname} >= %{version} # last version in openSUSE 11.1/SLE11 Provides: xpdf-tools = 3.02 Obsoletes: xpdf-tools < 3.02 Provides: pdftools_any %description tools Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-devel Summary: PDF rendering library License: GPL-2.0 Group: Development/Libraries/C and C++ Requires: libpoppler%{poppler_soname} = %{version} Requires: libstdc++-devel # Last appeared in OpenSUSE 10.3: Provides: poppler-devel = %{version} Obsoletes: poppler-devel < %{version} %description -n libpoppler-devel Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-glib-devel Summary: PDF rendering library - GLib Wrapper License: GPL-2.0 Group: Development/Libraries/C and C++ Requires: libpoppler-glib%{poppler_glib_soname} = %{version} Requires: typelib-1_0-Poppler-%{poppler_apipkg} = %{version} # Last appeared in OpenSUSE 10.3: Provides: poppler-devel:%{_libdir}/libpoppler-glib.so # Last appeared in 11.4 Provides: libpoppler-doc = %{version} Obsoletes: libpoppler-doc < %{version} # Last appeared in OpenSUSE 10.3: Provides: poppler-doc = %{version} Obsoletes: poppler-doc < %{version} %description -n libpoppler-glib-devel Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %if %build_qt %package -n libpoppler-qt4-devel Summary: PDF rendering library - Qt4 Wrapper License: GPL-2.0+ Group: Development/Libraries/C and C++ Requires: libpoppler-devel = %{version} Requires: libpoppler-qt4-%{poppler_qt4_soname} = %{version} Requires: libqt4-devel # Last appeared in OpenSUSE 10.3: Provides: poppler-devel:%{_libdir}/libpoppler-qt4.so %description -n libpoppler-qt4-devel Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %endif %prep %setup -q -n poppler-%{version} %patch0 -p1 %build %configure\ --enable-xpdf-headers\ --disable-static\ --enable-shared\ --enable-zlib \ --disable-gtk-test make %{?_smp_mflags} %install %makeinstall rm %{buildroot}%{_libdir}/*.la %if %build_qt cd %{buildroot} && find . -type f -o -type l | grep -v qt | xargs rm -v %endif %post -n libpoppler%{poppler_soname} -p /sbin/ldconfig %post -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig %if %build_qt %post -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig %endif %postun -n libpoppler%{poppler_soname} -p /sbin/ldconfig %postun -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig %post -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig %postun -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig %if %build_qt %postun -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig %endif %if %build_qt %files -n libpoppler-qt4-%{poppler_qt4_soname} %defattr (-, root, root) %{_libdir}/libpoppler-qt4.so.%{poppler_qt4_soname}* %files -n libpoppler-qt4-devel %defattr (-, root, root) %dir %{_includedir}/poppler %{_includedir}/poppler/qt4 %{_libdir}/libpoppler-qt4.so %{_libdir}/pkgconfig/poppler-qt4.pc %else %files -n libpoppler%{poppler_soname} %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README README-XPDF TODO %{_libdir}/libpoppler.so.%{poppler_soname}* %files -n libpoppler-glib%{poppler_glib_soname} %defattr (-, root, root) %{_libdir}/libpoppler-glib.so.%{poppler_glib_soname}* %files -n typelib-1_0-Poppler-%{poppler_apipkg} %defattr (-, root, root) %{_libdir}/girepository-1.0/Poppler-%{poppler_api}.typelib %files tools %defattr (-, root, root) %doc COPYING %{_bindir}/* %doc %{_mandir}/man1/*.* %files -n libpoppler-cpp%{poppler_cpp_soname} %defattr(-, root, root) %{_libdir}/libpoppler-cpp.so.%{poppler_cpp_soname}* %files -n libpoppler-devel %defattr (-, root, root) %{_includedir}/poppler %exclude %{_includedir}/poppler/glib %{_libdir}/libpoppler.so %{_libdir}/libpoppler-cpp.so %{_libdir}/pkgconfig/poppler.pc %{_libdir}/pkgconfig/poppler-cairo.pc %{_libdir}/pkgconfig/poppler-cpp.pc %{_libdir}/pkgconfig/poppler-splash.pc %files -n libpoppler-glib-devel %defattr (-, root, root) %{_includedir}/poppler/glib %{_libdir}/libpoppler-glib.so %{_libdir}/pkgconfig/poppler-glib.pc %{_datadir}/gir-1.0/Poppler-%{poppler_api}.gir %doc %{_datadir}/gtk-doc/html/poppler/ %endif %changelog ++++++ poppler.spec ++++++ # # spec file for package poppler # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define build_qt 0 Name: poppler %define _name poppler Version: 0.20.0 Release: 0 # Actual version of poppler-data: %define poppler_data_version 0.2.1 %define poppler_soname 25 %define poppler_cpp_soname 0 %define poppler_glib_soname 8 %define poppler_qt4_soname 4 %define poppler_api 0.18 %define poppler_apipkg 0_18 Url: http://poppler.freedesktop.org/ Summary: PDF Rendering Library License: GPL-2.0+ Group: System/Libraries Source: http://poppler.freedesktop.org/%{_name}-%{version}.tar.gz # PATCH-FIX-UPSTREAM poppler-fix-postscript-error-setprintermode.patch bnc#774627 zaitor@opensuse.org -- Fix printing with postscript capable printers. Patch from upstream git. Patch0: poppler-fix-postscript-error-setprintermode.patch # PATCH-FIX-UPSTREAM avoid division by zero when using origpagesizes Patch1: dcbc923bd3592a81876f84005fbaddcea18641cc.patch BuildRequires: gcc-c++ BuildRequires: gobject-introspection-devel BuildRequires: libjpeg-devel BuildRequires: libtiff-devel %if %build_qt BuildRequires: libqt4-devel %endif %if 0%{?suse_version} > 1210 BuildRequires: openjpeg-devel %endif BuildRequires: update-desktop-files BuildRequires: zlib-devel BuildRequires: pkgconfig(cairo) >= 1.10.0 BuildRequires: pkgconfig(cairo-ft) >= 1.10.0 BuildRequires: pkgconfig(cairo-pdf) BuildRequires: pkgconfig(cairo-ps) BuildRequires: pkgconfig(cairo-svg) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gobject-2.0) >= 2.18 BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libpng) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler%{poppler_soname} Summary: PDF Rendering Library License: GPL-2.0 Group: System/Libraries Recommends: poppler-data >= %{poppler_data_version} # Last appeared in OpenSUSE 10.3: Provides: poppler = %{version} Obsoletes: poppler < %{version} %description -n libpoppler%{poppler_soname} Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-cpp%{poppler_cpp_soname} Summary: PDF Rendering Library License: GPL-2.0 Group: System/Libraries %description -n libpoppler-cpp%{poppler_cpp_soname} Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-glib%{poppler_glib_soname} Summary: PDF Rendering Library - GLib Wrapper License: GPL-2.0+ Group: System/Libraries Requires: libpoppler%{poppler_soname} >= %{version} # Last appeared in OpenSUSE 10.3: Provides: poppler-glib = %{version} Obsoletes: poppler-glib < %{version} %description -n libpoppler-glib%{poppler_glib_soname} Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n typelib-1_0-Poppler-%{poppler_apipkg} Summary: PDF Rendering Library - Introspection bindings License: GPL-2.0+ Group: System/Libraries %description -n typelib-1_0-Poppler-%{poppler_apipkg} Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. This package provides the GObject Introspection bindings for Poppler. %if %build_qt %package -n libpoppler-qt4-%{poppler_qt4_soname} Summary: PDF Rendering Library - Qt4 Wrapper License: GPL-2.0+ Group: System/Libraries Requires: libpoppler%{poppler_soname} >= %{version} # Last appeared in OpenSUSE 10.3: Provides: poppler-qt4 = %{version} Obsoletes: poppler-qt4 < %{version} %description -n libpoppler-qt4-%{poppler_qt4_soname} Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %endif %package tools Summary: PDF Rendering Library Tools License: GPL-2.0 Group: Productivity/Publishing/PDF Requires: libpoppler%{poppler_soname} >= %{version} # last version in openSUSE 11.1/SLE11 Provides: xpdf-tools = 3.02 Obsoletes: xpdf-tools < 3.02 Provides: pdftools_any %description tools Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-devel Summary: PDF rendering library License: GPL-2.0 Group: Development/Libraries/C and C++ Requires: libpoppler%{poppler_soname} = %{version} Requires: libstdc++-devel # Last appeared in OpenSUSE 10.3: Provides: poppler-devel = %{version} Obsoletes: poppler-devel < %{version} %description -n libpoppler-devel Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-glib-devel Summary: PDF rendering library - GLib Wrapper License: GPL-2.0 Group: Development/Libraries/C and C++ Requires: libpoppler-glib%{poppler_glib_soname} = %{version} Requires: typelib-1_0-Poppler-%{poppler_apipkg} = %{version} # Last appeared in OpenSUSE 10.3: Provides: poppler-devel:%{_libdir}/libpoppler-glib.so # Last appeared in 11.4 Provides: libpoppler-doc = %{version} Obsoletes: libpoppler-doc < %{version} # Last appeared in OpenSUSE 10.3: Provides: poppler-doc = %{version} Obsoletes: poppler-doc < %{version} %description -n libpoppler-glib-devel Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %if %build_qt %package -n libpoppler-qt4-devel Summary: PDF rendering library - Qt4 Wrapper License: GPL-2.0+ Group: Development/Libraries/C and C++ Requires: libpoppler-devel = %{version} Requires: libpoppler-qt4-%{poppler_qt4_soname} = %{version} Requires: libqt4-devel # Last appeared in OpenSUSE 10.3: Provides: poppler-devel:%{_libdir}/libpoppler-qt4.so %description -n libpoppler-qt4-devel Poppler is a PDF rendering library, forked from the xpdf PDF viewer developed by Derek Noonburg of Glyph and Cog, LLC. %endif %prep %setup -q -n poppler-%{version} %patch0 -p1 %patch1 -p1 %build %configure\ --enable-xpdf-headers\ --disable-static\ --enable-shared\ --enable-zlib \ --disable-gtk-test make %{?_smp_mflags} %install %makeinstall rm %{buildroot}%{_libdir}/*.la %if %build_qt cd %{buildroot} && find . -type f -o -type l | grep -v qt | xargs rm -v %endif %post -n libpoppler%{poppler_soname} -p /sbin/ldconfig %post -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig %if %build_qt %post -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig %endif %postun -n libpoppler%{poppler_soname} -p /sbin/ldconfig %postun -n libpoppler-glib%{poppler_glib_soname} -p /sbin/ldconfig %post -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig %postun -n libpoppler-cpp%{poppler_cpp_soname} -p /sbin/ldconfig %if %build_qt %postun -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig %endif %if %build_qt %files -n libpoppler-qt4-%{poppler_qt4_soname} %defattr (-, root, root) %{_libdir}/libpoppler-qt4.so.%{poppler_qt4_soname}* %files -n libpoppler-qt4-devel %defattr (-, root, root) %dir %{_includedir}/poppler %{_includedir}/poppler/qt4 %{_libdir}/libpoppler-qt4.so %{_libdir}/pkgconfig/poppler-qt4.pc %else %files -n libpoppler%{poppler_soname} %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README README-XPDF TODO %{_libdir}/libpoppler.so.%{poppler_soname}* %files -n libpoppler-glib%{poppler_glib_soname} %defattr (-, root, root) %{_libdir}/libpoppler-glib.so.%{poppler_glib_soname}* %files -n typelib-1_0-Poppler-%{poppler_apipkg} %defattr (-, root, root) %{_libdir}/girepository-1.0/Poppler-%{poppler_api}.typelib %files tools %defattr (-, root, root) %doc COPYING %{_bindir}/* %doc %{_mandir}/man1/*.* %files -n libpoppler-cpp%{poppler_cpp_soname} %defattr(-, root, root) %{_libdir}/libpoppler-cpp.so.%{poppler_cpp_soname}* %files -n libpoppler-devel %defattr (-, root, root) %{_includedir}/poppler %exclude %{_includedir}/poppler/glib %{_libdir}/libpoppler.so %{_libdir}/libpoppler-cpp.so %{_libdir}/pkgconfig/poppler.pc %{_libdir}/pkgconfig/poppler-cairo.pc %{_libdir}/pkgconfig/poppler-cpp.pc %{_libdir}/pkgconfig/poppler-splash.pc %files -n libpoppler-glib-devel %defattr (-, root, root) %{_includedir}/poppler/glib %{_libdir}/libpoppler-glib.so %{_libdir}/pkgconfig/poppler-glib.pc %{_datadir}/gir-1.0/Poppler-%{poppler_api}.gir %doc %{_datadir}/gtk-doc/html/poppler/ %endif %changelog ++++++ dcbc923bd3592a81876f84005fbaddcea18641cc.patch ++++++
From dcbc923bd3592a81876f84005fbaddcea18641cc Mon Sep 17 00:00:00 2001 From: Thomas Freitag
Date: Sun, 22 Jul 2012 16:40:46 +0000 Subject: Make sure xScale and yScale are always initialized
Bug #52215 --- (limited to 'poppler/PSOutputDev.cc') diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc index a01a4b3..e15c2e9 100644 --- a/poppler/PSOutputDev.cc +++ b/poppler/PSOutputDev.cc @@ -3521,6 +3521,7 @@ void PSOutputDev::startPage(int pageNum, GfxState *state) { saveState(NULL); } + xScale = yScale = 1; switch (mode) { case psModePSOrigPageSizes: @@ -3631,8 +3632,6 @@ void PSOutputDev::startPage(int pageNum, GfxState *state) { } else { yScale = xScale; } - } else { - xScale = yScale = 1; } // deal with odd bounding boxes or clipping if (clipLLX0 < clipURX0 && clipLLY0 < clipURY0) { @@ -3694,7 +3693,6 @@ void PSOutputDev::startPage(int pageNum, GfxState *state) { if (tx != 0 || ty != 0) { writePSFmt("{0:.6g} {1:.6g} translate\n", tx, ty); } - xScale = yScale = 1; break; case psModeForm: @@ -3702,7 +3700,6 @@ void PSOutputDev::startPage(int pageNum, GfxState *state) { writePS("begin xpdf begin\n"); writePS("pdfStartPage\n"); tx = ty = 0; - xScale = yScale = 1; rotate = 0; break; } -- cgit v0.9.0.2-2-gbebe ++++++ poppler-fix-postscript-error-setprintermode.patch ++++++
From 92ef16e3699da949c80716c3fd4b438fe79c134d Mon Sep 17 00:00:00 2001 From: Thomas Freitag
Date: Sun, 10 Jun 2012 14:58:54 +0000 Subject: use setoverprintmode only if rip knows it
--- (limited to 'poppler/PSOutputDev.cc') diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc index dac10d0..c655652 100644 --- a/poppler/PSOutputDev.cc +++ b/poppler/PSOutputDev.cc @@ -258,7 +258,7 @@ static const char *prolog[] = { "} def", "~3n", "/opm { dup /pdfOPM exch def", - " setoverprintmode } def", + " /setoverprintmode where{pop setoverprintmode}{pop}ifelse } def", "~23n", "/cs { /pdfFillXform exch def dup /pdfFillCS exch def", " setcolorspace } def", @@ -292,7 +292,7 @@ static const char *prolog[] = { "} def", "~3s", "/opm { dup /pdfOPM exch def", - " setoverprintmode } def", + " /setoverprintmode where{pop setoverprintmode}{pop}ifelse } def", "~23s", "/k { 4 copy 4 array astore /pdfFill exch def setcmykcolor", " /pdfLastFill true def /pdfLastStroke false def } def", @@ -390,7 +390,7 @@ static const char *prolog[] = { "~3sn", " /pdfOPM where {", " pop", - " pdfOPM setoverprintmode", + " pdfOPM /setoverprintmode where{pop setoverprintmode}{pop}ifelse ", " } if", "~23sn", "} def", -- cgit v0.9.0.2-2-gbebe ++++++ pre_checkin.sh ++++++ #!/bin/sh sed -e 's,build_qt 0,build_qt 1,' poppler.spec > poppler-qt.spec sed -e 's,^Name:.*,Name: poppler-qt,' -i poppler-qt.spec cp poppler.changes poppler-qt.changes -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org