head 1.2; access; symbols pkgsrc-2026Q2:1.1.0.6 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @ * @; 1.2 date 2026.06.24.21.59.54; author wiz; state dead; branches; next 1.1; commitid lA5VxokhwfWff6LG; 1.1 date 2025.11.10.13.54.53; author wiz; state Exp; branches; next ; commitid hyzMB6cB0jFgP0iG; desc @@ 1.2 log @scribus: remove patches after update @ text @$NetBSD: patch-scribus_plugins_import_pdf_slaoutput.h,v 1.1 2025/11/10 13:54:53 wiz Exp $ Sync with git head as of 2025-11-10 to fix build problems with qt, poppler, podofo. --- scribus/plugins/import/pdf/slaoutput.h.orig 2025-01-25 21:57:14.000000000 +0000 +++ scribus/plugins/import/pdf/slaoutput.h @@@@ -20,6 +20,7 @@@@ for which a new license (GPL+exception) #include #include +#include #include #include "fpointarray.h" @@@@ -164,7 +165,7 @@@@ public: SlaOutputDev(ScribusDoc* doc, QList *Elements, QStringList *importedColors, int flags); ~SlaOutputDev() override; - LinkAction* SC_getAction(AnnotWidget *ano); + std::unique_ptr SC_getAction(AnnotWidget *ano); std::unique_ptr SC_getAdditionalAction(const char *key, AnnotWidget *ano); static bool annotations_callback(Annot *annota, void *user_data); bool handleTextAnnot(Annot* annota, double xCoor, double yCoor, double width, double height); @@@@ -195,7 +196,12 @@@@ public: void stroke(GfxState *state) override; void fill(GfxState *state) override; void eoFill(GfxState *state) override; + +#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 9, 0) + bool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat, GfxTilingPattern *tPat, const std::array& mat, int x0, int y0, int x1, int y1, double xStep, double yStep) override; +#else bool tilingPatternFill(GfxState *state, Gfx *gfx, Catalog *cat, GfxTilingPattern *tPat, const double *mat, int x0, int y0, int x1, int y1, double xStep, double yStep) override; +#endif bool functionShadedFill(GfxState * /*state*/, GfxFunctionShading * /*shading*/) override { qDebug() << "Function Shaded Fill"; return false; } bool axialShadedFill(GfxState *state, GfxAxialShading *shading, double tMin, double tMax) override; bool axialShadedSupportExtend(GfxState *state, GfxAxialShading *shading) override { return (shading->getExtend0() == shading->getExtend1()); } @@@@ -254,10 +260,20 @@@@ public: bool maskInvert, bool maskInterpolate) override; //----- transparency groups and soft masks +#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 9, 0) + void beginTransparencyGroup(GfxState *state, const std::array& bbox, GfxColorSpace* /*blendingColorSpace*/, bool /*isolated*/, bool /*knockout*/, bool /*forSoftMask*/) override; + void paintTransparencyGroup(GfxState *state, const std::array& bbox) override; +#else void beginTransparencyGroup(GfxState *state, const double *bbox, GfxColorSpace * /*blendingColorSpace*/, bool /*isolated*/, bool /*knockout*/, bool /*forSoftMask*/) override; void paintTransparencyGroup(GfxState *state, const double *bbox) override; +#endif void endTransparencyGroup(GfxState *state) override; + +#if POPPLER_ENCODED_VERSION >= POPPLER_VERSION_ENCODE(25, 9, 0) + void setSoftMask(GfxState * /*state*/, const std::array & /*bbox*/, bool /*alpha*/, Function * /*transferFunc*/, GfxColor * /*backdropColor*/) override; +#else void setSoftMask(GfxState * /*state*/, const double * /*bbox*/, bool /*alpha*/, Function * /*transferFunc*/, GfxColor * /*backdropColor*/) override; +#endif void clearSoftMask(GfxState * /*state*/) override; void updateFillColor(GfxState *state) override; @@@@ -394,7 +410,7 @@@@ private: QTransform m_ctm; struct F3Entry { - bool colored; + bool colored = false; }; QStack m_F3Stack; struct mContent @ 1.1 log @print/scribus: import scribus-1.7.0 This is the qt6 version of scribus, previously in scribus-qt5. Scribus is a publishing layout program for X using the QT interface. It can be used to create stationery, small posters and brochures and to layout newsletters and other documents. It can export in Postscript and PDF formats; and the data is saved in XML format. Scribus aims to be similar to Adobe PageMaker and Quark XPress. It can do typical tasks like kerning text and placing and rotating text and images. @ text @d1 1 a1 1 $NetBSD$ @