Commit graph

110 commits

Author SHA1 Message Date
nia
7bacd8705a print: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 11:12:01 +00:00
nia
2984d3c2a6 print: Remove SHA1 hashes for distfiles 2021-10-07 14:48:50 +00:00
gdt
a591596afe print/xpdf: Drop MESSAGE
Upgrade hints from 2011 are not useful.
2021-06-04 12:20:53 +00:00
nros
936648995e set right master site for print/xpdf
ftp.foolabs.com is unresolvable and the sunsite mirros
only have old versions available
2021-01-22 16:27:21 +00:00
rillig
9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00
nia
01be250b01 Add print/xpdf4.
Xpdf is a viewer for Portable Document Format (PDF) files using the Qt toolkit.

Note: this version does not include the command line tools because they
conflict with poppler-utils.
2019-10-22 22:21:26 +00:00
rillig
c7ff05f63e all: replace SUBST_SED with the simpler SUBST_VARS
pkglint -Wall -r --only "substitution command" -F

With manual review and indentation fixes since pkglint doesn't get that
part correct in every case.
2019-05-23 19:22:54 +00:00
jperkin
5393242c73 *: Move SUBST_STAGE from post-patch to pre-configure
Performing substitutions during post-patch breaks tools such as mkpatches,
making it very difficult to regenerate correct patches after making changes,
and often leading to substituted string replacements being committed.
2018-07-04 13:40:07 +00:00
wiz
f367007762 *: gd.tuwien.ac.at/ftp.tuwien.ac.at is gone, remove it from various mastersites 2018-04-21 13:38:04 +00:00
wiz
56fb2df83a Update HOMEPAGE, from Marc Baudoin. 2017-08-14 06:49:51 +00:00
agc
30b55df38e Convert all occurrences (353 by my count) of
MASTER_SITES= 	site1 \
			site2

style continuation lines to be simple repeated

	MASTER_SITES+= site1
	MASTER_SITES+= site2

lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
accordingly.
2017-01-19 18:52:01 +00:00
dholland
f13d6671da Fix missing/broken rcsids. 2015-12-29 04:04:26 +00:00
agc
03010d7bd0 Add SHA512 digests for distfiles for print category
Problems found locating distfiles:
	Package acroread7: missing distfile AdobeReader_enu-7.0.9-1.i386.tar.gz
	Package acroread8: missing distfile AdobeReader_enu-8.1.7-1.sparc.tar.gz
	Package cups-filters: missing distfile cups-filters-1.1.0.tar.xz
	Package dvidvi: missing distfile dvidvi-1.0.tar.gz
	Package lgrind: missing distfile lgrind.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:01:30 +00:00
mef
2555832bc4 Fix print/xpdf xpdfrc(5) problem PR pkg/49718 (by fukumoto at imasy.or.jp).
The path mentioned in man page examples did not match to the actual installation.
This is the same problem as pkg/44266 (by also fukumoto).
Thank you,
2015-03-07 15:30:58 +00:00
tron
0fc1b8bcb6 Update "xpdf" package to version 3.04. Changes since version 3.03:
- New text extractor.
- Added the pdftohtml tool.
- Added the pdftopng tool.
- New trapezoid-based rasterizer core (for performance).
- Generate appearance streams for Line, PolyLine, and Polygon
  annotations.
- Added the closeWindowOrQuit command, and changed the default binding
  for ctrl-W from closeWindow to closeWindowOrQuit.
- Implemented the new AES-256 mode (R=6, Acrobat X).
- Add an object cache.
- Added a small cache for object streams.
- Modify PSOutputDev to use LZW compression instead of RLE, with a
  fallback to RLE if the "psLZW no" setting is given.
- Pdfinfo now prints page rotation info.
- Modified ImageOutputDev, used by pdfimages, to output the masks and
  soft masks used when drawing images.
- Remove non-printable characters from error output, just in case they
  might cause problems for the terminal program.
- Added initial support for Code3of9 bar codes in XFA forms.
- Added the mapExtTrueTypeFontsViaUnicode xpdfrc command.
- Apply stroke adjustment to rectangular images and clipping regions (in
  addition to strokes and fills).
- Decode JPEG 2000 images at less than full resolution if the full res
  image isn't needed (i.e., if the raw image is higher resolution than
  the output).
