1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

graphics/poppler: update to 0.82.0

Release 0.82.0:
        core:
         * Fix not being able to open some files. Issue #832
         * Fix crashes in malformed files
         * Fix memory leak on broken files
         * Minor performance improvements
         * Minor code improvements

        glib:
         * Add poppler_document_new_from_bytes
         * PopplerAttachment: Silence deprecation warnings for ctime/mtime

        build system:
         * pdf-inspector: Support builddir != srcdir
         * Install Cairo* headers if Cairo has been found

Thanks to adridg@ for fixing all the fallout.

Exp-run by:	antoine
PR:		241532
Approved by:	gnome (kwm, implicit)
This commit is contained in:
Tobias C. Berner 2019-11-01 21:51:36 +00:00
parent 19c0b79bf4
commit 3ca3ffe455
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=516270
89 changed files with 335 additions and 80 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= pdf2djvu
PORTVERSION= 0.9.13
PORTREVISION= 1
CATEGORIES= converters
MASTER_SITES= https://github.com/jwilk/${PORTNAME}/releases/download/${PORTVERSION}/

View File

@ -0,0 +1,26 @@
This patch doesn't come from Gentoo, but because there are already
three unrelated patches that touch the same file, I'm following the
naming convention so that it gets applied in the right order.
Chase constness changes in the poppler API.
--- pdf2djvu.cc.orig 2019-10-27 19:16:30.654895000 +0000
+++ pdf2djvu.cc 2019-10-27 19:16:47.450786000 +0000
@@ -333,7 +333,7 @@
}
void drawImage(pdf::gfx::State *state, pdf::Object *object, pdf::Stream *stream, int width, int height,
- pdf::gfx::ImageColorMap *color_map, bool interpolate, int *mask_colors, bool inline_image)
+ pdf::gfx::ImageColorMap *color_map, bool interpolate, const int *mask_colors, bool inline_image)
{
if (is_foreground_color_map(color_map) || config.no_render)
{
@@ -376,7 +376,7 @@
bool interpretType3Chars() { return false; }
void drawChar(pdf::gfx::State *state, double x, double y, double dx, double dy, double origin_x, double origin_y,
- CharCode code, int n_bytes, Unicode *unistr, int length)
+ CharCode code, int n_bytes, const Unicode *unistr, int length)
{
double pox, poy, pdx, pdy, px, py, pw, ph;
x -= origin_x; y -= origin_y;

View File

@ -0,0 +1,11 @@
--- pdf-dpi.cc.orig 2019-10-27 19:10:07 UTC
+++ pdf-dpi.cc
@@ -34,7 +34,7 @@ class DpiGuessDevice : public pdf::OutputDevice (prote
}
virtual void drawImage(pdf::gfx::State *state, pdf::Object *object, pdf::Stream *stream, int width, int height,
- pdf::gfx::ImageColorMap *color_map, bool interpolate, int *mask_colors, bool inline_image)
+ pdf::gfx::ImageColorMap *color_map, bool interpolate, const int *mask_colors, bool inline_image)
{
this->process_image(state, width, height);
}

View File

@ -0,0 +1,25 @@
--- pdf-unicode.cc.orig 2019-10-27 19:19:18.837645000 +0000
+++ pdf-unicode.cc 2019-10-27 19:20:31.405700000 +0000
@@ -125,11 +125,11 @@
* ===================
*/
-pdf::FullNFKC::FullNFKC(Unicode *unistr, int length)
+pdf::FullNFKC::FullNFKC(const Unicode *unistr, int length)
: data(nullptr), length_(0)
{
assert(length >= 0);
- this->data = unicodeNormalizeNFKC(unistr, length, &this->length_, nullptr);
+ this->data = unicodeNormalizeNFKC(const_cast<Unicode*>(unistr), length, &this->length_, nullptr);
}
pdf::FullNFKC::~FullNFKC()
@@ -141,7 +141,7 @@
* ======================
*/
-pdf::MinimalNFKC::MinimalNFKC(Unicode *unistr, int length)
+pdf::MinimalNFKC::MinimalNFKC(const Unicode *unistr, int length)
{
this->string.append(unistr, length);
}

View File

@ -0,0 +1,20 @@
--- pdf-unicode.hh.orig 2019-10-27 19:18:36.768779000 +0000
+++ pdf-unicode.hh 2019-10-27 19:19:00.052652000 +0000
@@ -58,7 +58,7 @@
Unicode* data;
int length_;
public:
- explicit FullNFKC(Unicode *, int length);
+ explicit FullNFKC(const Unicode *, int length);
~FullNFKC();
int length() const
{
@@ -79,7 +79,7 @@
protected:
std::basic_string<Unicode> string;
public:
- explicit MinimalNFKC(Unicode *, int length);
+ explicit MinimalNFKC(const Unicode *, int length);
int length() const;
operator const Unicode*() const;
};

View File

@ -3,7 +3,7 @@
PORTNAME= kbibtex
DISTVERSION= 0.9
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= databases kde
MASTER_SITES= KDE/stable/KBibTeX/${DISTVERSION}

View File

@ -3,6 +3,7 @@
PORTNAME= calibre
PORTVERSION= 4.2.0
PORTREVISION= 1
CATEGORIES= deskutils python
MASTER_SITES= http://download.calibre-ebook.com/${PORTVERSION}/

View File

@ -3,7 +3,7 @@
PORTNAME= gourmet
PORTVERSION= 0.17.4
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= deskutils gnome
MAINTAINER= rm@FreeBSD.org

View File

@ -2,7 +2,7 @@
PORTNAME= lumina-pdf
DISTVERSION= 1.5.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= deskutils
MAINTAINER= ken@ixsystems.com

View File

@ -3,6 +3,7 @@
PORTNAME= recoll
DISTVERSION= 1.25.22
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= https://www.lesbonscomptes.com/recoll/

View File

@ -3,7 +3,7 @@
PORTNAME= tumbler
PORTVERSION= 0.2.7
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= deskutils xfce
MASTER_SITES= XFCE
PKGNAMEPREFIX= xfce4-

View File

@ -3,7 +3,7 @@
PORTNAME= efl
DISTVERSION= 1.20.7
PORTREVISION= 18
PORTREVISION= 19
CATEGORIES= devel enlightenment
MASTER_SITES= http://download.enlightenment.org/rel/libs/${PORTNAME}/
DIST_SUBDIR= enlightenment

View File

@ -2,7 +2,7 @@
PORTNAME= kfilemetadata
DISTVERSION= ${KDE_FRAMEWORKS_VERSION}
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel kde kde-frameworks
MAINTAINER= kde@FreeBSD.org

View File

@ -2,7 +2,7 @@
PORTNAME= calligra
DISTVERSION= 3.1.0
PORTREVISION= 26
PORTREVISION= 28
CATEGORIES= editors kde
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}
DIST_SUBDIR= KDE/${PORTNAME}
@ -69,8 +69,4 @@ CMAKE_ARGS+= -DCMAKE_CXX_FLAGS="-DKDE_NO_DEBUG_OUTPUT"
PLIST_SUB+= SHLIB_VER=16.0.0
post-patch:
# Fix with poppler 0.73
${REINPLACE_CMD} -e 's|Guchar|unsigned char|g' \
${WRKSRC}/filters/karbon/pdf/SvgOutputDev.cpp
.include <bsd.port.mk>

