Hello community,

here is the log from the commit of package json-c for openSUSE:Factory checked 
in at 2013-03-08 10:49:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/json-c (Old)
 and      /work/SRC/openSUSE:Factory/.json-c.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "json-c", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/json-c/json-c.changes    2012-04-23 
16:11:26.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.json-c.new/json-c.changes       2013-03-08 
10:49:56.000000000 +0100
@@ -1,0 +2,61 @@
+Thu Mar  7 09:43:30 UTC 2013 - [email protected]
+
+- Update to 0.10 version : 
+  * Add a json_object_to_json_string_ext() function to allow output 
+       to be formatted in a more human readable form.
+  * Add json_object_object_get_ex(), a NULL-safe get object method, 
+       to be able to distinguish between a key not present and the value 
+       being NULL.
+  * Add an alternative iterator implementation, see json_object_iterator.h
+  * Make json_object_iter public to enable external use of the
+     json_object_object_foreachC macro.
+  * Add a printbuf_memset() function to provide an effecient way to set and
+     append things like whitespace indentation.
+  * Adjust json_object_is_type and json_object_get_type so they return
+      json_type_null for NULL objects and handle NULL passed to
+      json_objct_object_get().
+  * Rename boolean type to json_bool.
+  * Fix various compile issues for Visual Studio and MinGW.
+  * Allow json_tokener_parse_ex() to be re-used to parse multiple object.
+     Also, fix some parsing issues with capitalized hexadecimal numbers and
+     number in E notation.
+  * Add json_tokener_get_error() and json_tokener_error_desc() to better
+     encapsulate the process of retrieving errors while parsing.
+  * Various improvements to the documentation of many functions.
+  * Add new json_object_array_sort() function.
+  * Fix a bug in json_object_get_int(), which would incorrectly return 0
+    when called on a string type object.
+    Eric Haszlakiewicz
+  * Add a json_type_to_name() function.
+    Eric Haszlakiewicz
+  * Add a json_tokener_parse_verbose() function.
+    Jehiah Czebotar
+  * Improve support for null bytes within JSON strings.
+    Jehiah Czebotar
+  * Fix file descriptor leak if memory allocation fails in json_util
+    Zachary Blair, zack_blair at hotmail dot com
+  * Add int64 support. Two new functions json_object_net_int64 and
+    json_object_get_int64. Binary compatibility preserved.
+    Eric Haszlakiewicz, EHASZLA at transunion com
+    Rui Miguel Silva Seabra, rms at 1407 dot org
+  * Fix subtle bug in linkhash where lookup could hang after all slots
+    were filled then successively freed.
+    Spotted by Jean-Marc Naud, j dash m at newtraxtech dot com
+  * Make json_object_from_file take const char *filename
+    Spotted by Vikram Raj V, vsagar at attinteractive dot com
+  * Add handling of surrogate pairs (json_tokener.c, test4.c, Makefile.am)
+    Brent Miller, bdmiller at yahoo dash inc dot com
+  * Correction to comment describing printbuf_memappend in printbuf.h
+    Brent Miller, bdmiller at yahoo dash inc dot com
+
+- Packaging : 
+       * upgrade upstream location https://gitub.com/json-c/json-c/wiki
+       * cleanup old patches included now upstream
+               . json-c-0.9-linkhash.patch
+               . json-c-0.9-json_tokener.patch
+               . json-c-0.9-json_object_from_file.patch
+               . json-c-0.9-base.patch
+       * Redone lfs patch against new 0.10 release
+       * Removed empty NEWS file 
+
+-------------------------------------------------------------------

Old:
----
  json-c-0.9-base.patch
  json-c-0.9-json_object_from_file.patch
  json-c-0.9-json_tokener.patch
  json-c-0.9-linkhash.patch
  json-c-0.9.tar.gz
  jsonc-lfs.patch

New:
----
  json-c-0.10.tar.gz
  json-c-lfs.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ json-c.spec ++++++
--- /var/tmp/diff_new_pack.jXd6O3/_old  2013-03-08 10:49:58.000000000 +0100
+++ /var/tmp/diff_new_pack.jXd6O3/_new  2013-03-08 10:49:58.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package json-c
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,16 +23,13 @@
 Summary:        JSON implementation in C
 License:        MIT
 Group:          System/Libraries
