diff options
author | wiz <wiz@pkgsrc.org> | 2016-04-19 11:16:37 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2016-04-19 11:16:37 +0000 |
commit | 1fa7d70852663a62dfa318c8b049a3923ae0affd (patch) | |
tree | 9c74218a36bec572f91cf4ceba137a06d9c38502 | |
parent | 391b98a1fa816452473f45c9f900f8b60c6cab0a (diff) | |
download | pkgsrc-1fa7d70852663a62dfa318c8b049a3923ae0affd.tar.gz |
Update jsoncpp to 1.7.2.
1.7.2
Fix clang warning.
1.7.1
GCC-6 compatibility
New precision setting in StreamBuilder
Move-semantics for some ctors
Added details to exception messages
Clarified when exceptions are thrown
Support isinfinite()
Secure memory-wiping allocator (via compilation flag, settable via cmake)
For this, we changed all STL datatypes to macros, but all unchanged by default.
Lots of minor build-related improvements
Notably, cmake support for ccache
More supported systems
gcc-6
musl
MinGW
Cygwin
QNX
VS2010 (for now, but you can always use old versions of JsonCpp)
Note: 1.7.0 was recalled b/c it accidentally included SecureAlloc by default.
1.6.5
Expose Exception classes
Other changes are just comments.
1.6.2
Fix UTF-8 for old (deprecated) Writers
Do not truncate output at embedded zeroes.
This was already fixed the new StreamWriter, which is used by the default stream inserter. This fix will not break anything that wasn't already broken.
1.6.1
Fix compilation error for `snprintf()` for some compilers.
Fix compilation error for snprintf() for some compilers.
1.6
Json::Exception
Added Json::Exception, plus derived types:
Json::RuntimeError
Json::LogicError
Clarified when exceptions are thrown.
If you are trapping std::exception, nothing will change for you.
Fixed deprecation macro. (Thx to @Dani-Hub.)
Fixed compilation error for gcc-4.8. (Thx to @connormanning.)
Fixed CharReader::Factory base. (Thx to Tengiz Sharafiev.) (Technically, this is not a binary-compatible change, but it is a pretty serious bug. So we have deprecated 1.4 and 1.5.)
-rw-r--r-- | textproc/jsoncpp/Makefile | 17 | ||||
-rw-r--r-- | textproc/jsoncpp/PLIST | 4 | ||||
-rw-r--r-- | textproc/jsoncpp/distinfo | 10 |
3 files changed, 14 insertions, 17 deletions
diff --git a/textproc/jsoncpp/Makefile b/textproc/jsoncpp/Makefile index 449038baedb..08cb5c0debe 100644 --- a/textproc/jsoncpp/Makefile +++ b/textproc/jsoncpp/Makefile @@ -1,22 +1,17 @@ -# $NetBSD: Makefile,v 1.3 2015/12/05 21:26:01 adam Exp $ +# $NetBSD: Makefile,v 1.4 2016/04/19 11:16:37 wiz Exp $ -DISTNAME= jsoncpp-src-0.6.0rc2svn276 -PKGNAME= ${DISTNAME:C/-src//} +DISTNAME= jsoncpp-1.7.2 CATEGORIES= textproc -MASTER_SITES= # manually extracted from SVN +MASTER_SITES= ${MASTER_SITE_GITHUB:=open-source-parsers/} MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://jsoncpp.sourceforge.net/ +HOMEPAGE= https://github.com/open-source-parsers/jsoncpp COMMENT= JSON reader and writer in C++ -LICENSE= mit +LICENSE= public-domain OR mit USE_CMAKE= yes USE_LANGUAGES= c c++ -WRKSRC= ${WRKDIR}/jsoncpp -# for tests -PYTHON_FOR_BUILD_ONLY= yes -PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # not yet ported as of 0.6.0rc2nb20140217 +PKGCONFIG_OVERRIDE= pkg-config/jsoncpp.pc.in -.include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/jsoncpp/PLIST b/textproc/jsoncpp/PLIST index 3ed4a557ee1..fe51021c790 100644 --- a/textproc/jsoncpp/PLIST +++ b/textproc/jsoncpp/PLIST @@ -1,4 +1,5 @@ -@comment $NetBSD: PLIST,v 1.1 2014/04/18 22:26:08 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2016/04/19 11:16:37 wiz Exp $ +include/json/allocator.h include/json/assertions.h include/json/autolink.h include/json/config.h @@ -10,3 +11,4 @@ include/json/value.h include/json/version.h include/json/writer.h lib/libjsoncpp.a +lib/pkgconfig/jsoncpp.pc diff --git a/textproc/jsoncpp/distinfo b/textproc/jsoncpp/distinfo index 25de40dc825..f751e15d00e 100644 --- a/textproc/jsoncpp/distinfo +++ b/textproc/jsoncpp/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.2 2015/11/04 01:59:38 agc Exp $ +$NetBSD: distinfo,v 1.3 2016/04/19 11:16:37 wiz Exp $ -SHA1 (jsoncpp-src-0.6.0rc2svn276.tar.gz) = 47a36b612343bb93ba89532b822eb9f851380ddf -RMD160 (jsoncpp-src-0.6.0rc2svn276.tar.gz) = 1d9ff19fafd2ffb080774cd17215315cfca248f5 -SHA512 (jsoncpp-src-0.6.0rc2svn276.tar.gz) = 7572c8b3d54b2f5d8947c429f267e46036b76cda4ba6bb42b53c61219d610436a1471b95f1e25ebb3b224a952e5783aecd02aeb92a14305f1ee1f6e2d6d055c3 -Size (jsoncpp-src-0.6.0rc2svn276.tar.gz) = 342225 bytes +SHA1 (jsoncpp-1.7.2.tar.gz) = 956b13c42a8100c7fd9a8365c571a6783d197b8a +RMD160 (jsoncpp-1.7.2.tar.gz) = 8a7dc32d1aebb63cdab7414a81775d53c4559b7c +SHA512 (jsoncpp-1.7.2.tar.gz) = 32702147229ea7a3679654325572c38f4188f258ab6ac21f9e04059d53ef2a7cd0542ec4ec3b0e7b9089acd2b7bce389f16b9ff24b2e63e0ba2a5bcd46bab766 +Size (jsoncpp-1.7.2.tar.gz) = 205391 bytes |