From owner-svn-ports-head@freebsd.org Mon Feb 11 17:13:51 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB74214DDF17; Mon, 11 Feb 2019 17:13:50 +0000 (UTC) (envelope-from tcberner@gmail.com) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D2B08055C; Mon, 11 Feb 2019 17:13:50 +0000 (UTC) (envelope-from tcberner@gmail.com) Received: by mail-qk1-f177.google.com with SMTP id f196so6386141qke.10; Mon, 11 Feb 2019 09:13:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Hxwv1MmQrkpiNlLIH67q3nXLI3b9V26e/yMaVSgdIRQ=; b=LupiLCf8+sfwPFvEyzmpr+4+vUUMTiy1u9C+cjgQjml5CHlHODTy4uXGJcwFpsyyHr YzO0121CScvEb+mEqt0g/7nsMojV3/pR0rOy9dKQEbax/W2KpVZby3nkU6HXHS7I6KL1 Sg9TsunhjQ98AuYMgEh46I8c1L+aYP7aKt9ZcZ7Ta/Fv95fbhczeUPhGgTs5u7mqn4PY Z+ysFLAKTAxdofSQpeoaGrx5EJmXUytI2mOSKsCdOfNgLHJ7ZLLnEhyRx+KdrZjhj041 Bu4lPDN2b9W0uxs6lNyBLeWWNzVhcMQZqDIyT8IP5UT7slFsyHTZnseNZZ4VT2TQTKSr l/Kw== X-Gm-Message-State: AHQUAubpuL9hxwHZGe0m7R3+E6Egcmw45ESRAAChTiThd1hPE1Y3voaJ khtT5WyTAyZq8e0d3hrNFKdTrK3GTHM= X-Google-Smtp-Source: AHgI3IZ9NnJCK5RnLhGnyiI/uX6OpyczKMuPsC9/4zp2CuCFEt7jF0WjWhCWVFvyvgrPTti32wPCfg== X-Received: by 2002:a37:a247:: with SMTP id l68mr2936196qke.96.1549905224130; Mon, 11 Feb 2019 09:13:44 -0800 (PST) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com. [209.85.222.173]) by smtp.gmail.com with ESMTPSA id m68sm14280622qte.49.2019.02.11.09.13.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 09:13:43 -0800 (PST) Received: by mail-qk1-f173.google.com with SMTP id x9so6915582qkf.0; Mon, 11 Feb 2019 09:13:43 -0800 (PST) X-Received: by 2002:a37:a42:: with SMTP id 63mr26608692qkk.269.1549905223336; Mon, 11 Feb 2019 09:13:43 -0800 (PST) MIME-Version: 1.0 References: <201902111710.x1BHA51G088938@repo.freebsd.org> In-Reply-To: <201902111710.x1BHA51G088938@repo.freebsd.org> From: "Tobias C. Berner" Date: Mon, 11 Feb 2019 18:13:31 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: svn commit: r492702 - in head: editors/calligra editors/libreoffice graphics/inkscape graphics/poppler graphics/poppler-glib graphics/poppler-qt5 print/scribus-devel/files To: "Tobias C. Berner" Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-Rspamd-Queue-Id: 5D2B08055C X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.978,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2019 17:13:51 -0000 ... that should obviously read: "Approved by: gnome (kwm)" On Mon, 11 Feb 2019 at 18:10, Tobias C. Berner wrote: > Author: tcberner > Date: Mon Feb 11 17:10:05 2019 > New Revision: 492702 > URL: https://svnweb.freebsd.org/changeset/ports/492702 > > Log: > Update graphics/poppler* to 0.74.0 > > Changelog can be found here: > https://poppler.freedesktop.org/releases.html > > PR: 235609 > Exp-run by: antoine > Approved by: gnome (kde) > Differential Revision: https://reviews.freebsd.org/D18805 > > Modified: > head/editors/calligra/Makefile > head/editors/libreoffice/Makefile > head/graphics/inkscape/Makefile > head/graphics/poppler-glib/pkg-plist > head/graphics/poppler-qt5/Makefile > head/graphics/poppler-qt5/pkg-plist > head/graphics/poppler/Makefile > head/graphics/poppler/distinfo > head/graphics/poppler/pkg-plist > > head/print/scribus-devel/files/patch-scribus_plugins_import_pdf_slaoutput.cpp > > head/print/scribus-devel/files/patch-scribus_plugins_import_pdf_slaoutput.h > > Modified: head/editors/calligra/Makefile > > ============================================================================== > --- head/editors/calligra/Makefile Mon Feb 11 16:53:44 2019 > (r492701) > +++ head/editors/calligra/Makefile Mon Feb 11 17:10:05 2019 > (r492702) > @@ -69,4 +69,8 @@ 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 > > Modified: head/editors/libreoffice/Makefile > > ============================================================================== > --- head/editors/libreoffice/Makefile Mon Feb 11 16:53:44 2019 > (r492701) > +++ head/editors/libreoffice/Makefile Mon Feb 11 17:10:05 2019 > (r492702) > @@ -282,6 +282,12 @@ CXXFLAGS_WARN= -Wshadow -Woverloaded-virtual > post-patch: > ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ > ${WRKSRC}/shell/source/unix/exec/shellexec.cxx > + # Fix with poppler 0.73 > + ${REINPLACE_CMD} -e 's|Guchar|unsigned char|g' \ > + > ${WRKSRC}/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx \ > + > ${WRKSRC}/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx \ > + ${WRKSRC}/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx > + > .if ${COMPILER_FEATURES:Mlibstdc++} > ${REINPLACE_CMD} -e 's/gb_CC/gb_CXX/' > ${WRKSRC}/solenv/gbuild/platform/unxgcc.mk > .endif > > Modified: head/graphics/inkscape/Makefile > > ============================================================================== > --- head/graphics/inkscape/Makefile Mon Feb 11 16:53:44 2019 > (r492701) > +++ head/graphics/inkscape/Makefile Mon Feb 11 17:10:05 2019 > (r492702) > @@ -85,5 +85,8 @@ post-patch: > # Obtained from Arch Linux > @${REINPLACE_CMD} -e 's|gTrue|true|g' -e 's|gFalse|false|g' -e > 's|GBool|bool|g' \ > ${WRKSRC}/src/extension/internal/pdfinput/pdf-parser.* > + # Fix with poppler 0.73 > + @${REINPLACE_CMD} -E '/#include "goo\/gtypes.h"/d' \ > + ${WRKSRC}/src/extension/internal/pdfinput/pdf-parser.h > > .include > > Modified: head/graphics/poppler-glib/pkg-plist > > ============================================================================== > --- head/graphics/poppler-glib/pkg-plist Mon Feb 11 16:53:44 2019 > (r492701) > +++ head/graphics/poppler-glib/pkg-plist Mon Feb 11 17:10:05 2019 > (r492702) > @@ -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.11.0 > +lib/libpoppler-glib.so.8.12.0 > libdata/pkgconfig/poppler-glib.pc > share/gir-1.0/Poppler-0.18.gir > > Modified: head/graphics/poppler-qt5/Makefile > > ============================================================================== > --- head/graphics/poppler-qt5/Makefile Mon Feb 11 16:53:44 2019 > (r492701) > +++ head/graphics/poppler-qt5/Makefile Mon Feb 11 17:10:05 2019 > (r492702) > @@ -1,6 +1,6 @@ > # $FreeBSD$ > > -PORTREVISION= 1 > +PORTREVISION= 0 > PKGNAMESUFFIX= -qt5 > > COMMENT= Qt 5 bindings to poppler > > Modified: head/graphics/poppler-qt5/pkg-plist > > ============================================================================== > --- head/graphics/poppler-qt5/pkg-plist Mon Feb 11 16:53:44 2019 > (r492701) > +++ head/graphics/poppler-qt5/pkg-plist Mon Feb 11 17:10:05 2019 > (r492702) > @@ -6,7 +6,8 @@ include/poppler/qt5/poppler-media.h > include/poppler/qt5/poppler-optcontent.h > include/poppler/qt5/poppler-page-transition.h > include/poppler/qt5/poppler-qt5.h > +include/poppler/qt5/poppler-version.h > lib/libpoppler-qt5.so > lib/libpoppler-qt5.so.1 > -lib/libpoppler-qt5.so.1.17.0 > +lib/libpoppler-qt5.so.1.19.0 > libdata/pkgconfig/poppler-qt5.pc > > Modified: head/graphics/poppler/Makefile > > ============================================================================== > --- head/graphics/poppler/Makefile Mon Feb 11 16:53:44 2019 > (r492701) > +++ head/graphics/poppler/Makefile Mon Feb 11 17:10:05 2019 > (r492702) > @@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= poppler > -DISTVERSION= 0.72.0 > +DISTVERSION= 0.74.0 > CATEGORIES= graphics print > MASTER_SITES= http://poppler.freedesktop.org/ > > @@ -29,7 +29,7 @@ USE_LDCONFIG= yes > CMAKE_ON= ENABLE_LIBJPEG \ > ENABLE_LIBPNG \ > ENABLE_LIBTIFF \ > - ENABLE_XPDF_HEADERS \ > + ENABLE_UNSTABLE_API_ABI_HEADERS \ > ENABLE_ZLIB \ > ENABLE_NSS \ > ENABLE_SPLASH > > Modified: head/graphics/poppler/distinfo > > ============================================================================== > --- head/graphics/poppler/distinfo Mon Feb 11 16:53:44 2019 > (r492701) > +++ head/graphics/poppler/distinfo Mon Feb 11 17:10:05 2019 > (r492702) > @@ -1,3 +1,3 @@ > -TIMESTAMP = 1544313959 > -SHA256 (poppler-0.72.0.tar.xz) = > c1747eb8f26e9e753c4001ed951db2896edc1021b6d0f547a0bd2a27c30ada51 > -SIZE (poppler-0.72.0.tar.xz) = 1492912 > +TIMESTAMP = 1549603391 > +SHA256 (poppler-0.74.0.tar.xz) = > 92e09fd3302567fd36146b36bb707db43ce436e8841219025a82ea9fb0076b2f > +SIZE (poppler-0.74.0.tar.xz) = 1514044 > > Modified: head/graphics/poppler/pkg-plist > > ============================================================================== > --- head/graphics/poppler/pkg-plist Mon Feb 11 16:53:44 2019 > (r492701) > +++ head/graphics/poppler/pkg-plist Mon Feb 11 17:10:05 2019 > (r492702) > @@ -5,6 +5,7 @@ include/poppler/BuiltinFontTables.h > include/poppler/CMap.h > include/poppler/CachedFile.h > include/poppler/Catalog.h > +include/poppler/CertificateInfo.h > include/poppler/CharCodeToUnicode.h > include/poppler/CharTypes.h > include/poppler/CompactFontTables.h > @@ -75,6 +76,7 @@ include/poppler/UnicodeMapTables.h > include/poppler/UnicodeTypeTable.h > include/poppler/ViewerPreferences.h > include/poppler/XRef.h > +include/poppler/cpp/poppler-destination.h > include/poppler/cpp/poppler-document.h > include/poppler/cpp/poppler-embedded-file.h > include/poppler/cpp/poppler-font.h > @@ -107,7 +109,6 @@ include/poppler/goo/gfile.h > include/poppler/goo/gmem.h > include/poppler/goo/grandom.h > include/poppler/goo/gstrtod.h > -include/poppler/goo/gtypes.h > include/poppler/poppler-config.h > include/poppler/splash/Splash.h > include/poppler/splash/SplashBitmap.h > @@ -131,10 +132,10 @@ include/poppler/splash/SplashXPath.h > include/poppler/splash/SplashXPathScanner.h > lib/libpoppler-cpp.so > lib/libpoppler-cpp.so.0 > -lib/libpoppler-cpp.so.0.5.0 > +lib/libpoppler-cpp.so.0.7.0 > lib/libpoppler.so > -lib/libpoppler.so.83 > -lib/libpoppler.so.83.0.0 > +lib/libpoppler.so.85 > +lib/libpoppler.so.85.0.0 > libdata/pkgconfig/poppler-cairo.pc > libdata/pkgconfig/poppler-cpp.pc > libdata/pkgconfig/poppler-splash.pc > > Modified: > head/print/scribus-devel/files/patch-scribus_plugins_import_pdf_slaoutput.cpp > > ============================================================================== > --- > head/print/scribus-devel/files/patch-scribus_plugins_import_pdf_slaoutput.cpp > Mon Feb 11 16:53:44 2019 (r492701) > +++ > head/print/scribus-devel/files/patch-scribus_plugins_import_pdf_slaoutput.cpp > Mon Feb 11 17:10:05 2019 (r492702) > @@ -1,4 +1,4 @@ > ---- scribus/plugins/import/pdf/slaoutput.cpp.orig 2018-12-11 > 13:04:07 UTC > +--- scribus/plugins/import/pdf/slaoutput.cpp.orig 2019-01-10 > 06:21:56 UTC > +++ scribus/plugins/import/pdf/slaoutput.cpp > @@ -44,7 +44,7 @@ LinkSubmitForm::LinkSubmitForm(Object *actionObj) > { > @@ -397,6 +397,15 @@ > { > // qDebug() << "Draw Image Mask"; > QImage * image = 0; > +@@ -2449,7 +2442,7 @@ void SlaOutputDev::drawImageMask(GfxState *state, > Obje > + int x, y, i, bit; > + unsigned char *dest = 0; > + unsigned char *buffer; > +- Guchar *pix; > ++ unsigned char *pix; > + ImageStream * imgStr = new ImageStream(str, width, 1, 1); > + imgStr->reset(); > + #ifdef WORDS_BIGENDIAN > @@ -2512,8 +2505,7 @@ void SlaOutputDev::drawImageMask(GfxState *state, > Obje > t++; > } > @@ -418,6 +427,32 @@ > { > // qDebug() << "Masked Image Components" << > colorMap->getNumPixelComps(); > ImageStream * imgStr = new ImageStream(str, width, > colorMap->getNumPixelComps(), colorMap->getBits()); > +@@ -2617,7 +2609,7 @@ void SlaOutputDev::drawSoftMaskedImage(GfxState > *state > + 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); > + } > + image = new QImage(buffer, width, height, QImage::Format_RGB32); > +@@ -2630,13 +2622,13 @@ void SlaOutputDev::drawSoftMaskedImage(GfxState > *state > + } > + ImageStream *mskStr = new ImageStream(maskStr, maskWidth, > maskColorMap->getNumPixelComps(), maskColorMap->getBits()); > + mskStr->reset(); > +- Guchar *mdest = 0; > ++ unsigned char *mdest = 0; > + unsigned char * mbuffer = new unsigned char[maskWidth * > maskHeight]; > + memset(mbuffer, 0, maskWidth * maskHeight); > + for (int y = 0; y < maskHeight; y++) > + { > +- mdest = (Guchar *)(mbuffer + y * maskWidth); > +- Guchar * pix = mskStr->getLine(); > ++ mdest = (unsigned char *)(mbuffer + y * maskWidth); > ++ unsigned char * pix = mskStr->getLine(); > + maskColorMap->getGrayLine(pix, mdest, maskWidth); > + } > + if ((maskWidth != width) || (maskHeight != height)) > @@ -2658,8 +2650,7 @@ void SlaOutputDev::drawSoftMaskedImage(GfxState > *state > t++; > } > @@ -437,6 +472,33 @@ > { > ImageStream * imgStr = new ImageStream(str, width, > colorMap->getNumPixelComps(), colorMap->getBits()); > imgStr->reset(); > +@@ -2760,7 +2751,7 @@ void SlaOutputDev::drawMaskedImage(GfxState *state, > Ob > + 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); > + } > + image = new QImage(buffer, width, height, QImage::Format_RGB32); > +@@ -2773,14 +2764,14 @@ void SlaOutputDev::drawMaskedImage(GfxState > *state, Ob > + } > + ImageStream *mskStr = new ImageStream(maskStr, maskWidth, 1, 1); > + mskStr->reset(); > +- Guchar *mdest = 0; > ++ unsigned char *mdest = 0; > + int invert_bit = maskInvert ? 1 : 0; > + unsigned char * mbuffer = new unsigned char[maskWidth * > maskHeight]; > + memset(mbuffer, 0, maskWidth * maskHeight); > + for (int y = 0; y < maskHeight; y++) > + { > +- mdest = (Guchar *)(mbuffer + y * maskWidth); > +- Guchar * pix = mskStr->getLine(); > ++ mdest = (unsigned char *)(mbuffer + y * maskWidth); > ++ unsigned char * pix = mskStr->getLine(); > + for (int x = 0; x < maskWidth; x++) > + { > + if (pix[x] ^ invert_bit) > @@ -2808,8 +2799,7 @@ void SlaOutputDev::drawMaskedImage(GfxState *state, > Ob > t++; > } > @@ -456,6 +518,24 @@ > { > ImageStream * imgStr = new ImageStream(str, width, > colorMap->getNumPixelComps(), colorMap->getBits()); > // qDebug() << "Image Components" << colorMap->getNumPixelComps() << > "Mask" << maskColors; > +@@ -2912,7 +2902,7 @@ void SlaOutputDev::drawImage(GfxState *state, > Object * > + for (int y = 0; y < height; y++) > + { > + QRgb *s = (QRgb*)(image->scanLine(y)); > +- Guchar *pix = imgStr->getLine(); > ++ unsigned char *pix = imgStr->getLine(); > + for (int x = 0; x < width; x++) > + { > + GfxRGB rgb; > +@@ -2940,7 +2930,7 @@ void SlaOutputDev::drawImage(GfxState *state, > Object * > + for (int y = 0; y < height; y++) > + { > + QRgb *s = (QRgb*)(image->scanLine(y)); > +- Guchar *pix = imgStr->getLine(); > ++ unsigned char *pix = imgStr->getLine(); > + for (int x = 0; x < width; x++) > + { > + if (colorMap->getNumPixelComps() == 4) > @@ -2973,8 +2963,7 @@ void SlaOutputDev::drawImage(GfxState *state, > Object * > delete image; > return; > @@ -608,7 +688,12 @@ > : "(unnamed)"); > goto err2; > } > -@@ -3488,7 +3477,7 @@ void SlaOutputDev::updateFont(GfxState *state) > +@@ -3484,11 +3473,11 @@ void SlaOutputDev::updateFont(GfxState *state) > + if (n) { > + codeToGID = (int *)gmallocn(n, > sizeof(int)); > + memcpy(codeToGID, ((GfxCIDFont > *)gfxFont)->getCIDToGID(), > +- n * sizeof(Gushort)); > ++ n * sizeof(unsigned short)); > } > } else { > if (fileName) > @@ -626,6 +711,15 @@ > : "(unnamed)"); > goto err2; > } > +@@ -3559,7 +3548,7 @@ void SlaOutputDev::updateFont(GfxState *state) > + GooString *fileName; > + char *tmpBuf; > + int tmpBufLen; > +- Gushort *codeToGID; > ++ unsigned short *codeToGID; > + DisplayFontParam *dfp; > + double *textMat; > + double m11, m12, m21, m22, fontSize; > @@ -3604,7 +3593,7 @@ void SlaOutputDev::updateFont(GfxState *state) > } > if (!dfp) > @@ -705,7 +799,16 @@ > goto err2; > } > break; > -@@ -3703,7 +3692,7 @@ void SlaOutputDev::updateFont(GfxState *state) > +@@ -3696,14 +3685,14 @@ void SlaOutputDev::updateFont(GfxState *state) > + n = ((GfxCIDFont > *)gfxFont)->getCIDToGIDLen(); > + if (n) > + { > +- codeToGID = (Gushort *)gmallocn(n, > sizeof(Gushort)); > +- memcpy(codeToGID, ((GfxCIDFont > *)gfxFont)->getCIDToGID(), n * sizeof(Gushort)); > ++ codeToGID = (unsigned short > *)gmallocn(n, sizeof(unsigned short)); > ++ memcpy(codeToGID, ((GfxCIDFont > *)gfxFont)->getCIDToGID(), n * sizeof(unsigned short)); > + } > + } > else > { > if (fileName) > @@ -723,6 +826,15 @@ > goto err2; > } > break; > +@@ -3775,7 +3764,7 @@ void SlaOutputDev::drawChar(GfxState *state, double > x, > + qPath.setFillRule(Qt::WindingFill); > + for (int i = 0; i < fontPath->getLength(); ++i) > + { > +- Guchar f; > ++ unsigned char f; > + fontPath->getPoint(i, &x1, &y1, &f); > + if (f & splashPathFirst) > + qPath.moveTo(x1,y1); > @@ -3793,8 +3782,7 @@ void SlaOutputDev::drawChar(GfxState *state, double > x, > if (f & splashPathLast) > qPath.closeSubpath(); > > Modified: > head/print/scribus-devel/files/patch-scribus_plugins_import_pdf_slaoutput.h > > ============================================================================== > --- > head/print/scribus-devel/files/patch-scribus_plugins_import_pdf_slaoutput.h > Mon Feb 11 16:53:44 2019 (r492701) > +++ > head/print/scribus-devel/files/patch-scribus_plugins_import_pdf_slaoutput.h > Mon Feb 11 17:10:05 2019 (r492702) > @@ -1,6 +1,14 @@ > ---- scribus/plugins/import/pdf/slaoutput.h.orig 2018-12-11 > 13:04:07 UTC > +--- scribus/plugins/import/pdf/slaoutput.h.orig 2019-01-10 > 06:21:56 UTC > +++ scribus/plugins/import/pdf/slaoutput.h > -@@ -61,9 +61,9 @@ class LinkSubmitForm: public LinkAction (public) > +@@ -26,7 +26,6 @@ for which a new license (GPL+exception) is in place. > + #include "selection.h" > + #include "vgradient.h" > + > +-#include > + #include > + #include > + #include > +@@ -61,9 +60,9 @@ class LinkSubmitForm: public LinkAction (public) > // Destructor. > virtual ~LinkSubmitForm(); > // Was the LinkImportData created successfully? > @@ -12,7 +20,7 @@ > GooString *getFileName() { return fileName; } > int getFlags() { return m_flags; } > private: > -@@ -83,9 +83,9 @@ class LinkImportData: public LinkAction (public) > +@@ -83,9 +82,9 @@ class LinkImportData: public LinkAction (public) > // Destructor. > virtual ~LinkImportData(); > // Was the LinkImportData created successfully? > @@ -24,7 +32,7 @@ > GooString *getFileName() { return fileName; } > private: > GooString *fileName; // file name > -@@ -98,9 +98,9 @@ class SplashOutFontFileID: public SplashFontFileID > +@@ -98,9 +97,9 @@ class SplashOutFontFileID: public SplashFontFileID > { > public: > > @@ -36,7 +44,7 @@ > { > return ((SplashOutFontFileID *)id)->r.num == r.num && > ((SplashOutFontFileID *)id)->r.gen == r.gen; > } > -@@ -115,18 +115,18 @@ class AnoOutputDev : public OutputDev > +@@ -115,18 +114,18 @@ class AnoOutputDev : public OutputDev > public: > AnoOutputDev(ScribusDoc* doc, QStringList *importedColors); > virtual ~AnoOutputDev(); > @@ -64,7 +72,7 @@ > > QString CurrColorText; > QString CurrColorFill; > -@@ -135,7 +135,7 @@ class AnoOutputDev : public OutputDev > +@@ -135,7 +134,7 @@ class AnoOutputDev : public OutputDev > GooString *m_fontName; > GooString *m_itemText; > private: > @@ -73,7 +81,7 @@ > ScribusDoc* m_doc; > QStringList *m_importedColors; > }; > -@@ -148,7 +148,7 @@ class SlaOutputDev : public OutputDev (public) > +@@ -148,7 +147,7 @@ class SlaOutputDev : public OutputDev (public) > virtual ~SlaOutputDev(); > LinkAction* SC_getAction(AnnotWidget *ano); > LinkAction* SC_getAdditionalAction(const char *key, AnnotWidget > *ano); > @@ -82,7 +90,7 @@ > bool handleTextAnnot(Annot* annota, double xCoor, double yCoor, > double width, double height); > bool handleLinkAnnot(Annot* annota, double xCoor, double yCoor, > double width, double height); > bool handleWidgetAnnot(Annot* annota, double xCoor, double yCoor, > double width, double height); > -@@ -156,15 +156,15 @@ class SlaOutputDev : public OutputDev (public) > +@@ -156,15 +155,15 @@ class SlaOutputDev : public OutputDev (public) > void handleActions(PageItem* ite, AnnotWidget *ano); > void startDoc(PDFDoc *doc, XRef *xrefA, Catalog *catA); > > @@ -107,7 +115,7 @@ > virtual void startPage(int pageNum, GfxState *, XRef *); > virtual void endPage(); > // graphics state > -@@ -175,30 +175,30 @@ class SlaOutputDev : public OutputDev (public) > +@@ -175,30 +174,30 @@ class SlaOutputDev : public OutputDev (public) > virtual void stroke(GfxState *state); > virtual void fill(GfxState *state); > virtual void eoFill(GfxState *state); > @@ -149,7 +157,7 @@ > { > return state->getFillColorSpace()->getMode() == csPattern; > } > -@@ -206,36 +206,36 @@ class SlaOutputDev : public OutputDev (public) > +@@ -206,36 +205,36 @@ class SlaOutputDev : public OutputDev (public) > virtual void endMaskClip(GfxState *state) { qDebug() << "End Mask > Clip"; } > > //----- grouping operators > @@ -198,7 +206,7 @@ > virtual void clearSoftMask(GfxState * /*state*/); > > virtual void updateFillColor(GfxState *state); > -@@ -245,7 +245,7 @@ class SlaOutputDev : public OutputDev (public) > +@@ -245,7 +244,7 @@ class SlaOutputDev : public OutputDev (public) > virtual void beginTextObject(GfxState *state); > virtual void endTextObject(GfxState *state); > 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*/); > @@ -207,7 +215,7 @@ > virtual void endType3Char(GfxState * /*state*/); > virtual void type3D0(GfxState * /*state*/, double /*wx*/, double > /*wy*/); > virtual void type3D1(GfxState * /*state*/, double /*wx*/, double > /*wy*/, double /*llx*/, double /*lly*/, double /*urx*/, double /*ury*/); > -@@ -260,13 +260,13 @@ class SlaOutputDev : public OutputDev (public) > +@@ -260,13 +259,13 @@ class SlaOutputDev : public OutputDev (public) > > private: > void getPenState(GfxState *state); > @@ -225,7 +233,7 @@ > bool checkClip(); > bool pathIsClosed; > QString CurrColorFill; > -@@ -283,9 +283,9 @@ class SlaOutputDev : public OutputDev (public) > +@@ -283,9 +282,9 @@ class SlaOutputDev : public OutputDev (public) > struct groupEntry > { > QList Items; > >