Summary: | dev-tex/pdfannotextractor-0.1l-r1 is not compatible with dev-java/{font,pdf}box-2.0.24 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Volkmar W. Pogatzki <gentoo> |
Component: | Current packages | Assignee: | TeX project <tex> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | fordfrog, njsg |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/23049 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 803542, 824042 | ||
Attachments: | build log |
Description
Volkmar W. Pogatzki
2021-07-23 08:26:52 UTC
please migrate the package to dev-java/pdfbox:0 or last-rite it Wrapper exceptions were dropped: COSVisitorException should probably be IOException now[1]; The [...].pdmodel.interactive.annotation.type package import can probably be removed when [...].pdmodel.interactive.annotation is being imported, see [2]; And then there are the changes in methods - are these documented somewhere? From a quick glance, getCOSObject might be a replacement for getCOSDictionary (in PDDocumentCatalog)[3]. But uses of getAllPages probably require some adaptation to rely on getPages? [4] From the build log there are at least also the following, which I did not search for in the pdfbox repositories: - findRotation, findMediaBox, findCropBox, getCOSDicitonary of PDPage - getCOSArray of PDPageFit*Destination - getHexString of COSString - keyList of COSDictionary Does anyone know if the authors upstream would be interested in updating the package to work with a newer version of pdfbox? Has any other distribution already done the required modifications? Debian appears to have some patches to update the imports (as does Gentoo), but I don't think that's enough. [1] https://github.com/apache/pdfbox/commit/01c6698a401ab976d37397fdf6ce5eeb90d7dd83 [2] https://github.com/apache/pdfbox/commit/ba57f0a294e90ab80e39a1e07cb1f6aa8e69e5ca [3] https://github.com/apache/pdfbox/commit/9e77adf2fdde24cb9e180be8335e526e3d4bbaae [4] https://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentCatalog.java?r1=1634252&r2=1634251&pathrev=1634252 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ab57a0eeb810d8b645170496a191baaae00404b commit 0ab57a0eeb810d8b645170496a191baaae00404b Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2021-11-23 13:14:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-23 17:02:42 +0000 package.use.mask: mask dev-tex/pdfannotextractor Bug: https://bugs.gentoo.org/803488 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/23049 Signed-off-by: Sam James <sam@gentoo.org> profiles/base/package.use.mask | 5 +++++ profiles/package.mask | 5 +++++ 2 files changed, 10 insertions(+) dev-tex/pdfannotextractor is now package.masked, closing |