notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
jsoncpp JSON reader and writer library for C++
1.9.4 devel on this many watch lists=21 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.9.4Version of this port present on the latest quarterly branch.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-01-21 18:44:05
Last Update: 2021-04-06 14:31:07
Commit Hash: 305f148
People watching this port, also watch:: cmake, dialog4ports, libedit, pkgconf, expat
License: MIT
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (21 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/jsoncpp-1.9.4/catalog.mk
  3. /usr/local/share/licenses/jsoncpp-1.9.4/LICENSE
  4. /usr/local/share/licenses/jsoncpp-1.9.4/MIT
  5. include/json/allocator.h
  6. include/json/assertions.h
  7. include/json/config.h
  8. include/json/forwards.h
  9. include/json/json.h
  10. include/json/json_features.h
  11. include/json/reader.h
  12. include/json/value.h
  13. include/json/version.h
  14. include/json/writer.h
  15. lib/libjsoncpp.a
  16. lib/libjsoncpp.so
  17. lib/libjsoncpp.so.24
  18. libdata/pkgconfig/jsoncpp.pc
  19. @owner
  20. @group
  21. @mode
Collapse this list.
Dependency lines:
  • For RUN/BUILD depends:
    • jsoncpp>0:devel/jsoncpp
  • For LIB depends:
    • libjsoncpp.so:devel/jsoncpp
To install the port: cd /usr/ports/devel/jsoncpp/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/jsoncpp
  • pkg install jsoncpp
PKGNAME: jsoncpp
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
jsoncpp
ABIlatestquarterly
FreeBSD:11:aarch641.8.1_41.9.3
FreeBSD:11:amd641.9.41.9.4
FreeBSD:11:armv61.7.2_11.9.3
FreeBSD:11:i3861.9.41.9.4
FreeBSD:11:mips--
FreeBSD:11:mips641.7.3-
FreeBSD:12:aarch641.8.1_41.9.4
FreeBSD:12:amd641.9.41.9.4
FreeBSD:12:armv61.8.1_41.9.4
FreeBSD:12:armv71.8.1_41.9.4
FreeBSD:12:i3861.9.41.9.4
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64-1.9.4
FreeBSD:13:aarch641.9.41.9.4
FreeBSD:13:amd641.9.41.9.4
FreeBSD:13:armv61.9.41.9.4
FreeBSD:13:armv71.9.41.9.4
FreeBSD:13:i3861.9.41.9.4
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.9.41.9.4
FreeBSD:14:aarch641.9.4-
FreeBSD:14:amd641.9.4-
FreeBSD:14:armv61.9.4-
FreeBSD:14:armv71.9.4-
FreeBSD:14:i3861.9.4-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc641.9.4-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. meson : devel/meson
  2. ninja : devel/ninja
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. python3.7 : lang/python37
This port is required by:
for Libraries
  1. biology/bamtools
  2. devel/cmake
  3. devel/cmake-gui
  4. devel/opendht
  5. games/minetest
  6. graphics/open3d
  7. graphics/ossim
Expand this list (27 items / 20 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. lang/solidity
  3. math/cadabra2
  4. misc/ignition-fuel-tools
  5. multimedia/libopenshot
  6. net/flower
  7. net-p2p/eiskaltdcpp-daemon
  8. science/orthanc
  9. science/py-tensorflow
  10. sysutils/fusefs-securefs
  11. www/chromium
  12. www/domoticz
  13. www/qt5-webengine
  14. x11/polybar
  15. x11/waybar
  16. Collapse this list.

Deleted ports which required this port:

Expand this list of 6 deleted ports
  1. net/libjson-rpc-cpp*
  2. net-im/ring-daemon*
  3. science/orthanc-dicomweb*
  4. science/orthanc-postgresql*
  5. science/orthanc-webviewer*
  6. www/iridium*
  7. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:

USES:

Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/open-source-parsers/jsoncpp/tar.gz/1.9.4?dummy=/
Collapse this list.

Number of commits found: 33

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.9.4
mat search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
28 Sep 2020 04:10:45
Original commit files touched by this commit Revision:550398  1.9.4
yuri search for other commits by this committer
devel/jsoncpp: Update 1.9.3 -> 1.9.4

Reported by:	portscout
30 Jun 2020 02:16:11
Original commit files touched by this commit Revision:540853  1.9.3
yuri search for other commits by this committer
devel/jsoncpp: Update 1.9.2 -> 1.9.3

Add support for "make test".

PR:		246953
Submitted by:	daniel.engberg.lists@pyret.net
13 Jan 2020 21:38:36
Original commit files touched by this commit Revision:522975  1.9.2
yuri search for other commits by this committer
devel/jsoncpp: Update 1.8.1 -> 1.9.2

PR:		229677
Differential Revision:	D22905
14 Sep 2019 22:08:02
Original commit files touched by this commit Revision:512080  1.8.1_7
jbeich search for other commits by this committer
devel/jsoncpp: drop gcc5 support after r501916

$ USE_GCC=5 make
===>  jsoncpp-1.8.1_7 Unknown version of GCC specified (USE_GCC=5).
14 Sep 2019 22:01:13
Original commit files touched by this commit Revision:512079  1.8.1_7
jbeich search for other commits by this committer
Drop C++11 workaround for GCC < 6 after r449590

lang/gcc5 will expire in ~1 month. If someone still uses lang/gcc48
they should backport C++11 fix instead. QA on GCC architecuters is
currently limited to powerpc64 which uses GCC_DEFAULT.

PR:		193528
26 Jul 2019 20:46:57
Original commit files touched by this commit Revision:507372  1.8.1_7
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
26 Feb 2019 19:08:43
Original commit files touched by this commit Revision:493979  1.8.1_6
dim search for other commits by this committer
With libc++ 8.0, which is in the projects/clang800-import branch, and
which will soon be merged to head, compilation of devel/jsoncpp fails
due to a conflict between the new C++ <version> header, and a local file
"version" which is produced by jsoncpp during its configure phase.

This is due to the initial test runner being compiled with "-I.", even
though it does not need any file from the port's working directory root.
Therefore, it seems to be easiest to comment out the line from the
SConstruct script that adds the "-I." option.

Approved by:	yuri (maintainer)
PR:		236061
MFH:		2019Q1
12 Dec 2018 01:35:36
Original commit files touched by this commit Revision:487272  1.8.1_5
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
29 Jul 2018 22:18:46
Original commit files touched by this commit Revision:475857  1.8.1_4
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

This includes ports
 - featuring USE_GCC=yes or USE_GCC=any,
 - featuring USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and those
 - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
   c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.

PR:		222542
19 Feb 2018 22:25:14
Original commit files touched by this commit Revision:462353  1.8.1_3
yuri search for other commits by this committer
devel/jsoncpp: USES=compiler:c++11-lang (for cmake-3.10.1, etc)

Additional port changes:
* Bumped PORTREVISION (binaries changed)
* Updated MAINTAINER

PR:		224720
Submitted by:	jhibbits
Approved by:	tcberner (mentor, implicit)
04 Oct 2017 10:56:17
Original commit files touched by this commit Revision:451212  1.8.1_2
sunpoet search for other commits by this committer
Fix jsoncpp.pc

- Bump PORTREVISION for package change

PR:		222104
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
Approved by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)
10 Sep 2017 20:55:39
Original commit files touched by this commit Revision:449591  1.8.1_1
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
29 Jun 2017 09:55:37
Original commit files touched by this commit Revision:444638  1.8.1
madpilot search for other commits by this committer
Update to 1.8.1

PR:		220321
Submitted by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)
01 Apr 2017 15:23:32
Original commit files touched by this commit Revision:437439  1.8.0_2
gerald search for other commits by this committer
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
31 Dec 2016 22:22:01
Original commit files touched by this commit Revision:430172  1.8.0_1
sunpoet search for other commits by this committer
Fix variable substitution for jsoncpp.pc

