jansson 2.8

This commit is contained in:
Petri Lehtinen 2016-08-30 21:09:28 +03:00
parent a931aace16
commit 012c5f0eca
10 changed files with 14 additions and 26 deletions

View File

@ -1,7 +1,7 @@
Version 2.8 Version 2.8
=========== ===========
Released 2016-08-26 Released 2016-08-30
* New features: * New features:

View File

@ -86,10 +86,10 @@ endif (WIN32)
# set (JANSSON_VERSION "2.3.1") # set (JANSSON_VERSION "2.3.1")
# set (JANSSON_SOVERSION 2) # set (JANSSON_SOVERSION 2)
set(JANSSON_DISPLAY_VERSION "2.7") set(JANSSON_DISPLAY_VERSION "2.8")
# This is what is required to match the same numbers as automake's # This is what is required to match the same numbers as automake's
set(JANSSON_VERSION "4.7.0") set(JANSSON_VERSION "4.8.0")
set(JANSSON_SOVERSION 4) set(JANSSON_SOVERSION 4)
# for CheckFunctionKeywords # for CheckFunctionKeywords

View File

@ -1,4 +1,4 @@
EXTRA_DIST = CHANGES LICENSE README.rst CMakeLists.txt cmake android EXTRA_DIST = CHANGES LICENSE README.rst CMakeLists.txt cmake android examples
SUBDIRS = doc src test SUBDIRS = doc src test
# "make distcheck" builds the dvi target, so use it to check that the # "make distcheck" builds the dvi target, so use it to check that the

View File

@ -1,5 +1,5 @@
AC_PREREQ([2.60]) AC_PREREQ([2.60])
AC_INIT([jansson], [2.7], [petri@digip.org]) AC_INIT([jansson], [2.8], [petri@digip.org])
AC_CONFIG_AUX_DIR([.]) AC_CONFIG_AUX_DIR([.])
AM_INIT_AUTOMAKE([1.10 foreign]) AM_INIT_AUTOMAKE([1.10 foreign])
@ -114,6 +114,5 @@ AC_CONFIG_FILES([
test/bin/Makefile test/bin/Makefile
test/suites/Makefile test/suites/Makefile
test/suites/api/Makefile test/suites/api/Makefile
examples/Makefile
]) ])
AC_OUTPUT AC_OUTPUT

View File

@ -219,7 +219,9 @@ link the program as follows::
cc -o prog prog.c -ljansson cc -o prog prog.c -ljansson
Starting from version 1.2, there's also support for pkg-config_:: Starting from version 1.2, there's also support for pkg-config_:
.. code-block:: shell
cc -o prog prog.c `pkg-config --cflags --libs jansson` cc -o prog prog.c `pkg-config --cflags --libs jansson`

View File

@ -256,7 +256,9 @@ For a detailed explanation of reference counting in Jansson, see
:ref:`apiref-reference-count` in :ref:`apiref`. :ref:`apiref-reference-count` in :ref:`apiref`.
The program's ready, let's test it and view the latest commits in The program's ready, let's test it and view the latest commits in
Jansson's repository:: Jansson's repository:
.. code-block:: shell
$ ./github_commits akheron jansson $ ./github_commits akheron jansson
1581f26a Merge branch '2.3' 1581f26a Merge branch '2.3'

View File

@ -1,9 +0,0 @@
EXTRA_PROGRAMS = simple_parse
simple_parse_SOURCES = simple_parse.c
AM_CPPFLAGS = -I$(top_builddir)/src -I$(top_srcdir)/src
LDFLAGS = -static # for easier running
LDADD = $(top_builddir)/src/libjansson.la
all: simple_parse

View File

@ -2,9 +2,3 @@ Jansson examples
================ ================
This directory contains simple example programs that use Jansson. This directory contains simple example programs that use Jansson.
You can compile the examples by running the configure script normally
in Jansson's top directory, and then::
cd examples
make

View File

@ -23,4 +23,4 @@ libjansson_la_SOURCES = \
libjansson_la_LDFLAGS = \ libjansson_la_LDFLAGS = \
-no-undefined \ -no-undefined \
-export-symbols-regex '^json_' \ -export-symbols-regex '^json_' \
-version-info 11:0:7 -version-info 12:0:8

View File

@ -21,11 +21,11 @@ extern "C" {
/* version */ /* version */
#define JANSSON_MAJOR_VERSION 2 #define JANSSON_MAJOR_VERSION 2
#define JANSSON_MINOR_VERSION 7 #define JANSSON_MINOR_VERSION 8
#define JANSSON_MICRO_VERSION 0 #define JANSSON_MICRO_VERSION 0
/* Micro version is omitted if it's 0 */ /* Micro version is omitted if it's 0 */
#define JANSSON_VERSION "2.7" #define JANSSON_VERSION "2.8"
/* Version as a 3-byte hex number, e.g. 0x010201 == 1.2.1. Use this /* Version as a 3-byte hex number, e.g. 0x010201 == 1.2.1. Use this
for numeric comparisons, e.g. #if JANSSON_VERSION_HEX >= ... */ for numeric comparisons, e.g. #if JANSSON_VERSION_HEX >= ... */