diff -Nru cpplint-1.5.5/debian/changelog cpplint-1.5.5/debian/changelog --- cpplint-1.5.5/debian/changelog 2021-12-05 13:16:50.000000000 +0000 +++ cpplint-1.5.5/debian/changelog 2022-02-01 07:00:09.000000000 +0000 @@ -1,3 +1,14 @@ +cpplint (1.5.5-2) unstable; urgency=medium + + [ Bastian Germann ] + * Fix lintian: debian-watch-contains-dh_make-template + + [ Wolfgang Silbermayr ] + * Add samples/* to d/copyright + * Source-only reupload for migration to testing + + -- Wolfgang Silbermayr Tue, 01 Feb 2022 08:00:09 +0100 + cpplint (1.5.5-1) unstable; urgency=medium * Initial release (Closes: #960847) diff -Nru cpplint-1.5.5/debian/copyright cpplint-1.5.5/debian/copyright --- cpplint-1.5.5/debian/copyright 2021-12-05 13:16:50.000000000 +0000 +++ cpplint-1.5.5/debian/copyright 2022-02-01 06:59:55.000000000 +0000 @@ -6,8 +6,118 @@ Files: * Copyright: 2009 Google Inc. License: BSD-3-clause - cpplint.py and its corresponding unit tests are Copyright (C) 2009 Google Inc. + +Files: samples/boost-sample/include/boost/math/octonion.hpp +Copyright: Hubert Holin 2001. +License: BSL-1 + +Files: samples/boost-sample/src/inspect/unnamed_namespace_check.hpp +Copyright: Gennaro Prota 2006. +License: BSL-1 + +Files: samples/boost-sample/src/tr1/c_policy.hpp +Copyright: John Maddock 2008. +License: BSL-1 + +Files: samples/chromium-sample/* +Copyright: 2012 The Chromium Authors +License: BSD-3-clause + +Files: samples/codelite-sample/* +Copyright: + Eran Ifrah + David Hart + The CodeLite Team +License: GPL-2 + This package 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; version 2 of the License. + . + This package 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, see . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + + +Files: samples/protobuf-sample/* +Copyright: 2008, Google Inc +License: BSD-3-clause + +Files: samples/v8-sample/* +Copyright: 2006-2014, the V8 project authors. +License: BSD-3-clause + +Files: samples/vlc-sample/* +Copyright: VLC authors and VideoLAN +License: LGPL-2.1+ + +Files: samples/vlc-sample/src/libvlc.h +Copyright: + 1999, 2000, 2001, 2002 VLC authors and VideoLAN + 2006-2007 Rémi Denis-Courmont +License: LGPL-2.1+ + +Files: samples/vlc-sample/src/libvlc.c +Copyright: 1998-2008 VLC authors and VideoLAN +License: LGPL-2.1+ + +Files: samples/vlc-sample/src/missing.c +Copyright: + 2008-2011 Rémi Denis-Courmont + 2009-2014 VLC authors and VideoLAN +License: LGPL-2.1+ + +Files: debian/* +Copyright: 2021 Wolfgang Silbermayr +License: GPL-2+ + This package 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 package 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, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + +License: BSL-1 + Boost Software License - Version 1.0 - August 17th, 2003 + . + Permission is hereby granted, free of charge, to any person or organization + obtaining a copy of the software and accompanying documentation covered by + this license (the "Software") to use, reproduce, display, distribute, + execute, and transmit the Software, and to prepare derivative works of the + Software, and to permit third-parties to whom the Software is furnished to + do so, all subject to the following: + . + The copyright notices in the Software and this entire statement, including + the above license grant, this restriction and the following disclaimer, + must be included in all copies of the Software, in whole or in part, and + all derivative works of the Software, unless such copies or derivative + works are solely in the form of machine-executable object code generated by + a source language processor. + . + 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, TITLE AND NON-INFRINGEMENT. IN NO EVENT + SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN 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 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -34,21 +144,19 @@ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -Files: debian/* -Copyright: 2021 Wolfgang Silbermayr -License: GPL-2+ - This package 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 +License: LGPL-2.1+ + This program 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 package is distributed in the hope that it will be useful, + 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. + 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 General Public License - along with this program. If not, see + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . . - On Debian systems, the complete text of the GNU General - Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + The complete text of the GNU Lesser General Public License + can be found in /usr/share/common-licenses/LGPL-2.1 file. diff -Nru cpplint-1.5.5/debian/cpplint.1 cpplint-1.5.5/debian/cpplint.1 --- cpplint-1.5.5/debian/cpplint.1 2021-12-05 13:16:50.000000000 +0000 +++ cpplint-1.5.5/debian/cpplint.1 1970-01-01 00:00:00.000000000 +0000 @@ -1,246 +0,0 @@ -.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. -.TH CPPLINT "1" "December 2021" "cpplint 1.5.5" "User Commands" -.SH NAME -cpplint \- Static code checker for C++ -.SH DESCRIPTION -Syntax: cpplint.py [\-\-verbose=#] [\-\-output=emacs|eclipse|vs7|junit|sed|gsed] -.IP -[\-\-filter=\-x,+y,...] -[\-\-counting=total|toplevel|detailed] [\-\-root=subdir] -[\-\-repository=path] -[\-\-linelength=digits] [\-\-headers=x,y,...] -[\-\-recursive] -[\-\-exclude=path] -[\-\-extensions=hpp,cpp,...] -[\-\-includeorder=default|standardcfirst] -[\-\-quiet] -[\-\-version] -.IP - [file] ... -.IP -Style checker for C/C++ source files. -This is a fork of the Google style checker with minor extensions. -.IP -The style guidelines this tries to follow are those in -.IP -https://google.github.io/styleguide/cppguide.html -.IP -Every problem is given a confidence score from 1\-5, with 5 meaning we are -certain of the problem, and 1 meaning it could be a legitimate construct. -This will miss some errors, and is not a substitute for a code review. -.IP -To suppress false\-positive errors of a certain category, add a -\&'NOLINT(category)' comment to the line. NOLINT or NOLINT(*) -suppresses errors of all categories on that line. -.IP -The files passed in will be linted; at least one file must be provided. -Default linted extensions are ['c', 'c++', 'cc', 'cpp', 'cu', 'cuh', 'cxx', 'h', 'h++', 'hh', 'hpp', 'hxx']. -Other file types will be ignored. -Change the extensions with the \fB\-\-extensions\fR flag. -.IP -Flags: -.IP -output=emacs|eclipse|vs7|junit|sed|gsed -.TP -By default, the output is formatted to ease emacs parsing. -Visual Studio -.TP -compatible output (vs7) may also be used. -Further support exists for -.IP -eclipse (eclipse), and JUnit (junit). XML parsers such as those used -in Jenkins and Bamboo may also be used. -The sed format outputs sed commands that should fix some of the errors. -Note that this requires gnu sed. If that is installed as gsed on your -system (common e.g. on macOS with homebrew) you can use the gsed output -format. Sed commands are written to stdout, not stderr, so you should be -able to pipe output straight to a shell to run the fixes. -.IP -verbose=# -.IP -Specify a number 0\-5 to restrict errors to certain verbosity levels. -Errors with lower verbosity levels have lower confidence and are more -likely to be false positives. -.IP -quiet -.IP -Don't print anything if no errors are found. -.IP -filter=\-x,+y,... -.IP -Specify a comma\-separated list of category\-filters to apply: only -error messages whose category names pass the filters will be printed. -(Category names are printed with the message and look like -"[whitespace/indent]".) Filters are evaluated left to right. -"\-FOO" means "do not print categories that start with FOO". -"+FOO" means "do print categories that start with FOO". -.IP -Examples: \fB\-\-filter\fR=\fI\,\-whitespace\/\fR,+whitespace/braces -.IP -\fB\-\-filter\fR=\fI\,\-whitespace\/\fR,\-runtime/printf,+runtime/printf_format -\fB\-\-filter\fR=\fI\,\-\/\fR,+build/include_what_you_use -.IP -To see a list of all the categories used in cpplint, pass no arg: -.HP -\fB\-\-filter=\fR -.IP -counting=total|toplevel|detailed -.IP -The total number of errors found is always printed. If -\&'toplevel' is provided, then the count of errors in each of -the top\-level categories like 'build' and 'whitespace' will -also be printed. If 'detailed' is provided, then a count -is provided for each category like 'build/class'. -.IP -repository=path -.IP -The top level directory of the repository, used to derive the header -guard CPP variable. By default, this is determined by searching for a -path that contains .git, .hg, or .svn. When this flag is specified, the -given path is used instead. This option allows the header guard CPP -variable to remain consistent even if members of a team have different -repository root directories (such as when checking out a subdirectory -with SVN). In addition, users of non\-mainstream version control systems -can use this flag to ensure readable header guard CPP variables. -.IP -Examples: -.IP -Assuming that Alice checks out ProjectName and Bob checks out -ProjectName/trunk and trunk contains src/chrome/ui/browser.h, then -with no \fB\-\-repository\fR flag, the header guard CPP variable will be: -.IP -Alice => TRUNK_SRC_CHROME_BROWSER_UI_BROWSER_H_ -Bob => SRC_CHROME_BROWSER_UI_BROWSER_H_ -.IP -If Alice uses the \fB\-\-repository\fR=\fI\,trunk\/\fR flag and Bob omits the flag or -uses \fB\-\-repository=\fR. then the header guard CPP variable will be: -.IP -Alice => SRC_CHROME_BROWSER_UI_BROWSER_H_ -Bob => SRC_CHROME_BROWSER_UI_BROWSER_H_ -.IP -root=subdir -.IP -The root directory used for deriving header guard CPP variable. -This directory is relative to the top level directory of the repository -which by default is determined by searching for a directory that contains -\&.git, .hg, or .svn but can also be controlled with the \fB\-\-repository\fR flag. -If the specified directory does not exist, this flag is ignored. -.IP -Examples: -.IP -Assuming that src is the top level directory of the repository (and -cwd=top/src), the header guard CPP variables for -src/chrome/browser/ui/browser.h are: -.IP -No flag => CHROME_BROWSER_UI_BROWSER_H_ -\fB\-\-root\fR=\fI\,chrome\/\fR => BROWSER_UI_BROWSER_H_ -\fB\-\-root\fR=\fI\,chrome\/\fR/browser => UI_BROWSER_H_ -\fB\-\-root=\fR.. => SRC_CHROME_BROWSER_UI_BROWSER_H_ -.IP -linelength=digits -.IP -This is the allowed line length for the project. The default value is -80 characters. -.IP -Examples: -.HP -\fB\-\-linelength\fR=\fI\,120\/\fR -.IP -recursive -.IP -Search for files to lint recursively. Each directory given in the list -of files to be linted is replaced by all files that descend from that -directory. Files with extensions not in the valid extensions list are -excluded. -.IP -exclude=path -.IP -Exclude the given path from the list of files to be linted. Relative -paths are evaluated relative to the current directory and shell globbing -is performed. This flag can be provided multiple times to exclude -multiple files. -.IP -Examples: -.HP -\fB\-\-exclude\fR=\fI\,one\/\fR.cc -.HP -\fB\-\-exclude\fR=\fI\,src\/\fR/*.cc -.HP -\fB\-\-exclude\fR=\fI\,src\/\fR/*.cc \fB\-\-exclude\fR=\fI\,test\/\fR/*.cc -.IP -extensions=extension,extension,... -.IP -The allowed file extensions that cpplint will check -.IP -Examples: -.HP -\fB\-\-extensions\fR=\fI\,c\/\fR,c++,cc,cpp,cu,cuh,cxx,h,h++,hh,hpp,hxx -.IP -includeorder=default|standardcfirst -.IP -For the build/include_order rule, the default is to blindly assume angle -bracket includes with file extension are c\-system\-headers (default), -even knowing this will have false classifications. -The default is established at google. -standardcfirst means to instead use an allow\-list of known c headers and -treat all others as separate group of "other system headers". The C headers -included are those of the C\-standard lib and closely related ones. -.IP -headers=x,y,... -.IP -The header extensions that cpplint will treat as .h in checks. Values are -automatically added to \fB\-\-extensions\fR list. -.IP -(by default, only files with extensions ['cuh', 'h', 'h++', 'hh', 'hpp', 'hxx'] will be assumed to be headers) -.IP -Examples: -.HP -\fB\-\-headers\fR=\fI\,cuh\/\fR,h,h++,hh,hpp,hxx -.HP -\fB\-\-headers\fR=\fI\,hpp\/\fR,hxx -.HP -\fB\-\-headers\fR=\fI\,hpp\/\fR -.IP -cpplint.py supports per\-directory configurations specified in CPPLINT.cfg -files. CPPLINT.cfg file can contain a number of key=value pairs. -Currently the following options are supported: -.IP -set noparent -filter=+filter1,\-filter2,... -exclude_files=regex -linelength=80 -root=subdir -headers=x,y,... -.IP -"set noparent" option prevents cpplint from traversing directory tree -upwards looking for more .cfg files in parent directories. This option -is usually placed in the top\-level project directory. -.IP -The "filter" option is similar in function to \fB\-\-filter\fR flag. It specifies -message filters in addition to the |_DEFAULT_FILTERS| and those specified -through \fB\-\-filter\fR command\-line flag. -.IP -"exclude_files" allows to specify a regular expression to be matched against -a file name. If the expression matches, the file is skipped and not run -through the linter. -.IP -"linelength" allows to specify the allowed line length for the project. -.IP -The "root" option is similar in function to the \fB\-\-root\fR flag (see example -above). Paths are relative to the directory of the CPPLINT.cfg. -.IP -The "headers" option is similar in function to the \fB\-\-headers\fR flag -(see example above). -.IP -CPPLINT.cfg has an effect on files in the same directory and all -sub\-directories, unless overridden by a nested configuration file. -.IP -Example file: -.IP -filter=\-build/include_order,+build/include_alpha -exclude_files=.*\e.cc -.IP -The above example disables build/include_order warning and enables -build/include_alpha as well as excludes all .cc from being -processed by linter, in the current directory (where the .cfg -file is located) and all sub\-directories.