Re:_git:_87da75f22bd6_-_main_-_devel/jsoncpp:_updat e 1.9.5 → 1.9.6

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Thu, 12 Sep 2024 21:07:40 UTC
12.09.2024 23:43, Vladimir Druzenko пишет:
> 12.09.2024 12:18, Yuri Victorovich пишет:
>> The branch main has been updated by yuri:
>>
>> URL: 
>> https://cgit.FreeBSD.org/ports/commit/?id=87da75f22bd6f37794bec3f1da683e959c519989
>>
>> commit 87da75f22bd6f37794bec3f1da683e959c519989
>> Author:     Yuri Victorovich <yuri@FreeBSD.org>
>> AuthorDate: 2024-09-12 07:04:01 +0000
>> Commit:     Yuri Victorovich <yuri@FreeBSD.org>
>> CommitDate: 2024-09-12 09:18:11 +0000
>>
>>      devel/jsoncpp: update 1.9.5 → 1.9.6
>>           Reported by:    portscout
>> ---
>>   devel/jsoncpp/Makefile  | 2 +-
>>   devel/jsoncpp/distinfo  | 6 +++---
>>   devel/jsoncpp/pkg-plist | 4 +++-
>>   3 files changed, 7 insertions(+), 5 deletions(-)
>>
>> diff --git a/devel/jsoncpp/Makefile b/devel/jsoncpp/Makefile
>> index 278f83d4aa14..a05c1bc14a4e 100644
>> --- a/devel/jsoncpp/Makefile
>> +++ b/devel/jsoncpp/Makefile
>> @@ -1,5 +1,5 @@
>>   PORTNAME=    jsoncpp
>> -DISTVERSION=    1.9.5
>> +DISTVERSION=    1.9.6
>>   CATEGORIES=    devel
>>     MAINTAINER=    yuri@FreeBSD.org
>> diff --git a/devel/jsoncpp/distinfo b/devel/jsoncpp/distinfo
>> index 69b1eb48d15d..d64eafba4b44 100644
>> --- a/devel/jsoncpp/distinfo
>> +++ b/devel/jsoncpp/distinfo
>> @@ -1,3 +1,3 @@
>> -TIMESTAMP = 1636098082
>> -SHA256 (open-source-parsers-jsoncpp-1.9.5_GH0.tar.gz) = 
>> f409856e5920c18d0c2fb85276e24ee607d2a09b5e7d5f0a371368903c275da2
>> -SIZE (open-source-parsers-jsoncpp-1.9.5_GH0.tar.gz) = 216055
>> +TIMESTAMP = 1726117118
>> +SHA256 (open-source-parsers-jsoncpp-1.9.6_GH0.tar.gz) = 
>> f93b6dd7ce796b13d02c108bc9f79812245a82e577581c4c9aabe57075c90ea2
>> +SIZE (open-source-parsers-jsoncpp-1.9.6_GH0.tar.gz) = 212682
>> diff --git a/devel/jsoncpp/pkg-plist b/devel/jsoncpp/pkg-plist
>> index 6fbeaff4f58d..68d39b9c29fd 100644
>> --- a/devel/jsoncpp/pkg-plist
>> +++ b/devel/jsoncpp/pkg-plist
>> @@ -8,7 +8,9 @@ include/json/reader.h
>>   include/json/value.h
>>   include/json/version.h
>>   include/json/writer.h
>> +lib/cmake/jsoncpp/jsoncpp-namespaced-targets.cmake
>> +lib/cmake/jsoncpp/jsoncppConfig.cmake
>>   lib/libjsoncpp.a
>>   lib/libjsoncpp.so
>> -lib/libjsoncpp.so.25
>> +lib/libjsoncpp.so.26
>>   libdata/pkgconfig/jsoncpp.pc
>
> Hello!
>
> graphics/openxr build fails (in poudriere and on live system too) 
> after this commit:
>
> -- Found Threads: TRUE
> CMake Error at /usr/local/lib/cmake/jsoncpp/jsoncppConfig.cmake:31 
> (check_required_components):
>   Unknown CMake command "check_required_components".
> Call Stack (most recent call first):
>   src/cmake/FindJsonCpp.cmake:68 (find_package)
>   src/CMakeLists.txt:125 (find_package)
>
>
> -- Configuring incomplete, errors occurred!
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/graphics/openxr
>
Commenting out line "check_required_components(JsonCpp)" in 
/usr/local/lib/cmake/jsoncpp/jsoncppConfig.cmake fixes build.

-- 
Best regards,
Vladimir Druzenko