- Implemented knockout groups.
- Removed t1lib support.
- Added support for images with 16-bit components.
- Rewrote the Dict class to use a hash table; as a side effect, this
  handles dictionaries with multiple definitions for a key, which are
  in violation of the spec, but Acrobat appears to handle.
- The transformed line width computation -- used to implement the
  minLineWidth setting, and the hairline threshold in monochrome mode --
  was incorrect.
- Pdftops was not correctly handling the case where it couldn't find
  a 16-bit font -- this led to crashes and/or invalid PostScript.
- A bug in FlateStream::getBlock() was causing problems with narrow
  images.
- Use the correct _WIN32 define instead of WIN32.
- Use copy-on-write for the clip path in SplashState (when doing gsave),
  for performance.
- Added a Solaris-specific entry to the ghostscript font search path.
- SplashState was initializing line width to 0 instead of 1.
- Abort processing on a content stream after getting 500 errors
  (undefined operator, wrong number of args) -- this avoids very long
  processing time for malicious PDF files using bogus RLE encoded
  content streams.
- Added the psUseCropBoxAsPage xpdfrc option; "pdftops -pagecrop" now
  sets psUseCropBoxAsPage; "pdftops -pagecrop -paper match" now uses
  the CropBox as the page size.
- Re-architected the AcroForm support code into a separate AcroForm
  module.
- Fixed the handling of overprinting/transparency interaction, using
  the CompatibleOverprint blend mode.
- The TIFF predictor code for the 1-bit-per-pixel case was broken.
- For triangle and patch mesh shadings (types 4-7) with color functions,
  interpolate the function parameter not the color.
- Check the fontFile/fontDir commands before (instead of after) doing
  Base-14 substitution in PS output.
- Correctly handle non-embedded TrueType fonts that have an Identity
  ToUnicode mapping (display and PS output were failing).
- Added support for XFA form rendering, including an "enableXFA" xpdfrc
  setting.
- Handle PFB Type 1 fonts when generating PostScript output.
- Unwind any extraneous saved graphics state at the end of the page
  (before drawing annotations).
- Added some integer overflow checks in the GString class.
- Handle 16-bit components in JPEG 2000 images.
- ActualText spans can end without a valid font, in which case
  TextPage::beginWord was crashing.
- The Domain entry in function shadings wasn't being parsed correctly.
- Fixed a bug in the JPEG decoder - successive approximation
  (progressive mode) coefficients weren't being handled correctly.
- Added a better infinite loop test to the xref parser.
- When generating PostScript, merge reused TrueType fonts (if their
  code-to-GID mappings are the same).
- Tweak the Gouraud triangle shaded fill code to end the recursive
  splitting if the triangles get sufficiently small.
- Do bilinear interpolation when upsampling images.
- When skipping extraneous image data from an inline image, look for
  EI<whitespace> instead of just EI.
- When writing to stdout on Windows, pdftoppm now sets the file mode to
  binary.  [Thanks to Robert Frunzke.]
- Accept strings as well as names for the BaseFont entry in font
  objects.
- Removed the TEXTOUT_WORD_LIST config option (with the new text
  extractor, this is always enabled).
- Fixed a bug in the JBIG2 decoder (the TPGD context for template #3 in
  readGenericBitmap was incorrect).
- Rewrote the PostScriptFunction code for performance.
- Handle 8-bit OpenType CFF fonts that are missing required tables in
  the OpenType wrapper.
- Handle tiling patterns with reversed coordinates in their bounding
  boxes.
- Added support for 64-bit file offsets, i.e., PDF files larger than
  2GB.
- Optimize the code that rasterizes pattern-filled image masks.
- Added support for Mac OS X system fonts (Base-14 only).
- The backdrop color in luminosity-type soft mask groups was not being
  handled correctly.
- Modified behavior of "pdftops -paper match -duplex ..." - it will now
  duplex consecutive same-sized pages.
- Tweak the handling of degenerate fills ('moveto lineto fill') to
  match Adobe.
- Don't honor the OPM=1 setting with ICCBased CMYK color spaces.
- Whole-word searches were treating certain punctuation (Unicode number
  separators and terminators) as part of the word, e.g., searching for
  "foo" would not match "foo,".
- Use the TextString class everywhere it makes sense.
- Removed the unnecessary segment sort in Splash (performance
  optimization).
- Handle hyperlinks that use Widget-type annotations.
- Fix up the integer overflow checks to avoid issues with clever
  compilers.  [Thanks to Nickolai Zeldovich.]
- Correctly handle streams with missing Length entries in damaged PDF
  files.