- Bump PORTREVISION for package change

PR:		215390
Submitted by:	John Hein <z7dr6ut7gs@snkmail.com>
Approved by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)
19 Dec 2016 15:54:53
Original commit files touched by this commit Revision:428945  1.8.0
sunpoet search for other commits by this committer
- Update to 1.8.0

Changes:	https://github.com/open-source-parsers/jsoncpp/releases
PR:		215390
Submitted by:	Yuri Victorovich <yuri@rawbw.com> (maintainer)
09 Nov 2016 23:53:07
Original commit files touched by this commit Revision:425820  1.7.7
mandree search for other commits by this committer
Forced commit to note:

PR:		213992
Reported by:	Kenneth Salerno
09 Nov 2016 23:49:33
Original commit files touched by this commit Revision:425819  1.7.7
mandree search for other commits by this committer
Fix build on GCC 5.

PR:		213992
Submitted by:	Yuri Victorovich (maintainer)
20 Oct 2016 01:25:04
Original commit files touched by this commit Revision:424299  1.7.7
cpm search for other commits by this committer
devel/jsoncpp: Fix bad REINPLACE_CMD of jsoncpp.pc

- Remove extra ${PREFIX} in jsoncpp/Makefile

% pkgconf --libs --cflags jsoncpp
-I/usr/local//usr/local/include/jsoncpp -L/usr/local//usr/local/lib -ljsoncpp

Notice the extra /usr/local.

