debian/0000755000000000000000000000000011533306773007176 5ustar debian/changelog0000644000000000000000000000412011533306762011043 0ustar jscoverage (0.5.1-2) unstable; urgency=low * patches/remove-static-assert: Restore patch that fix FTBS on s390 -- Johan Euphrosine (proppy) Wed, 02 Mar 2011 01:21:26 +0100 jscoverage (0.5.1-1) unstable; urgency=low * New upstream version * patches/remove-static-assert: Remove obsolete patch * watch: Update version regexp to ignore 'rc*' version * control: Bump Standards-Version to 3.9.1 -- Johan Euphrosine (proppy) Wed, 19 Jan 2011 18:02:58 +0100 jscoverage (0.5-4) unstable; urgency=low * patches/add-testsuite-option: Add TESTSUITE option to Makefile * rules: Run jscoverage testsuite on build, add get-orig-source rule * control: Add dos2unix as build-dep * watch: Add watch file -- Johan Euphrosine (proppy) Fri, 28 May 2010 14:25:34 +0200 jscoverage (0.5-3) unstable; urgency=low * patches/debian-changes-0.5-2: Remove erroneous generated quilt patch * patches/remove-static-assert: Fix FTBS on s390 by removing static assert because size_t != uintptr_t there. * rules: Remove generated tests/Makefile in clean rule -- Johan Euphrosine (proppy) Mon, 03 May 2010 21:19:12 +0200 jscoverage (0.5-2) unstable; urgency=low * Add python as build-dep (Closes: #579734) * Add zip as build-dep * Add extra clean rule for building package twice -- Johan Euphrosine (proppy) Fri, 30 Apr 2010 12:30:25 +0200 jscoverage (0.5-1) unstable; urgency=low * New upstream version -- Johan Euphrosine (proppy) Thu, 29 Apr 2010 14:46:25 +0200 jscoverage (0.4-1) unstable; urgency=low * New upstream version * Drop obsolete 01-fix-js-manpages.patch * Switch to dpkg-source 3.0 (quilt) format * Fix debhelper-but-no-misc-depends -- Johan Euphrosine (proppy) Sat, 24 Apr 2010 16:50:31 +0200 jscoverage (0.3.1-1) unstable; urgency=low * Initial release. (Closes: #469696) * Repackaged upstream tarball (from .tar.bz2 to tar.gz) -- Johan Euphrosine (proppy) Mon, 10 Mar 2008 03:45:01 +1000 debian/jscoverage.install0000644000000000000000000000004711364607000012704 0ustar debian/tmp/usr/bin/jscoverage usr/bin/ debian/copyright0000644000000000000000000001123511364607000011120 0ustar This package was debianized by Johan Euphrosine Mon, 10 Mar 2008 03:45:01 +0100 It was downloaded from http://siliconforks.com/jscoverage/ NOTE: The upstream tarball has been converted from .tar.bz2 to tar.gz format. Upstream Authors: siliconforks.com Copyright: JSCoverage is free software, distributed under the GNU General Public License. The license is included in the file COPYING. Copyright (C) 2007 siliconforks.com This program contains a copy of OSSP js, a distribution of Mozilla's JavaScript implementation. See the file js/README for details. Copyright (c) 1998-2006 Mozilla This file is part of OSSP js, a repackaging of the Mozilla JavaScript reference implementation, which can found at http://www.ossp.org/pkg/lib/js/ The content of this distribution is licensed under the Mozilla Public License (MPL) 1.1 (see http://www.mozilla.org/MPL/) or alternatively the GNU General Public License (GPL) 2.0 (see http://www.gnu.org/licenses/gpl.html) or the GNU Lesser General Public License (LGPL) 2.1 (see http://www.gnu.org/licenses/lgpl.html). ------------------------------------------------------------------------------ MPL License Version: MPL 1.1/GPL 2.0/LGPL 2.1 The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Original Code is Mozilla Communicator client code, released March 31, 1998. The Initial Developer of the Original Code is Netscape Communications Corporation. Portions created by the Initial Developer are Copyright (C) 1998 the Initial Developer. All Rights Reserved. Contributor(s): Alternatively, the contents of this file may be used under the terms of either of the GNU General Public License Version 2 or later (the "GPL"), or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), in which case the provisions of the GPL or the LGPL are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of either the GPL or the LGPL, and not to allow others to use your version of this file under the terms of the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the GPL or the LGPL. If you do not delete the provisions above, a recipient may use your version of this file under the terms of any one of the MPL, the GPL or the LGPL. ------------------------------------------------------------------------------ GPL License 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 2 of the License, or (at your option) any later version. This program 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. ------------------------------------------------------------------------------ LGPL License This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. debian/jscoverage.manpages0000644000000000000000000000002511364607000013025 0ustar debian/jscoverage.1 debian/control0000644000000000000000000000071311515631054010573 0ustar Source: jscoverage Maintainer: Johan Euphrosine (proppy) Section: devel Priority: optional Standards-Version: 3.9.1 Build-Depends: debhelper (>= 7), cdbs, libtool, automake, autoconf, python, zip, dos2unix DM-Upload-Allowed: yes Package: jscoverage Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Javascript code coverage JSCoverage is a tool that generates code coverage statistics for JavaScript programs. debian/compat0000644000000000000000000000000211364607750010375 0ustar 7 debian/rules0000755000000000000000000000063511377762164010270 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/tmp/ DEB_MAKE_CHECK_TARGET = check TESTSUITE=JSCOVERAGE -C tests/ cleanbuilddir/jscoverage:: rm -fR js/dist rm -f js/js [ ! -f tests/Makefile ] || $(MAKE) -C tests/ distclean get-orig-source: uscan --force-download --rename --destdir . debian/jscoverage.10000644000000000000000000000112711364607000011376 0ustar .TH jscoverage 1 local .SH NAME jscoverage \- Instrument JavaScript with code coverage information .SH SYNOPSIS jscoverage [OPTION] SOURCE-DIRECTORY DESTINATION-DIRECTORY .SH DESCRIPTION Copy JavaScript code from SOURCE-DIRECTORY to DESTINATION-DIRECTORY and add code instrumentation. .SH OPTIONS .TP .B --exclude=PATH do not copy .B PATH. .TP .B --no-instrument=PATH copy but do not instrument .B PATH. .TP .B -v, --verbose explain what is being done. .TP .B -h, --help display this help and exit. .TP .B -V, --version display version information and exit. . .SH AUTHORS siliconforks.com debian/watch0000644000000000000000000000012511515615307010221 0ustar version=3 http://siliconforks.com/jscoverage/download/jscoverage-([\d\.]+)\.tar\.bz2 debian/patches/0000755000000000000000000000000011533306700010613 5ustar debian/patches/series0000644000000000000000000000005211533306706012033 0ustar add-testsuite-option remove-static-assert debian/patches/add-testsuite-option0000644000000000000000000000204311377735232014636 0ustar Index: jscoverage-0.5/tests/Makefile.in =================================================================== --- jscoverage-0.5.orig/tests/Makefile.in 2010-05-28 14:19:27.806212614 +0200 +++ jscoverage-0.5/tests/Makefile.in 2010-05-28 14:20:14.654208970 +0200 @@ -308,7 +308,7 @@ mkdirs_SOURCES = mkdirs.c ../util.c recursive_dir_list_SOURCES = recursive-dir-list.c ../util.c streams_SOURCES = streams.c ../stream.c ../util.c -TESTS = encodings.sh \ +TESTS_JSCOVERAGE = encodings.sh \ fatal.sh \ help.sh \ invalid-option.sh \ @@ -330,8 +330,9 @@ make-path.sh \ mkdirs.sh \ recursive-dir-list.sh \ - streams.sh \ - charset.sh \ + streams.sh + +TESTS_JSCOVERAGE_SERVER = charset.sh \ chunked.sh \ gethostbyname.sh \ json.sh \ @@ -372,6 +373,10 @@ store-unreadable-json.sh \ store-unwritable-json.sh +TESTS_ALL = $(TESTS_JSCOVERAGE) $(TESTS_JSCOVERAGE_SERVER) +TESTSUITE ?= ALL +TESTS = $(TESTS_$(TESTSUITE)) + all: all-am .SUFFIXES: debian/patches/remove-static-assert0000644000000000000000000000101611533306700014615 0ustar Index: jscoverage-0.5/js/jstl.h =================================================================== --- jscoverage-0.5.orig/js/jstl.h 2010-05-04 17:37:06.188639764 +0200 +++ jscoverage-0.5/js/jstl.h 2010-05-04 17:37:17.455643301 +0200 @@ -195,7 +195,6 @@ static JS_ALWAYS_INLINE size_t RoundUpPow2(size_t x) { - typedef tl::StaticAssert::result>::result _; size_t log2 = JS_CEILING_LOG2W(x); JS_ASSERT(log2 < tl::BitSize::result); size_t result = size_t(1) << log2; debian/README.source0000644000000000000000000000036211367626057011363 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation. debian/source/0000755000000000000000000000000011364607000010463 5ustar debian/source/format0000644000000000000000000000001411367617325011707 0ustar 3.0 (quilt)