--- libjson-xs-perl-2.23.orig/debian/control +++ libjson-xs-perl-2.23/debian/control @@ -0,0 +1,28 @@ +Source: libjson-xs-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7), perl (>= 5.8.8) +Maintainer: Debian Perl Group +Uploaders: Angel Abad (Ikusnet SLL) , + Ivan Kohler , + Niko Tyni +Standards-Version: 3.8.0 +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libjson-xs-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libjson-xs-perl/ +Homepage: http://search.cpan.org/dist/JSON-XS/ + +Package: libjson-xs-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends} +Description: Perl module for JSON serialising/deserialising + This module converts Perl data structures to JSON and vice versa. Its + primary goal is to be correct and its secondary goal is to be + fast. To reach the latter goal it was written in C. + . + Beginning with version 2.0 of the JSON module, when both JSON and + JSON::XS are installed, then JSON will fall back on JSON::XS (this can be + overridden) with no overhead due to emulation (by inheriting constructor + and methods). If JSON::XS is not available, it will fall back to the + compatible JSON::PP module as backend, so using JSON instead of JSON::XS + gives you a portable JSON API that can be fast when you need and doesn't + require a C compiler when that is a problem. --- libjson-xs-perl-2.23.orig/debian/rules +++ libjson-xs-perl-2.23/debian/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f + +DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH) + +# Allow disabling build optimisation by setting noopt in +# $DEB_BUILD_OPTIONS +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + ifeq (sparc,$(DEB_HOST_ARCH)) + CFLAGS+="-O1" + else + CFLAGS+="-O2" + endif +endif + +build: build-stamp +build-stamp: + dh build --before configure + dh_auto_configure -- OPTIMIZE="$(CFLAGS)" + dh build --after configure + touch $@ + +clean: + dh $@ + +install: install-stamp +install-stamp: build-stamp + dh install + touch $@ + +binary-arch: install + dh $@ + +binary-indep: + +binary: binary-arch binary-indep + +.PHONY: binary binary-arch binary-indep install clean build --- libjson-xs-perl-2.23.orig/debian/watch +++ libjson-xs-perl-2.23/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/JSON-XS/ .+/JSON-XS-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libjson-xs-perl-2.23.orig/debian/changelog +++ libjson-xs-perl-2.23/debian/changelog @@ -0,0 +1,40 @@ +libjson-xs-perl (2.23-2) unstable; urgency=low + + * Add myself to Uploaders. + * Lower the optimization level on sparc to work around bug #505415 + in perl. (Closes: #501825) + + debian/rules now supports DEB_BUILD_OPTIONS=noopt properly too. + * Fix some typos in the long description. + + -- Niko Tyni Sat, 15 Nov 2008 13:42:03 +0200 + +libjson-xs-perl (2.23-1) unstable; urgency=low + + [ Angel Abad (Ikusnet SLL) ] + * New upstream release + * Take over for the Debian Perl Group on maintainer's request + (http://lists.debian.org/debian-perl/2008/10/msg00010.html) + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza). Changed: Maintainer set to Debian Perl Group + (was: Ivan Kohler + ); Ivan Kohler moved to + Uploaders. + * Add debian/watch. + * Add pkg-perl changes + * Add myself to Uploaders + * Update Standards-Version 3.8.0 + * Remove bench from examples because it has circular dependency with + libjson-perl + * Upgrade to debhelper 7 + + [ gregor herrmann ] + * Don't install README any more (just a text version of the POD + documentation). + + -- Angel Abad (Ikusnet SLL) Thu, 09 Oct 2008 00:41:02 +0200 + +libjson-xs-perl (2.01-1) unstable; urgency=low + + * Initial Release. (Closes: #457611) + + -- Ivan Kohler Sun, 23 Dec 2007 12:44:29 -0800 --- libjson-xs-perl-2.23.orig/debian/compat +++ libjson-xs-perl-2.23/debian/compat @@ -0,0 +1 @@ +7 --- libjson-xs-perl-2.23.orig/debian/copyright +++ libjson-xs-perl-2.23/debian/copyright @@ -0,0 +1,30 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Marc Lehmann +Upstream-Source: http://search.cpan.org/dist/JSON-XS +Upstream-Name: JSON-XS + +Files: * +Copyright: Copyright 2007-2008, Marc Lehmann +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: Copyright 2007, Ivan Kohler + Copyright 2008, Angel Abad (Ikusnet SLL) +License-Alias: Perl +License: Artistic | GPL-1+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + On Debian GNU/Linux systems, the complete text of the Artistic License + can be found in /usr/share/common-licenses/Artistic + +License: GPL-1+ + This program 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 1, or (at your option) + any later version. + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'