[MacPorts] #69387: leptonica @1.84.1: new library name and version requires revbumping all ports linking with the library

MacPorts noreply at macports.org
Fri Feb 23 06:02:57 UTC 2024


#69387: leptonica @1.84.1: new library name and version requires revbumping all
ports linking with the library
-------------------------+-------------------------------------------------
 Reporter:  ryandesign   |      Owner:  stromnov
     Type:  defect       |     Status:  assigned
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.9.1
 Keywords:               |       Port:  jbig2enc, mupdf, tesseract,
                         |  tesseract-training
-------------------------+-------------------------------------------------
 When [changeset:e5d96acca37466057b0a224201faf58aae54f023/macports-ports
 leptonica was updated to 1.84.1] its library name and version changed from
 liblept.5.dylib to libleptonica.6.dylib:

 {{{
 % otool -L leptonica-1.8*/opt/local/lib/libleptonica.dylib | grep lept
 leptonica-1.82.0_1.darwin_21.x86_64/opt/local/lib/libleptonica.dylib:
         /opt/local/lib/liblept.5.dylib (compatibility version 6.0.0,
 current version 6.4.0)
 leptonica-1.84.1_0.darwin_21.x86_64/opt/local/lib/libleptonica.dylib:
         /opt/local/lib/libleptonica.6.dylib (compatibility version 7.0.0,
 current version 7.0.0)
 }}}

 Therefore, all ports that link with the library need to have their
 revisions increased to rebuild them. Identifying and resolving this
 situation is one of the responsibilities of port maintainers when they
 update a library port.

 Not all ports that link with the leptonica library are compatible with the
 new version so they will need to be patched. See for example #69382 for
 jbig2enc.

-- 
Ticket URL: <https://trac.macports.org/ticket/69387>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list