head 1.3; access; symbols pkgsrc-2015Q3:1.1.0.6 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.4 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.2; locks; strict; comment @// @; 1.3 date 2026.06.24.21.57.36; author wiz; state Exp; branches; next 1.2; commitid k6TcQUOC0vZpe6LG; 1.2 date 2015.09.24.23.13.34; author ryoon; state dead; branches; next 1.1; commitid 6tD6vgM9gOADQyCy; 1.1 date 2015.04.24.20.18.48; author joerg; state Exp; branches 1.1.2.1; next ; commitid Xs3bqQCJ1BnANSiy; 1.1.2.1 date 2015.04.24.20.18.48; author tron; state dead; branches; next 1.1.2.2; commitid 3qY8jK5DGIbGehjy; 1.1.2.2 date 2015.04.27.21.55.05; author tron; state Exp; branches; next ; commitid 3qY8jK5DGIbGehjy; desc @@ 1.3 log @pdf2djvu: fix build with poppler 26.06.0 Bump PKGREVISION. @ text @$NetBSD$ Fix build with poppler 26.06. From Arch. https://aur.archlinux.org/cgit/aur.git/plain/pdf2djvu-poppler-26.01.0.patch?h=pdf2djvu https://aur.archlinux.org/cgit/aur.git/plain/pdf2djvu-poppler-26.x.patch?h=pdf2djvu --- pdf-backend.hh.orig 2022-08-09 20:28:01.000000000 +0000 +++ pdf-backend.hh @@@@ -26,7 +26,6 @@@@ #include #include -#include "autoconf.hh" // Poppler: #include @@@@ -49,6 +48,7 @@@@ #include #include +#include "autoconf.hh" #include "i18n.hh" namespace pdf @@@@ -63,7 +63,12 @@@@ namespace pdf typedef ::Splash Splash; typedef ::SplashColor Color; typedef ::SplashFont Font; +#include +#if POPPLER_VERSION >= 260500 + typedef double Coord; +#else typedef ::SplashCoord Coord; +#endif typedef ::SplashPath Path; typedef ::SplashGlyphBitmap GlyphBitmap; typedef ::SplashBitmap Bitmap; @ 1.2 log @Update to 0.8.2 * Update HOMEPAGE and MASTER_SITES. Changelog: pdf2djvu (0.8.2) unstable; urgency=low [ Jakub Wilk ] * Fix file corruption for some documents with outline. https://bitbucket.org/jwilk/pdf2djvu/issues/110 Regression introduced in 0.7.20. * Improve thread-safety: + Make GraphicsMagick initialization thread-safe. + Rewrite the subprocess handling code to be thread-safe. Remove PStreams support. * Fix silencing djvuextract's stderr. * Use iconv() for converting from locale encoding to UTF-8. * Document that gettext is needed for internationalization. * Improve error handling. * Improve the test suite. * Update the Polish translation. [ Américo Monteiro ] * Update the Portuguese translation. [ Chris Leick ] * Update the German translation. -- Jakub Wilk Tue, 08 Sep 2015 20:43:24 +0200 pdf2djvu (0.8.1) unstable; urgency=low * Fix “--fg-colors=N” when GraphicsMagick was compiled with QuantumDepth > 8. * Report GraphicsMagick's QuantumDepth in “--version”. * Build with “-Werror=narrowing”. * Document what software is required to run the tests. * Windows: fix loading Poppler data files. * Improve the test suite. -- Jakub Wilk Thu, 13 Aug 2015 17:48:55 +0200 pdf2djvu (0.8) unstable; urgency=low [ Juan Francisco Cantero Hurtado ] * Don't hardcode the Python interpreter path in script shebangs; use “#!/usr/bin/env python” instead. [ Jakub Wilk ] * Don't silently ignore --loss-level when used without --monochrome. https://bitbucket.org/jwilk/pdf2djvu/issue/86 * Add sanity check that output file is distinct from all input files. https://bitbucket.org/jwilk/pdf2djvu/issue/98 * Apply NFKC normalization on characters from the Alphabetic Presentation Forms block (U+FB00–U+FB4F), even when --no-nfkc were specified. This is what Poppler (≥ 0.19) does by default. Thanks to Dmitry Shachnev for the bug report. https://bitbucket.org/jwilk/pdf2djvu/issue/90 https://bugs.freedesktop.org/show_bug.cgi?id=7002 * Fail early if duplicate page numbers were specified in -p/--pages. https://bitbucket.org/jwilk/pdf2djvu/issue/73 * Fail early on duplicate page identifiers and duplicate page titles. * Make --help and --version return with exit code 0. * Windows: build against GraphicsMagick. https://bitbucket.org/jwilk/pdf2djvu/issue/75 * Improve the configure script: + Check if Poppler xpdf headers exist. + Add option for disabling PStreams (--without-pstreams). * Change the order libraries on linker command line. Move libraries provided by the LIBS configure variable to the end. * Use the reentrant S-expression output API when it's available (DjVuLibre ≥ 3.5.25). * Improve error handling. * Improve the test suite. * Improve documentation: + Simplify documentation about build dependencies. + Document that pkg-config is required for building. + Update poppler-data download URL. * Update the Polish translation. [ Américo Monteiro ] * Update the Portuguese translation. [ Chris Leick ] * Update the German translation. [ Kyrill Detinov ] * Update the Russian translation. [ Jean-Paul Guillonneau ] * Update the French translation of the manual page. -- Jakub Wilk Fri, 07 Aug 2015 14:42:08 +0200 pdf2djvu (0.7.21) unstable; urgency=low * Fix insecure use of /tmp when executing c44(1). https://bitbucket.org/jwilk/pdf2djvu/issue/103 -- Jakub Wilk Sat, 09 May 2015 23:21:40 +0200 pdf2djvu (0.7.20) unstable; urgency=low [ Jakub Wilk ] * Don't use djvused for setting document outline. It was too slow for very long documents. https://bitbucket.org/jwilk/pdf2djvu/issue/93 * Test suite: automatically skip tests that require features that were not enabled at build time. https://bitbucket.org/jwilk/pdf2djvu/issue/55 * Improve reporting of versions of the libraries in --version and XMP metadata. * Improve Windows support: + Correctly determine path to DjVuLibre binaries. https://bitbucket.org/jwilk/pdf2djvu/issue/85 + Fix path splitting is East-Asian locales. https://bitbucket.org/jwilk/pdf2djvu/issue/100 + Fix stdout redirection. https://bitbucket.org/jwilk/pdf2djvu/issue/101 * Update the homepage URL and the bug tracker URLs, in documentation and code. http://google-opensource.blogspot.com/2015/03/farewell-to-google-code.html [ Américo Monteiro ] * Update the Portuguese translation. [ Kyrill Detinov ] * Update the Russian translation. [ Chris Leick ] * Update the German translation. [ Serhij Dubyk ] * Update the Ukrainian translation. -- Jakub Wilk Fri, 01 May 2015 14:21:16 +0200 pdf2djvu (0.7.19) unstable; urgency=low * Fix build failure with Poppler ≥ 0.31. Thanks to David Evans for the bug report. https://bitbucket.org/jwilk/pdf2djvu/issue/99 -- Jakub Wilk Fri, 06 Feb 2015 20:00:38 +0100 pdf2djvu (0.7.18) unstable; urgency=low [ Jakub Wilk ] * Make the xml2c script more portable. * In C++11 mode, use “decltype” instead of “typeof”. * Fix build failure with libc++ in C++98 mode. Thanks to Angelo Graziosi for the bug report. https://bitbucket.org/jwilk/pdf2djvu/issue/88 * Use the standard AC_OPENMP macro in the configure script (instead of 3rd-party AX_OPENMP). * Use HTTPS URLs when they are available, in documentation and code. * Fix capitalization error in the German manual page. Thanks to Chris Leick for help. * Drop support for Poppler < 0.11.1. * Improve error handling. [ Américo Monteiro ] * Add Portuguese translation. https://bugs.debian.org/758262 [ Majid Redouane, Jean-Paul Guillonneau ] * Add French translation of the manual page. -- Jakub Wilk Thu, 18 Dec 2014 13:25:10 +0100 pdf2djvu (0.7.17) unstable; urgency=low * Fix build failure with Poppler ≥ 0.23. -- Jakub Wilk Thu, 30 May 2013 22:20:31 +0200 pdf2djvu (0.7.16) unstable; urgency=low * Fix build failure with Poppler ≥ 0.21.1. -- Jakub Wilk Wed, 14 Nov 2012 20:44:57 +0100 pdf2djvu (0.7.15) unstable; urgency=low * Fix build failure with Poppler ≥ 0.21. -- Jakub Wilk Sat, 06 Oct 2012 12:32:09 +0200 @ text @d1 1 a1 1 $NetBSD: patch-pdf-backend.hh,v 1.1 2015/04/24 20:18:48 joerg Exp $ d3 6 a8 1 --- pdf-backend.hh.orig 2015-04-24 18:53:21.000000000 +0000 d10 14 a23 8 @@@@ -113,7 +113,7 @@@@ namespace pdf class Renderer : public pdf::splash::OutputDevice { public: - Renderer(pdf::splash::Color &paper_color, bool monochrome = false) : + Renderer(pdf::splash::Color &paper_color, bool antialias, bool monochrome) : pdf::splash::OutputDevice(monochrome ? splashModeMono1 : splashModeRGB8, 4, gFalse, paper_color) { } d25 14 a38 8 @@@@ -296,7 +296,6 @@@@ namespace pdf { public: Environment(const char *argv0); - void set_antialias(bool value); class UnableToSetParameter : public std::runtime_error { public: @ 1.1 log @Build with Poppler 0.32. @ text @d1 1 a1 1 $NetBSD$ @ 1.1.2.1 log @file patch-pdf-backend.hh was added on branch pkgsrc-2015Q1 on 2015-04-27 21:55:05 +0000 @ text @d1 21 @ 1.1.2.2 log @Pullup ticket #4688 - requested by joerg print/pdf2djvu: build fix Revisions pulled up: - print/pdf2djvu/distinfo 1.7 - print/pdf2djvu/patches/patch-pdf-backend.cc 1.2 - print/pdf2djvu/patches/patch-pdf-backend.hh 1.1 - print/pdf2djvu/patches/patch-pdf2djvu.cc 1.2 --- Module Name: pkgsrc Committed By: joerg Date: Fri Apr 24 20:18:48 UTC 2015 Modified Files: pkgsrc/print/pdf2djvu: distinfo pkgsrc/print/pdf2djvu/patches: patch-pdf-backend.cc patch-pdf2djvu.cc Added Files: pkgsrc/print/pdf2djvu/patches: patch-pdf-backend.hh Log Message: Build with Poppler 0.32. @ text @a0 21 $NetBSD$ --- pdf-backend.hh.orig 2015-04-24 18:53:21.000000000 +0000 +++ pdf-backend.hh @@@@ -113,7 +113,7 @@@@ namespace pdf class Renderer : public pdf::splash::OutputDevice { public: - Renderer(pdf::splash::Color &paper_color, bool monochrome = false) : + Renderer(pdf::splash::Color &paper_color, bool antialias, bool monochrome) : pdf::splash::OutputDevice(monochrome ? splashModeMono1 : splashModeRGB8, 4, gFalse, paper_color) { } @@@@ -296,7 +296,6 @@@@ namespace pdf { public: Environment(const char *argv0); - void set_antialias(bool value); class UnableToSetParameter : public std::runtime_error { public: @