summaryrefslogtreecommitdiff
path: root/print/poppler-utils
AgeCommit message (Collapse)AuthorFilesLines
2019-03-27poppler: revert update to 0.75.0wiz1-3/+1
Of course, it breaks everything again, and I don't want to fix it now in the freeze.
2019-03-26poppler*: update to 0.75.0wiz1-1/+3
Release 0.75.0: core: * Fix rendering of some annotations * Fix crashes in broken files * Small internal code improvements cpp: * Improve documentation * tests: Add showing version information to poppler-dump utils: * pdfattach: new util * pdftohtml: add -dataurls parameter * pdftoppm: add -sep and -forcenum parameters * pdftohtml: make singleHtml and stout not mutually exclusive * pdfsig: fix use after free
2018-12-03poppler*: Update to 0.71.0.wiz1-2/+1
Release 0.71.0: core: * Replace the implementation of GooString by std::string but keep the exact interface intact. * Replace GBool, gTrue, and gFalse by bool, true, false, resp. * Splash: Fix crash if document is malformed (too wide) qt5: * Fix crash when adding Highlight Annotations * Default to hidden symbols * Fix two leaks in a test glib: * demo: Fix build on Windows * demo: Align property labels to top of cell cpp: * Fix typos in documentation build system: * Enable searching for GTK on Windows * Remove unused files * Add fuzzer target from oss-fuzz project Release 0.70.1 glib: * Install missing file Release 0.70.0 core: * FreeText annotations: default to font from default appearance string * Splash: Speed improvements * Fix security issues found by oss-fuzz * Improve page lable parsing * Use std some std classes instead of self grown ones * Various internal improvements qt5: * Add Page::index() method * Improve method to get the page from a label string glib: * Fix crash on missing embedded file * Add support for PDF subtype property * Only export symbols in the public API utils: * pdftohtml: Improve font handling Release 0.69.0 core: * Add annotation font color * Splash: Some speed improvements * PSOutputDev: add native support for type 7 shadings when using level 3 * Add support for PDF subtype property * Link: Fix memory leak regarding next actions * Fix handling of Signature Info Location and Reason * Fix errors in computation of type3 glyphs transformation matrix * Reimplement Dict class in a more modern way * Fix security issues found by oss-fuzz * Fix memory issues in GfxImageColorMap copy ctor * Don't abort if the SampleFunction has too many samples. Issue #634 * Document the OutputDev::clip and OutputDev::oeClip methods * fix macOS compilation due to boolean define in jpeglib * Split GDir and GDirEntry out of gfile.h. Issue #370 qt5: * Add annotation font color cpp: utils: * pdfinfo: Show PDF subtype * pdftotext: Fix only outputs first page content with -bbox-layout option. Issue #88 * pdftotext: Fix memory leak in printLine build system: * Require C++14
2018-11-14Revbump after cairo 1.16.0 update.kleink1-1/+2
2018-09-01Remove pthread-stublib dependency.bsiegert1-8/+2
This was conditional for NetBSD 1.x and 2.x only.
2018-04-17poppler*: update to 0.63.0wiz1-4/+1
Release 0.63.0 core: * CairoOutputDev: support embedding CCITT image data. Bug #103399 * CairoOutputDev: limit image size when printing. Bug #103399 * CairoOutputDev: use GOOD instead of BEST as the default cairo filter for scaling. Bug #103136 * Error out on save if file has changed since we opened it. Bug #103793 * PDFDoc: use %c instead of \x to output binary. Bug #103873 * Fix index out of bounds undefined behaviour in PSTokenizer. Bug #103583 * Fix opening files with OutlineItem loops. Bug #102914 * Fix some bugs in StructTreeRoot parsing of parent tree. Bug #103912 * Remove error for wrong child type for tagged pdf. Bug #103587 * FoFiTrueType::readPostTable() from xpdf 4.00. Bug #102880 * GfxFontDict: merge reference generation from xpdf 4.00. Bug #104565 * Reset lastAbortCheck on updateLevel reset * PDFDoc::setup: Fail early if base stream length is 0. Bug #103552 * Check curStr is actually a Stream before doing Stream operations. Bug #104518 * Fix new Object API porting bug. Bug #104517 * Check return code of getChar(), abort reading on error. Bug #104502 * TextPage: Add horizontal scaling to font matrix. Bug #105259 * Fix EmbedStream replay. Bug #103446 * Fix memory leak on error condition * Fix assert on malformed documents. Bug #104354 * Fix abort in Gfx::opBeginMarkedContent if args[1] is not a name. Bug #104468 * GfxGouraudTriangleShading::parse: Don't abort on malformed documents. Bug #104567 * GfxFunctionShading::parse: Fix abort in malformed document. Bug #104581 * Remove the extern C from glib.h. Bug #103621 * Don't let ArthurOutputDev be friend of SplashPath anymore * Fix undefined sanitizer warning about qsort * Form.h: include time.h for time_t * Various code improvements qt5: * Add cancellation support to renderToImage and textList * Do not assume all Screen annotation actions are Renditions. KDE bug #388175 * qt5: Implement operator= for PageTransition * ArthurOutputDev: 'clip' should intersect new and old clipping path * ArthurOutputDev: Implement updateBlendMode * ArthurOutputDev: Replace the QPainter by a stack of QPainters * ArthurOutputDev: Rudimentary support for transparency groups * Remove stale libcms1 code. Bug #104358 * demo: don't crash if page is malformed * Fix warnings due to the use of deprecated overloads of Poppler::Page::Search in tests. utils: * pdfimages: Fix for files with flate encoded inline images. Bug #103446 * pdftocairo: Remove stale libcms1 code. Bug #104358 * pdfimages: Fix build without libtiff and libpng * pdfseparate: Fix buffer size warning due to missing space for null terminator build system: * Enable building all libs as static libs * Enable no-missing-field-initializers * Remove unused FindLIBOPENJPEG.cmake * add "--owner root:0 --group root:0" options to tar command in dist target. Bug #104398 * Add python3 support to gtkdoc.py * gtkdoc.py: Make it work with newer gtk-doc. Bug #105075 cpp: * Add page::text_list
2018-03-12Recursive bumps for fontconfig and libzip dependency changes.wiz1-1/+2
2018-01-10poppler*: update to 0.62.0wiz1-2/+1
Changes same as for the base package.
2017-12-08bump for print/poppler major bumpmaya1-1/+2
note: script detailed in `man revbump` insisted on bumping pkgrevision of print/poppler, it's probably wrong, but not committing this change is wronger.
2017-12-08Update poppler packages from 0.59.0 to 0.61.1spz1-15/+16
fixing CVE-2017-14517 CVE-2017-14518 CVE-2017-14519 CVE-2017-14520 CVE-2017-15565 upstream notable changes: Release 0.61.1 core: * CairoOutputDev: don't overflow y * stride when accessing image data cpp: * Fix for corrupted image files on Windows. Bug #102494 build system: * Fix incorrect paths in .pc files. Bug #103578 * add the custom buildtests target only once. Bug #103003 Release 0.61.0 core: * Fix crashes in broken files * Cleanup unused functions from GlobalParams * Tweak LZWStream::processNextCode error handling. Bug #103174 * Warning fixes * Remove t1lib code qt5: * Clean up the remaining Splash code in Arthur backend. Bug #103117 * ArthurOutputDev: Properly implement saveState/restoreState. Bug #103118 * Fix leak in ArthurOutputDev::updateFont. Bug #103508 build system: * Use GNUInstallDirs. Bug #103211 * mingw: Install pkg-config files * mingw: change library names to include the soversion. Bug #103157 * Fix installing a .cc file as header * Use -pthread flag instead of -lpthread Release 0.60.1 qt5: * ArthurOutputDev: Add missing 'return' in error paths build system: * FindLIBOPENJPEG.cmake: Add CheckCXXSourceCompiles Release 0.60.0 core: * Enable libcurl support by default * PSOutputDev: Fix wrong text generation. Bug #102760 * Added methods to get and set the font size of text fields. Bug #101692 * CairoOutputDev: Do not extend the pattern in drawImageMaskRegular * CairoOutputDev: do not use the custom downscaling for rendering images when using cairo >= 1.14 * Fix build with old clang * Fix various crashes in broken files * Fix some warnings * Add some constness to the basic classes * Remove unused functions from GlobalParams qt5: * Added methods to get and set the font size of text fields. Bug #101692 * Add whether renderToImage shows annotations * ArthurOutputDev: Replace Splash font rendering by Qt font rendering * ArthurOutputDev: Implement the drawSoftMaskedImage method * ArthurOutputDev: Fix several small bugs related to dash pattern handling * Fix two minor typos build system: * cmake is now the default build system * autotools based build system has been removed utils: * pdfinfo: don't truncate dest name
2017-07-11Changes 0.56.0:adam1-2/+1
core: * FormFieldButton::setState() shouldn't check the field is readOnly * Fix crashes on multiple broken files utils: * pdfunite: Fix crash with broken documents.
2017-07-06Build and install pdftocairo, for tex-lwrap.wiz2-5/+9
Bump PKGREVISION.
2014-04-29Update poppler to 0.26.0.wiz1-2/+1
Release 0.26.0 qt4: * Fix mismatched boolean logic in TextAnnotation::setInplaceIntent qt5: * Fix mismatched boolean logic in TextAnnotation::setInplaceIntent core: * Very small code cleanup cpp: * Very small code cleanup Release 0.25.3 core: * Fix crashes on broken files * Avoid MinGW/Cygwin warnings due to redefinition of NOMINMAX * Fix some small memory leaks qt5: * Fix some kinds of OCG models * Cleanup some deprecated methods glib: * Fix the first coord of the quadrilateral in create_poppler_quads_from_annot_quads(). Bug #76504 utils: * pdftohtml: Fix typo in manpage qt4: * Fix some kinds of OCG models Release 0.25.2 core: * Tagged-PDF support * Open some broken files. Bug #75232 * Fix crashes on broken files * Fix regression parsing some broken files. KDE Bug #329600 * Improve compilation under Win 8 with Visual Studio 2012. Bug #73111 * PSOutputDev: Ensure paper size takes into account rotation. Bug #72312 * PSOutputDev: Fix DocumentMedia/Page/Media/PageBBox DSC comments * PSOutputDev: Use crop box as page size * PSOutputDev: Remove origpagesizes mode and make -origpagesizes an alias for -paper match * PSOutputDev: Only change paper size when different to previous size * PSOutputDev: Ensure there is always a page size in the output * PSOutputDev: Fix regression when creating level1 PS. Bug #75241 * CairoOutputDev: Clip to crop box. Gnome Bug #649886 * Splash: Blend usage in PDF with spot colors casue random output. Bug #74883 * Splash: Fix off by one that caused crash in a file. Bug #76387 * Make sure number of least objects in hints table is valid. Bug #74741 * Limit numeric parsing of character names. Bug #38456 glib: * Tagged-PDF support * Annotation improvements * Install error callback. Bug #73269 * Fix gobject-introspection warnings * demo: Fix performance in text markup annotations * Increase gtk3 dependency qt4: * Improve naming of internal export/import macros * Add GCC visibility export attributes * Expose document-supplied text direction qt5: * Improve naming of internal export/import macros * Add GCC visibility export attributes * Expose document-supplied text direction utils: * pdftocairo: Ensure page size and crop box works the same as pdftops * Fix TIFF writting in Windows. Bug #75969 buildsystem: * Learn about automake 1.14 * Do not define -ansi. Bug #72499 * cmake: Install JpegWriter.h depending on libjpeg * cmake: Use c99 for the c compiler Release 0.25.1 core: * GooString format: Added some tests + improved documentation * GooString format: fixed bug with printing LLONG_MIN * regression test improvements qt4: * Arthur backend font rendering improvements * test program to save to file qt5: * Arthur backend font rendering improvements * Improve detection of Qt5 moc. Bug #72744 * test program to save to file utils: * pdfunite: Work even if there's a single file given * pdfunite: do not lose fonts when merging some files Release 0.25.0 core: * Annotation improvements * Tagged PDF work * Improve speed on some files using ICC color space * Use ICC profile in OutputIntents. Bug #34053 * Limit use of ZapfDingbats character names. Bug #60243 * Splash: correction for knockout transparency groups * regression test improvements utils: * pdftoppm: Added thinlinemode option setting * pdfinfo: Indicate if pdf contains javascript * pdfinfo: Add option to print out javascript * pdfimages: Print size, ratio, and ppi * pdfimages: More image output format support * pdfseparate: allow zero-padded pagespecs glib: * Annotation improvements * Add API to get text, text layout and text attributes for a given area * demo improvements
2013-10-29update to 0.24.3drochner1-7/+1
changes: bugfixes, among them a format string problem (CVE-2013-4474) pkgsrc change: kill the poppler-cms/lcms option, it got broken recently and it is not useful enough to justify the complexity
2013-07-04Reset PKGREVISION for base package update.wiz1-2/+1
2013-06-04Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:tron1-2/+2
Recursively bump package revisions again after the "freetype2" and "fontconfig" handling was fixed.
2013-06-03Bump freetype2 and fontconfig dependencies to current pkgsrc versions,wiz1-2/+2
to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
2013-03-24Fix the following vulnerabilities:spz1-2/+1
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1788 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1789 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1790 by updating to the latest stable version. Changes against 0.22.1: core: * Correct rendering of underline and strike out annotations (Bug #61518) * Workaround broken jpeg stream definitions (Bug #61994) * SplashOutputDev: Restore CTM on early exits (Bug #61413) * SplashOutputDev: Make sure we don't try to paint in x < 0 (KDE Bug #315432) * Fix latin page labels. (Bug #61034) * Fix compilation with jpeglib9 * Fix minor valgrind warning utils: * pdfimages: Fix extraction of some images (Bug #61168) build system: * Fix the build with automake-1.13 Changes against 0.22.0: core: * Fix crash in some pdf files when extracting text (Bug #59561) * Fix crashes in wrongly formed files * Fix wrong warning when opening some files (Bug #58966) build system: * Improve autoconf jpeglib.h detection (Bug #59186) Changes against 0.20 include Release 0.22.0 core: * Fix crash in invalid files that define a <= 0 bits per image value * Fix a few issues in JPX decoding when not using OpenJPEG * TextOutputDev: Use page size for max value in TextPage::visitSelection * Fix typo in error message utils: * Fix pdfunite regression (Bug #58569) * Demo fixes and improvements misc: * pdf-inspector improvements Release 0.21.4 core: * SplashOutputDev: Fix crash when rendering in monochrome mode * SplashOutputDev: Fix line widths in monochrome mode (Bug #57294) * PSOutputDev: Fix crop on EPS conversion (Bug #30692) * TextOutputDev: Fix minor logic mistake * Fix assert on some malformed files (Bug #58257) * Move #include "jpeglib.h" into .cc file (Bug #57687) * Filter text that may end up being written to the shell * Fix windows compile warnings glib: * Add poppler_annot_set_flags (Bug #58015) * Demo fixes and improvements qt4: * Fix check_lexer on 32-bit systems Release 0.21.3 core: * Splash: Implement bilinear image scaling (Bug #22138) * CairoOutputDev: Update fill and stroke color in startPage (Bug #54526) * Fix GooString::insert() * Allow large chars in TextPage * Fix crash on ActualText::end * Don't use memcpy to copy classes * Fix warnings glib: * Check if words end with spaces (Bug #54504) * Ensure text is only computed on first render * Fix warnings while generating introspection file * Fix returns tag in PopplerAttachmentSaveFunc api doc * Minor demo fixes Release 0.21.2 core: * CairoOutputDev: make drawImage work with images > 32767 in width/height (Bug #56858) * CairoOutputDev: Fix soft mask when image resolution != smask resolution (Bug #57070) * CairoOutputDev: Fix crash in CairoImageOutputDev with setSoftMaskFromImageMask (Bug #57067) * Remove a check on fonts that we don't need (Bug #56753) * Misc code cleanups utils: * pdftocairo: Add tiff output support (Bug #57006) * pdfunite: Fix -v (Bug #56817) * Misc code cleanups Release 0.21.1 core: * Annotation improvements * Form improvements * CairoImageOutputDev: Support parameterized Gouraud shading (Bug #56463) * UTF validation fixes * Do not call drawing routines if we don't need non text (Bug #54617) * Fix Memory leak in CharCodeToUnicode (Bug #54702) qt4: * Make LinkRendition properties available (Bug #55378) * Accessors for FormWidgetChoice::editChoice * Implement overprint Release 0.21.0 core: * Support the modification of files with Encrypt * Annotation improvements * Form improvements * Splash: Implement DeviceN support * Splash: Avoid bogus memory error for tilingPattern * TextOutputDev: Allow multiple fonts in a TextWord * Kill the concept of base dir * PSOutputDev: Always write HiResBoundingBox (Bug #53159) * Convert UTF-16 to UCS-4 when reading toUnicode cmap * GooString formatting: add support for uppercase hexadecimal * Use error() instead of fprintf(stderr, ...) in Annot::layoutText * poppler-config.h: remove WITH_FONTCONFIGURATION_* macros glib: * Annotation improvements * Add poppler_page_remove_annot() * Add poppler_document_new_from_stream * Add poppler_document_new_from_gfile * Add poppler_page_find_text_with_options (Bug #2951) * Demo improvements * Port tests and demo to GTK+3 qt4: * Add accessor methods for movie poster information * Make 'additional actions' available in Annotation API (Bug #53589) * Add whole-page search method to Poppler::Page * Small changes in tests utils: * pdftohtml: Make the output more xhtml compliant * pdftohtml: Add -fontfullname. (Bug #49872) * pdftohtml: Do not invoke gs anymore build system: * Add the possibility of using lcms1 even if lcms2 is installed * Remove extra fontconfig CFLAGS and LIBS
2013-02-16Recursive bump for png-1.6.wiz1-1/+2
2012-07-04sync w/ base pkg updatedrochner2-3/+8
2011-11-01Recursive bump for graphics/freetype2 buildlink addition.sbd1-1/+2
2011-07-11include ".../poppler/bl3" before PKG_BUILD_OPTIONS.poppler is checkeddrochner1-4/+5
for -- this doesn't make a difference in my box (current, modular xorg) but Matthias Scheler reported problems on his and that this change helps
2011-07-11update to 0.16.7drochner1-2/+5
changes: bugfixes pkgsrc change: set --enable-cms in frontend components if it was set in the base pkg -- the layout of some classes depends on this definition, and inconsistencies can lead to crashes (see poppler bug #35381)
2011-05-11Use mk/jpeg.buildlink3.mk rather than picking up graphics/jpeg/buildlink3.mk ↵abs1-3/+3
directly. Bump pkgrevision
2011-05-09bl3 against jpeg. PKGREVISION++.gdt1-1/+3
I found pdftops linked against jpeg directly, and on one system it then failed after the jpeg 6->8 shlib update. ok reed@
2011-01-31sync w/ base pkg updatedrochner1-2/+1
2011-01-13png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.wiz1-1/+2
2010-11-02update to 0.14.4drochner1-2/+1
changes: -bugfixes (in particular for security issues which were patched in pkgsrc) -fixed memory leaks
2010-10-02Makefile.common is not a good place to set PKGREVISION -- distributewiz1-1/+2
it over the corresponding Makefiles instead.
2010-07-14update to 0.14.1drochner1-2/+1
this is a new major branch, many fixes and improvements
2010-06-13Bump PKGREVISION for libpng shlib name change.wiz1-1/+2
Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
2010-02-23reset PKGREVISION for base pkg updatedrochner1-2/+1
2010-01-18Second try at jpeg-8 recursive PKGREVISION bump.wiz1-1/+2
2009-11-14Mark xpdf<3.02pl4nb1 as conflicting.wiz1-1/+2
2009-11-13make those not conflict, by using the poppler version of the pdftofoo programs.christos1-2/+1
2009-09-09update to 0.12.0drochner1-2/+2
This is a major update, switches to the 0.12 release branch. Most notable change is that the color management stuff which we had as patches in pkgsrc is official now. Otherwise - many fixes and enhancements. (while this is a .0 release I've been tracking the 0.11.x snapshots and release candidate for a while so I don't expect big problems)
2009-08-26bump revision because of graphics/jpeg updatesno1-1/+2
2009-02-12update to 0.10.4drochner1-1/+2
changes: -fixed some crashes and a memory leak -fixed pdfimages to work for jpeg pkgsrc change: pulled in color management support from the development branch (but tested by me for many weeks), as an option which is on per default
2008-11-20Move MAINTAINER from Makefile.common into individual Makefiles.dillo1-1/+2
Okayed by reed.
2007-02-22Whitespace cleanup, courtesy of pkglint.wiz1-2/+2
Patch provided by Sergey Svishchev in private mail.
2006-05-31update to 0.5.3drochner1-3/+2
changes: -improved Qt bindings -Cairo backend now supports masked images -make glib bindings more language binding friendly -Search now works with ligatures -glib bindings now has an entry point to render to a cairo_t -GCC 4.1 and MSVC compilation fixes -bugfixes and cleanup
2006-04-06Change BUILDLINK_DEPENDS.pkg to BUILDLINK_API_DEPENDS.pkg.reed1-2/+2
I missed this in my commit earlier.
2006-04-03Use pthread-stublib on NetBSD 1.x and 2.x.reed1-1/+12
Bump PKGREVISION. Patch updated to use the library. Thank you Joerg for the suggestion.
2006-04-01Split out the tools from the poppler package.reed3-0/+62
This provides PDF (Portable Document Format) utilities from the poppler project. Some of these are based on the versions from xpdf. This poppler-utils package provides: pdffonts - lists fonts used in PDF files with details pdfimages - saves images from a PDF file as PPM, PBM or JPEG pdfinfo - prints document information from 'Info' dictionary pdftohtml - convert PDF files into HTML, XML and PNG images pdftoppm - converts PDF files to PPM, PGM, or PBM image files pdftops - converts a PDF file to PostScript pdftotext - converts a PDF file to plain text