head 1.3; access; symbols pkgsrc-2015Q3:1.1.0.20 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.18 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.16 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.14 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.12 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.10 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.8 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.6 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.4 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.2 pkgsrc-2013Q2-base:1.1; 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 2013.06.18.20.11.18; author joerg; state Exp; branches; next ; commitid OamJiPYzL0e4s8Uw; 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 --- system.hh.orig 2022-08-09 20:28:01.000000000 +0000 +++ system.hh @@@@ -223,7 +223,7 @@@@ namespace encoding protected: const std::string &string; public: - explicit proxy(const std::string &string) + explicit proxy(const std::string &string) : string(string) { } friend std::ostream &operator << <>(std::ostream &, const proxy &); @ 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-system.hh,v 1.1 2013/06/18 20:11:18 joerg Exp $ d3 6 a8 1 --- system.hh.orig 2013-06-18 19:44:44.000000000 +0000 d10 9 a18 9 @@@@ -136,6 +136,8 @@@@ public: friend std::ostream &operator<<(std::ostream &, const File &); }; +Command &operator <<(const Command &, const File& arg); + class TemporaryFile : public File { private: @ 1.1 log @Add explicit operator << for Commands taking File arguments as the use depends on the intermediate conversion to string, which is not valid C++. @ text @d1 1 a1 1 $NetBSD$ @