Hello community, here is the log from the commit of package poppler for openSUSE:Factory checked in at Mon Sep 19 21:25:21 CEST 2011.
-------- --- GNOME/poppler/poppler-qt.changes 2011-05-23 14:29:20.000000000 +0200 +++ /mounts/work_src_done/STABLE/poppler/poppler-qt.changes 2011-09-16 12:52:49.000000000 +0200 @@ -1,0 +2,175 @@ +Fri Sep 16 10:51:18 UTC 2011 - [email protected] + +- Update to version 0.17.4: + + core: + - SplashOutputDev: Compile when defining USE_FIXEDPOINT + - PNGWriter: Compile with libpng >= 1.5.0 + +------------------------------------------------------------------- +Sat Sep 10 06:35:05 UTC 2011 - [email protected] + +- Update to version 0.17.3: + + core: + - PSOutputDev: + . Use Patterns for tiling fill when PS level >= 2 + . Avoid using /PatternType if only one instance of the + pattern is used + . Add poppler version as comment in the file + - CairoOutputDev: + . Set mime data for soft masked images (fdo#40192) + . Assume printer pixel size is 1/600" when stroking 0 width + lines (fdo#39067) + . Use cairo_show_text_glyphs() when printing + . Fix stroke patterns (fdo#11719) + . Fix unique id mime data + . Fix stroking of very thin lines + . Align strokes when Stroke Adjust is true and line + width <= 1 (fdo#4536) + - TextOutputDev: Add TextFontInfo::matches() + - Improve PNGWriter + - Rework writing of PDF files + + utils: + - Introduce pdftocairo: utility for creating + png/jpeg/ps/eps/pdf/svg using CairoOutputDev + - Introduce pdfextract: utility to extract PDF pages + - Introduce pdfmerge: utility to merge PDF files + - Fix compilation warning + - pdftohtml: Support text rotation (fdo#38586) + - Update SEE ALSO section of man pages + + glib: + - Add poppler_page_get_text_attributes() + - Add text attributes information to text demo + + qt4: + - Add a way to get the fully qualified name of a FormField + - Minor documentation improvements +- Changes from version 0.17.2: + + core: + - EmbeddedFile improvements + - Don't gmalloc(-1) upon ftell failure + - Fix missing content in some pages (fdo#39637) + - Improve selection of CJK fonts (fdo#36474) + - SplashOutputDev: + . Implement overprint + . Render dots for 0 length dashed lines (fdo#34150) + . Fix bad memory access when not using antialias (fdo#37189) + - PSOutputDev: + . Make level2sep and level3sep write cmyk instead of rgb + . Make level1sep, level2sep and level3sep write gray instead + of rgb for gray images + - Fix numerical overflow in libopenjpeg JPXStream (fdo#39361) + - Fix crash on truncated JPEG/DCT stream (fdo#36693) + - Make sure the dict is a page dict (fdo#35925, fdo#39072) + - Fix calculation of startXRefPos + - Handle missing startxref properly (fdo#38209) + - Parse the "Medium" modifier when asking fontconfig for a font + - Header cleanup + - Include cleanup + - Define cleanup + + glib: + - Add missing permissions flags to PopplerPermissions + - Add missing permission flags to info demo + - Update gtk-doc.make + - Add poppler_document_get_n_attachments() + + utils: + - pdftohtml: + . Fix encoding of PDF document metadata (fdo#37900) + . Fix vertical spacing issues (fdo#38019) + - pdftotext: Fix -htmlmeta to correctly output U+2019 in PDF + metadata (fdo#37900) + - pdftoppm: Implement overprint + + qt4: + - Rework EmbeddedFile internals + - Fix possible crash in test +- Changes from version 0.17.1: + + core: + - Rework the way form fields tree is built + - Cleanup unused parameters/variables + + glib: + - Add JavaScript actions + - demo: Show javascript actions in actions view + + qt4: + - tests: Turn some assignments to bool into QVERIFY checks +- Changes from version 0.17.0: + + core: + - Splash: + . Implement tiling patterns + . Support slight hinting + . Radial shading improvements + . General speed improvements + - Arthur: Add Hinting API + - Cairo: + . Implement Type 4,5,6,7 shadings using cairo mesh gradients + . Use the new cairo unique id to set the surface id when + printing + - PS: + . Add PS level1 non standard binary output option + . Allow setting the rasterization resolution + - Form support improvements + - Annotation support improvements + - General speed improvements + - Add support for handling ViewerPreferences + - Remove abiword output device + + utils: + - pdftoppm: + . Add -singlefile option (fdo#32025) + . Add TIFF output format support (fdo#32027) + - pdftops: + . Add PS level1 non standard binary output option + . Allow setting the rasterization resolution + - pdftoabw has been removed + + glib: + - Add poppler_form_field_get_action() (fdo#33174) + - Remove GDK API + - Remove test-poppler-glib + - demo: + . Add a tooltip with current selected character in text demo + . Show the activation action of form fields if there's one + + cpp: + - Add TIFF output possibility + - Add PNM output possibility + + qt4: + - Support slight hinting + - Form support improvements + + qt3: + - The Qt3 frontend has been removed + + tests: + - Merge splash and cairo tests into a single gtk-test tool +- Drop poppler-pdftoabw-overflow.patch: the abiword output device + got removed. +- Drop poppler-0.16.5-disable-demo.patch: we don't need it anymore, + as we won't build the test program anyway. +- Bump the soname macros to follow upstream soversion changes. +- Add libtiff-devel BuildRequires: new dependency. +- Remove unneeded gtk-doc, gtk2-devel and libxml2-devel + BuildRequires (GTK+ is only needed for a test tool). +- Remove pkg-config BuildRequires: by depending on glib, we know it + will be there. +- Remove qt3-devel BuildReqiures: the Qt3 frontend has been + removed. +- Move to pkgconfig()-style BuildRequires: + + Old ones: liblcms-devel, libpng-devel. + + New ones: lcms, libpng. +- Add pkgconfig() BuildRequires that were brought in by gtk2-devel + before: cairo, fontconfig, freetype2, gobject-2.0. +- Remove cairo-devel and libjpeg-devel Requires from + libpoppler-devel: those are not needed. +- Remove libpoppler-devel, cairo-devel, glib2-devel and gtk2-devel + Requires from libpoppler-glib-devel: the right Requires will + automatically be added the pkgconfig() way. +- Drop libpoppler-qt and libpoppler-qt3-devel subpackages as the + Qt3 frontend has been removed. +- Merge libpoppler-doc subpackage with libpoppler-glib-devel, as + the documentation is only for the glib API. Add appropriate + Provides/Obsoletes, and move the Provides/Obsoletes that + libpoppler-doc had too. +- Remove call to autoreconf: it was only needed for one of the + patches. +- Pass --disable-gtk-test: don't bother building the GTK+ test + program. + +------------------------------------------------------------------- +Sat Aug 13 00:51:35 CEST 2011 - [email protected] + +- remove requires on libdrm-devel + +------------------------------------------------------------------- --- GNOME/poppler/poppler.changes 2011-05-23 14:29:20.000000000 +0200 +++ /mounts/work_src_done/STABLE/poppler/poppler.changes 2011-09-16 13:02:12.000000000 +0200 @@ -1,0 +2,177 @@ +Fri Sep 16 10:51:18 UTC 2011 - [email protected] + +- Update to version 0.17.4: + + core: + - SplashOutputDev: Compile when defining USE_FIXEDPOINT + - PNGWriter: Compile with libpng >= 1.5.0 +- Bump poppler_api define since the typelib file is now versioned + 0.18. + +------------------------------------------------------------------- +Sat Sep 10 06:35:05 UTC 2011 - [email protected] + +- Update to version 0.17.3: + + core: + - PSOutputDev: + . Use Patterns for tiling fill when PS level >= 2 + . Avoid using /PatternType if only one instance of the + pattern is used + . Add poppler version as comment in the file + - CairoOutputDev: + . Set mime data for soft masked images (fdo#40192) + . Assume printer pixel size is 1/600" when stroking 0 width + lines (fdo#39067) + . Use cairo_show_text_glyphs() when printing + . Fix stroke patterns (fdo#11719) + . Fix unique id mime data + . Fix stroking of very thin lines + . Align strokes when Stroke Adjust is true and line + width <= 1 (fdo#4536) + - TextOutputDev: Add TextFontInfo::matches() + - Improve PNGWriter + - Rework writing of PDF files + + utils: + - Introduce pdftocairo: utility for creating + png/jpeg/ps/eps/pdf/svg using CairoOutputDev + - Introduce pdfextract: utility to extract PDF pages + - Introduce pdfmerge: utility to merge PDF files + - Fix compilation warning + - pdftohtml: Support text rotation (fdo#38586) + - Update SEE ALSO section of man pages + + glib: + - Add poppler_page_get_text_attributes() + - Add text attributes information to text demo + + qt4: + - Add a way to get the fully qualified name of a FormField + - Minor documentation improvements +- Changes from version 0.17.2: + + core: + - EmbeddedFile improvements + - Don't gmalloc(-1) upon ftell failure + - Fix missing content in some pages (fdo#39637) + - Improve selection of CJK fonts (fdo#36474) + - SplashOutputDev: + . Implement overprint + . Render dots for 0 length dashed lines (fdo#34150) + . Fix bad memory access when not using antialias (fdo#37189) + - PSOutputDev: + . Make level2sep and level3sep write cmyk instead of rgb + . Make level1sep, level2sep and level3sep write gray instead + of rgb for gray images + - Fix numerical overflow in libopenjpeg JPXStream (fdo#39361) + - Fix crash on truncated JPEG/DCT stream (fdo#36693) + - Make sure the dict is a page dict (fdo#35925, fdo#39072) + - Fix calculation of startXRefPos + - Handle missing startxref properly (fdo#38209) + - Parse the "Medium" modifier when asking fontconfig for a font + - Header cleanup + - Include cleanup + - Define cleanup + + glib: + - Add missing permissions flags to PopplerPermissions + - Add missing permission flags to info demo + - Update gtk-doc.make + - Add poppler_document_get_n_attachments() + + utils: + - pdftohtml: + . Fix encoding of PDF document metadata (fdo#37900) + . Fix vertical spacing issues (fdo#38019) + - pdftotext: Fix -htmlmeta to correctly output U+2019 in PDF + metadata (fdo#37900) + - pdftoppm: Implement overprint + + qt4: + - Rework EmbeddedFile internals + - Fix possible crash in test +- Changes from version 0.17.1: + + core: + - Rework the way form fields tree is built + - Cleanup unused parameters/variables + + glib: + - Add JavaScript actions + - demo: Show javascript actions in actions view + + qt4: + - tests: Turn some assignments to bool into QVERIFY checks +- Changes from version 0.17.0: + + core: + - Splash: + . Implement tiling patterns + . Support slight hinting + . Radial shading improvements + . General speed improvements + - Arthur: Add Hinting API + - Cairo: + . Implement Type 4,5,6,7 shadings using cairo mesh gradients + . Use the new cairo unique id to set the surface id when + printing + - PS: + . Add PS level1 non standard binary output option + . Allow setting the rasterization resolution + - Form support improvements + - Annotation support improvements + - General speed improvements + - Add support for handling ViewerPreferences + - Remove abiword output device + + utils: + - pdftoppm: + . Add -singlefile option (fdo#32025) + . Add TIFF output format support (fdo#32027) + - pdftops: + . Add PS level1 non standard binary output option + . Allow setting the rasterization resolution + - pdftoabw has been removed + + glib: + - Add poppler_form_field_get_action() (fdo#33174) + - Remove GDK API + - Remove test-poppler-glib + - demo: + . Add a tooltip with current selected character in text demo + . Show the activation action of form fields if there's one + + cpp: + - Add TIFF output possibility + - Add PNM output possibility + + qt4: + - Support slight hinting + - Form support improvements + + qt3: + - The Qt3 frontend has been removed + + tests: + - Merge splash and cairo tests into a single gtk-test tool +- Drop poppler-pdftoabw-overflow.patch: the abiword output device + got removed. +- Drop poppler-0.16.5-disable-demo.patch: we don't need it anymore, + as we won't build the test program anyway. +- Bump the soname macros to follow upstream soversion changes. +- Add libtiff-devel BuildRequires: new dependency. +- Remove unneeded gtk-doc, gtk2-devel and libxml2-devel + BuildRequires (GTK+ is only needed for a test tool). +- Remove pkg-config BuildRequires: by depending on glib, we know it + will be there. +- Remove qt3-devel BuildReqiures: the Qt3 frontend has been + removed. +- Move to pkgconfig()-style BuildRequires: + + Old ones: liblcms-devel, libpng-devel. + + New ones: lcms, libpng. +- Add pkgconfig() BuildRequires that were brought in by gtk2-devel + before: cairo, fontconfig, freetype2, gobject-2.0. +- Remove cairo-devel and libjpeg-devel Requires from + libpoppler-devel: those are not needed. +- Remove libpoppler-devel, cairo-devel, glib2-devel and gtk2-devel + Requires from libpoppler-glib-devel: the right Requires will + automatically be added the pkgconfig() way. +- Drop libpoppler-qt and libpoppler-qt3-devel subpackages as the + Qt3 frontend has been removed. +- Merge libpoppler-doc subpackage with libpoppler-glib-devel, as + the documentation is only for the glib API. Add appropriate + Provides/Obsoletes, and move the Provides/Obsoletes that + libpoppler-doc had too. +- Remove call to autoreconf: it was only needed for one of the + patches. +- Pass --disable-gtk-test: don't bother building the GTK+ test + program. + +------------------------------------------------------------------- +Sat Aug 13 00:51:35 CEST 2011 - [email protected] + +- remove requires on libdrm-devel + +------------------------------------------------------------------- Package does not exist at destination yet. Using Fallback GNOME/poppler Destination is poppler calling whatdependson for head-i586 Old: ---- poppler-0.16.5-disable-demo.patch poppler-0.16.5.tar.bz2 poppler-pdftoabw-overflow.patch New: ---- poppler-0.17.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ poppler-qt.spec ++++++ --- /var/tmp/diff_new_pack.6LygAK/_old 2011-09-19 21:25:10.000000000 +0200 +++ /var/tmp/diff_new_pack.6LygAK/_new 2011-09-19 21:25:10.000000000 +0200 @@ -19,41 +19,36 @@ %define build_qt 1 Name: poppler-qt -BuildRequires: gobject-introspection-devel -BuildRequires: gtk-doc -BuildRequires: gtk2-devel -BuildRequires: gcc-c++ -BuildRequires: libdrm-devel -BuildRequires: libjpeg-devel -BuildRequires: liblcms-devel -BuildRequires: libpng-devel -BuildRequires: libxml2-devel -%if %build_qt -BuildRequires: libqt4-devel -BuildRequires: qt3-devel -%endif -BuildRequires: update-desktop-files -BuildRequires: zlib-devel -BuildRequires: pkg-config -Version: 0.16.5 -Release: 3 +%define _name poppler +Version: 0.17.4 +Release: 1 # Actual version of poppler-data: %define poppler_data_version 0.2.1 -%define poppler_soname 13 +%define poppler_soname 17 %define poppler_cpp_soname 0 -%define poppler_glib_soname 6 -%define poppler_qt_soname 3 +%define poppler_glib_soname 8 %define poppler_qt4_soname 3 -%define poppler_api 0.16 +%define poppler_api 0.18 Url: http://poppler.freedesktop.org/ Group: System/Libraries License: GPLv2+ Summary: PDF Rendering Library -Source: poppler-%{version}.tar.bz2 -# PATCH-FIX-OPENSUSE poppler-0.16.5-disable-demo.patch fdo#37497 [email protected] -- Disable glib demo, it uses deprecated GTK+ functions -Patch1: poppler-0.16.5-disable-demo.patch -# PATCH-FIX-UPSTREAM poppler-pdftoabw-overflow.patch bnc537171 fdo23074 [email protected] -Patch4: poppler-pdftoabw-overflow.patch +Source: http://poppler.freedesktop.org/%{_name}-%{version}.tar.gz +BuildRequires: gobject-introspection-devel +BuildRequires: gcc-c++ +BuildRequires: libjpeg-devel +BuildRequires: libtiff-devel +%if %build_qt +BuildRequires: libqt4-devel +%endif +BuildRequires: update-desktop-files +BuildRequires: zlib-devel +BuildRequires: pkgconfig(cairo) >= 1.10.0 +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(gobject-2.0) >= 2.18 +BuildRequires: pkgconfig(lcms) +BuildRequires: pkgconfig(libpng) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -62,7 +57,6 @@ %package -n libpoppler%{poppler_soname} - License: GPLv2 Group: System/Libraries Summary: PDF Rendering Library @@ -76,8 +70,6 @@ developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-cpp%{poppler_cpp_soname} - - License: GPLv2 Group: System/Libraries Summary: PDF Rendering Library @@ -87,8 +79,6 @@ developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-glib%{poppler_glib_soname} - - License: GPLv2+ Group: System/Libraries Summary: PDF Rendering Library - GLib Wrapper @@ -103,24 +93,7 @@ %if %build_qt -%package -n libpoppler-qt%{poppler_qt_soname} - - -License: GPLv2+ -Group: System/Libraries -Summary: PDF Rendering Library - Qt3 Wrapper -Requires: libpoppler%{poppler_soname} >= %{version} -# Last appeared in OpenSUSE 10.3: -Provides: poppler-qt = %{version} -Obsoletes: poppler-qt < %{version} - -%description -n libpoppler-qt%{poppler_qt_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-qt4-%{poppler_qt4_soname} - - License: GPLv2+ Group: System/Libraries Summary: PDF Rendering Library - Qt4 Wrapper @@ -152,7 +125,8 @@ License: GPLv2 Group: Development/Libraries/C and C++ Summary: PDF rendering library -Requires: libpoppler%{poppler_soname} = %{version} cairo-devel libjpeg-devel libstdc++-devel +Requires: libpoppler%{poppler_soname} = %{version} +Requires: libstdc++-devel # Last appeared in OpenSUSE 10.3: Provides: poppler-devel = %{version} Obsoletes: poppler-devel < %{version} @@ -165,9 +139,15 @@ License: GPLv2 Group: Development/Libraries/C and C++ Summary: PDF rendering library - GLib Wrapper -Requires: libpoppler-devel = %{version} libpoppler-glib%{poppler_glib_soname} = %{version} cairo-devel glib2-devel gtk2-devel +Requires: libpoppler-glib%{poppler_glib_soname} = %{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 @@ -175,23 +155,13 @@ %if %build_qt -%package -n libpoppler-qt3-devel -License: GPLv2+ -Group: Development/Libraries/C and C++ -Summary: PDF rendering library - Qt3 Wrapper -Requires: libpoppler-devel = %{version} libpoppler-qt%{poppler_qt_soname} = %{version} qt3-devel -# Last appeared in OpenSUSE 10.3: -Provides: poppler-devel:%{_libdir}/libpoppler-qt.so - -%description -n libpoppler-qt3-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-qt4-devel License: GPLv2+ Group: Development/Libraries/C and C++ Summary: PDF rendering library - Qt4 Wrapper -Requires: libpoppler-devel = %{version} libpoppler-qt4-%{poppler_qt4_soname} = %{version} libqt4-devel +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 @@ -200,34 +170,16 @@ developed by Derek Noonburg of Glyph and Cog, LLC. %endif -%package -n libpoppler-doc -License: GPLv2 -Group: System/Libraries -Summary: Additional Package Documentation -Requires: libpoppler%{poppler_soname} = %{version} -# Last appeared in OpenSUSE 10.3: -Provides: poppler-doc = %{version} -Obsoletes: poppler-doc < %{version} -%if 0%{?suse_version} >= 1120 -BuildArch: noarch -%endif - -%description -n libpoppler-doc -Poppler is a PDF rendering library, forked from the xpdf PDF viewer -developed by Derek Noonburg of Glyph and Cog, LLC. - %prep %setup -q -n poppler-%{version} -%patch1 -%patch4 -p1 %build -autoreconf -fi %configure\ --enable-xpdf-headers\ --disable-static\ --enable-shared\ - --enable-zlib + --enable-zlib \ + --disable-gtk-test make %{?jobs:-j%jobs} %install @@ -243,8 +195,6 @@ %if %build_qt -%post -n libpoppler-qt%{poppler_qt_soname} -p /sbin/ldconfig - %post -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig %endif @@ -258,28 +208,15 @@ %if %build_qt -%postun -n libpoppler-qt%{poppler_qt_soname} -p /sbin/ldconfig - %postun -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig %endif %if %build_qt -%files -n libpoppler-qt%{poppler_qt_soname} -%defattr (-, root, root) -%{_libdir}/libpoppler-qt.so.%{poppler_qt_soname}* - %files -n libpoppler-qt4-%{poppler_qt4_soname} %defattr (-, root, root) %{_libdir}/libpoppler-qt4.so.%{poppler_qt4_soname}* -%files -n libpoppler-qt3-devel -%defattr (-, root, root) -%dir %{_includedir}/poppler -%{_includedir}/poppler/qt3 -%{_libdir}/libpoppler-qt.so -%{_libdir}/pkgconfig/poppler-qt.pc - %files -n libpoppler-qt4-devel %defattr (-, root, root) %dir %{_includedir}/poppler @@ -326,10 +263,7 @@ %{_libdir}/libpoppler-glib.so %{_libdir}/pkgconfig/poppler-glib.pc %{_datadir}/gir-1.0/Poppler-%{poppler_api}.gir - -%files -n libpoppler-doc -%defattr (-, root, root) -%{_datadir}/gtk-doc/html/poppler +%doc %{_datadir}/gtk-doc/html/poppler/ %endif ++++++ poppler.spec ++++++ --- /var/tmp/diff_new_pack.6LygAK/_old 2011-09-19 21:25:10.000000000 +0200 +++ /var/tmp/diff_new_pack.6LygAK/_new 2011-09-19 21:25:10.000000000 +0200 @@ -19,41 +19,36 @@ %define build_qt 0 Name: poppler -BuildRequires: gobject-introspection-devel -BuildRequires: gtk-doc -BuildRequires: gtk2-devel -BuildRequires: gcc-c++ -BuildRequires: libdrm-devel -BuildRequires: libjpeg-devel -BuildRequires: liblcms-devel -BuildRequires: libpng-devel -BuildRequires: libxml2-devel -%if %build_qt -BuildRequires: libqt4-devel -BuildRequires: qt3-devel -%endif -BuildRequires: update-desktop-files -BuildRequires: zlib-devel -BuildRequires: pkg-config -Version: 0.16.5 -Release: 5 +%define _name poppler +Version: 0.17.4 +Release: 1 # Actual version of poppler-data: %define poppler_data_version 0.2.1 -%define poppler_soname 13 +%define poppler_soname 17 %define poppler_cpp_soname 0 -%define poppler_glib_soname 6 -%define poppler_qt_soname 3 +%define poppler_glib_soname 8 %define poppler_qt4_soname 3 -%define poppler_api 0.16 +%define poppler_api 0.18 Url: http://poppler.freedesktop.org/ Group: System/Libraries License: GPLv2+ Summary: PDF Rendering Library -Source: poppler-%{version}.tar.bz2 -# PATCH-FIX-OPENSUSE poppler-0.16.5-disable-demo.patch fdo#37497 [email protected] -- Disable glib demo, it uses deprecated GTK+ functions -Patch1: poppler-0.16.5-disable-demo.patch -# PATCH-FIX-UPSTREAM poppler-pdftoabw-overflow.patch bnc537171 fdo23074 [email protected] -Patch4: poppler-pdftoabw-overflow.patch +Source: http://poppler.freedesktop.org/%{_name}-%{version}.tar.gz +BuildRequires: gobject-introspection-devel +BuildRequires: gcc-c++ +BuildRequires: libjpeg-devel +BuildRequires: libtiff-devel +%if %build_qt +BuildRequires: libqt4-devel +%endif +BuildRequires: update-desktop-files +BuildRequires: zlib-devel +BuildRequires: pkgconfig(cairo) >= 1.10.0 +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(gobject-2.0) >= 2.18 +BuildRequires: pkgconfig(lcms) +BuildRequires: pkgconfig(libpng) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -62,7 +57,6 @@ %package -n libpoppler%{poppler_soname} - License: GPLv2 Group: System/Libraries Summary: PDF Rendering Library @@ -76,8 +70,6 @@ developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-cpp%{poppler_cpp_soname} - - License: GPLv2 Group: System/Libraries Summary: PDF Rendering Library @@ -87,8 +79,6 @@ developed by Derek Noonburg of Glyph and Cog, LLC. %package -n libpoppler-glib%{poppler_glib_soname} - - License: GPLv2+ Group: System/Libraries Summary: PDF Rendering Library - GLib Wrapper @@ -103,24 +93,7 @@ %if %build_qt -%package -n libpoppler-qt%{poppler_qt_soname} - - -License: GPLv2+ -Group: System/Libraries -Summary: PDF Rendering Library - Qt3 Wrapper -Requires: libpoppler%{poppler_soname} >= %{version} -# Last appeared in OpenSUSE 10.3: -Provides: poppler-qt = %{version} -Obsoletes: poppler-qt < %{version} - -%description -n libpoppler-qt%{poppler_qt_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-qt4-%{poppler_qt4_soname} - - License: GPLv2+ Group: System/Libraries Summary: PDF Rendering Library - Qt4 Wrapper @@ -152,7 +125,8 @@ License: GPLv2 Group: Development/Libraries/C and C++ Summary: PDF rendering library -Requires: libpoppler%{poppler_soname} = %{version} cairo-devel libjpeg-devel libstdc++-devel +Requires: libpoppler%{poppler_soname} = %{version} +Requires: libstdc++-devel # Last appeared in OpenSUSE 10.3: Provides: poppler-devel = %{version} Obsoletes: poppler-devel < %{version} @@ -165,9 +139,15 @@ License: GPLv2 Group: Development/Libraries/C and C++ Summary: PDF rendering library - GLib Wrapper -Requires: libpoppler-devel = %{version} libpoppler-glib%{poppler_glib_soname} = %{version} cairo-devel glib2-devel gtk2-devel +Requires: libpoppler-glib%{poppler_glib_soname} = %{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 @@ -175,23 +155,13 @@ %if %build_qt -%package -n libpoppler-qt3-devel -License: GPLv2+ -Group: Development/Libraries/C and C++ -Summary: PDF rendering library - Qt3 Wrapper -Requires: libpoppler-devel = %{version} libpoppler-qt%{poppler_qt_soname} = %{version} qt3-devel -# Last appeared in OpenSUSE 10.3: -Provides: poppler-devel:%{_libdir}/libpoppler-qt.so - -%description -n libpoppler-qt3-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-qt4-devel License: GPLv2+ Group: Development/Libraries/C and C++ Summary: PDF rendering library - Qt4 Wrapper -Requires: libpoppler-devel = %{version} libpoppler-qt4-%{poppler_qt4_soname} = %{version} libqt4-devel +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 @@ -200,34 +170,16 @@ developed by Derek Noonburg of Glyph and Cog, LLC. %endif -%package -n libpoppler-doc -License: GPLv2 -Group: System/Libraries -Summary: Additional Package Documentation -Requires: libpoppler%{poppler_soname} = %{version} -# Last appeared in OpenSUSE 10.3: -Provides: poppler-doc = %{version} -Obsoletes: poppler-doc < %{version} -%if 0%{?suse_version} >= 1120 -BuildArch: noarch -%endif - -%description -n libpoppler-doc -Poppler is a PDF rendering library, forked from the xpdf PDF viewer -developed by Derek Noonburg of Glyph and Cog, LLC. - %prep %setup -q -n poppler-%{version} -%patch1 -%patch4 -p1 %build -autoreconf -fi %configure\ --enable-xpdf-headers\ --disable-static\ --enable-shared\ - --enable-zlib + --enable-zlib \ + --disable-gtk-test make %{?jobs:-j%jobs} %install @@ -243,8 +195,6 @@ %if %build_qt -%post -n libpoppler-qt%{poppler_qt_soname} -p /sbin/ldconfig - %post -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig %endif @@ -258,28 +208,15 @@ %if %build_qt -%postun -n libpoppler-qt%{poppler_qt_soname} -p /sbin/ldconfig - %postun -n libpoppler-qt4-%{poppler_qt4_soname} -p /sbin/ldconfig %endif %if %build_qt -%files -n libpoppler-qt%{poppler_qt_soname} -%defattr (-, root, root) -%{_libdir}/libpoppler-qt.so.%{poppler_qt_soname}* - %files -n libpoppler-qt4-%{poppler_qt4_soname} %defattr (-, root, root) %{_libdir}/libpoppler-qt4.so.%{poppler_qt4_soname}* -%files -n libpoppler-qt3-devel -%defattr (-, root, root) -%dir %{_includedir}/poppler -%{_includedir}/poppler/qt3 -%{_libdir}/libpoppler-qt.so -%{_libdir}/pkgconfig/poppler-qt.pc - %files -n libpoppler-qt4-devel %defattr (-, root, root) %dir %{_includedir}/poppler @@ -326,10 +263,7 @@ %{_libdir}/libpoppler-glib.so %{_libdir}/pkgconfig/poppler-glib.pc %{_datadir}/gir-1.0/Poppler-%{poppler_api}.gir - -%files -n libpoppler-doc -%defattr (-, root, root) -%{_datadir}/gtk-doc/html/poppler +%doc %{_datadir}/gtk-doc/html/poppler/ %endif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
