Your message dated Tue, 10 Jan 2023 22:06:17 +0000
with message-id <[email protected]>
and subject line Bug#1026040: fixed in ipe-tools 1:7.2.24.1-3.1
has caused the Debian Bug report #1026040,
regarding pdftoipe: Fix build with Poppler >= 22.09
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 [email protected]
immediately.)
--
1026040: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026040
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pdftoipe
Severity: wishlist
Tags: patch
X-Debbugs-Cc: [email protected]
Hi, ipe-tools fails to build with Poppler 22.09.
The attached patch fixes the build (log available at [1]).
[1]: https://launchpad.net/~nteodosio/+archive/ubuntu/poppler/+build/24935610
diff -Nru ipe-tools-7.2.24.1/debian/changelog
ipe-tools-7.2.24.1/debian/changelog
--- ipe-tools-7.2.24.1/debian/changelog 2022-10-16 21:05:46.000000000 -0300
+++ ipe-tools-7.2.24.1/debian/changelog 2022-12-13 13:45:51.000000000 -0300
@@ -1,3 +1,9 @@
+ipe-tools (1:7.2.24.1-3) unstable; urgency=medium
+
+ * Add patch to fix build with poppler 22.09.
+
+ -- Nathan Pratta Teodosio <[email protected]> Tue, 13 Dec 2022
13:45:51 -0300
+
ipe-tools (1:7.2.24.1-2) unstable; urgency=medium
[ Sam Q ]
diff -Nru ipe-tools-7.2.24.1/debian/patches/build-with-poppler-22.09.patch
ipe-tools-7.2.24.1/debian/patches/build-with-poppler-22.09.patch
--- ipe-tools-7.2.24.1/debian/patches/build-with-poppler-22.09.patch
1969-12-31 21:00:00.000000000 -0300
+++ ipe-tools-7.2.24.1/debian/patches/build-with-poppler-22.09.patch
2022-12-13 13:42:16.000000000 -0300
@@ -0,0 +1,33 @@
+From: Jonathan Chang <[email protected]>
+Date: Wed, 23 Nov 2022 16:22:50 -0800
+Subject: [PATCH] pdftoipe: fix for poppler >= 2.09
+Origin: https://github.com/otfried/ipe-tools/pull/55.patch
+
+---
+ pdftoipe/xmloutputdev.cpp | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/pdftoipe/xmloutputdev.cpp b/pdftoipe/xmloutputdev.cpp
+index 291eb5f..17bac2a 100644
+--- a/pdftoipe/xmloutputdev.cpp
++++ b/pdftoipe/xmloutputdev.cpp
+@@ -149,15 +149,15 @@ void XmlOutputDev::stroke(GfxState *state)
+ writeColor("<path stroke=", rgb, 0);
+ writePSFmt(" pen=\"%g\"", state->getTransformedLineWidth());
+
+- double *dash;
+ double start;
+- int length, i;
++ std::vector<double> dash = state->getLineDash(&start);
++ int length = dash.size();
++ int i;
+
+- state->getLineDash(&dash, &length, &start);
+ if (length) {
+ writePS(" dash=\"[");
+ for (i = 0; i < length; ++i)
+- writePSFmt("%g%s", state->transformWidth(dash[i]),
++ writePSFmt("%g%s", state->transformWidth(dash.at(i)),
+ (i == length-1) ? "" : " ");
+ writePSFmt("] %g\"", state->transformWidth(start));
+ }
diff -Nru ipe-tools-7.2.24.1/debian/patches/series
ipe-tools-7.2.24.1/debian/patches/series
--- ipe-tools-7.2.24.1/debian/patches/series 2022-10-16 21:05:46.000000000
-0300
+++ ipe-tools-7.2.24.1/debian/patches/series 2022-12-13 13:45:51.000000000
-0300
@@ -1,2 +1,3 @@
build-with-poppler-22.03.patch
+build-with-poppler-22.09.patch
cross.patch
--- End Message ---
--- Begin Message ---
Source: ipe-tools
Source-Version: 1:7.2.24.1-3.1
Done: Jeremy Bicha <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ipe-tools, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jeremy Bicha <[email protected]> (supplier of updated ipe-tools 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 10 Jan 2023 16:39:28 -0500
Source: ipe-tools
Built-For-Profiles: noudeb
Architecture: source
Version: 1:7.2.24.1-3.1
Distribution: unstable
Urgency: high
Maintainer: Debian Science Team
<[email protected]>
Changed-By: Jeremy Bicha <[email protected]>
Closes: 1026040
Changes:
ipe-tools (1:7.2.24.1-3.1) unstable; urgency=high
.
* Non-maintainer upload
* Release to unstable for the poppler transition
.
ipe-tools (1:7.2.24.1-3) experimental; urgency=medium
.
[ Nathan Pratta Teodosio ]
* Add patch to fix build with poppler 22.09. Closes: #1026040.
Checksums-Sha1:
05005985e7345d22e8fa3f0d7e7dd2b49ff89de7 2297 ipe-tools_7.2.24.1-3.1.dsc
52f0d1c22b4c133d20bfa267ba5bdbe333d0c993 6020
ipe-tools_7.2.24.1-3.1.debian.tar.xz
3d6f6a7f2e3b229dc934c94a6675423fb67b646a 8590
ipe-tools_7.2.24.1-3.1_source.buildinfo
Checksums-Sha256:
517dc8d0fa06bfa2f0eed9840e52e412679e44441892b7ce5e90639cabf09286 2297
ipe-tools_7.2.24.1-3.1.dsc
513b7086f6978c34d220b2e111fd03427d01ef664e8864b25f503848b7acb868 6020
ipe-tools_7.2.24.1-3.1.debian.tar.xz
9335dd7205d310745e13bce2a3b13da6bfa46f02863ae49f4885fc38bba24d22 8590
ipe-tools_7.2.24.1-3.1_source.buildinfo
Files:
0994090f1bbdb40f4313bff55b973e1f 2297 graphics optional
ipe-tools_7.2.24.1-3.1.dsc
220de667d7593594e59cd000a9a904b1 6020 graphics optional
ipe-tools_7.2.24.1-3.1.debian.tar.xz
b28d0e9a63097f83137443aab2f7420d 8590 graphics optional
ipe-tools_7.2.24.1-3.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmO924wACgkQ5mx3Wuv+
bH138Q//fzkXq2L0mweFcJWwOkVIgO4snO8oOakcpJ/pwo7CVTOfKu1rWYZNBtEj
BSah+Jfesw+kONTqeR3gJIwcVOCjB0mU4v2sQitVXmfuWBURKW6ec+tCNcgMylHX
EJgkCF5MZs+9ECa+Wh/fT3fMsu/UKo1xXP+7rWkiBSxbJCG+g5tyx1Mwmj+Neot+
3J5gNKn842ilPlMQ9W7cwFCdwRCH+QK2nBRIhMMQ7NVW/pFxlW1D2I/rEIT4vUrT
BATIMgr4YIN/JFzOnSNYOvxT5rI9JAli95kaD0wBik/uok/idi6c4WFEEqCun7uX
pNC4Pd6yaxI4T1Z8Wfllk2Q0e8Q32oDPIFy9vaBgMkC0pMW6VsodmNkf4molhdNX
1YQrUsbxqhWI8lAJPNzXtaRIAWRiu6jtHnzrvYnCvdEsn1+mP6wpTjx0Ie3Golgq
ykaPgG8GLrA3KK9nRdGRL1E1Dwy2jHg8uRiuurUvmImq/YMqwMutyk/E3+rQtCob
Frx6esnOg5C0XaAMwHiI4rdSw8DP4uvMyFB7JVws0K5HLbDUR/qtQQjv+qPlsNz0
px3+QTHC62ETtk07RSgjSoAMrE7cTV82NSpzmVZZrbmB0jjg1m5vKljS+fO8TpLj
bL6f1/QLnC6D/vK6jcUdRDFpCoPymbupUIQgtrl1Bzlt5zsbe2o=
=Z2Jt
-----END PGP SIGNATURE-----
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers