[opensource-dev] How to handle JsonCpp's headers on STANDALONE?

Robin Cornelius robin.cornelius at gmail.com
Thu Apr 7 13:07:52 PDT 2011


On Thu, Apr 7, 2011 at 8:25 PM, Boroondas Gupte
<sllists at boroon.dasgupta.ch> wrote:

> Is a JsonCpp package available for your distribution?
> If yes:
> Does it come from an official, semi-official or non-official package
> repository? (Or even just a manual download?)
> Does it install a features.h header? If so, where?
> Where does it install json.h and reader.h?

There still is not as far as i know any offical jsoncpp package for
debian or ubuntu (there is a debug bug request for one #617325) but to
date i believe a lot of standalone debian/ubuntu users have been using
my package on apt.byteme.org.uk. As i'm packaging and the main purpose
for my package is viewer building its easy for me to update/change if
this is the best thing to do, but i want to keep this ideally close to
upstream as possible. If we need to start patching the (jsoncpp)
package to make the viewer play nice (and for no other good reasons),
it will never be an acceptable solution to get this included in debian
and all i will end up doing is patching the viewer on debian builds.

As for your question the dev package lay out is as follows :-

drwxr-xr-x root/root         0 2010-05-10 14:43 ./
drwxr-xr-x root/root         0 2010-05-10 14:43 ./usr/
drwxr-xr-x root/root         0 2010-05-10 14:43 ./usr/share/
drwxr-xr-x root/root         0 2010-05-10 14:43 ./usr/share/doc/
drwxr-xr-x root/root         0 2010-05-10 14:43 ./usr/share/doc/libjsoncpp-dev/
-rw-r--r-- root/root       149 2009-09-22 21:00
./usr/share/doc/libjsoncpp-dev/copyright
drwxr-xr-x root/root         0 2010-05-10 14:43 ./usr/lib/
-rw-r--r-- root/root    575366 2010-05-10 14:43 ./usr/lib/libjson.a
drwxr-xr-x root/root         0 2010-05-10 14:43 ./usr/include/
drwxr-xr-x root/root         0 2010-05-10 14:43 ./usr/include/jsoncpp/
-rw-r--r-- root/root     33577 2010-05-10 14:43 ./usr/include/jsoncpp/value.h
-rw-r--r-- root/root      1389 2010-05-10 14:43 ./usr/include/jsoncpp/config.h
-rw-r--r-- root/root       617 2010-05-10 14:43 ./usr/include/jsoncpp/forwards.h
-rw-r--r-- root/root      5765 2010-05-10 14:43 ./usr/include/jsoncpp/reader.h
-rw-r--r-- root/root      6202 2010-05-10 14:43 ./usr/include/jsoncpp/writer.h
-rw-r--r-- root/root       438 2010-05-10 14:43 ./usr/include/jsoncpp/autolink.h
-rw-r--r-- root/root       177 2010-05-10 14:43 ./usr/include/jsoncpp/json.h
lrwxrwxrwx root/root         0 2010-05-10 14:43 ./usr/lib/libjson.so
-> libjson.so.0

Robin


More information about the opensource-dev mailing list