debian/0000755000000000000000000000000012225675765007207 5ustar debian/README.source0000644000000000000000000000043112225674117011352 0ustar erlang-jiffy source package infomation - Remove from rebar bianry from source code. Erlang-jiffy's original source codes contains rebar binary. The source package of Debian has deleted this binary. -- Nobuhiro Iwamatsu Wed, 10 Oct 2012 01:27:25 +0900 debian/compat0000644000000000000000000000000212225674117010373 0ustar 9 debian/changelog0000644000000000000000000000446212225675526011062 0ustar erlang-jiffy (0.8.5+dfsg-1) unstable; urgency=low * New upstream release (0.8.5). * Update debian/copyright. Change from MIT License to Expat. * Remove some patches, because applied to upstream. - 0001-Fix-typo-in-utils.h.patch - 0002-__GNUC__-is-a-better-choice-than-__GCC__.patch - 0001-Add-check-for-below-array-bounds.patch -- Nobuhiro Iwamatsu Fri, 11 Oct 2013 13:03:58 +0900 erlang-jiffy (0.8.4+dfsg-3) unstable; urgency=low * Update debian/control. - Add dh-rebar to Build-Depends. - Remove Section and Priority section from erlang-jiffy. * Update debian/rules. - Changed to use dh-rebar. * Fix debian/watch. - Fix debian-watch-file-should-mangle-version. -- Nobuhiro Iwamatsu Mon, 19 Aug 2013 21:07:01 +0900 erlang-jiffy (0.8.4+dfsg-2) unstable; urgency=low * Update debian/control. - Add erlang-dialyzer to Build-Depends. Fix FTBFS if built with Erlang R16B01. * Update debian/rules. Fix buildflags missing by CPPFLAGS. -- Nobuhiro Iwamatsu Tue, 30 Jul 2013 08:57:24 +0900 erlang-jiffy (0.8.4+dfsg-1) unstable; urgency=low * New upstream release. * Add watch file. Thanks to Bart Martens. * Update patches. - Update patches/fix_version_string to 0.8.4 * Add patches. - Add patches for fix FTBFS. Add 0001-Fix-typo-in-utils.h.patch and 0002-__GNUC__-is-a-better-choice-than-__GCC__.patch - Add 0001-Add-check-for-below-array-bounds.patch. Fix build with -Werror=array-bounds. - Add patches/change_optimize. Change optimize from O3 to O2. -- Nobuhiro Iwamatsu Tue, 02 Jul 2013 12:36:53 +0900 erlang-jiffy (0.7.0+dfsg-1) unstable; urgency=low * New upstream release. * Add patches/remove_git_clean. * Remove patches/remove_deps. -- Nobuhiro Iwamatsu Tue, 22 Jan 2013 12:47:44 +0900 erlang-jiffy (0.5.2+dfsg-2) unstable; urgency=low * Update debian/rules. - Add -fsigned-char to CFLAGS. Fix FTBFS on armel, armhf, powerpc, s390 and s390x. -- Nobuhiro Iwamatsu Thu, 15 Nov 2012 17:15:19 +0900 erlang-jiffy (0.5.2+dfsg-1) unstable; urgency=low * Initial release. (Closes: #690107) -- Nobuhiro Iwamatsu Wed, 10 Oct 2012 01:24:25 +0900 debian/source.lintian-overrides0000644000000000000000000000006612225674117014057 0ustar source: debian-rules-ignores-make-clean-error line 14 debian/patches/0000755000000000000000000000000012225675212010621 5ustar debian/patches/change_optimize0000644000000000000000000000072212225674117013715 0ustar Description: Change optimize Origin: debian Forwarded: not-needed Last-Update: <2013-07-02> diff --git a/rebar.config b/rebar.config index f992d04..f747f92 100644 --- a/rebar.config +++ b/rebar.config @@ -7,7 +7,7 @@ ]}. {port_env, [ - {".*", "CXXFLAGS", "$CXXFLAGS -g -Wall -Werror -O3"}, + {".*", "CXXFLAGS", "$CXXFLAGS -g -Wall -Werror -O2"}, {"(linux|solaris|freebsd|netbsd|openbsd|dragonfly|darwin)", "LDFLAGS", "$LDFLAGS -lstdc++"}, debian/patches/remove_git_clean0000644000000000000000000000041612225674117014052 0ustar Description: Remove git clean from distclean target Forwarded: no Last-Update: <2013-01-22> --- erlang-jiffy-0.7.0+dfsg.orig/Makefile +++ erlang-jiffy-0.7.0+dfsg/Makefile @@ -12,7 +12,7 @@ clean: distclean: clean - git clean -fxd +# git clean -fxd devmarker: debian/patches/fix_version_string0000644000000000000000000000056612225674117014477 0ustar Description: Fix version string Origin: vendor Forwarded: not-needed Last-Update: <2012-10-10> --- erlang-jiffy-0.5.2+dfsg.orig/src/jiffy.app.src +++ erlang-jiffy-0.5.2+dfsg/src/jiffy.app.src @@ -1,6 +1,6 @@ {application, jiffy, [ {description, "JSON Decoder/Encoder."}, - {vsn, git}, + {vsn, "0.8.4"}, {registered, []}, {applications, [kernel]} ]}. debian/patches/fix_makefile0000644000000000000000000000076312225674117013200 0ustar Description: Fix makefile Origin: vendor Forwarded: not-needed Last-Update: <2013-01-22> diff --git a/Makefile b/Makefile index 1aa9a1b..907ddf2 100644 --- a/Makefile +++ b/Makefile @@ -25,8 +25,8 @@ depends: devmarker fi -build: depends - $(REBAR) compile +build: + $(REBAR) compile -vv etap: test/etap.beam test/util.beam @@ -34,7 +34,7 @@ etap: test/etap.beam test/util.beam eunit: - $(REBAR) eunit skip_deps=true + $(REBAR) eunit -vv skip_deps=true check: build etap eunit debian/patches/series0000644000000000000000000000010112225675212012026 0ustar fix_version_string fix_makefile remove_git_clean change_optimize debian/dh-rebar.conf0000644000000000000000000000015512225674117011531 0ustar EXEC_REBAR_COMMANDS=compile eunit PKG_NAME= PKG_VARSION= #REBAR_LIB_DIR= #REBAR_BIN_DIR= #REBAR_INCLUDE_DIR= debian/source/0000755000000000000000000000000012225674117010475 5ustar debian/source/format0000644000000000000000000000001412225674117011703 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000024112225674117010223 0ustar version=3 opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/jiffy-$1.tar.gz/,dversionmangle=s/\+dfsg// \ https://github.com/davisp/jiffy/tags .*/v?(\d\S*)\.tar\.gz debian/control0000644000000000000000000000216412225674117010603 0ustar Source: erlang-jiffy Maintainer: LeoFS maintainers team Uploaders: Taku YASUI , Nobuhiro Iwamatsu Section: devel Priority: optional Standards-Version: 3.9.4 Homepage: https://github.com/davisp/jiffy Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), erlang-dev (>= 1:13.b.4), erlang-eunit, erlang-xmerl, erlang-dialyzer, erlang-proper-dev, dh-rebar Vcs-Git: git://anonscm.debian.org/pkg-leofs/erlang-jiffy.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-leofs/erlang-jiffy.git Package: erlang-jiffy Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, erlang-base-hipe | erlang-base | ${erlang-abi:Depends}, ${erlang:Depends}, erlang-xmerl, erlang-proper Description: JSON NIFs (Native Implemented Functions) for Erlang A JSON parser as a NIF (Native Implemented Functions). This is a complete rewrite of the work this was done in EEP0018 that was based on Yajl. This new version is a hand crafted state machine that does its best to be as quick and efficient as possible while not placing any constraints on the parsed JSON. debian/copyright0000644000000000000000000000614612225674227011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-name: jiffy Upstream-contact: Paul J. Davis Source: https://github.com/davisp/jiffy Files: c_src/* src/* test/*.t Copyright: 2011 Paul J. Davis License: Expat Files: test/etap.erl Copyright: 2008-2009 Nick Gerakines 2007-2008 Jeremy Wall License: Expat Files: test/cases/*.json Copyright: 2010, Lloyd Hilaiel. License: BSD-3-clause Files: debian/* Copyright: Copyright 2012, Nobuhiro Iwamatsu License: Expat License: Expat 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. License: BSD-3-clause Copyright 2010, Lloyd Hilaiel. . 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. Neither the name of Lloyd Hilaiel 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 AUTHOR ``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 AUTHOR 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. debian/rules0000755000000000000000000000044612225674117010261 0ustar #!/usr/bin/make -f CFLAGS:= $(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) CFLAGS += -fsigned-char CXXFLAGS:= $(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS) CXXFLAGS += -fsigned-char %: dh $@ --buildsystem=rebar --with rebar override_dh_auto_clean: rm -rf ebin priv dh_auto_clean