Your message dated Fri, 12 Aug 2022 13:33:54 +0000
with message-id <e1omuns-00gxuq...@fasolo.debian.org>
and subject line Bug#1012801: fixed in pdf2djvu 0.9.18.2-2
has caused the Debian Bug report #1012801,
regarding pdf2djvu: Backport for compatibility with Poppler 22.06
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1012801: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012801
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pdf2djvu
Version: 0.9.18.2-1
Severity: wishlist
Tags: patch
X-Debbugs-Cc: nathan.teodo...@canonical.com
Dear Maintainer,
With Poppler 22.06, pdf2djvu no longer builds.
The attached patch is comprised of upstream changes to fix this.
-- System Information:
Debian Release: bookworm/sid
APT prefers kinetic
APT policy: (500, 'kinetic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.15.0-33-generic (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pdf2djvu depends on:
ii djvulibre-bin 3.5.28-2build2
ii libc6 2.35-0ubuntu3
ii libdjvulibre21 3.5.28-2build2
ii libexiv2-27 0.27.5-3ubuntu1
ii libgcc-s1 12.1.0-2ubuntu1
ii libgomp1 12.1.0-2ubuntu1
ii libgraphicsmagick++-q16-12 1.4+really1.3.38-1
ii libgraphicsmagick-q16-3 1.4+really1.3.38-1
ii libpoppler118 22.02.0-3
ii libstdc++6 12.1.0-2ubuntu1
ii libuuid1 2.38-4ubuntu1
pdf2djvu recommends no packages.
Versions of packages pdf2djvu suggests:
ii poppler-data 0.4.11-1
-- no debconf information
diff -Nru pdf2djvu-0.9.18.2/debian/changelog pdf2djvu-0.9.18.2/debian/changelog
--- pdf2djvu-0.9.18.2/debian/changelog 2022-02-17 14:16:25.000000000 -0300
+++ pdf2djvu-0.9.18.2/debian/changelog 2022-06-14 09:00:10.000000000 -0300
@@ -1,3 +1,11 @@
+pdf2djvu (0.9.18.2-2) UNRELEASED; urgency=medium
+
+ * debian/patches/compat-with-poppler-22.06.patch
+ - Backport upstream changes need for compatibility with new Poppler
+ version.
+
+ -- Nathan Pratta Teodosio <nathan.teodo...@canonical.com> Tue, 14 Jun 2022
09:00:10 -0300
+
pdf2djvu (0.9.18.2-1) unstable; urgency=medium
* New upstream release.
diff -Nru pdf2djvu-0.9.18.2/debian/patches/compat-with-poppler-22.06.patch
pdf2djvu-0.9.18.2/debian/patches/compat-with-poppler-22.06.patch
--- pdf2djvu-0.9.18.2/debian/patches/compat-with-poppler-22.06.patch
1969-12-31 21:00:00.000000000 -0300
+++ pdf2djvu-0.9.18.2/debian/patches/compat-with-poppler-22.06.patch
2022-06-14 09:00:10.000000000 -0300
@@ -0,0 +1,29 @@
+Description: Backport for Poppler 22.06 compatibility
+Author: Nathan Pratta Teodosio <nathan.teodo...@canonical.com>
+
+--- pdf2djvu-0.9.18.2.orig/pdf-backend.cc
++++ pdf2djvu-0.9.18.2/pdf-backend.cc
+@@ -130,7 +130,11 @@ void pdf::Environment::set_antialias(boo
+ */
+
+ pdf::Document::Document(const std::string &file_name)
+-: ::PDFDoc(new pdf::String(file_name.c_str()), nullptr, nullptr)
++#if POPPLER_VERSION >= 220300
++: ::PDFDoc(std::make_unique<pdf::String>(file_name.c_str()))
++#else
++: ::PDFDoc(new pdf::String(file_name.c_str()))
++#endif
+ {
+ if (!this->isOk())
+ throw LoadError();
+--- pdf2djvu-0.9.18.2.orig/pdf2djvu.cc
++++ pdf2djvu-0.9.18.2/pdf2djvu.cc
+@@ -89,7 +89,7 @@ static int get_page_for_goto_link(pdf::l
+ #endif
+ }
+ else
+- dest.reset(orig_dest->copy());
++ dest.reset(new pdf::link::Destination(*orig_dest));
+ if (dest.get() != nullptr)
+ {
+ int page;
diff -Nru pdf2djvu-0.9.18.2/debian/patches/series
pdf2djvu-0.9.18.2/debian/patches/series
--- pdf2djvu-0.9.18.2/debian/patches/series 1969-12-31 21:00:00.000000000
-0300
+++ pdf2djvu-0.9.18.2/debian/patches/series 2022-06-14 08:59:39.000000000
-0300
@@ -0,0 +1 @@
+compat-with-poppler-22.06.patch
--- End Message ---
--- Begin Message ---
Source: pdf2djvu
Source-Version: 0.9.18.2-2
Done: Hsieh-Tseng Shen <woodrow.s...@gmail.com>
We believe that the bug you reported is fixed in the latest version of
pdf2djvu, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1012...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Hsieh-Tseng Shen <woodrow.s...@gmail.com> (supplier of updated pdf2djvu package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 12 Aug 2022 20:18:24 +0800
Source: pdf2djvu
Architecture: source
Version: 0.9.18.2-2
Distribution: unstable
Urgency: medium
Maintainer: Hsieh-Tseng Shen <woodrow.s...@gmail.com>
Changed-By: Hsieh-Tseng Shen <woodrow.s...@gmail.com>
Closes: 1012801
Changes:
pdf2djvu (0.9.18.2-2) unstable; urgency=medium
.
* Fix build failure with Poppler 22.06 (Closes: #1012801)
* deb/control:
+ bump standards to 4.6.1.0.
Checksums-Sha1:
e9257e29aebce8d1e2f00317d1c11fa7f75a989e 2082 pdf2djvu_0.9.18.2-2.dsc
1def4aeb85f083c7ae2e16d370b42fc0c2fc36e1 29628
pdf2djvu_0.9.18.2-2.debian.tar.xz
2393c0e0fc0a81523b707fc5dd741b904356626f 8723
pdf2djvu_0.9.18.2-2_source.buildinfo
Checksums-Sha256:
eb02125df34cdf4d400345983a07624de2d675f964db9844bb042b20b5980aaa 2082
pdf2djvu_0.9.18.2-2.dsc
d4d8327550b83a6169aad3f8a5c8e368e90b0a066956897d11f19e93840203bb 29628
pdf2djvu_0.9.18.2-2.debian.tar.xz
3bf098f19389cd9f5b4b3db9a261ee2ea6650a363b888c03f95d11ac0c8e0866 8723
pdf2djvu_0.9.18.2-2_source.buildinfo
Files:
fa01ca668bf9d4ec2d24afaf16f66d88 2082 text optional pdf2djvu_0.9.18.2-2.dsc
c803f948a42603ac9905d7ed864d5e9c 29628 text optional
pdf2djvu_0.9.18.2-2.debian.tar.xz
178d6b3956ce99db7d195283522e8624 8723 text optional
pdf2djvu_0.9.18.2-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJLBAEBCgA1FiEET6DRWYA/+LY06Vo4OXD+JHy2loUFAmL2UNQXHHdvb2Ryb3cu
c2hlbkBnbWFpbC5jb20ACgkQOXD+JHy2loVA1xAAw6BJ64Sur2pJGimnyLduLysB
GZ+B1hCvVpGquEMWaIyHTAnIpzz8qX7gzwVZmBCumUGMBn9q0gECvPjH8oyF7ers
crJscbM33CYlSYtz2hog7Bw/DsJjdK+YzLSjsx40TP2T/s9E1u6vnIyzNLlEHDlc
xq61KxfXz2kouHQQh/Wzf3H99eZpuGzvI93YYUBKsipOuZ8gfcIe8X4577GUDsul
nMF6Ig0Nor9IORVIfllp+bv8nQ27CKY5zEadnRMUiluC5s+LbY76ARRyXNdM8hVq
aKFLUJ9M2ydGMbV18YuQ6U1ly7v9Cw9CWoM5IUipSnbzoi9c85hapZxHxg5xmdcO
39MarLvatlrlDTSM0FB2xc57SLbC4na+sscnoGhuzoUly/BsIVZzbkJbsuH4Vh7B
1YqsTg/R01C6nlIY9AUg1S4zeiJrdqOcY4jxsvF21/53HRrd/78K5rV+9f27OxfL
ixYbFPwjpfRlHVjYUwsu+hQTaXvb//NksG+yf78WegaQXl5R1QHVa0yj57aXfo84
kDw+9p0LhgyxFJ43TkgzM9ZPJI2kpJsg307klnIPe4vOLrRFZVbjvqTM4oiVbmun
M2xRDlYFfw7vIAR5+agYPP073sEKYymBM81EHPFrmcJeh+JY8NSz+2+mCnEBysFi
/EdUHN8RGJ2ZWs7Od5M=
=9IIT
-----END PGP SIGNATURE-----
--- End Message ---