-Version:        0.9
+Version:        0.10
 Release:        0
-Url:            http://oss.metaparadigm.com/%{name}
-Source0:        http://oss.metaparadigm.com/json-c/json-c-0.9.tar.gz
+Url:            https://gitub.com/%{name}/%{name}/wiki
+Source0:        
https://github.com/downloads/json-c/json-c/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
-Patch0:         %{name}-0.9-base.patch
-Patch1:         %{name}-0.9-json_object_from_file.patch
-Patch2:         %{name}-0.9-json_tokener.patch
-Patch3:         %{name}-0.9-linkhash.patch
-Patch4:         jsonc-lfs.patch
+#Redone 0.10 patches
+Patch0:         %{name}-lfs.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libtool
 BuildRequires:  pkg-config
@@ -60,7 +57,7 @@
 using the json-c library
 
 %package -n %{libname}-doc
-Summary:        Dokumentation files
+Summary:        Documentation files
 Group:          Documentation/Other
 %if 0%{suse_version} >= 1120
 BuildArch:      noarch
@@ -71,11 +68,8 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+# Redone patches
 %patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
 
 %build
 autoreconf -fiv
@@ -87,7 +81,7 @@
 rm -rf %{buildroot}%{_libdir}/*.la
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install libdir=%{_libdir} mandir=%{_mandir}  
+%makeinstall DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} mandir=%{_mandir} 
 
 %post -n %{libsoname} -p /sbin/ldconfig
 
@@ -105,6 +99,6 @@
 
 %files -n %{libname}-doc
 %defattr(-,root,root)
-%doc AUTHORS ChangeLog COPYING NEWS README README.html doc
+%doc AUTHORS ChangeLog COPYING README README.html doc
 
 %changelog

++++++ json-c-0.9.tar.gz -> json-c-0.10.tar.gz ++++++
++++ 30878 lines of diff (skipped)

++++++ json-c-lfs.patch ++++++
diff --git a/Makefile.am.inc b/Makefile.am.inc
index b1ebce8..5886498 100644
--- a/Makefile.am.inc
+++ b/Makefile.am.inc
@@ -1,2 +1,2 @@
-AM_CFLAGS = -Wall -Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT
+AM_CFLAGS = -Wall -Wwrite-strings -D_REENTRANT
 
diff --git a/configure.in b/configure.in
index bcb9027..eadf4f9 100644
--- a/configure.in
+++ b/configure.in
@@ -1,14 +1,17 @@
 AC_PREREQ(2.52)
 
 # Process this file with autoconf to produce a configure script.
-AC_INIT([json-c], 0.10, [[email protected]])
+AC_INIT([json-c], [0.10], [[email protected]])
 
 AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
 
 AC_PROG_MAKE_SET
 
 # Checks for programs.
-
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
+ 
 # Checks for libraries.
 
 # Checks for header files.
diff --git a/linkhash.c b/linkhash.c
index ddedc12..7f9426d 100644
--- a/linkhash.c
+++ b/linkhash.c
@@ -17,6 +17,7 @@
 #include <stddef.h>
 #include <limits.h>
 
+#include "config.h"
 #include "linkhash.h"
 
 void lh_abort(const char *msg, ...)
diff --git a/tests/test1.c b/tests/test1.c
index 9802eb1..71582c8 100644
--- a/tests/test1.c
+++ b/tests/test1.c
@@ -1,3 +1,4 @@
+#include "config.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <stddef.h>
diff --git a/tests/test2.c b/tests/test2.c
index 4a6b660..73afb5b 100644
--- a/tests/test2.c
+++ b/tests/test2.c
@@ -1,3 +1,4 @@
+#include "config.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <stddef.h>
diff --git a/tests/test_printbuf.c b/tests/test_printbuf.c
index ee3f80d..c704e22 100644
--- a/tests/test_printbuf.c
+++ b/tests/test_printbuf.c
@@ -1,3 +1,4 @@
+#include "config.h"
 #include <assert.h>
 #include <stddef.h>
 #include <stdio.h>
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to