View File

@ -101,7 +101,7 @@
{
int render = state->getRender();
// check for invisible text -- this is used by Acrobat Capture
@@ -402,7 +408,7 @@ void SvgOutputDev::drawString(GfxState * state, GooStr
@@ -402,10 +408,10 @@ void SvgOutputDev::drawString(GfxState * state, GooStr
QString str;
@ -109,7 +109,11 @@
+ const char * p = s->c_str();
int len = s->getLength();
CharCode code;
Unicode *u = nullptr;
- Unicode *u = nullptr;
+ const Unicode *u = nullptr;
int uLen;
double dx, dy, originX, originY;
while (len > 0) {
@@ -429,7 +435,7 @@ void SvgOutputDev::drawString(GfxState * state, GooStr
double x = state->getCurX();
double y = state->getCurY();
@ -144,6 +148,24 @@
{
ImageStream * imgStr = new ImageStream(str, width, colorMap->getNumPixelComps(), colorMap->getBits());
imgStr->reset();
@@ -488,7 +494,7 @@ void SvgOutputDev::drawImage(GfxState *state, Object *
if (maskColors) {
for (int y = 0; y < height; y++) {
dest = (unsigned int *)(buffer + y * 4 * width);
- Guchar * pix = imgStr->getLine();
+ unsigned char * pix = imgStr->getLine();
colorMap->getRGBLine(pix, dest, width);
for (int x = 0; x < width; x++) {
@@ -507,7 +513,7 @@ void SvgOutputDev::drawImage(GfxState *state, Object *
} else {
for (int y = 0; y < height; y++) {
dest = (unsigned int *)(buffer + y * 4 * width);
- Guchar * pix = imgStr->getLine();
+ unsigned char * pix = imgStr->getLine();
colorMap->getRGBLine(pix, dest, width);
}
@@ -522,7 +528,7 @@ void SvgOutputDev::drawImage(GfxState *state, Object *
return;
}

View File

@ -3,13 +3,7 @@ From: David Faure <faure@kde.org>
Date: Tue, 23 Jul 2019 13:02:34 +0200
Subject: Fix compilation with Qt 5.13 (missing include)
---
sheets/plugins/calendar/CalendarToolWidget.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/sheets/plugins/calendar/CalendarToolWidget.cpp b/sheets/plugins/calendar/CalendarToolWidget.cpp
index b10b230..0c5eeb6 100644
--- sheets/plugins/calendar/CalendarToolWidget.cpp
--- sheets/plugins/calendar/CalendarToolWidget.cpp.orig 2018-01-26 09:24:44 UTC
+++ sheets/plugins/calendar/CalendarToolWidget.cpp
@@ -30,6 +30,7 @@
#include <kdatepicker.h>
@ -19,5 +13,3 @@ index b10b230..0c5eeb6 100644
namespace Calligra
{
--
cgit v1.1

View File

@ -3,6 +3,7 @@
PORTNAME= kile
DISTVERSIONPREFIX= v
DISTVERSION= 3.0b3
PORTREVISION= 1
CATEGORIES= editors kde
MAINTAINER= kde@FreeBSD.org

View File

@ -1,4 +1,5 @@
# $FreeBSD$
PORTREVISION= 1
.include "${.CURDIR}/Makefile.common"

View File

@ -0,0 +1,35 @@
--- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx.orig 2019-10-27 14:16:14 UTC
+++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -866,7 +866,7 @@ void PDFOutDev::eoClip(GfxState *state)
void PDFOutDev::drawChar(GfxState *state, double x, double y,
double dx, double dy,
double originX, double originY,
- CharCode, int /*nBytes*/, Unicode *u, int uLen)
+ CharCode, int /*nBytes*/, const Unicode *u, int uLen)
{
assert(state);
@@ -982,7 +982,7 @@ void PDFOutDev::drawImageMask(GfxState* pState, Object
void PDFOutDev::drawImage(GfxState*, Object*, Stream* str,
int width, int height, GfxImageColorMap* colorMap,
poppler_bool /*interpolate*/,
- int* maskColors, poppler_bool /*inlineImg*/ )
+ const int* maskColors, poppler_bool /*inlineImg*/ )
{
if (m_bSkipImages)
return;
@@ -1004,12 +1004,12 @@ void PDFOutDev::drawImage(GfxState*, Object*, Stream*
{
GfxRGB aMinRGB;
colorMap->getColorSpace()->getRGB(
- reinterpret_cast<GfxColor*>(maskColors),
+ reinterpret_cast<const GfxColor*>(maskColors),
&aMinRGB );
GfxRGB aMaxRGB;
colorMap->getColorSpace()->getRGB(
- reinterpret_cast<GfxColor*>(maskColors)+gfxColorMaxComps,
+ reinterpret_cast<const GfxColor*>(maskColors)+gfxColorMaxComps,
&aMaxRGB );
aMaskBuf.push_back( colToByte(aMinRGB.r) );

View File

@ -0,0 +1,39 @@
--- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx.orig 2019-10-27 14:16:24 UTC
+++ sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx
@@ -232,10 +232,18 @@ namespace pdfi
virtual void eoClip(GfxState *state) override;
//----- text drawing
+#if POPPLER_CHECK_VERSION(0, 82, 0)
virtual void drawChar(GfxState *state, double x, double y,
double dx, double dy,
double originX, double originY,
+ CharCode code, int nBytes, const Unicode *u, int uLen) override;
+#else
+ virtual void drawChar(GfxState *state, double x, double y,
+ double dx, double dy,
+ double originX, double originY,
CharCode code, int nBytes, Unicode *u, int uLen) override;
+#endif
+
#if POPPLER_CHECK_VERSION(0, 64, 0)
virtual void drawString(GfxState *state, const GooString *s) override;
#else
@@ -248,10 +256,17 @@ namespace pdfi
int width, int height, poppler_bool invert,
poppler_bool interpolate,
poppler_bool inlineImg) override;
+#if POPPLER_CHECK_VERSION(0, 82, 0)
virtual void drawImage(GfxState *state, Object *ref, Stream *str,
int width, int height, GfxImageColorMap *colorMap,
poppler_bool interpolate,
+ const int* maskColors, poppler_bool inlineImg) override;
+#else
+ virtual void drawImage(GfxState *state, Object *ref, Stream *str,
+ int width, int height, GfxImageColorMap *colorMap,
+ poppler_bool interpolate,
int* maskColors, poppler_bool inlineImg) override;
+#endif
virtual void drawMaskedImage(GfxState *state, Object *ref, Stream *str,
int width, int height,
GfxImageColorMap *colorMap,

View File

@ -3,7 +3,7 @@
PORTNAME= apache-openoffice
PORTVERSION= ${AOOVERSION1}.${AOOVERSION2}.${TIMESTAMP}
PORTREVISION= 2
PORTREVISION= 3
PORTEPOCH= 4
CATEGORIES= editors java
MASTER_SITES= https://dist.apache.org/repos/dist/dev/openoffice/${AOOVERSION}-${AOORC}-${TIMESTAMP}/source/ \

View File

@ -2,7 +2,7 @@
PORTNAME= texstudio
DISTVERSION= 2.12.16
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= editors
MAINTAINER= rigoletto@FreeBSD.org

View File

@ -4,7 +4,7 @@
PORTNAME= texworks
DISTVERSIONPREFIX= release-
DISTVERSION= 0.6.2
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= editors
MAINTAINER= hrs@FreeBSD.org

View File

@ -5,7 +5,7 @@
PORTNAME= atril
PORTVERSION= 1.22.1
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= graphics print mate
MASTER_SITES= MATE
DIST_SUBDIR= mate

View File

@ -4,7 +4,7 @@ PORTNAME= diff-pdf
DISTVERSIONPREFIX= v
DISTVERSION= 0.2-27
DISTVERSIONSUFFIX= -gc4d6722
PORTREVISION= 10
PORTREVISION= 11
CATEGORIES= graphics
MAINTAINER= uzsolt@uzsolt.hu

View File

@ -2,7 +2,7 @@
PORTNAME= diffpdf
PORTVERSION= 2.1.3
PORTREVISION= 12
PORTREVISION= 13
CATEGORIES= graphics
MASTER_SITES= http://www.qtrac.eu/

View File

@ -3,7 +3,7 @@
PORTNAME= dspdfviewer
PORTVERSION= 1.15.1
DISTVERSIONPREFIX= v
PORTREVISION= 21
PORTREVISION= 22
CATEGORIES= graphics
MAINTAINER= fox@FreeBSD.org

View File

@ -2,7 +2,7 @@
PORTNAME= electrix
PORTVERSION= 0.2.0
PORTREVISION= 17
PORTREVISION= 18
CATEGORIES= graphics print
MASTER_SITES= SF/${PORTNAME:tl}/${PORTVERSION}

View File

@ -3,7 +3,7 @@
PORTNAME= engauge-digitizer
DISTVERSIONPREFIX= v
DISTVERSION= 12
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics math science
MAINTAINER= yuri@FreeBSD.org

View File

@ -3,7 +3,7 @@
PORTNAME= epdfview
PORTVERSION= 0.1.8
PORTREVISION= 23
PORTREVISION= 24
CATEGORIES= graphics print gnome
MASTER_SITES= FRUGALWARE/xapps-extra/${PORTNAME} \
ftp://ftp.slackware.com/.1/blfs/conglomeration/${PORTNAME}/ \

View File

@ -3,7 +3,7 @@
PORTNAME= evince
PORTVERSION= 3.28.5
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= graphics print gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3

View File

@ -3,7 +3,7 @@
PORTNAME= gdal
PORTVERSION= 2.4.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics geography
MASTER_SITES= https://download.osgeo.org/gdal/${PORTVERSION}/ \
LOCAL/sunpoet

View File

@ -3,7 +3,7 @@
PORTNAME= gegl
PORTVERSION= 0.4.16
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= graphics
MASTER_SITES= GIMP

View File

@ -3,7 +3,7 @@
PORTNAME?= gimp-app
PORTVERSION= 2.10.12
PORTREVISION= 4
PORTREVISION= 5
PORTEPOCH?= 1
CATEGORIES?= graphics gnome
MASTER_SITES= GIMP/gimp/v${PORTVERSION:R}

View File

@ -3,7 +3,7 @@
PORTNAME= graphviz
PORTVERSION= 2.42.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics tk
MASTER_SITES= https://gitlab.com/graphviz/graphviz/-/archive/${PORTVERSION}/

View File

@ -3,7 +3,7 @@
PORTNAME= inkscape
PORTVERSION= 0.92.4
PORTREVISION= 10
PORTREVISION= 11
CATEGORIES= graphics gnome
MASTER_SITES= https://media.inkscape.org/dl/resources/file/

View File

@ -0,0 +1,20 @@
--- src/extension/internal/pdfinput/pdf-parser.cpp.orig 2019-10-27 20:00:15.887122000 +0000
+++ src/extension/internal/pdfinput/pdf-parser.cpp 2019-10-27 20:02:37.972576000 +0000
@@ -2414,7 +2414,7 @@
int wMode;
double riseX, riseY;
CharCode code;
- Unicode *u = NULL;
+ const Unicode *u = NULL;
double x, y, dx, dy, tdx, tdy;
double originX, originY, tOriginX, tOriginY;
double oldCTM[6], newCTM[6];
@@ -2537,7 +2537,7 @@
originY *= state->getFontSize();
state->textTransformDelta(originX, originY, &tOriginX, &tOriginY);
builder->addChar(state, state->getCurX() + riseX, state->getCurY() + riseY,
- dx, dy, tOriginX, tOriginY, code, n, u, uLen);
+ dx, dy, tOriginX, tOriginY, code, n, const_cast<Unicode*>(u), uLen);
state->shift(tdx, tdy);
p += n;
len -= n;

View File

@ -2,7 +2,7 @@
PORTNAME= krita
DISTVERSION= 4.2.6
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics kde
MASTER_SITES= KDE/stable/${PORTNAME}/${DISTVERSION}
DIST_SUBDIR= KDE/${PORTNAME}

View File

@ -2,6 +2,7 @@
PORTNAME= okular
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
CATEGORIES= graphics kde kde-applications
MAINTAINER= kde@FreeBSD.org

View File

@ -3,7 +3,7 @@
PORTNAME= openfx-arena
PORTVERSION= 2.3.14
DISTVERSIONPREFIX= Natron-
PORTREVISION= 14
PORTREVISION= 15
CATEGORIES= graphics
MAINTAINER= olivier@FreeBSD.org

View File

@ -3,7 +3,7 @@
PORTNAME= osg
PORTVERSION= 3.5.1
PORTREVISION= 12
PORTREVISION= 13
CATEGORIES= graphics
MASTER_SITES= http://trac.openscenegraph.org/downloads/developer_releases/ \
http://mirror.amdmi3.ru/distfiles/

View File

@ -4,7 +4,7 @@
PORTNAME= osg
PORTVERSION= 3.4.1
DISTVERSIONPREFIX= OpenSceneGraph-
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= graphics
MAINTAINER= amdmi3@FreeBSD.org

View File

@ -3,7 +3,7 @@
PORTNAME= pdf2svg
PORTVERSION= 0.2.3
PORTREVISION= 11
PORTREVISION= 12
DISTVERSIONPREFIX= v
CATEGORIES= graphics

View File

@ -4,7 +4,7 @@ PORTNAME= pdfpc
DISTVERSION= 4.3.4
CATEGORIES= graphics
DISTVERSIONPREFIX= v
PORTREVISION= 4
PORTREVISION= 5
MAINTAINER= bapt@FreeBSD.org
COMMENT= Keynote-like multi-monitor presentation viewer

View File

@ -2,6 +2,7 @@
PORTNAME= poppler-data
PORTVERSION= 0.4.9
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://poppler.freedesktop.org/

View File

@ -1,7 +1,7 @@
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 1
PORTREVISION= 2
COMMENT= GLib bindings to poppler

View File

@ -16,6 +16,6 @@ include/poppler/glib/poppler.h
lib/girepository-1.0/Poppler-0.18.typelib
lib/libpoppler-glib.so
lib/libpoppler-glib.so.8
lib/libpoppler-glib.so.8.14.0
lib/libpoppler-glib.so.8.15.0
libdata/pkgconfig/poppler-glib.pc
share/gir-1.0/Poppler-0.18.gir

View File

@ -1,6 +1,6 @@
# $FreeBSD$
PORTREVISION= 1
PORTREVISION= 2
PKGNAMESUFFIX= -qt5
COMMENT= Qt 5 bindings to poppler

View File

@ -1,7 +1,7 @@
# Created by: Michael Nottebrock <lofi@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 2
PORTREVISION= 3
COMMENT= Poppler's xpdf-workalike command line utilities # '

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= poppler
DISTVERSION= 0.81.0
DISTVERSION= 0.82.0
PORTREVISION?= 1
CATEGORIES= graphics print
MASTER_SITES= https://poppler.freedesktop.org/

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1569211524
SHA256 (poppler-0.81.0.tar.xz) = 212d020b035b67b36c9666bd08ac778dff3222d85c01c338787d546f0f9bfe02
SIZE (poppler-0.81.0.tar.xz) = 1548944
TIMESTAMP = 1572047126
SHA256 (poppler-0.82.0.tar.xz) = 234f8e573ea57fb6a008e7c1e56bfae1af5d1adf0e65f47555e1ae103874e4df
SIZE (poppler-0.82.0.tar.xz) = 1553336

View File

@ -4,6 +4,9 @@ include/poppler/BuiltinFont.h
include/poppler/BuiltinFontTables.h
include/poppler/CMap.h
include/poppler/CachedFile.h
include/poppler/CairoFontEngine.h
include/poppler/CairoOutputDev.h
include/poppler/CairoRescaleBox.h
include/poppler/Catalog.h
include/poppler/CertificateInfo.h
include/poppler/CharCodeToUnicode.h
@ -132,8 +135,8 @@ lib/libpoppler-cpp.so
lib/libpoppler-cpp.so.0
lib/libpoppler-cpp.so.0.7.0
lib/libpoppler.so
lib/libpoppler.so.91
lib/libpoppler.so.91.0.0
lib/libpoppler.so.92
lib/libpoppler.so.92.0.0
libdata/pkgconfig/poppler-cairo.pc
libdata/pkgconfig/poppler-cpp.pc
libdata/pkgconfig/poppler-splash.pc

View File

@ -3,7 +3,7 @@
PORTNAME= pqiv
PORTVERSION= 2.11
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= graphics
MAINTAINER= danilo@FreeBSD.org

View File

@ -3,7 +3,7 @@
PORTNAME= poppler
PORTVERSION= 0.12.1
PORTREVISION= 15
PORTREVISION= 16
CATEGORIES= graphics python
MASTER_SITES= https://launchpad.net/poppler-python/trunk/development/+download/ \
http://launchpadlibrarian.net/30270080/ \

View File

@ -3,7 +3,7 @@
PORTNAME= python-poppler-qt5
DISTVERSIONPREFIX= v
DISTVERSION= 0.74.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -3,7 +3,7 @@
PORTNAME= QComicBook
PORTVERSION= 0.9.1
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= graphics
MAINTAINER= ports@FreeBSD.org

View File

@ -3,7 +3,7 @@
PORTNAME= vips
PORTVERSION= 8.7.4
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= graphics
MASTER_SITES= https://github.com/libvips/libvips/releases/download/v${PORTVERSION}/

View File

@ -3,7 +3,7 @@
PORTNAME= xournal
PORTVERSION= 0.4.8.2016
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= graphics
MASTER_SITES= SF

View File

@ -2,6 +2,7 @@
PORTNAME= xournalpp
DISTVERSION= 1.0.15
PORTREVISION= 1
CATEGORIES= graphics
MAINTAINER= yuri@FreeBSD.org

View File

@ -3,6 +3,7 @@
PORTNAME= zathura-pdf-mupdf
DISTVERSION= 0.3.5
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= https://pwmt.org/projects/zathura-pdf-mupdf/download/ \
http://freebsd.uzsolt.hu/src/

View File

@ -3,7 +3,7 @@
PORTNAME= zathura-pdf-poppler
PORTVERSION= 0.2.9
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= graphics
MASTER_SITES= https://pwmt.org/projects/zathura/plugins/download/ \
http://www.madpilot.net/~mad/pwmt.org/

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pdf_viewer
PORTREVISION= 2
PORTREVISION= 3
COMMENT= PDF and PostScript viewer plugin for Claws Mail

View File

@ -3,7 +3,7 @@
PORTNAME= textmail
PORTVERSION= 20070803
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= mail
MASTER_SITES= http://raf.org/textmail/

View File

@ -2,7 +2,7 @@
PORTNAME= auto-multiple-choice
PORTVERSION= 1.3.0
PORTREVISION= 15
PORTREVISION= 16
CATEGORIES= misc
MASTER_SITES= http://download.gna.org/auto-qcm/
DISTNAME= auto-multiple-choice_${PORTVERSION}_precomp

View File

@ -3,7 +3,7 @@
PORTNAME= rabbit
PORTVERSION= 2.2.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc rubygems
MASTER_SITES= RG

View File

@ -3,7 +3,7 @@
PORTNAME= tellico
DISTVERSION= 3.2.1
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= misc kde
MASTER_SITES= http://tellico-project.org/files/

View File

@ -2,7 +2,7 @@
PORTNAME= kitinerary
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net kde kde-applications
MAINTAINER= kde@FreeBSD.org

View File

@ -2,6 +2,7 @@
PORTNAME= cups-filters
PORTVERSION= 1.25.11
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= https://www.openprinting.org/download/cups-filters/

View File

@ -3,7 +3,7 @@
PORTNAME= pdfviewer
PORTVERSION= 0.0.2
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= print
MASTER_SITES= http://www.defora.org/os/download/download/4431/
PKGNAMEPREFIX= deforaos-

View File

@ -4,7 +4,7 @@
PORTNAME= frescobaldi
DISTVERSIONPREFIX= v
DISTVERSION= 3.0.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= print kde
MAINTAINER= m.ne@gmx.net

View File

@ -2,7 +2,7 @@
PORTNAME= ghostscript
PORTVERSION= 9.27
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= print
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//}/
PKGNAMESUFFIX= 9-agpl-base

View File

@ -4,6 +4,7 @@ PORTNAME= pdf-tools
DISTVERSIONPREFIX= v
DISTVERSION= 0.90-34
DISTVERSIONSUFFIX= -g29d9f4f
PORTREVISION= 1
CATEGORIES= print elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}

View File

@ -3,7 +3,7 @@
PORTNAME= pdfcube
PORTVERSION= 0.0.5
PORTREVISION= 31
PORTREVISION= 32
CATEGORIES= print
MASTER_SITES= http://code.100allora.it/releases/pdfcube/

View File

@ -3,6 +3,7 @@
PORTNAME= qpdfview
DISTVERSION= 0.4.18
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= https://launchpadlibrarian.net/294276875/ \
https://launchpad.net/${PORTNAME}/trunk/${DISTVERSION}/+download/

View File

@ -3,7 +3,7 @@
PORTNAME= scribus
PORTVERSION= 1.5.5
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= print editors
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION}/ \
http://www.scribus.net/downloads/${PORTVERSION}/

View File

@ -0,0 +1,29 @@
--- scribus/plugins/import/pdf/slaoutput.cpp.orig 2019-10-27 16:14:24 UTC
+++ scribus/plugins/import/pdf/slaoutput.cpp
@@ -2784,7 +2784,7 @@ void SlaOutputDev::drawMaskedImage(GfxState *state, Ob
delete[] mbuffer;
}
-void SlaOutputDev::drawImage(GfxState *state, Object *ref, Stream *str, int width, int height, GfxImageColorMap *colorMap, GBool interpolate, int *maskColors, GBool inlineImg)
+void SlaOutputDev::drawImage(GfxState *state, Object *ref, Stream *str, int width, int height, GfxImageColorMap *colorMap, GBool interpolate, const int *maskColors, GBool inlineImg)
{
ImageStream * imgStr = new ImageStream(str, width, colorMap->getNumPixelComps(), colorMap->getBits());
// qDebug() << "Image Components" << colorMap->getNumPixelComps() << "Mask" << maskColors;
@@ -3365,7 +3365,7 @@ err1:
fontsrc->unref();
}
-void SlaOutputDev::drawChar(GfxState *state, double x, double y, double dx, double dy, double originX, double originY, CharCode code, int nBytes, Unicode *u, int uLen)
+void SlaOutputDev::drawChar(GfxState *state, double x, double y, double dx, double dy, double originX, double originY, CharCode code, int nBytes, const Unicode *u, int uLen)
{
double x1, y1, x2, y2;
int render;
@@ -3452,7 +3452,7 @@ void SlaOutputDev::drawChar(GfxState *state, double x,
}
}
-GBool SlaOutputDev::beginType3Char(GfxState *state, double x, double y, double dx, double dy, CharCode code, Unicode *u, int uLen)
+GBool SlaOutputDev::beginType3Char(GfxState *state, double x, double y, double dx, double dy, CharCode code, const Unicode *u, int uLen)
{
// qDebug() << "beginType3Char";
GfxFont *gfxFont;

View File

@ -0,0 +1,22 @@
--- scribus/plugins/import/pdf/slaoutput.h.orig 2019-10-27 16:12:47 UTC
+++ scribus/plugins/import/pdf/slaoutput.h
@@ -229,7 +229,7 @@ class SlaOutputDev : public OutputDev (public)
//----- image drawing
void drawImageMask(GfxState *state, Object *ref, Stream *str, int width, int height, GBool invert, GBool interpolate, GBool inlineImg) override;
- void drawImage(GfxState *state, Object *ref, Stream *str, int width, int height, GfxImageColorMap *colorMap, GBool interpolate, int *maskColors, GBool inlineImg) override;
+ void drawImage(GfxState *state, Object *ref, Stream *str, int width, int height, GfxImageColorMap *colorMap, GBool interpolate, const int *maskColors, GBool inlineImg) override;
void drawSoftMaskedImage(GfxState *state, Object *ref, Stream *str,
int width, int height,
GfxImageColorMap *colorMap,
@@ -261,8 +261,8 @@ class SlaOutputDev : public OutputDev (public)
//----- text drawing
void beginTextObject(GfxState *state) override;
void endTextObject(GfxState *state) override;
- void drawChar(GfxState *state, double /*x*/, double /*y*/, double /*dx*/, double /*dy*/, double /*originX*/, double /*originY*/, CharCode /*code*/, int /*nBytes*/, Unicode * /*u*/, int /*uLen*/) override;
- GBool beginType3Char(GfxState * /*state*/, double /*x*/, double /*y*/, double /*dx*/, double /*dy*/, CharCode /*code*/, Unicode * /*u*/, int /*uLen*/) override;
+ void drawChar(GfxState *state, double /*x*/, double /*y*/, double /*dx*/, double /*dy*/, double /*originX*/, double /*originY*/, CharCode /*code*/, int /*nBytes*/, const Unicode * /*u*/, int /*uLen*/) override;
+ GBool beginType3Char(GfxState * /*state*/, double /*x*/, double /*y*/, double /*dx*/, double /*dy*/, CharCode /*code*/, const Unicode * /*u*/, int /*uLen*/) override;
void endType3Char(GfxState * /*state*/) override;
void type3D0(GfxState * /*state*/, double /*wx*/, double /*wy*/) override;
void type3D1(GfxState * /*state*/, double /*wx*/, double /*wy*/, double /*llx*/, double /*lly*/, double /*urx*/, double /*ury*/) override;

View File

@ -2,7 +2,7 @@
PORTNAME= luatex
PORTVERSION= 0.80.0
PORTREVISION= 11
PORTREVISION= 12
CATEGORIES= print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2015/
PKGNAMEPREFIX= tex-

View File

@ -2,7 +2,7 @@
PORTNAME= xetex
PORTVERSION= 0.99992
PORTREVISION= 25
PORTREVISION= 26
CATEGORIES= print
MASTER_SITES= ftp://tug.org/historic/systems/texlive/2015/
PKGNAMEPREFIX= tex-

View File

@ -2,7 +2,7 @@
PORTNAME= texlive
PORTVERSION= 20150521
PORTREVISION= 42
PORTREVISION= 43
CATEGORIES= print
MASTER_SITES= TEX_CTAN/systems/texlive/Source/
PKGNAMESUFFIX= -base

View File

@ -3,7 +3,7 @@
PORTNAME= pcbsd-utils-qt5
PORTVERSION= 1444236547
PORTREVISION= 13
PORTREVISION= 14
CATEGORIES= sysutils
MAINTAINER= kmoore@FreeBSD.org

View File

@ -3,7 +3,7 @@
PORTNAME= tracker-miners
PORTVERSION= 2.0.5
PORTREVISION= 9
PORTREVISION= 10
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME

View File

@ -3,7 +3,7 @@
PORTNAME= pdfgrep
PORTVERSION= 2.1.1
PORTREVISION= 10
PORTREVISION= 11
CATEGORIES= textproc
MASTER_SITES= https://pdfgrep.org/download/

View File

@ -2,7 +2,7 @@
PORTNAME= pdfsandwich
DISTVERSION= 0.1.7
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/pdfsandwich%20${DISTVERSION}/

View File

@ -2,6 +2,7 @@
PORTNAME= pdftotext
PORTVERSION= 2.1.2
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -2,7 +2,7 @@
PORTNAME= hotcrp
PORTVERSION= 2.94
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= www
MASTER_SITES= http://www.read.seas.harvard.edu/~kohler/hotcrp/

View File

@ -2,6 +2,7 @@
PORTNAME= poppler
PORTVERSION= 3.4.1
PORTREVISION= 1
CATEGORIES= x11-toolkits rubygems
MASTER_SITES= RG

View File

@ -3,6 +3,7 @@
PORTNAME= eaglemode
PORTVERSION= 0.94.2
PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}