Commit ae93e49d authored by Rene Engelhard's avatar Rene Engelhard Committed by Rene Engelhard

Imported Debian patch 0.12~git20140926-1

parent 8fe7059a
rapidjson (0.12~git20140926-1) unstable; urgency=low
* Initial release (Closes: #763453)
-- Rene Engelhard <rene@debian.org> Sun, 26 Oct 2014 18:49:47 +0100
Source: rapidjson
Priority: optional
Maintainer: Rene Engelhard <rene@debian.org>
Build-Depends: debhelper (>= 9), premake4, doxygen, libyajl-dev, libjsoncpp-dev
Standards-Version: 3.9.5
Section: libs
Homepage: https://code.google.com/p/rapidjson/
#Vcs-Git: git://anonscm.debian.org/collab-maint/rapidjson.git
#Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/rapidjson.git;a=summary
Package: rapidjson-dev
Section: libdevel
Architecture: all
Depends: ${misc:Depends}
Description: fast JSON parser/generator for C++ with SAX/DOM style API
Rapidjson is an attempt to create the fastest JSON parser and generator.
.
- Small but complete. Supports both SAX and DOM style API. SAX parser only a
few hundred lines of code.
- Fast. In the order of magnitude of strlen(). Optionally supports
SSE2/SSE4.2 for acceleration.
- Self-contained. Minimal dependency on standard libraries. No BOOST, not
even STL.
- Compact. Each JSON value is 16 or 20 bytes for 32 or 64-bit machines
respectively (excluding text string storage). With the custom memory
allocator, parser allocates memory compactly during parsing.
- Full RFC4627 compliance. Supports UTF-8, UTF-16 and UTF-32.
- Support both in-situ parsing (directly decode strings into the source JSON
text) and non-destructive parsing (decode strings into new buffers).
- Parse number to int/unsigned/int64_t/uint64_t/double depending on input
- Support custom memory allocation. Also, the default memory pool allocator
can also be supplied with a user buffer (such as a buffer allocated on
user's heap or programme stack) to minimize allocation.
Package: rapidjson-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}, libjs-jquery
Description: Documentation for rapidjson
This package contains the documentation for rapidjson
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: rapidjson
Source: https://github.com/miloyip/rapidjson
Files: *
Copyright: Copyright (C) 2011 Milo Yip
License: other
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Files: thirdparty/gtest/*
Copyright: Copyright 2008, Google Inc.
License: BSD-C3
Copyright 2008, Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Files: thirdparty/jsoncpp/*
Copyright: 2007-2010 Baptiste Lapilleur
License: MIT License
The JsonCpp library's source code, including accompanying documentation,
tests and demonstration applications, are licensed under the following
conditions...
.
The author (Baptiste Lepilleur) explicitly disclaims copyright in all
jurisdictions which recognize such a disclaimer. In such jurisdictions,
this software is released into the Public Domain.
.
In jurisdictions which do not recognize Public Domain property (e.g. Germany as of
2010), this software is Copyright (c) 2007-2010 by Baptiste Lepilleur, and is
released under the terms of the MIT License (see below).
.
In jurisdictions which recognize Public Domain property, the user of this
software may choose to accept it either as 1) Public Domain, 2) under the
conditions of the MIT License (see below), or 3) under the terms of dual
Public Domain/MIT License conditions described here, as they choose.
.
The MIT License is about as close to Public Domain as a license can get, and is
described in clear, concise terms at:
.
http://en.wikipedia.org/wiki/MIT_License
.
The full text of the MIT License follows:
.
========================================================================
Copyright (c) 2007-2010 Baptiste Lepilleur
.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
========================================================================
(END LICENSE TEXT)
.
The MIT license is compatible with both the GPL and commercial
software, affording one all of the rights of Public Domain with the
minor nuisance of being required to keep the above copyright notice
and license text in the source code. Note also that by accepting the
Public Domain "license" you can re-license your copy using whatever
license you like.
Files: thirdparty/gtest/scripts/upload.py
Copyright: Copyright 2007 Google Inc.
License: Apache-2.0
On Debian systems you can find the full text of the Apache 2.0 license
in /usr/share/common-licenses/Apache-2.0
Files: thirdparty/yajl/*
Copyright: 2007-2014 Lloyd Hilaiel <me@lloyd.io>
License: ISC
Files: thirdparty/yajl/src/yajl_tree.c
thirdparty/yajl/src/yajl_tree.h
Copyright: 2010-2011 Florian Forster <ff@octo.it>
License: ISC
License: ISC
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Files: thirdparty/ultrajson/ultrajson*
Copyright: Copyright (c) 2011, Jonas Tarnstrom and ESN Social Software AB
License: other
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by ESN Social Software AB (www.esn.me).
4. Neither the name of the ESN Social Software AB nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY ESN SOCIAL SOFTWARE AB ''AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL ESN SOCIAL SOFTWARE AB BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.
Portions of code from:
MODP_ASCII - Ascii transformations (upper/lower, etc)
http://code.google.com/p/stringencoders/
Copyright (c) 2007 Nick Galbreath -- nickg [at] modp [dot] com. All rights reserved.
Files: debian/*
Copyright: 2014 Rene Engelhard <rene@debian.org>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
readme.md
--- rapidjson-0.12~git20140926.orig/build/premake4.lua
+++ rapidjson-0.12~git20140926/build/premake4.lua
@@ -122,9 +122,9 @@ solution "test"
"../include/",
"../thirdparty/gtest/include/",
"../thirdparty/",
- "../thirdparty/jsoncpp/include/",
+ "/usr/include/jsoncpp",
"../thirdparty/libjson/",
- "../thirdparty/yajl/include/",
+ "/usr/include/yajl/",
}
libdirs "../thirdparty/lib"
--- rapidjson-0.12~git20140926.orig/build/premake4.lua
+++ rapidjson-0.12~git20140926/build/premake4.lua
@@ -87,7 +87,7 @@ solution "test"
kind "ConsoleApp"
if _ACTION == "gmake" then
- buildoptions "-Werror -Weffc++ -Wswitch-default"
+ buildoptions "-Weffc++ -Wswitch-default"
end
files {
@@ -154,7 +154,7 @@ solution "example"
defines { "_CRT_SECURE_NO_WARNINGS" }
configuration "gmake"
- buildoptions "-Werror -Wall -Wextra -Weffc++ -Wswitch-default"
+ buildoptions "-Wall -Wextra -Weffc++ -Wswitch-default"
local examplepaths = os.matchdirs("../example/*")
for _, examplepath in ipairs(examplepaths) do
external-libs.diff
no-werror.diff
usr/lib
usr/include
include/rapidjson usr/include
usr/share/javascript/jquery/jquery.js usr/share/doc/rapidjson-doc/html/jquery.js
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
# see FEATURE AREAS in dpkg-buildflags(1)
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# see ENVIRONMENT in dpkg-buildflags(1)
# package maintainers to append CFLAGS
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# package maintainers to append LDFLAGS
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# main packaging script based on dh7 syntax
%:
dh $@
# debmake generated override targets
# This is example for Cmake (See http://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- \
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
RUN_TESTS=n
ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
ifeq "$(DEB_HOST_ARCH)" "i386"
RUN_TESTS=y
endif
ifeq "$(DEB_HOST_ARCH)" "amd64"
RUN_TESTS=y
endif
endif
override_dh_auto_clean:
if [ -d build/gmake ]; then $(MAKE) -C build/gmake -f test.make config=release$(DEB_HOST_ARCH_BITS) verbose=1 clean; fi
rm -rf build/gmake
rm -rf doc/html doc/doxygen_sqlite3.db
dh_auto_clean
override_dh_auto_build:
dh_auto_build
doxygen build/Doxyfile
override_dh_installdocs:
dh_installdocs
rm -f debian/rapidjson-doc/usr/share/doc/rapidjson-doc/diagram/.gitignore
override_dh_auto_test:
ifeq "$(RUN_TESTS)" "y"
cd build && premake4 gmake
ifneq "$(shell grep sse4_2 /proc/cpuinfo)" ""
# needs SSE 4.2! Even doesn't compile without -msse4.2
$(MAKE) -C build/gmake -f test.make config=release$(DEB_HOST_ARCH_BITS) verbose=1 perftest
cd bin && ./perftest_release_x$(DEB_HOST_ARCH_BITS)_gmake
endif
cd build/gmake && for i in *; do perl -pi -e 's/-msse4.2//' $$i; done
$(MAKE) -C build/gmake -f test.make config=release$(DEB_HOST_ARCH_BITS) verbose=1 unittest
cd bin && ./unittest_release_x$(DEB_HOST_ARCH_BITS)_gmake
endif
doc/doxygen_sqlite3.db
doc/html/bc_s.png
doc/html/bdwn.png
doc/html/classrapidjson_1_1_generic_document.png
doc/html/classrapidjson_1_1_generic_member_iterator.png
doc/html/classrapidjson_1_1_pretty_writer.png
doc/html/classrapidjson_1_1_writer.png
doc/html/closed.png
doc/html/doxygen.png
doc/html/ftv2blank.png
doc/html/ftv2doc.png
doc/html/ftv2folderclosed.png
doc/html/ftv2folderopen.png
doc/html/ftv2lastnode.png
doc/html/ftv2link.png
doc/html/ftv2mlastnode.png
doc/html/ftv2mnode.png
doc/html/ftv2node.png
doc/html/ftv2plastnode.png
doc/html/ftv2pnode.png
doc/html/ftv2splitbar.png
doc/html/ftv2vertline.png
doc/html/insituparsing.png
doc/html/iterative-parser-states-diagram.png
doc/html/move1.png
doc/html/move2.png
doc/html/move3.png
doc/html/nav_f.png
doc/html/nav_g.png
doc/html/nav_h.png
doc/html/normalparsing.png
doc/html/open.png
doc/html/rapidjson.png
doc/html/search/close.png
doc/html/search/mag_sel.png
doc/html/search/search_l.png
doc/html/search/search_m.png
doc/html/search/search_r.png
doc/html/simpledom.png
doc/html/singletonrapidjson_1_1_generic_value.png
doc/html/structrapidjson_1_1_u_t_f16.png
doc/html/structrapidjson_1_1_u_t_f16_b_e.png
doc/html/structrapidjson_1_1_u_t_f16_l_e.png
doc/html/structrapidjson_1_1_u_t_f32.png
doc/html/structrapidjson_1_1_u_t_f32_b_e.png
doc/html/structrapidjson_1_1_u_t_f32_l_e.png
doc/html/sync_off.png
doc/html/sync_on.png
doc/html/tab_a.png
doc/html/tab_b.png
doc/html/tab_h.png
doc/html/tab_s.png
doc/html/tutorial.png
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment