diff options
author | ryoon <ryoon@pkgsrc.org> | 2015-09-24 23:13:34 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2015-09-24 23:13:34 +0000 |
commit | 747a4aae0b8b67fbd3d86156f8a0ba9cf7f27b28 (patch) | |
tree | 5c23679bf2b369b1182fe3476bfd79514e39439a /print | |
parent | 9be6a827b612fbe5ade7733ea9de56acffdc104b (diff) | |
download | pkgsrc-747a4aae0b8b67fbd3d86156f8a0ba9cf7f27b28.tar.gz |
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 <jwilk@jwilk.net> 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 <jwilk@jwilk.net> 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 <jwilk@jwilk.net> 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 <jwilk@jwilk.net> 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 <jwilk@jwilk.net> 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 <jwilk@jwilk.net> 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 <jwilk@jwilk.net> Thu, 18 Dec 2014 13:25:10 +0100
pdf2djvu (0.7.17) unstable; urgency=low
* Fix build failure with Poppler ≥ 0.23.
-- Jakub Wilk <jwilk@jwilk.net> 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 <jwilk@jwilk.net> Wed, 14 Nov 2012 20:44:57 +0100
pdf2djvu (0.7.15) unstable; urgency=low
* Fix build failure with Poppler ≥ 0.21.
-- Jakub Wilk <jwilk@jwilk.net> Sat, 06 Oct 2012 12:32:09 +0200
Diffstat (limited to 'print')
-rw-r--r-- | print/pdf2djvu/Makefile | 11 | ||||
-rw-r--r-- | print/pdf2djvu/PLIST | 5 | ||||
-rw-r--r-- | print/pdf2djvu/distinfo | 12 | ||||
-rw-r--r-- | print/pdf2djvu/patches/patch-pdf-backend.cc | 29 | ||||
-rw-r--r-- | print/pdf2djvu/patches/patch-pdf-backend.hh | 21 | ||||
-rw-r--r-- | print/pdf2djvu/patches/patch-pdf2djvu.cc | 54 | ||||
-rw-r--r-- | print/pdf2djvu/patches/patch-system.hh | 13 |
7 files changed, 13 insertions, 132 deletions
diff --git a/print/pdf2djvu/Makefile b/print/pdf2djvu/Makefile index e53bab8524a..06f0fca2edb 100644 --- a/print/pdf2djvu/Makefile +++ b/print/pdf2djvu/Makefile @@ -1,14 +1,13 @@ -# $NetBSD: Makefile,v 1.32 2015/07/15 15:09:39 wiz Exp $ +# $NetBSD: Makefile,v 1.33 2015/09/24 23:13:34 ryoon Exp $ # -DISTNAME= pdf2djvu_0.7.14 -PKGNAME= ${DISTNAME:S/_/-/} -PKGREVISION= 16 +DISTNAME= pdf2djvu-0.8.2 CATEGORIES= print -MASTER_SITES= http://pdf2djvu.googlecode.com/files/ +MASTER_SITES= https://bitbucket.org/jwilk/pdf2djvu/downloads/ +EXTRACT_SUFX= .tar.xz MAINTAINER= ryoon@NetBSD.org -HOMEPAGE= http://code.google.com/p/pdf2djvu/ +HOMEPAGE= http://jwilk.net/software/pdf2djvu COMMENT= Creates DjVu files from PDF files LICENSE= gnu-gpl-v2 diff --git a/print/pdf2djvu/PLIST b/print/pdf2djvu/PLIST index ec468c9ab98..d925c3f022c 100644 --- a/print/pdf2djvu/PLIST +++ b/print/pdf2djvu/PLIST @@ -1,11 +1,14 @@ -@comment $NetBSD: PLIST,v 1.3 2012/08/13 12:12:59 drochner Exp $ +@comment $NetBSD: PLIST,v 1.4 2015/09/24 23:13:34 ryoon Exp $ bin/pdf2djvu man/de/man1/pdf2djvu.1 +man/fr/man1/pdf2djvu.1 man/man1/pdf2djvu.1 man/pl/man1/pdf2djvu.1 +man/pt/man1/pdf2djvu.1 man/ru/man1/pdf2djvu.1 man/uk/man1/pdf2djvu.1 share/locale/de/LC_MESSAGES/pdf2djvu.mo share/locale/pl/LC_MESSAGES/pdf2djvu.mo +share/locale/pt/LC_MESSAGES/pdf2djvu.mo share/locale/ru/LC_MESSAGES/pdf2djvu.mo share/locale/uk/LC_MESSAGES/pdf2djvu.mo diff --git a/print/pdf2djvu/distinfo b/print/pdf2djvu/distinfo index 28c29fbeb0f..e599e3634a1 100644 --- a/print/pdf2djvu/distinfo +++ b/print/pdf2djvu/distinfo @@ -1,9 +1,5 @@ -$NetBSD: distinfo,v 1.7 2015/04/24 20:18:48 joerg Exp $ +$NetBSD: distinfo,v 1.8 2015/09/24 23:13:34 ryoon Exp $ -SHA1 (pdf2djvu_0.7.14.tar.gz) = 0023e1719f53452f64b1fffb6e5d20fc29b30308 -RMD160 (pdf2djvu_0.7.14.tar.gz) = 5116939c7bc698e3316bf6c86272104cd5040d24 -Size (pdf2djvu_0.7.14.tar.gz) = 320705 bytes -SHA1 (patch-pdf-backend.cc) = 4b22e50aebff955c984403a672ecda17dc5fdb3e -SHA1 (patch-pdf-backend.hh) = ccdb39f289c5c9b771fb11354aa800aaf86990c9 -SHA1 (patch-pdf2djvu.cc) = d2443a896bd898039eb6df048859fc210a5350e1 -SHA1 (patch-system.hh) = dcc18be77d5ff0e7d5f70043efd4ae739c54627a +SHA1 (pdf2djvu-0.8.2.tar.xz) = fd71dc41ab4ef533b138af6e2165ae7930b7fb79 +RMD160 (pdf2djvu-0.8.2.tar.xz) = 6d9de34bb461f1a92b83734771432a63570c8d9e +Size (pdf2djvu-0.8.2.tar.xz) = 234412 bytes diff --git a/print/pdf2djvu/patches/patch-pdf-backend.cc b/print/pdf2djvu/patches/patch-pdf-backend.cc deleted file mode 100644 index 63aa324abc2..00000000000 --- a/print/pdf2djvu/patches/patch-pdf-backend.cc +++ /dev/null @@ -1,29 +0,0 @@ -$NetBSD: patch-pdf-backend.cc,v 1.2 2015/04/24 20:18:48 joerg Exp $ - ---- pdf-backend.cc.orig 2012-09-18 15:27:41.000000000 +0000 -+++ pdf-backend.cc -@@ -54,7 +54,7 @@ static void poppler_error_handler(int po - error_log << std::endl; - } - #else --static void poppler_error_handler(void *data, ErrorCategory category, int pos, char *message) -+static void poppler_error_handler(void *data, ErrorCategory category, Goffset pos, char *message) - { - std::string format; - const char *category_name = _("PDF error"); -@@ -119,15 +119,6 @@ pdf::Environment::Environment(const char - #endif - } - --void pdf::Environment::set_antialias(bool value) --{ -- if (!globalParams->setAntialias(const_cast<char*>(value ? "yes" : "no"))) -- throw UnableToSetParameter(_("Unable to set antialias parameter")); -- if (!globalParams->setVectorAntialias(const_cast<char*>(value ? "yes" : "no"))) -- throw UnableToSetParameter(_("Unable to set vector antialias parameter")); --} -- -- - /* class pdf::Document - * =================== - */ diff --git a/print/pdf2djvu/patches/patch-pdf-backend.hh b/print/pdf2djvu/patches/patch-pdf-backend.hh deleted file mode 100644 index d83701e7380..00000000000 --- a/print/pdf2djvu/patches/patch-pdf-backend.hh +++ /dev/null @@ -1,21 +0,0 @@ -$NetBSD: patch-pdf-backend.hh,v 1.1 2015/04/24 20:18:48 joerg Exp $ - ---- 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: diff --git a/print/pdf2djvu/patches/patch-pdf2djvu.cc b/print/pdf2djvu/patches/patch-pdf2djvu.cc deleted file mode 100644 index 3cb56740bab..00000000000 --- a/print/pdf2djvu/patches/patch-pdf2djvu.cc +++ /dev/null @@ -1,54 +0,0 @@ -$NetBSD: patch-pdf2djvu.cc,v 1.2 2015/04/24 20:18:48 joerg Exp $ - ---- pdf2djvu.cc.orig 2012-09-18 15:27:41.000000000 +0000 -+++ pdf2djvu.cc -@@ -210,6 +210,13 @@ public: - friend Command &operator <<(Command &, const Component &); - }; - -+Command &operator <<(Command &command, const File &arg) -+{ -+ const std::string filename(arg); -+ command << filename; -+ return command; -+} -+ - Command &operator <<(Command &command, const Component &component) - { - command << *component.file; -@@ -625,8 +632,8 @@ public: - this->fill(state); - } - -- MutedRenderer(pdf::splash::Color &paper_color, bool monochrome, const ComponentList &page_files) -- : Renderer(paper_color, monochrome), page_files(page_files) -+ MutedRenderer(pdf::splash::Color &paper_color, bool monochrome, bool antialias, const ComponentList &page_files) -+ : Renderer(paper_color, monochrome, antialias), page_files(page_files) - { - this->clear(); - } -@@ -1252,7 +1259,6 @@ static int xmain(int argc, char * const - throw StdoutIsATerminal(); - - pdf::Environment environment(argv[0]); -- environment.set_antialias(config.antialias); - - DocumentMap document_map(config.filenames); - intmax_t pdf_byte_size = document_map.get_byte_size(); -@@ -1386,13 +1392,13 @@ static int xmain(int argc, char * const - debug(1) << doc->getFileName()->getCString() << ":" << std::endl; - debug(0)++; - } -- out1.reset(new pdf::Renderer(paper_color, config.monochrome)); -+ out1.reset(new pdf::Renderer(paper_color, config.monochrome, config.antialias)); - out1->start_doc(doc.get()); -- outm.reset(new MutedRenderer(paper_color, config.monochrome, *page_files)); -+ outm.reset(new MutedRenderer(paper_color, config.monochrome, config.antialias, *page_files)); - outm->start_doc(doc.get()); - if (!config.monochrome) - { -- outs.reset(new MutedRenderer(paper_color, config.monochrome, *page_files)); -+ outs.reset(new MutedRenderer(paper_color, config.monochrome, config.antialias, *page_files)); - outs->start_doc(doc.get()); - } - } diff --git a/print/pdf2djvu/patches/patch-system.hh b/print/pdf2djvu/patches/patch-system.hh deleted file mode 100644 index 5b3ae64e97f..00000000000 --- a/print/pdf2djvu/patches/patch-system.hh +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-system.hh,v 1.1 2013/06/18 20:11:18 joerg Exp $ - ---- system.hh.orig 2013-06-18 19:44:44.000000000 +0000 -+++ system.hh -@@ -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: |