Control: tags 502880 + pending Dear maintainer,
I've prepared an NMU for sloccount (versioned as 2.26-5.2) and uploaded it to DELAYED/15. Please feel free to tell me if I should delay it longer. Regards. -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
diffstat for sloccount-2.26 sloccount-2.26 changelog | 7 ++ patches/80_bts502880_javascript_support.patch | 61 ++++++++++++++++++++++++++ patches/series | 1 3 files changed, 69 insertions(+) diff -Nru sloccount-2.26/debian/changelog sloccount-2.26/debian/changelog --- sloccount-2.26/debian/changelog 2013-05-04 07:35:35.000000000 +0200 +++ sloccount-2.26/debian/changelog 2017-03-17 15:01:31.000000000 +0100 @@ -1,3 +1,10 @@ +sloccount (2.26-5.2) unstable; urgency=low + + * Non-maintainer upload. + * Add javascript support. Closes: #502880 + + -- Mattia Rizzolo <mat...@debian.org> Fri, 17 Mar 2017 15:01:31 +0100 + sloccount (2.26-5.1) unstable; urgency=low * Non-maintainer upload. diff -Nru sloccount-2.26/debian/patches/80_bts502880_javascript_support.patch sloccount-2.26/debian/patches/80_bts502880_javascript_support.patch --- sloccount-2.26/debian/patches/80_bts502880_javascript_support.patch 1970-01-01 01:00:00.000000000 +0100 +++ sloccount-2.26/debian/patches/80_bts502880_javascript_support.patch 2017-03-17 15:00:18.000000000 +0100 @@ -0,0 +1,61 @@ +Description: add javascript support +Origin: upstream, https://sourceforge.net/p/sloccount/code/ci/5c545e92fb2c41ca6c8d5e8ef3cfb8d5babb9107/ +Bug-Debian: https://bugs.debian.org/502880 + +diff --git a/break_filelist b/break_filelist +index f52d3d8..a0c0b4c 100755 +--- a/break_filelist ++++ b/break_filelist +@@ -209,6 +209,7 @@ $noisy = 0; # Set to 1 if you want noisy reports. + "hs" => "haskell", "lhs" => "haskell", + # ???: .pco is Oracle Cobol + "jsp" => "jsp", # Java server pages ++ "js" => "javascript", + "vhd" => "vhdl", # VHDL code + "xml" => "xml", # XML files + ); +diff --git a/javascript_count b/javascript_count +new file mode 100644 +index 0000000..00c6fa5 +--- /dev/null ++++ b/javascript_count +@@ -0,0 +1,27 @@ ++#!/bin/sh ++# ++# This is part of SLOCCount, a toolsuite that counts ++# source lines of code (SLOC). ++# Copyright (C) 2001-2004 David A. Wheeler. ++# ++# 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ++# ++# To contact David A. Wheeler, see his website at: ++# http://www.dwheeler.com. ++# ++# ++ ++c_count $@ ++ +diff --git a/makefile b/makefile +index 322fba8..7245b79 100644 +--- a/makefile ++++ b/makefile +@@ -108,6 +108,7 @@ EXECUTABLES= \ + get_sloc \ + get_sloc_details \ + haskell_count \ ++ javascript_count \ + lex_count \ + lisp_count \ + make_filelists \ diff -Nru sloccount-2.26/debian/patches/series sloccount-2.26/debian/patches/series --- sloccount-2.26/debian/patches/series 2013-05-04 07:30:04.000000000 +0200 +++ sloccount-2.26/debian/patches/series 2017-03-17 15:00:29.000000000 +0100 @@ -6,3 +6,4 @@ 50_bts379448_ruby_recognize.patch 60_bts508557_vhdl_support.patch 70_bts508556_xml_support.patch +80_bts502880_javascript_support.patch
signature.asc
Description: PGP signature