- Added a compile-time option (LOAD_FONTS_FROM_MEM) to load fonts from
  memory rather than temporary files on disk.
- Added the psRasterSliceSize xpdfrc option.
- Fixed a case in the JPEG 2000 arithmetic decoder where extra data is
  present in packet i, and needs to be saved for use in packet i+1.
- Fixed a bug in the JPEG 2000 decoder related to images with fewer than
  8 bits per component.
- Handle the case in PSOutputDev where slice size overflows a 32-bit
  integer.
- Add (partial) support for TrueType cmap format 2.
- Always pass FT_LOAD_NO_BITMAP to FreeType -- bitmaps apparently fail
  with rotated characters.
- Support fonts specified in ExtGState dictionaries.
- Annotations with empty Border arrays should not draw a border.
- Fix the CMap parser to handle large CID ranges.
- Check for Type 3 CharProcs that call q or Q before the d0/d1 operator,
  and treat them as uncacheable.
- Invert the selection color when starting in reverse video mode.
- Device{Gray,RGB,CMYK} cannot be mapped via a resource dict.
- Changed the PS output for masked images (explicit and color key
  masking): use a plain old clip path instead of rectclip to avoid
  array overflows.
- Check the StemSnapH/V arrays when converting Type 1C fonts to Type 1 -
  if there are any duplicate or out-of-order values, skip that
  StemSnapH/V array.
- Added the psMinLineWidth xpdfrc setting.
- Fix an obscure issue in converting TrueType fonts to Type 42, related
  to empty glyph descriptions (12 zero bytes).
- Pdftops now reports an error if there were any I/O errors writing to
  the PS output file.
- Fix vertical text (CJK fonts) in PS output -- offset the character
  origin correctly.
- Increased the number of digits used by pdfimages for the image number
  from three to four.
- Handle right-to-left (e.g., Arabic) ligatures correctly in the text
  extractor.
- Added the -loc and -locPS options to pdffonts.
- Extend the object parser recursion limit to cover Stream::addFilters()
  / Stream::makeFilters() - to avoid another possibility of stack
  overflow.
- Disable FreeType autohinting, because it can fail badly with font
  subsets that use invalid glyph names -- except in the case of Type 1
  fonts, which look much better with light autohinting.
- Modified the rasterizer pipeline functions to process a scan line at a
  time (for performance).
