Index: branches/2019Q4/graphics/xpdf3/Makefile =================================================================== --- branches/2019Q4/graphics/xpdf3/Makefile (revision 514745) +++ branches/2019Q4/graphics/xpdf3/Makefile (revision 514746) @@ -1,77 +1,79 @@ # $FreeBSD$ PORTNAME= xpdf PORTVERSION= 3.04 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= graphics print MASTER_SITES= http://mirrors.rit.edu/zi/ \ ftp://ftp.foolabs.com/pub/xpdf/ \ TEX_CTAN/support/xpdf \ http://komquats.com/distfiles/ .if !defined(MASTERDIR) PKGNAMESUFFIX= 3 CONFLICTS_INSTALL= xpdf4-* xpdf-* .else CONFLICTS_INSTALL= xpdf4-* xpdf3-* .endif MAINTAINER= cy@FreeBSD.org COMMENT= Display PDF files and convert them to other formats LICENSE= GPLv2 LIB_DEPENDS= libfreetype.so:print/freetype2 \ libpng.so:graphics/png GNU_CONFIGURE= yes -USES= gmake cpe localbase +USES= gmake cpe localbase xorg +USE_XORG= ice sm x11 xext xt + CPE_VENDOR= foolabs CONFIGURE_ARGS= --enable-opi \ --with-freetype2-library="${LOCALBASE}/lib" \ --with-freetype2-includes="${LOCALBASE}/include/freetype2" \ --bindir="${PREFIX}/libexec/xpdf" \ --mandir="${PREFIX}/share/xpdf/man" MANPREFIX= ${PREFIX}/share/xpdf OPTIONS_DEFINE= LIBPAPER TYPE1 X11 DOCS LIBPAPER_DESC= Enable libpaper TYPE1_DESC= Ghostscript type1 fonts OPTIONS_DEFAULT=TYPE1 X11 OPTIONS_SUB= yes SUB_FILES= xpdf-man.conf TYPE1_RUN_DEPENDS= ${LOCALBASE}/share/ghostscript/fonts/n021003l.pfb:print/gsfonts LIBPAPER_LIB_DEPENDS= libpaper.so:print/libpaper LIBPAPER_CONFIGURE_ON= --with-libpaper-library="${LOCALBASE}/lib" \ --with-libpaper-includes="${LOCALBASE}/include" LIBPAPER_CONFIGURE_OFF=--without-libpaper-library .if defined(A4) CONFIGURE_ARGS+= --enable-a4-paper .endif X11_CONFIGURE_WITH= x X11_USES= desktop-file-utils motif X11_PLIST_SUB= DESKTOPDIR=${DESKTOPDIR} post-patch: ${REINPLACE_CMD} -e 's|undef USE_COMBO_BOX|define USE_COMBO_BOX 1|' \ ${WRKSRC}/xpdf/XPDFViewer.h post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ANNOUNCE CHANGES README misc/hello.pdf ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor @cd ${STAGEDIR}${PREFIX}; \ ${LN} -sf ../libexec/xpdf/xpdf bin/xpdf ${INSTALL_DATA} ${WRKDIR}/xpdf-man.conf \ ${STAGEDIR}${PREFIX}/etc/man.d/xpdf.conf post-install-X11-on: ${INSTALL_DATA} ${FILESDIR}/xpdf.desktop ${STAGEDIR}${DESKTOPDIR} .include Index: branches/2019Q4/graphics/xpdf3/files/patch-xpdf_TextOutputDev.cc =================================================================== --- branches/2019Q4/graphics/xpdf3/files/patch-xpdf_TextOutputDev.cc (nonexistent) +++ branches/2019Q4/graphics/xpdf3/files/patch-xpdf_TextOutputDev.cc (revision 514746) @@ -0,0 +1,15 @@ +--- xpdf/TextOutputDev.cc.orig 2019-10-04 19:39:06 UTC ++++ xpdf/TextOutputDev.cc +@@ -2472,6 +2472,12 @@ TextBlock *TextPage::split(GList *charsA, int rot) { + + //----- compute the horizontal and vertical profiles + ++ if (xMin / splitPrecision < 0.5 * INT_MIN || ++ xMax / splitPrecision > 0.5 * INT_MAX || ++ yMin / splitPrecision < 0.5 * INT_MIN || ++ xMax / splitPrecision > 0.5 * INT_MAX) { ++ return NULL; ++ } + // add some slack to the array bounds to avoid floating point + // precision problems + xMinI = (int)floor(xMin / splitPrecision) - 1; Property changes on: branches/2019Q4/graphics/xpdf3/files/patch-xpdf_TextOutputDev.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: branches/2019Q4/graphics/xpdf3/pkg-descr =================================================================== --- branches/2019Q4/graphics/xpdf3/pkg-descr (revision 514745) +++ branches/2019Q4/graphics/xpdf3/pkg-descr (revision 514746) @@ -1,8 +1,8 @@ Xpdf is a viewer for Portable Document Format (PDF) files. These are also sometimes also called 'Acrobat' files, from the name of Adobe's PDF software. It can also convert PDF input to ps, text, and info formats; and split out fonts and images. -WWW: http://www.foolabs.com/xpdf/ +WWW: https://www.xpdfreader.com/ Index: branches/2019Q4 =================================================================== --- branches/2019Q4 (revision 514745) +++ branches/2019Q4 (revision 514746) Property changes on: branches/2019Q4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r513783,513785-513786