Commit graph

66 commits

Author SHA1 Message Date
drochner
e0cd02b6d6 update to 0.24.3
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-10-29 19:05:23 +00:00
wiz
1f5f72db38 Remove legacy support that was scheduled for removal. 2013-10-25 06:53:33 +00:00
asau
0f44c26f1a Passing "-ansi" turns "long long" support off on FreeBSD/amd64.
Define __LONG_LONG_SUPPORTED to make the package build.
2013-09-25 23:07:31 +00:00
wiz
2aade55702 Update to 0.22.5.
Use "lcms" option instead of package-specific "poppler-cms" one.
Add backwards compat for this.

Add comments to most patches.

Changes:

Release 0.22.5
        core:
         * PSOutputDev: Make sure that Title: doesn't contain \n or \r (Bug #63862)
         * Fix slowlyness reading malformed files (Bug #46703)
         * Fix infinite loop while feeding wrong data in stdin (Bug #64967)
         * Fix crash on malformed file (Bug #65221)
         * Fix mismatched delete (Bug #65553)

        qt4:
         * Fix mismatched delete (Bug #65551)

        utils:
         * pdftohtml: Fix memory leak
2013-07-04 13:13:55 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
wiz
53745b22ea Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
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-06-03 10:05:17 +00:00
spz
84c515fc07 Fix the following vulnerabilities:
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-03-24 07:09:23 +00:00
wiz
0602d449ce Recursive bump for png-1.6. 2013-02-16 11:17:56 +00:00
adam
f4c3b89da7 Revbump after graphics/jpeg and textproc/icu 2013-01-26 21:36:13 +00:00
drochner
9cd61a9662 update to 0.20.4
changes:
-Improvements regarding embedded file handling
-bugfixes
-cleanup

pkgsrc note: shlib major changes, revbumps needed. also switch to
 lcms2 for the "cms" option
2012-09-14 12:15:01 +00:00
drochner
511fbb6e3c update to 0.20.1
This switches to the 0.20 release branch - many fixes and improvements.
(0.18 was skipped)
The qt3 frontend isn't supported anymore - the poppler016 pkg is kept
for now for KDE3. Atm, it conflicts with newer popper pkgs. This can be
fixed by renaming include paths and libraries, but this would need
modifications of the KDE3 pkgs.
2012-07-04 20:25:16 +00:00
sbd
04daa2f1b8 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
drochner
557650e2fc update to 0.16.2
This switches to a new major branch -- many improvements and fixes.
2011-01-31 16:55:28 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +00:00
drochner
2329e92518 update to 0.14.4
changes:
-bugfixes (in particular for security issues which were patched in pkgsrc)
-fixed memory leaks
2010-11-02 15:45:12 +00:00
wiz
4ade6b7874 Makefile.common is not a good place to set PKGREVISION -- distribute
it over the corresponding Makefiles instead.
2010-10-02 22:46:49 +00:00
drochner
6e07552362 update to 0.14.1
this is a new major branch, many fixes and improvements
2010-07-14 17:04:22 +00:00
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
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-06-13 22:43:46 +00:00
drochner
50fc59c026 update to 0.12.4
changes:
-bugfixes
-Update requirement to Qt 4.4
2010-02-23 20:11:58 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
drochner
3abeb08b44 update to 0.12.2
changes: minor bugfixes
(also fix for CVE-2009-3607 which was patched in pkgsrc)
2009-11-20 11:20:11 +00:00
drochner
c7ad628be0 The code which calculates linear gradients divides by zero under some
circumstances. This leads to NaNs passed to cairo which makes that
literally "nan" is inserted into the output file when printing. The
resulting file crashes ghostscript, and also poppler when it is fed
to it again.
I didn't read PDF specs yet to understand where the math is failing,
just avoided the division by zero.
2009-11-19 17:58:41 +00:00
drochner
9bdc78f886 update to 0.12.0
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-09-09 19:57:05 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
drochner
4a73cb6b65 pull a patch from upstream which fixes generation of invalid postscript
files in some cases, bump PKGREVISION
2009-07-28 18:22:49 +00:00
joerg
972f76cd21 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 21:16:21 +00:00
drochner
46317bfccf update to 0.10.6
changes:
* Fix problems that happen when parsing broken JBIG2 files.
  CVE-2009-0799, CVE-2009-0800, CVE-2009-1179, CVE-2009-1180
  CVE-2009-1181, CVE-2009-1182, CVE-2009-1183, CVE-2009-1187, CVE-2009-1188
* Fix parsing of incorrect border arrays. (was patched in pkgsrc)
* Fix clip test for fonts.
* Fix getGlyphAdvance to behave correctly on font size changes.
* Misc build fixes
2009-04-17 16:08:17 +00:00
drochner
f67467a3a8 fix some problems with interactive forms:
-if a choice field defines both an "export value" and a "name", use the
 latter as "value" if selected (according to the PDF spec) -- makes
 that I can fill in my company's travel expenses form correctly
 (there is still an issue with captions of check boxes / radio
 buttons which looks like a font problem)
-where iconv() is called to fill in a text field, use "UTF-8" and
 "UTF-16BE" as encoding names rather than the less portable
 "UTF8" and "UTF16BE" -- this makes it work on NetBSD
bump PKGREVISION
2009-04-06 09:29:27 +00:00
drochner
95416852a9 update to 0.10.5
Changes since 0.10.4:
core:
 * Read the UF entry if present and prefer it over F in Filespec dictionary
 * Fix typo that was making CairoOutputDev crash on some files. Bug #17337
 * Make JBIG2Stream more robust to corrupt input data
 * Do not blindly follow loops parsing OutlineItem. Bug #18364
 * Set up the error manager before calling jpeg_create_decompress. Bug #20484
 * Check there is an optional content config before using it. Bug #20587
 * Fix rendering of some PDF with OpenType fonts. Bug #20605

build system:
 * Yet more support for build on windows
 * Use AC_CHECK_HEADER to find headers. Bug #20538
 * Check for pkgconfig before using it
 * General autotools improvements
2009-03-19 12:12:24 +00:00
drochner
2748ba1cf6 pull some patches from upstream, to fix two crashes and an off-by-one
in color management support, bump PKGREVISION
2009-02-26 20:23:02 +00:00
drochner
aa77e743df update to 0.10.4
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
2009-02-12 20:55:07 +00:00
wiz
3700092bf5 Update to 0.10.2:
Release 0.10.2

	core:
	 * Fix a crash when selecting text in word mode
	 * Fix a crash in some malformed documents (second argument
	 of opMarkPoint is not a dictionary)
	 * Ensure cairo font matrix is invertable. Fixes bugs #18254
	 and #18429
	 * Fix a memory leak (Bug #18924)

	Qt4:
	 * Fix deserization of links right coordinate

	misc:
	 * Fix build on Solaris 10 + Sun Studio 12
	 * Compile with -pedantic
2009-01-07 13:54:14 +00:00
smb
62cfcd731a Delete non-functional reference to PAPERSIZE environment variable; add
MESSAGE file saying what to do to get US Letter.
2008-12-05 01:57:07 +00:00
dillo
03ce036bfb Move MAINTAINER from Makefile.common into individual Makefiles.
Okayed by reed.
2008-11-20 14:28:22 +00:00
drochner
b88e673a02 update to 0.8.4
changes:
-bugfixes
-build fix for qt4 (which doesn't work)
The security fix for CVE-2008-2950 is not yet integrated upstream.
2008-07-15 10:34:21 +00:00
drochner
cb4d79225b add a missing pointer initialization, fixes possible memory corruption
(CVE-2008-2950), patch from the advisory, bump PKGREVISION
2008-07-09 10:30:37 +00:00
drochner
9cee4bd5cb update to 0.8.3
changes:
-fix crashes on certain input
-Fix leaks
-Do not limit CharCodeToUnicodeString to 8 characters
-Support for surrogates outside the BMP plane

pkgsrc note: the crashes had been fixed by patches in pkgsrc before
2008-06-05 21:03:37 +00:00
drochner
479e35dafe pulla patch from upstream CVS which appearently fixes a problem
reported by Steven M. Bellovin on pkgsrc-users, bump PKGREVISION
2008-05-15 09:15:41 +00:00
drochner
744725baf0 update to 0.8.1
Some fixes which we had patched in pkgsrc are included now.
2008-04-29 19:23:34 +00:00
drochner
cc29e3896e -fix embedded font handling (CVE-2008-1693), patch from Ubuntu,
bump PKGREVISION
-being here, add a patch from upstream CVS which fixes display
 of 16-bit colors
2008-04-18 14:03:54 +00:00
drochner
6de534899e update to 0.6.2
changes:
-security fixes (patched in pkgsrc) were integrated upstream
-fix some possible crashes
-cleanup
2007-11-28 20:54:36 +00:00
drochner
37272f02bb apply a patch from poppler CVS (derived from xpdf) to fix a couple
of memory corruption / buffer overflows
(CVE-2007-4352, CVE-2007-5392, CVE-2007-5393)
bump PKGREVISION
2007-11-08 12:06:12 +00:00
drochner
86f3819e04 update to 0.6.1
This switches to the new 0.6 branch which is not source compatible
to 0.5.x.
Most notable changes:
-Merge xpdf 3.02 changes
-Support for Sound objects
-Support for Opening/Closing page actions
-Support for page duration
-Improve PS Tokenizer performance
-Beginning of Interactive Form support
-xpdfrc is no longer used for anything
-Fix security issue MOAB-06-01-2007
-Lots of bugs fixed
2007-11-03 16:10:38 +00:00
joerg
ea16afc451 Add DESTDIR support. 2007-08-09 18:42:51 +00:00
drochner
cf307199f5 apply a patch from xpdf to fix an integer overflow vulnerability
(CVE-2007-3387)
bump PKGREVISION
2007-08-02 14:41:18 +00:00
drochner
0e1fff19c1 pull a patch from poppler CVS to fix MOAB-06-01-2007 (DOS)
bump PKGREVISION
2007-01-17 15:53:09 +00:00
jlam
ee68c93314 LIBTOOL_OVERRIDE generally doesn't need to be specified anymore... just
set OVERRIDE_DIRDEPTH to find any libtool scripts deeper in the WRKSRC
tree unless they're named something other than "libtool".

SHLIBTOOL_OVERRIDE generally doesn't need to be specified either -- just
define it to the empty list and shlibtool-override will look for libtool
scripts.
2006-07-07 15:49:30 +00:00
drochner
551dbc985a update to 0.5.3
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-05-31 18:13:54 +00:00
reed
4f71d8fc8b Remove the conflicst of xpdf now that utilities are in a different
package. Ride on same revision from a little earlier.
2006-04-01 19:57:57 +00:00