PR:		213553
Reported by:	John Hein <z7dr6ut7gs@snkmail.com>
Approved by:	yuri@rawbw.com (maintainer), koobs (mentor)
MFH:		2016Q4
06 Oct 2016 19:00:38
Original commit files touched by this commit Revision:423432  1.7.7
pawel search for other commits by this committer
Update to version 1.7.7

PR:		213184
Submitted by:	maintainer
05 Jul 2016 06:44:21
Original commit files touched by this commit Revision:418065  1.7.3
brnrd search for other commits by this committer
devel/jsoncpp: Update to 1.7.3

  - Update to version 1.7.3 [2]
  - Fix compiler issues [1]

PR:		209945
Submitted by:	Mathieu Simon <freebsd@simweb.ch> [1]
Reviewed by:	yuri@rawbw.com (maintainer) [2]
03 Jul 2016 18:37:34
Original commit files touched by this commit Revision:417988  1.7.2_1
brnrd search for other commits by this committer
devel/jsoncpp: Fix build on 10.3

  - Change OS version checks to compiler checks

PR:		209954
Submitted by:	Mathieu Simon <freebsd@simweb.ch>
27 May 2016 12:01:56
Original commit files touched by this commit Revision:415936  1.7.2_1
pi search for other commits by this committer
devel/jsoncpp: fix jsoncpp.pc includedir

- and: submitter becomes maintainer

PR:		209407
Submitted by:	yuri@rawbw.com (new maintainer)
Reported by:	johan@stromnet.se (old maintainer)
Approved by:	johan@stromnet.se (old maintainer)
17 May 2016 17:00:15
Original commit files touched by this commit Revision:415395  1.7.2
pi search for other commits by this committer
devel/jsoncpp: 0.6.0 -> 1.7.2

Changes: https://github.com/open-source-parsers/jsoncpp/releases
- Changed distsite to github
- This is a major upgrade, please report any issues

PR:		209407
Submitted by:	yuri@rawbw.com
Approved by:	johan@stromnet.se (maintainer)
Reviewed by:	brd, swills
09 Nov 2015 18:45:22
Original commit files touched by this commit Revision:401156  0.6.0.r2_2
sunpoet search for other commits by this committer
- Add LICENSE_FILE

Approved by:	portmgr (blanket)
30 Jun 2015 21:43:05
Original commit files touched by this commit Revision:391009  0.6.0.r2_2
rakuco search for other commits by this committer
Properly version libjsoncpp.so.

Fix the problem described in bug 200969: currently, libjsoncpp.so is not
properly versioned by SCons; in other words, there's no SONAME in the
library's ELF header, which confuses the linker when creating binaries that
link against it.

Solve it by using InstallVersionedLib(), available since SCons 2.3.0: this
call is able to properly version the shared library the way we need it.
Since there is no support for actually installing the files outside the
build directory, we have to recreate the required symlinks ourselves in the
Makefile. Another related change is that we now create the libraries with
the proper names instead of doing that in the Makefile.

I'm (ab)using the maintainer's approval given to bug 200939, as swills's
latest patch includes this change as well.

PR:		200969
PR:		201057
Approved by:	johan@stromnet.se (maintainer)
09 May 2015 01:12:51
Original commit files touched by this commit Revision:385847  0.6.0.r2_1
amdmi3 search for other commits by this committer
- Don't install static libraries with INSTALL_LIB (part 2/2)

Approved by:	portmgr blanket
MFH:		2015Q2
02 Dec 2014 14:26:00
Original commit files touched by this commit Revision:373763  0.6.0.r2
amdmi3 search for other commits by this committer
- Prevent SCons from trimming environment

PR:		195577
Submitted by:	amdmi3
Approved by:	johan@stromnet.se (maintainer)
27 Oct 2014 10:40:08
Original commit files touched by this commit Revision:371546  0.6.0.r2
bapt search for other commits by this committer
Cleanup plist
22 Sep 2014 17:46:58
Original commit files touched by this commit Revision:368979  0.6.0.r2
bdrewery search for other commits by this committer
Support 'make reinstall'
22 Aug 2014 19:33:20
Original commit files touched by this commit Revision:365690  0.6.0.r2
bdrewery search for other commits by this committer
- Fix CXX not being respected. This original fix seemed to work only because
  scons tries c++, then g++. If you had g++ installed then it would use that
  regardless of CXX. Just pull CXX out of the environment intead.
21 Jan 2014 18:43:56
Original commit files touched by this commit Revision:340636  0.6.0.r2
danilo search for other commits by this committer
- Add new port devel/jsoncpp

jsoncpp is an implementation of a JSON reader and writer in C++.

PR:		ports/185592
Submitted by:	Johan Str?m <johan@stromnet.se>

Number of commits found: 33