--- libjavascript-beautifier-perl-0.17.orig/debian/control +++ libjavascript-beautifier-perl-0.17/debian/control @@ -0,0 +1,21 @@ +Source: libjavascript-beautifier-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7) +Build-Depends-Indep: perl, libtest-pod-perl, + perl (>= 5.10.1) | libtest-simple-perl (>= 0.88) +Maintainer: Debian Perl Group +Uploaders: Ryan Niebur , Jonathan Yu +Standards-Version: 3.8.3 +Homepage: http://search.cpan.org/dist/JavaScript-Beautifier/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libjavascript-beautifier-perl/ +Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libjavascript-beautifier-perl/ + +Package: libjavascript-beautifier-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends} +Description: Perl module to beautify JavaScript code + JavaScript::Beautifier is a Perl module providing a simple way to beautify + arbitrary JavaScript code. This beautifier can process your messy or compacted + JavaScript, neatly and consistently formatting it, thus making it easier to + read and maintain. --- libjavascript-beautifier-perl-0.17.orig/debian/copyright +++ libjavascript-beautifier-perl-0.17/debian/copyright @@ -0,0 +1,29 @@ +Format-Specification: + http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196 +Upstream-Maintainer: Fayland Lam +Upstream-Source: http://search.cpan.org/dist/JavaScript-Beautifier/ +Upstream-Name: JavaScript-Beautifier + +Files: * +Copyright: 2008-2009, Fayland Lam +License-Alias: Perl +License: Artistic | GPL-1+ + +Files: debian/* +Copyright: 2009, Jonathan Yu + 2009, Ryan Niebur +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' --- libjavascript-beautifier-perl-0.17.orig/debian/watch +++ libjavascript-beautifier-perl-0.17/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://search.cpan.org/dist/JavaScript-Beautifier/ .*/JavaScript-Beautifier-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ --- libjavascript-beautifier-perl-0.17.orig/debian/compat +++ libjavascript-beautifier-perl-0.17/debian/compat @@ -0,0 +1 @@ +7 --- libjavascript-beautifier-perl-0.17.orig/debian/README.source +++ libjavascript-beautifier-perl-0.17/debian/README.source @@ -0,0 +1,5 @@ +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. --- libjavascript-beautifier-perl-0.17.orig/debian/changelog +++ libjavascript-beautifier-perl-0.17/debian/changelog @@ -0,0 +1,78 @@ +libjavascript-beautifier-perl (0.17-1) unstable; urgency=low + + [ Jonathan Yu ] + * New upstream release + * Refresh patch to match new js_beautify.pl + + [ Ryan Niebur ] + * Update ryan52's email address + + [ gregor herrmann ] + * debian/control: Changed: (build-)depend on perl instead of perl- + modules. + + -- Jonathan Yu Wed, 30 Dec 2009 23:35:29 -0500 + +libjavascript-beautifier-perl (0.16-1) unstable; urgency=low + + * New upstream release + + Fix array indentation regressions + * Depend on perl >= 5.10.1 or libtest-simple-perl >= 0.88 + + -- Jonathan Yu Tue, 22 Sep 2009 06:38:52 -0400 + +libjavascript-beautifier-perl (0.15-1) unstable; urgency=low + + [ Jonathan Yu ] + * New upstream release + + Changes to handling of arrays + + [ Ryan Niebur ] + * Update jawnsy's email address + + -- Jonathan Yu Sat, 19 Sep 2009 20:39:48 -0400 + +libjavascript-beautifier-perl (0.14-1) unstable; urgency=low + + * New upstream release + * Debian Policy 3.8.3 + + -- Ryan Niebur Wed, 19 Aug 2009 16:04:02 -0700 + +libjavascript-beautifier-perl (0.13-1) unstable; urgency=low + + * New upstream release (0.12) + + Allow unescaped / in regular expression character classes + + Fixed broken handline + + Added space between anonymous function parentheses + * Standards-Version 3.8.2 (no changes) + * Updated description in control file + * Added myself to Uploaders and Copyright + * Refreshed patch, renamed to remove-pl-extension.patch (Closes: #538676) + + Patch the file before renaming, and unpatch after renaming, so that it + works with the new quilt patch system + + * New upstream release (0.13) + + Fix for prefix operators (increment,decrement) + + Put spaces in front of colons in ternary (a ? b : c) expressions + + No spaces in front of colons in class literals ({ 1: "a", 2: "b" }) + + Remove spaces between unary +/-/~ and the operand (-a, case -1, !a) + + Add a blank line between a new block and the start of an expression + + -- Jonathan Yu Sun, 02 Aug 2009 06:41:58 -0400 + +libjavascript-beautifier-perl (0.11-1) unstable; urgency=low + + [ Nathan Handler ] + * debian/watch: Update to ignore development releases. + + [ Ryan Niebur ] + * New upstream release + + -- Ryan Niebur Mon, 08 Jun 2009 00:21:33 -0700 + +libjavascript-beautifier-perl (0.09-1) unstable; urgency=low + + * Initial Release. (Closes: #531140) + + -- Ryan Niebur Sun, 31 May 2009 19:59:01 -0700 --- libjavascript-beautifier-perl-0.17.orig/debian/rules +++ libjavascript-beautifier-perl-0.17/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +%: + dh --with quilt $@ + +override_dh_quilt_patch: + dh_quilt_patch + [ -f bin/js_beautify ] || mv bin/js_beautify.pl bin/js_beautify + +override_dh_quilt_unpatch: + [ -f bin/js_beautify.pl ] || mv bin/js_beautify bin/js_beautify.pl + dh_quilt_unpatch --- libjavascript-beautifier-perl-0.17.orig/debian/patches/remove-pl-extension.patch +++ libjavascript-beautifier-perl-0.17/debian/patches/remove-pl-extension.patch @@ -0,0 +1,40 @@ +Description: Remove .pl extension from js_beautify.pl +Origin: vendor +Author: Jonathan Yu +Forwarded: not-needed +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -12,7 +12,7 @@ + }, + 'INSTALLDIRS' => 'site', + 'EXE_FILES' => [ +- 'bin/js_beautify.pl' ++ 'bin/js_beautify' + ], + 'PL_FILES' => {} + ) +--- a/bin/js_beautify.pl ++++ b/bin/js_beautify.pl +@@ -56,12 +56,12 @@ + + =head1 NAME + +-js_beautify.pl - command tool to beautify your javascript files ++js_beautify - command tool to beautify your javascript files + + =head1 SYNOPSIS + +- js_beautify.pl [options] FILE +- js_beautify.pl [options] - ++ js_beautify [options] FILE ++ js_beautify [options] - + + =head1 OPTIONS + +@@ -98,4 +98,4 @@ + This program is free software; you can redistribute it and/or modify it + under the same terms as Perl itself. + +-=cut +\ No newline at end of file ++=cut --- libjavascript-beautifier-perl-0.17.orig/debian/patches/series +++ libjavascript-beautifier-perl-0.17/debian/patches/series @@ -0,0 +1 @@ +remove-pl-extension.patch