Opened 6 years ago

Closed 6 years ago

#55663 closed update (fixed)

qpdf @6.0.0 upgrade

Reported by: detlevd (Detlev Droege) Owned by: mf2k (Frank Schima)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: qpdf

Description

qpdf 6.0.0 is outdated, tools like ocrmypdf recommend to use qpdf 7.0.0.

Upgrading the Portfile is straight forward. (attached) It now additionally requires port:jpeg

Issue #42101 is still present, direct upgrading might fail since the build process tries to link with the old libraries. Deactivation or uninstalling helps as a workaround.

Tested on OSX 10.12.6, clang 9.0.0, Xcode 9.2

Attachments (1)

Portfile_qpdf_7.0.0.patch (884 bytes) - added by detlevd (Detlev Droege) 6 years ago.

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by detlevd (Detlev Droege)

Attachment: Portfile_qpdf_7.0.0.patch added

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Keywords: upgrade removed
Version: 2.4.2

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Thanks!

Do you know if the pcre dependency is still needed? I see no evidence that it is used in the dylib. If it is needed, can pcre2 be used?

comment:3 Changed 6 years ago by detlevd (Detlev Droege)

According to the ChangeLog and the Release Notes the PCRE dependency was indeed removed in version 7.0.0 (while the new dependency on the JPEG library was added). A short inspection of the sources seconds that. The dependency on port:pcre may thus be dropped.

comment:4 Changed 6 years ago by detlevd (Detlev Droege)

Skimming the ChangeLog further shows that qpdf was relicensed to the Apache License, Version 2.0 (Apache-2), replacing the previous (said to be similar) Artistic-2.

comment:5 Changed 6 years ago by mf2k (Frank Schima)

Owner: set to mf2k
Resolution: fixed
Status: newclosed

In 5f54190c2e441179651db20b77cdbf41b995f476/macports-ports:

qpdf: Update to version 7.0.0

  • Update dependencies
  • Update license

Fixes: #55663

Note: See TracTickets for help on using tickets.