Re: git: 1876b07e4fcf - main - graphics/openjph: update to 0.18

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Tue, 12 Nov 2024 17:44:14 UTC
12.11.2024 19:44, Baptiste Daroussin пишет:
> On Tue 12 Nov 19:35, Vladimir Druzenko wrote:
>> 12.11.2024 19:22, Baptiste Daroussin пишет:
>>> The branch main has been updated by bapt:
>>>
>>> URL: https://cgit.FreeBSD.org/ports/commit/?id=1876b07e4fcf269a1c57ac401ab57e4337bcf465
>>>
>>> commit 1876b07e4fcf269a1c57ac401ab57e4337bcf465
>>> Author:     Baptiste Daroussin <bapt@FreeBSD.org>
>>> AuthorDate: 2024-11-12 16:18:55 +0000
>>> Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
>>> CommitDate: 2024-11-12 16:22:50 +0000
>>>
>>>       graphics/openjph: update to 0.18
>>>       This version addresses an issue, which causes illegal instruction
>>>       fault on machines that do not support AVX or more recent instruction
>>>       sets, when the code in compiled with clang and in the Release mode only.
>>>       Noticeable for anyone running Nextcloud on a machine which do not
>>>       support AVX or more recent instructions sets!
>>>       Changes:        https://github.com/aous72/OpenJPH/releases/tag/0.18.0
>>> ---
>>>    graphics/openjph/Makefile  | 2 +-
>>>    graphics/openjph/distinfo  | 6 +++---
>>>    graphics/openjph/pkg-plist | 2 +-
>>>    3 files changed, 5 insertions(+), 5 deletions(-)
>>>
>>> diff --git a/graphics/openjph/Makefile b/graphics/openjph/Makefile
>>> index e6ce711210b5..54e665ab0427 100644
>>> --- a/graphics/openjph/Makefile
>>> +++ b/graphics/openjph/Makefile
>>> @@ -1,5 +1,5 @@
>>>    PORTNAME=	openjph
>>> -PORTVERSION=	0.17.0
>>> +PORTVERSION=	0.18.0
>>>    CATEGORIES=	graphics
>>>    MAINTAINER=	sunpoet@FreeBSD.org
>>> diff --git a/graphics/openjph/distinfo b/graphics/openjph/distinfo
>>> index e54e111ec98e..d70d7851a84d 100644
>>> --- a/graphics/openjph/distinfo
>>> +++ b/graphics/openjph/distinfo
>>> @@ -1,3 +1,3 @@
>>> -TIMESTAMP = 1727314508
>>> -SHA256 (aous72-OpenJPH-0.17.0_GH0.tar.gz) = 9cd09a5f3a8046b10bded787212afd2410836f9c266964a36f61dc4b63f99b6c
>>> -SIZE (aous72-OpenJPH-0.17.0_GH0.tar.gz) = 431333
>>> +TIMESTAMP = 1731428017
>>> +SHA256 (aous72-OpenJPH-0.18.0_GH0.tar.gz) = 2484908bf5a171cda957643d9bc85c39d58ef939016e2d1a00122b1cefbbd4f8
>>> +SIZE (aous72-OpenJPH-0.18.0_GH0.tar.gz) = 465193
>>> diff --git a/graphics/openjph/pkg-plist b/graphics/openjph/pkg-plist
>>> index 6a9b1e4d3631..ac44ac170f1f 100644
>>> --- a/graphics/openjph/pkg-plist
>>> +++ b/graphics/openjph/pkg-plist
>>> @@ -12,6 +12,6 @@ include/openjph/ojph_params.h
>>>    include/openjph/ojph_version.h
>>>    lib/libopenjph.so
>>>    lib/libopenjph.so.0
>>> -lib/libopenjph.so.0.17
>>> +lib/libopenjph.so.0.18
>>>    lib/libopenjph.so.%%PORTVERSION%%
>>>    libdata/pkgconfig/openjph.pc
>> Hello!
>>
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282543
>>
> Somehow I failed at finding this PR sorry about it, I committed straight as it
> breaks many running systems.
>
> I forgot to update libheif which hardcode the minor version of the soname in a
> dlopen.... (seriously, why ?).
>
> Best regards,
> Bapt

Upstream of openjph use for SONAME "libopenjph.so.MAJOR.MINOR": 
libopenjph.so.0.16, *.0.17, *.0.18.
There is an issue about this: https://github.com/aous72/OpenJPH/issues/155
Patch is trivial: 
https://github.com/aous72/OpenJPH/issues/157#issuecomment-2466556609
But the author still hasn't decided what to do.

-- 
Best regards,
Vladimir Druzenko