Commit graph

109 commits

Author SHA1 Message Date
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
88363263e6 build poppler's "cpp" wrapper as a seperate pkg, addresses
PR pkg/45498 by Francois Tigeot
2011-10-20 16:32:57 +00:00
bsiegert
d8dd947ec7 MirBSD does not have fmin and fmax either, adapt patch-aq accordingly. 2011-09-20 19:11:54 +00:00
drochner
44e75c65d9 update to 0.16.7
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-07-11 10:05:22 +00:00
drochner
9a06ceb667 sync dependency versions 2011-03-09 13:06:49 +00:00
drochner
eeae9c2c8f update to 0.16.3
changes:
-Increase precision in PS output device
-bugfixes
(shlib name changed)
2011-03-09 12:07:11 +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
feca46ff90 Add comment and upstream bug report URL. 2011-01-24 13:11:20 +00:00
wiz
3bee3a1353 Fix build with png-1.5. 2011-01-13 17:01:35 +00:00
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
drochner
5a71fdc2e9 add patch from upstream which fixes a colorspace problem in the
glib/cairo frontend (ie pdf generation), bump PKGREV
2011-01-11 12:17:15 +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
c3c21036bf update to 0.14.5
changes: minor fixes
2010-11-15 15:13:20 +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
spz
d19f028841 security fixes from and for http://secunia.com/advisories/41596/ plus
the necessary backporting to poppler-0.14.2 (and a pkgrev bump):

poppler/Form.cc
http://cgit.freedesktop.org/poppler/poppler/commit/?id=473de6f88a055bb03470b4af5fa584be8cb5fda4
Fix memory leak if obj2 is not a dict

poppler/Dict.h poppler/Form.cc
http://cgit.freedesktop.org/poppler/poppler/commit/?id=d2578bd66129466b2dd114b6407c147598e09d2b
Avoid loops in Form::fieldLookup

poppler/Stream.cc
http://cgit.freedesktop.org/poppler/poppler/commit/?id=c6a091512745771894b54a71613fd6b5ca1adcb3
Fix memory leak

fofi/FoFiType1.cc
http://cgit.freedesktop.org/poppler/poppler/commit/?id=39d140bfc0b8239bdd96d6a55842034ae5c05473
Fix crash in broken pdf (code < 0)

poppler/Decrypt.cc
http://cgit.freedesktop.org/poppler/poppler/commit/?id=a2dab0238a69240dad08eca2083110b52ce488b7
Initialize properly charactersRead

poppler/Gfx.cc
http://cgit.freedesktop.org/poppler/poppler/commit/?id=2fe825deac055be82b220d0127169cb3d61387a8
Make sure obj1 is a num before reading it

poppler/Gfx.cc
http://cgit.freedesktop.org/poppler/poppler/commit/?id=3422638b2a39cbdd33a114a7d7debc0a5f688501
Fix crash in broken pdf (parser->getStream() is 0)

poppler/Gfx.cc
http://cgit.freedesktop.org/poppler/poppler/commit/?id=e853106b58d6b4b0467dbd6436c9bb1cfbd372cf
Properly initialize parser

poppler/Gfx.cc
http://cgit.freedesktop.org/poppler/poppler/commit/?id=dfdf3602bde47d1be7788a44722c258bfa0c6d6e
Give a value to color.c[i]

poppler/Function.cc
http://cgit.freedesktop.org/poppler/poppler/commit/?id=bf2055088a3a2d3bb3d3c37d464954ec1a25771f
Properly initialize stack

poppler/Function.cc
http://cgit.freedesktop.org/poppler/poppler/commit/?id=26a5817ffec9f05ac63db6c5cd5b1f0871d271c7
Fix crash when idx is out of range
2010-10-01 21:32:33 +00:00
drochner
4406142421 update to 0.14.2
changes:
-Improve rendering of some annotations
-bugfixes

pkgsrc nore: shlib name changed, revbumps needed
2010-08-15 11:19:18 +00:00
tron
2443bee359 Improve horrible version check to unbreak build under NetBSD 5.1* which
provides both fmin(3) and fmax(3). The build is still broke under
NetBSD 5.0_STABLE built from sources after 2010-03-12. A possible fix
for this case is to upgrade to NetBSD 5.1*.
2010-07-17 19:29:25 +00:00
obache
1855491b47 Need to include sys/param.h. noticed by tnn@. 2010-07-15 12:24:19 +00:00
obache
e4c71db115 Fixes macro names for NetBSD. noticed by wiz@. 2010-07-15 09:01:53 +00:00
obache
07e4d9f3cd Add workaround for lack of fmax/fmin on NetBSD<6. 2010-07-15 04:33: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
cfc9ffdd0b update to 0.12.3
changes:
-Improve the reconstruction of the XRef for broken files
-Make PSOutputDev code a bit more resilient
-bugfixes
2010-01-15 19:24:19 +00:00
tron
c09dde1c04 Fix build with Sun Studio C++. 2010-01-09 20:36:34 +00:00
drochner
e330482491 do the fix for possible division by zero more elegant, and add
a reference to the upstream bug report
2009-11-20 15:59:59 +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
2b77e300e3 update to 0.12.1
changes:
-Security fixes from xpdf 3.02pl4
-bugfixes
-qt4 API improvements

pkgsrc change: add patch for CVE-2009-3607 (integer overflow
 in create_surface_from_thumbnail_data)
2009-10-21 10:18:57 +00:00
drochner
048d9d3edf throw away the custom build rules in the poppler-qt pkg Makefile
(which got slightly out of sync) and use the original Makefile,
fixes an unresolved autoconf variable in the .pc file reported
by Hasso Tepper
bump PKGREVISION
2009-09-11 10:09:13 +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
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
972f76cd21 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 21:16:21 +00:00
joerg
dde8c871c5 Remove @dirrm entries from PLISTs 2009-06-14 18:11:52 +00:00
drochner
785ca0a185 update to 0.10.7
changes: bugfixes
2009-05-25 21:05:23 +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
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +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
4ea267c991 Update to 0.10.3:
Release 0.10.3

	core:
	 * Fix a crash on documents with malformed outline. Bug #19024
	 * Fix leak on AnnotScreen destructor. Bug #19095
	 * Fix wrong PS generation when a large image is in Patterns. Bug #18908
	 * Remove BaseFile.h it was never used. Bug #19298
	 * Improve document saving
	 * Fix PS generation of PDF with malformed font Length2 definition
	 * Fix a leak while parsing annotations
	 * Fix rendering of some checkboxes

	Qt4:
	 * Fix positioning of Form rects on PDF with cropbox
	 * Fix positioning of Annotation rects on PDF with cropbox. Bug #18558.
	 * Small documentation improvements
	 * Make Document::fonts() work when called more than once. Bug #19405

	build system:
	 * CMake: look harder for openjpeg
	 * CMake: update the poppler core headers installation
	 * Autotools: do not install Function.cc as it's not a header

	Qt:
	 * Fix deserialization of links right coordinate
2009-01-13 10:18:56 +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
reed
4b78cc66db Set the BUILDLINK_ABI_DEPENDS.
The previous libraries had major of 3 and now they are 4.
I didn't bump those depending on this as this update happened
months ago.

I noticed this two ways:
new poppler didn't work with my already installed evince and
new poppler didn't work with my alreadyinstalled poppler-glib.
2009-01-06 22:58:49 +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