diff options
author | salo <salo@pkgsrc.org> | 2003-03-25 14:02:37 +0000 |
---|---|---|
committer | salo <salo@pkgsrc.org> | 2003-03-25 14:02:37 +0000 |
commit | efc036a5dfb5cdc6b712ec38da5871d3974b4b80 (patch) | |
tree | d04b6187f31b720e1c22c2c127e18e72199a9d55 /print/xpdf/Makefile | |
parent | 934000cbcd9d259c9ff1a1c8b1188f90dcd9d483 (diff) | |
download | pkgsrc-efc036a5dfb5cdc6b712ec38da5871d3974b4b80.tar.gz |
Updated to version 2.02.
Changes:
- s/USE_X11BASE/USE_X11/
- fix paths in manual pages
- install shared directory for supplemental packages
2.02:
=====
- Rewrote the text extractor code that assembles words into lines to
better handle vertically overlapping lines.
- Add the "match" option for paper size (in PostScript output).
- Added support for external 16-bit TrueType fonts; added the
displayCIDFontTT and displayNamedCIDFontTT commands to the xpdfrc
file.
- Added an Arabic language support package.
- Added the Windows-1255 encoding to the Hebrew language package.
- A missing NULL check was causing a crash when closing the file in a
single window (which clears out the window, but leaves it open).
- Deal with TrueType fonts whose glyph data is out of order - this
affected both FreeType rasterization and PostScript generation.
- Munge font names in PSOutputDev to avoid names that are problematic
for ghostscript because they start with an out-of-limits number
(e.g., 1e999foo).
- Modify the TrueType font encoding deciphering algorithm in yet another
attempt to match up with Acrobat's behavior.
- Bounds check the indexHigh value in indexed color spaces.
- The text extractor no longer bothers trying to get an average
character width for Type 3 fonts, since it generally doesn't work
very well (because Type 3 metrics are unreliable).
- Don't crash if the user hits ctrl-G ("find again") before doing a
find.
- Set the button pixmap foreground color correctly.
- Handle text drawn backward on 180 degree rotated pages.
- Added a magic call to XtUngrabButton after calling XmCreatePopupMenu
which appears to prevent some very odd problems (idea taken from the
DDD source code).
- Fix the MacOS X fix (needed to include <AvailabilityMacros.h>).
- Fixed a bunch of Motif 1.x / X11R5 incompatibilities. [Thanks to
William Bader and Albert Chin-A-Young.]
- Fixed various bugs in previously untested code in the JBIG2 decoder.
- Modify the XPDFCore destructor to avoid a bogus warning message from
OpenMotif 2.2.
- Modified the Type 1C font parser to do proper bounds checking.
- Fixed the bounds checking in the TrueType font parser.
- Text extractor shouldn't do block merging in physical layout mode.
- Fixed a problem in PSOutputDev in level2sep mode with images in a
Separation color space and with a non-default Decode array.
- Text extraction with "-raw" was concatenating lines from the bottom
of one column and the top of the next.
- Handle Type 1C subroutines in the font converters.
- Correctly handle progressive JPEG images whose scans are slightly
different sizes (e.g., the Y scan rounds up to a multiple of 8
pixels and the Cb/Cr scans round up to 16 pixels).
- Avoid a potential divide-by-zero problem in TextOutputDev.
- Modified the T1Font and FTFont modules to correctly handle glyphs that
are larger than the font's claimed bounding box.
- Tweak dupMaxDeltaX parameter in TextOutputDev to avoid triggering on
double characters.
- Improved detection in pdfinfo for ISO paper sizes. [Thanks to Hartmut
Henkel.]
- Xpdf wasn't responding to the TARGETS atom, which prevented pasting
the selection into various applications. [Thanks to Phillip Ezolt.]
- Handle XObjects with recursive references in their Resources
dictionaries (in PSOutputDev).
- Change PSOutputDev to deal with invalid PDF files that use
non-embedded TrueType fonts with no encoding.
- Check for undersized Widths arrays in fonts.
- Add bounds checking code to Array class.
- Updated VMS build scripts. [Thanks to Martin Zinser.]
- Tweak the TrueType font handling code (again):
- char codes in symbolic fonts may or may not be offset by 0xf000
- discard empty tables because they sometimes confuse FreeType
- Fixed bounds checking in the Flate decoder.
- Removed a bogus error message for exponential functions without
explicit C0/C1 values. [Thanks to Hartmut Henkel.]
- Handle the other Unicode cmap type (platform=0) in TrueType fonts.
- Added support for the SGI Motif horizontal paned window widget.
[Thanks to Felix Ritter.]
- Ignore extra elements in link destination arrays.
- Accept external Type 1 font files with a suffix of ".ps" or no suffix
at all.
- Add a bounds check in the DCT decoder.
- Added instructions for building xpdf.exe under cygwin/XFree86.
Diffstat (limited to 'print/xpdf/Makefile')
-rw-r--r-- | print/xpdf/Makefile | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/print/xpdf/Makefile b/print/xpdf/Makefile index 721b7fe829d..b5d625fa3e3 100644 --- a/print/xpdf/Makefile +++ b/print/xpdf/Makefile @@ -1,16 +1,11 @@ -# $NetBSD: Makefile,v 1.16 2003/01/28 22:04:03 jlam Exp $ +# $NetBSD: Makefile,v 1.17 2003/03/25 14:02:37 salo Exp $ # -DISTNAME= xpdf-2.01 -PKGREVISION= 2 +DISTNAME= xpdf-2.02 CATEGORIES= print MASTER_SITES= ftp://ftp.foolabs.com/pub/xpdf/ \ ${MASTER_SITE_SUNSITE:=apps/graphics/viewers/X/} -PATCH_SITES= ftp://ftp.foolabs.com/pub/xpdf/ -PATCHFILES= xpdf-2.01-patch1 -PATCH_DIST_ARGS=-d ${WRKSRC}/xpdf - MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.foolabs.com/xpdf/ COMMENT= Display tool for PDF files @@ -21,7 +16,7 @@ CONFLICTS= xpdf-crypto-[0-9]* USE_BUILDLINK2= YES USE_PKGINSTALL= YES -USE_X11BASE= YES +USE_X11= YES GNU_CONFIGURE= YES CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} @@ -39,6 +34,17 @@ CONFIGURE_ARGS+= --enable-a4-paper EGDIR= ${PREFIX}/share/examples/xpdf CONF_FILES= ${EGDIR}/xpdfrc ${PKG_SYSCONFDIR}/xpdfrc +post-patch: + @cd ${WRKSRC}/doc && \ + for f in *.1 *.5; do \ + ${MV} $${f} $${f}.orig; \ + ${SED} ${FILES_SUBST_SED} $${f}.orig > $${f}; \ + done + +# Used by supplemental packages. +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/xpdf + .include "../../fonts/t1lib/buildlink2.mk" .include "../../graphics/freetype2/buildlink2.mk" .include "../../graphics/xpm/buildlink2.mk" |