pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/jsoncpp jsoncpp: updated to 1.9.5
details: https://anonhg.NetBSD.org/pkgsrc/rev/c81a3204f999
branches: trunk
changeset: 768916:c81a3204f999
user: adam <adam%pkgsrc.org@localhost>
date: Wed Nov 03 20:52:23 2021 +0000
description:
jsoncpp: updated to 1.9.5
1.9.5:
Minor bug-fixes (including for cmake)
Support for Bazel
Dropped compile-time deprecation warnings
diffstat:
textproc/jsoncpp/Makefile | 9 +++++++--
textproc/jsoncpp/PLIST | 6 ++++--
textproc/jsoncpp/distinfo | 10 +++++-----
textproc/jsoncpp/patches/patch-CMakeLists.txt | 22 ++++++----------------
4 files changed, 22 insertions(+), 25 deletions(-)
diffs (93 lines):
diff -r 3028002a7353 -r c81a3204f999 textproc/jsoncpp/Makefile
--- a/textproc/jsoncpp/Makefile Wed Nov 03 19:23:25 2021 +0000
+++ b/textproc/jsoncpp/Makefile Wed Nov 03 20:52:23 2021 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2020/09/29 16:49:15 adam Exp $
+# $NetBSD: Makefile,v 1.16 2021/11/03 20:52:23 adam Exp $
-DISTNAME= jsoncpp-1.9.4
+DISTNAME= jsoncpp-1.9.5
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=open-source-parsers/}
@@ -15,5 +15,10 @@
CMAKE_ARGS+= -DBUILD_OBJECT_LIBS=OFF
CMAKE_ARGS+= -DJSONCPP_WITH_TESTS=OFF
PKGCONFIG_OVERRIDE= pkg-config/jsoncpp.pc.in
+CONFIGURE_DIRS= ${WRKDIR}/build
+CMAKE_ARG_PATH= ${WRKSRC}
+
+post-extract:
+ ${MKDIR} ${WRKDIR}/build
.include "../../mk/bsd.pkg.mk"
diff -r 3028002a7353 -r c81a3204f999 textproc/jsoncpp/PLIST
--- a/textproc/jsoncpp/PLIST Wed Nov 03 19:23:25 2021 +0000
+++ b/textproc/jsoncpp/PLIST Wed Nov 03 20:52:23 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2020/05/30 06:09:47 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2021/11/03 20:52:23 adam Exp $
include/json/allocator.h
include/json/assertions.h
include/json/config.h
@@ -9,7 +9,9 @@
include/json/value.h
include/json/version.h
include/json/writer.h
-lib/cmake/jsoncpp/jsoncppConfig-release.cmake
+lib/cmake/jsoncpp/jsoncpp-namespaced-targets.cmake
+lib/cmake/jsoncpp/jsoncpp-targets-release.cmake
+lib/cmake/jsoncpp/jsoncpp-targets.cmake
lib/cmake/jsoncpp/jsoncppConfig.cmake
lib/cmake/jsoncpp/jsoncppConfigVersion.cmake
lib/libjsoncpp.so
diff -r 3028002a7353 -r c81a3204f999 textproc/jsoncpp/distinfo
--- a/textproc/jsoncpp/distinfo Wed Nov 03 19:23:25 2021 +0000
+++ b/textproc/jsoncpp/distinfo Wed Nov 03 20:52:23 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.16 2021/10/26 11:22:13 nia Exp $
+$NetBSD: distinfo,v 1.17 2021/11/03 20:52:23 adam Exp $
-BLAKE2s (jsoncpp-1.9.4.tar.gz) = 83b41ae0b6e3b09d87389c6e94de705dc11e3a2ba722d03f3f724a7e67814f6b
-SHA512 (jsoncpp-1.9.4.tar.gz) = adfd4afbdf6b79bd37edcf0e248f07864994f1c4bcb7431f3b44102490ce467f72381908066655fa486dec12f467af0a11f42f859bbf719895974c7339db7d22
-Size (jsoncpp-1.9.4.tar.gz) = 214057 bytes
-SHA1 (patch-CMakeLists.txt) = 8f7ca8b24647eb28de220796b2721051bc4f49ec
+BLAKE2s (jsoncpp-1.9.5.tar.gz) = e10152d14c86b9f20b6da5a0bac484322728e445d5368724457c59c0f2c4092e
+SHA512 (jsoncpp-1.9.5.tar.gz) = 1d06e044759b1e1a4cc4960189dd7e001a0a4389d7239a6d59295af995a553518e4e0337b4b4b817e70da5d9731a4c98655af90791b6287870b5ff8d73ad8873
+Size (jsoncpp-1.9.5.tar.gz) = 216055 bytes
+SHA1 (patch-CMakeLists.txt) = ccd72520cea8293d2fc0300e15b81be2505cd719
diff -r 3028002a7353 -r c81a3204f999 textproc/jsoncpp/patches/patch-CMakeLists.txt
--- a/textproc/jsoncpp/patches/patch-CMakeLists.txt Wed Nov 03 19:23:25 2021 +0000
+++ b/textproc/jsoncpp/patches/patch-CMakeLists.txt Wed Nov 03 20:52:23 2021 +0000
@@ -1,25 +1,15 @@
-$NetBSD: patch-CMakeLists.txt,v 1.5 2020/09/29 16:49:15 adam Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.6 2021/11/03 20:52:23 adam Exp $
Make so version match symlink versions.
-Remove -Werror=conversion.
---- CMakeLists.txt.orig 2020-09-26 02:19:16.000000000 +0000
+--- CMakeLists.txt.orig 2021-11-03 17:53:28.000000000 +0000
+++ CMakeLists.txt
-@@ -73,7 +73,7 @@ project(jsoncpp
+@@ -76,7 +76,7 @@ project(jsoncpp
LANGUAGES CXX)
message(STATUS "JsonCpp Version: ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
--set(PROJECT_SOVERSION 24)
+-set(PROJECT_SOVERSION 25)
+set(PROJECT_SOVERSION ${PROJECT_VERSION_MAJOR})
- option(JSONCPP_WITH_TESTS "Compile and (for jsoncpp_check) run JsonCpp test executables" ON)
- option(JSONCPP_WITH_POST_BUILD_UNITTEST "Automatically run unit-tests as a post build step" ON)
-@@ -124,7 +124,7 @@ endif()
-
- if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
- # using regular Clang or AppleClang
-- add_compile_options(-Wall -Wconversion -Wshadow -Werror=conversion -Werror=sign-compare)
-+ add_compile_options(-Wall -Wconversion -Wshadow -Werror=sign-compare)
- elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
- # using GCC
- add_compile_options(-Wall -Wconversion -Wshadow -Wextra)
+ include(${CMAKE_CURRENT_SOURCE_DIR}/include/PreventInSourceBuilds.cmake)
+ include(${CMAKE_CURRENT_SOURCE_DIR}/include/PreventInBuildInstalls.cmake)
Home |
Main Index |
Thread Index |
Old Index