Opened 9 months ago

Closed 8 months ago

#69387 closed defect (fixed)

leptonica @1.84.1: new library name and version requires revbumping all ports linking with the library

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc: tenomoto (Takeshi Enomoto), harciga, markemer (Mark Anderson), macdeport, dbevans (David B. Evans)
Port: jbig2enc, mupdf, tesseract, tesseract-training

Description

When 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.

Change History (3)

comment:1 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: tenomoto harciga markemer added

comment:2 Changed 9 months ago by macdeport

Cc: macdeport added

comment:3 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: dbevans added
Resolution: fixed
Status: assignedclosed

jbig2enc was revbumped and patched in [661421d2e0d5055101c05751b44de9e137f9b027/macports-ports].

mupdf was revbumped in [2fb796324c9f436eef4c7b4d38156484739d7741/macports-ports].

tesseract and tesseract-training were revbumped in [252ca6a4c9fb6d57595fef98473fe0be50cd5b67/macports-ports].

Note: See TracTickets for help on using tickets.