- Removed VMS build support (it hasn't been updated in ages).
- Removed pdftotext's '-htmlmeta' option (use pdftohtml instead).
- PSOutputDev's font/form setup code, and pdffonts, were not scanning
  soft mask groups in ExtGState dictionaries.
- Invalid DCT input (e.g., from a damaged PDF file) could overflow the
  dctClip array.
- When upsampling an image mask or image with a large resulting image
  size, do it in stream mode instead of prescaling the whole image
  (to avoid running out of memory).
- Added infinite loop detection to pdffonts.
2014-08-01 12:31:27 +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
asau
6ebceaf75d Drop PKG_DESTDIR_SUPPORT setting, "user-destdir" is default these days. 2012-10-08 13:45:34 +00:00
hans
349756c886 Avoid invalid conversion from const char * to char * when building this
against lesstif with gcc46.
2012-03-21 17:05:57 +00:00
drochner
a03a684eb1 PKGREV bump for libXp-less openmotif 2011-12-09 14:36:32 +00:00
sbd
04daa2f1b8 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
tez
aec72be034 Add MESSAGE to notify users of change in xpdfrc commands. 2011-10-27 14:54:41 +00:00
tez
026f5a258f Update to 3.03
Fixes multiple vulnerabilites

Change list too long to include here, see http://www.foolabs.com/xpdf/CHANGES
(file does not note what changes were included in 3.02pl1 - 3.02pl4 and which
 are new for 3.03)
2011-10-27 02:35:41 +00:00
obache
cc379cad84 Adjust Thai and Japanese examples in xpdfrc(5) to realities (add-to-xpdfrc
in xpdf-thai and xpdf-japanese package).
Fixes PR#44266.

Bump PKGREVISION.
2010-12-23 04:44:41 +00:00
tez
6ea133f2e5 Fixes for CVE-2010-3702 and CVE-2010-3704 from openbsd ports and cross
checked with redhat (bugs 595245 and 638960)
2010-10-13 21:29:42 +00:00
spz
a0818ab6e1 the fonts that xpdf uses used to be in ghostscript-fonts, but nowadays
they are present in urw-fonts; fix dependencies and font search paths.
Also add X11R7 to the font search paths.
2010-06-13 08:56:04 +00:00
wiz
f17be0e8e5 Use full path for depends. 2009-11-15 22:31:51 +00:00
wiz
f96a8851c8 Bump PKGREVISION for previous. 2009-11-14 07:10:17 +00:00
christos
78d467a6cc make those not conflict, by using the poppler version of the pdftofoo programs. 2009-11-13 23:12:02 +00:00
tez
b11530a43a update to xpdf-3.02pl4 to fix CVE-2009-3603, CVE-2009-3604, CVE-2009-3606,
CVE-2009-3608 & CVE-2009-3609
2009-10-16 19:36:29 +00:00
wiz
34912be4d6 Remove message about xpdf being obsolete.
There are still pdfs that evince doesn't display correctly, while
xpdf does.
2009-10-08 17:27:58 +00:00
wiz
2226bc28da Use standard format for MESSAGE files. 2009-08-23 15:11:57 +00:00
christos
f177eab52b add a message that this is obsolete. 2009-08-23 01:14:00 +00:00
joerg
dde8c871c5 Remove @dirrm entries from PLISTs 2009-06-14 18:11:52 +00:00
reed
a748bf9ce2 Add conflict with poppler-utils. And bump package revision. 2009-06-01 13:48:36 +00:00
tron
ee47e376d3 Update "xpdf" package to version 3.02pl3. This update fixes the
security vulnerabilities reported in CVE-2009-0146, CVE-2009-0147,
CVE-2009-0166, CVE-2009-0799, CVE-2009-0800, CVE-2009-1179,
CVE-2009-1180, CVE-2009-1181, CVE-2009-1182 and CVE-2009-1183.
2009-04-17 12:09:35 +00:00
tonnerre
4ad89e4880 Fix embedded font handling (CVE-2008-1693). While at it, add a patch
from upstream CVS which fixes display of 16-bit colors. Update from
print/poppler.
Approved-by: joerg
2008-04-20 15:48:12 +00:00
obache
842916fea3 Swith to vender supplied patch file xpdf-3.02pl1.patch. 2008-03-29 04:03:41 +00:00
obache
b32bc73dc4 Update xpdf to 3.02pl2.
Security fix for CVE-2007-4352, CVE-2007-5392 and CVE-2007-5393.
2008-03-29 03:00:57 +00:00
rillig
1ee0df86ec Sunpro fix. 2008-01-13 22:59:42 +00:00
drochner
7f6cde374c add a vendor supplied patch to fix an integer overflow vulnerability
(CVE-2007-3387)
2007-08-02 14:54:33 +00:00
gdt
df83d8187d Add "MAKE_JOBS_SAFE= no"; the build fails horribly with MAKE_JOBS. 2007-04-06 14:29:59 +00:00
drochner
537340a227 oops - remove obsolete patches 2007-03-13 11:07:23 +00:00
drochner
882f7025a2 update to 3.02
changes: many fixes, added support for PDF features, UI improvements
see the CHANGELOG for details
2007-03-13 11:06:04 +00:00
drochner
fa160e8bb7 apply the patch from poppler to fix MOAB-06-01-2007 (DOS)
bump PKGREVISION
2007-01-17 17:38:05 +00:00
joerg
a2e9765cae Switch to modular buildlinks and prefer OWN_DIRS over PLIST
exec/unexec.
2006-11-06 10:47:18 +00:00
joerg
f75176b39c Flag a number of packages I use as supporting (user-)destdir.
apg is a bit special as it has some hardcoded ownership, so
mark that as "destdir".
2006-10-09 12:52:34 +00:00
tron
d10e997262 Set API dependence for "freetype2" to version 2.2.1 or newer. The new
"xpdf" package works fine with an old "freetype2" library but cannot
be built with the old include files.

This fixes PR pkg/33607 by Brad Harder.
2006-05-31 07:57:17 +00:00
tron
0c89b16782 Add patch provided by the FreeType2 maintaines to make this package
build with version 2.2.1 and newer of the "freetype2" package.
Bump package revision because of this fix.
2006-05-30 20:03:28 +00:00
joerg
9ad2ba16ec Update xpdf to 3.01 patch level 2. The patch level addresses a number of
vulnerabilities reported and adds at least some constraint checks not
done before.
2006-03-29 17:20:09 +00:00