Bug 41717 - Update PDF::Reuse and PDF::Reuse::Barcode to the latest version
Summary: Update PDF::Reuse and PDF::Reuse::Barcode to the latest version
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Chris Nighswonger
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-27 01:30 UTC by Chris Nighswonger
Modified: 2026-01-27 20:40 UTC (History)
1 user (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 41717: Bump PDF::Reuse and PDF::Reuse::Barcode versions (1.01 KB, patch)
2026-01-27 01:35 UTC, Chris Nighswonger
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Nighswonger 2026-01-27 01:30:41 UTC
Update PDF::Reuse to the current version 0.43.
Update PDF::Reuse::Barcode to the current version 0.09

The existing test suite passes when with both so this should be a pretty straightforward bump.


~/git_repos/koha/Koha(main)$ sg docker -c 'docker exec koha-testing-docker-koha-1 perl -MPDF::Reuse -e "print \$PDF::Reuse::VERSION, chr(10)"'
0.43
~/git_repos/koha/Koha(main)$ sg docker -c 'docker exec koha-testing-docker-koha-1 perl -MPDF::Reuse::Barcode -e "print \$PDF::Reuse::Barcode::VERSION, chr(10)"'
0.09
~/git_repos/koha/Koha(main)$ sg docker -c 'docker exec koha-testing-docker-koha-1 bash -c "cd /kohadevbox/koha && prove t/Creators.t t/db_dependent/Labels/t_Label.t"'
t/Creators.t ..................... ok
t/db_dependent/Labels/t_Label.t .. ok
All tests successful.
Files=2, Tests=49,  4 wallclock secs ( 0.05 usr  0.01 sys +  3.46 cusr  0.38 csys =  3.90 CPU)
Result: PASS
Comment 1 Chris Nighswonger 2026-01-27 01:35:03 UTC
Created attachment 192075 [details] [review]
Bug 41717: Bump PDF::Reuse and PDF::Reuse::Barcode versions

PDF::Reuse 0.43 fixes a TTFont/docProxy lifecycle bug that caused
prEnd() to crash when TrueType fonts were used.

PDF::Reuse::Barcode 0.09 is the current stable release.
Comment 2 David Nind 2026-01-27 19:51:27 UTC
Not sure how to test this one.

Do I need to install the updated PERL modules from CPAN?

With the default KTD images (Debian 12 (Bookworm)), v .39 and v.07 are installed.
Comment 3 Chris Nighswonger 2026-01-27 20:40:27 UTC
(In reply to David Nind from comment #2)
> Not sure how to test this one.
> 
> Do I need to install the updated PERL modules from CPAN?

I started with the latest Koha Docker and installed the updated modules from CPAN. That's probably the only option until the package maintainers get to it.

> 
> With the default KTD images (Debian 12 (Bookworm)), v .39 and v.07 are
> installed.

I do notice that PDF::Reuse 0.43 has been flagged in Debian for packaging. But not sure about any time frame.

https://tracker.debian.org/pkg/libpdf-reuse-perl