r15335 - in /trunk/libhtml-lint-perl/debian: ./ cdbs/ cdbs/1/ cdbs/1/rules/ cdbs/1/rules/auto-update.mk cdbs/1/rules/buildinfo.mk cdbs/1/rules/copyright-check.mk changelog compat control control.in copyright copyright_hints rules watch weblint.txt
js at users.alioth.debian.org
js at users.alioth.debian.org
Thu Feb 21 02:34:38 UTC 2008
Author: js
Date: Thu Feb 21 02:34:37 2008
New Revision: 15335
URL: http://svn.debian.org/wsvn/?sc=1&rev=15335
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
trunk/libhtml-lint-perl/debian/
trunk/libhtml-lint-perl/debian/cdbs/
trunk/libhtml-lint-perl/debian/cdbs/1/
trunk/libhtml-lint-perl/debian/cdbs/1/rules/
trunk/libhtml-lint-perl/debian/cdbs/1/rules/auto-update.mk
trunk/libhtml-lint-perl/debian/cdbs/1/rules/buildinfo.mk
trunk/libhtml-lint-perl/debian/cdbs/1/rules/copyright-check.mk
trunk/libhtml-lint-perl/debian/changelog
trunk/libhtml-lint-perl/debian/compat
trunk/libhtml-lint-perl/debian/control
trunk/libhtml-lint-perl/debian/control.in
trunk/libhtml-lint-perl/debian/copyright
trunk/libhtml-lint-perl/debian/copyright_hints
trunk/libhtml-lint-perl/debian/rules (with props)
trunk/libhtml-lint-perl/debian/watch
trunk/libhtml-lint-perl/debian/weblint.txt
Added: trunk/libhtml-lint-perl/debian/cdbs/1/rules/auto-update.mk
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/cdbs/1/rules/auto-update.mk?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/cdbs/1/rules/auto-update.mk (added)
+++ trunk/libhtml-lint-perl/debian/cdbs/1/rules/auto-update.mk Thu Feb 21 02:34:37 2008
@@ -1,0 +1,44 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2005-2006 Jonas Smedegaard <dr at jones.dk>
+# Description: Auto-update debian/control from debian/control.in
+# When the environment variable DEB_BUILD_OPTIONS contains the magic
+# string "update" the clean target is extended to auto-update
+# debian/control from debian/control.in where build-depends can contain
+# the magic string @cdbs@ expanded to build-dependencies known to cdbs,
+# and more...
+#
+# In other words, with this in use don't edit debian/control directly,
+# but instead edit debian/control.in and invoke the following:
+# DEB_BUILD_OPTIONS=update fakeroot debian/rules clean
+#
+# 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, 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.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_rules_auto-update
+_cdbs_rules_auto-update := 1
+
+ifneq (,$(findstring update,$(DEB_BUILD_OPTIONS)))
+DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes
+endif
+
+# Avoid build-dependency on build-essential (to please ftpmasters)
+CDBS_BUILD_DEPENDS :=
+endif
Added: trunk/libhtml-lint-perl/debian/cdbs/1/rules/buildinfo.mk
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/cdbs/1/rules/buildinfo.mk?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/cdbs/1/rules/buildinfo.mk (added)
+++ trunk/libhtml-lint-perl/debian/cdbs/1/rules/buildinfo.mk Thu Feb 21 02:34:37 2008
@@ -1,0 +1,42 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2004-2005 Jonas Smedegaard <dr at jones.dk>
+# Description: Generate and include build information
+#
+# 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, 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.
+
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_rules_buildinfo
+_cdbs_rules_buildinfo := 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), dh-buildinfo
+
+common-install-arch common-install-indep:: debian/stamp-buildinfo
+
+debian/stamp-buildinfo:
+ dh_buildinfo
+
+clean::
+ rm -f debian/stamp-buildinfo
+
+endif
Added: trunk/libhtml-lint-perl/debian/cdbs/1/rules/copyright-check.mk
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/cdbs/1/rules/copyright-check.mk?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/cdbs/1/rules/copyright-check.mk (added)
+++ trunk/libhtml-lint-perl/debian/cdbs/1/rules/copyright-check.mk Thu Feb 21 02:34:37 2008
@@ -1,0 +1,55 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2005-2006 Jonas Smedegaard <dr at jones.dk>
+# Description: Check for changes to copyright notices in source
+#
+# 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, 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.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_rules_copyright-check
+_cdbs_rules_copyright-check := 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+cdbs_copyright-check_find_opts := -not -regex '\./debian/.*'
+
+clean::
+ @echo 'Scanning upstream source for new/changed copyright notices...'
+ @echo '(the debian/ subdir is _not_ examined - do that manually!)'
+ find . -type f $(cdbs_copyright-check_find_opts) -exec cat '{}' ';' \
+ | egrep --text -rih 'copyright.*[0-9]{4}' \
+ | sed -e 's/^[[:space:]*#]*//' -e 's/[[:space:]]*$$//' \
+ | LC_ALL=C sort -u \
+ > debian/copyright_newhints
+ if [ ! -f debian/copyright_hints ]; then touch debian/copyright_hints; fi
+ @echo "diff --normal debian/copyright_hints debian/copyright_newhints | egrep '^>'"
+ @diff --normal debian/copyright_hints debian/copyright_newhints | egrep '^>'; \
+ if [ "$$?" -eq "0" ]; then \
+ echo "New or changed copyright notices discovered! Do this:"; \
+ echo " 1) Search source for each of the above lines ('grep -r' is your friend)"; \
+ echo " 2) Update debian/copyright as needed"; \
+ echo " 3) Replace debian/copyright_hints with debian/copyright_newhints"; \
+ exit 1; \
+ fi
+
+ @echo 'No new copyright notices found - assuming no news is good news...'
+ rm -f debian/copyright_newhints
+
+endif
Added: trunk/libhtml-lint-perl/debian/changelog
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/changelog?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/changelog (added)
+++ trunk/libhtml-lint-perl/debian/changelog Thu Feb 21 02:34:37 2008
@@ -1,0 +1,82 @@
+libhtml-lint-perl (2.02-1) unstable; urgency=low
+
+ * New upstream release. Closes: bug#338217 (thanks to Florian Ernst
+ <florian at uni-hd.de>).
+ * Update local cdbs snippet buildinfo.mk to fix namespace.
+ * Add and enable new local cdbs snippets copyright-check.mk and
+ auto-update.mk.
+ * Semi-auto-update debian/control.
+ * Simplify debian/watch (qa.debian.org gets confused by multiple
+ parantheses).
+ * Build-depend on libtest-pod-coverage-perl to complete all tests.
+
+ -- Jonas Smedegaard <dr at jones.dk> Thu, 16 Feb 2006 10:48:50 +0100
+
+libhtml-lint-perl (2.0-1) unstable; urgency=low
+
+ * New upstream release. Closes: bug#329555 (thanks to Florian Ragwitz
+ <florian.ragwitz at s2004.tu-chemnitz.de>).
+ * Improve watch file (bump up to version 3, allow more suffixes and
+ add comment hinting at its use).
+ * Use cdbs debian/rules auto-update when DEB_BUILD_OPTIONS contains
+ "update".
+ * Auto-update debian/rules (and strip bogus build-essential
+ dependency).
+ * Bump up standards-version to 3.6.2 (no changes needed).
+
+ -- Jonas Smedegaard <dr at jones.dk> Thu, 22 Sep 2005 12:48:44 +0200
+
+libhtml-lint-perl (1.30-1) unstable; urgency=low
+
+ * New upstream release.
+ * Use local cdbs snippet for dh-buildinfo.
+
+ -- Jonas Smedegaard <dr at jones.dk> Sat, 26 Mar 2005 07:16:39 +0100
+
+libhtml-lint-perl (1.28-1) unstable; urgency=low
+
+ * New upstream release.
+ * Update debian/copyright:
+ + Update copyright year to 2003
+ + Cosmetic changes (syntactic sugar).
+ * Correct debian/watch.
+ * Build-depend on libtest-pod-perl to complete more tests (since
+ build-recommends is not supported...).
+
+ -- Jonas Smedegaard <dr at jones.dk> Sun, 28 Mar 2004 18:16:25 +0200
+
+libhtml-lint-perl (1.24-1) unstable; urgency=low
+
+ * New upstream release.
+ * Fix watch file.
+ * Drop local cdbs hacks (they are included officially now).
+ * Wait moving files till they are actually installed (closes:
+ Bug#208377).
+ * Standards version 3.6.1 (no changes needed).
+
+ -- Jonas Smedegaard <dr at jones.dk> Sat, 13 Sep 2003 15:50:49 +0200
+
+libhtml-lint-perl (1.22-1) unstable; urgency=low
+
+ * New upstream release.
+ * Switch to packaging using cdbs.
+ * Standards version 3.6.0 (no changes needed).
+ * Include (and build-depend on) dh_buildinfo.
+ * Fix debian/copyright to include URL to upstream source, and not
+ duplicate info in debian/changelog.
+
+ -- Jonas Smedegaard <dr at jones.dk> Thu, 24 Jul 2003 16:04:04 +0200
+
+libhtml-lint-perl (1.21-2) unstable; urgency=low
+
+ * Build-depend (in addition to depend) on libhtml-parser-perl and
+ libhtml-tags-perl (closes: Bug#190777).
+
+ -- Jonas Smedegaard <dr at jones.dk> Fri, 25 Apr 2003 22:19:18 +0200
+
+libhtml-lint-perl (1.21-1) unstable; urgency=low
+
+ * Initial Release.
+ * Have package weblint-perl replace and provide old weblint.
+
+ -- Jonas Smedegaard <dr at jones.dk> Sun, 13 Apr 2003 17:44:22 +0200
Added: trunk/libhtml-lint-perl/debian/compat
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/compat?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/compat (added)
+++ trunk/libhtml-lint-perl/debian/compat Thu Feb 21 02:34:37 2008
@@ -1,0 +1,1 @@
+4
Added: trunk/libhtml-lint-perl/debian/control
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/control?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/control (added)
+++ trunk/libhtml-lint-perl/debian/control Thu Feb 21 02:34:37 2008
@@ -1,0 +1,34 @@
+Source: libhtml-lint-perl
+Section: perl
+Priority: optional
+Build-Depends-Indep: cdbs (>= 0.4.23-1.1), , debhelper (>= 4.1.0), perl (>= 5.6.0-16), dh-buildinfo, libhtml-parser-perl (>= 3.20), libhtml-tagset-perl (>= 3.03), txt2man, libtest-pod-perl (>= 0.95), libtest-pod-coverage-perl (>= 1.04)
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.6.2
+
+Package: libhtml-lint-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libhtml-parser-perl (>= 3.20), libhtml-tagset-perl (>= 3.03)
+Suggests: weblint-perl
+Description: Check for HTML errors in a string or file
+ HTML::Lint is a pure-Perl HTML parser and checker for syntactic legitmacy.
+ .
+ The "weblint" script - provided in the separate package "weblint-perl" -
+ is a wrapper around the HTML::Lint.
+ .
+ You can also look into Apache::Lint which is a mod_perl wrapper around
+ HTML::Lint.
+ .
+ Finally, for those of you doing automated testing with Test::More and
+ its brethren, Test::HTML::Lint lets you automate HTML checking.
+
+Package: weblint-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libhtml-lint-perl
+Conflicts: weblint
+Provides: weblint
+Description: A syntax and minimal style checker for HTML
+ This is a perl script which picks fluff off html pages, much in the same
+ way traditional lint picks fluff off C programs.
+ .
+ The script is a complete rewrite of Neil Bowers' original weblint script.
+ It currently supports HTML 4.0 (and only HTML 4.0).
Added: trunk/libhtml-lint-perl/debian/control.in
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/control.in?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/control.in (added)
+++ trunk/libhtml-lint-perl/debian/control.in Thu Feb 21 02:34:37 2008
@@ -1,0 +1,34 @@
+Source: libhtml-lint-perl
+Section: perl
+Priority: optional
+Build-Depends-Indep: @cdbs@, libhtml-parser-perl (>= 3.20), libhtml-tagset-perl (>= 3.03), txt2man, libtest-pod-perl (>= 0.95), libtest-pod-coverage-perl (>= 1.04)
+Maintainer: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.6.2
+
+Package: libhtml-lint-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libhtml-parser-perl (>= 3.20), libhtml-tagset-perl (>= 3.03)
+Suggests: weblint-perl
+Description: Check for HTML errors in a string or file
+ HTML::Lint is a pure-Perl HTML parser and checker for syntactic legitmacy.
+ .
+ The "weblint" script - provided in the separate package "weblint-perl" -
+ is a wrapper around the HTML::Lint.
+ .
+ You can also look into Apache::Lint which is a mod_perl wrapper around
+ HTML::Lint.
+ .
+ Finally, for those of you doing automated testing with Test::More and
+ its brethren, Test::HTML::Lint lets you automate HTML checking.
+
+Package: weblint-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libhtml-lint-perl
+Conflicts: weblint
+Provides: weblint
+Description: A syntax and minimal style checker for HTML
+ This is a perl script which picks fluff off html pages, much in the same
+ way traditional lint picks fluff off C programs.
+ .
+ The script is a complete rewrite of Neil Bowers' original weblint script.
+ It currently supports HTML 4.0 (and only HTML 4.0).
Added: trunk/libhtml-lint-perl/debian/copyright
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/copyright?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/copyright (added)
+++ trunk/libhtml-lint-perl/debian/copyright Thu Feb 21 02:34:37 2008
@@ -1,0 +1,19 @@
+This is the Perl module HTML::Lint packaged for Debian GNU systems.
+
+Upstream author: Andy Lester, <andy at petdance.com>.
+
+Upstream source: http://www.cpan.org/modules/by-module/HTML/
+
+
+Copyright and licensing info:
+
+ Copyright 2003 Andy Lester, All Rights Reserved.
+
+ This program is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
+
+
+Perl is distributed under your choice of the GNU General Public License or
+the Artistic License. On Debian GNU/Linux systems, the complete text of the
+GNU General Public License can be found in `/usr/share/common-licenses/GPL'
+and the Artistic Licence in `/usr/share/common-licenses/Artistic'.
Added: trunk/libhtml-lint-perl/debian/copyright_hints
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/copyright_hints?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/copyright_hints (added)
+++ trunk/libhtml-lint-perl/debian/copyright_hints Thu Feb 21 02:34:37 2008
@@ -1,0 +1,4 @@
+<font size="1" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Copyright © 2004 <a href="mailto:titlewave at flr.follett.com"><span Style="color:006699">Follett Library Resources</span></a> 1340 Ridgeview Drive McHenry, Illinois 60050<br>
+Copyright (c) Andy Lester 2005. All Rights Reserved.
+Copyright 2003 Andy Lester, All Rights Reserved.
+Copyright 2005 Andy Lester, All Rights Reserved.
Added: trunk/libhtml-lint-perl/debian/rules
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/rules?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/rules (added)
+++ trunk/libhtml-lint-perl/debian/rules Thu Feb 21 02:34:37 2008
@@ -1,0 +1,22 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003-2006 Jonas Smedegaard <dr at jones.dk>
+
+include debian/cdbs/1/rules/auto-update.mk
+
+# Put perlmodule.mk last to dh_clean temporary files not in MANIFEST
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/perlmodule.mk
+include debian/cdbs/1/rules/buildinfo.mk
+include debian/cdbs/1/rules/copyright-check.mk
+
+DEB_INSTALL_MANPAGES_weblint-perl := debian/weblint.1
+
+common-build-indep::
+ txt2man debian/weblint.txt > debian/weblint.1
+
+common-binary-post-install-indep::
+ mv debian/libhtml-lint-perl/usr/bin debian/weblint-perl/usr
+
+clean::
+ rm -f debian/weblint.1
Propchange: trunk/libhtml-lint-perl/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libhtml-lint-perl/debian/watch
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/watch?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/watch (added)
+++ trunk/libhtml-lint-perl/debian/watch Thu Feb 21 02:34:37 2008
@@ -1,0 +1,3 @@
+# Run the "uscan" command to check for upstream updates and more.
+version=3
+http://www.cpan.org/modules/by-module/HTML/HTML-Lint-([\d+\.]+|\d+)\.tar\.gz debian uupdate
Added: trunk/libhtml-lint-perl/debian/weblint.txt
URL: http://svn.debian.org/wsvn/trunk/libhtml-lint-perl/debian/weblint.txt?rev=15335&op=file
==============================================================================
--- trunk/libhtml-lint-perl/debian/weblint.txt (added)
+++ trunk/libhtml-lint-perl/debian/weblint.txt Thu Feb 21 02:34:37 2008
@@ -1,0 +1,27 @@
+NAME
+ weblint - pick fluff off web pages (HTML)
+
+SYNOPSIS
+ weblint [option...] <filename/URL>...
+
+DESCRIPTION
+ weblint is a Perl script which picks fluff off HTML pages.
+
+ Files and URLs to be checked are passed on the command-line.
+
+OPTIONS
+ --help This message
+ --context[=n] Show the offending line (and n surrounding lines)
+
+ Error types: (default: all on)
+ --[no]structure Structural issues, like unclosed tag pairs
+ --[no]helper Helper issues, like missing HEIGHT & WIDTH
+ --[no]fluff Fluff that can be removed, like bad tag attributes
+ --only Turns off all other error types, as in --only --fluff
+
+EXAMPLE
+ % weblint foobar.html ./dodgy-files/ index.html http://example.com/
+
+AUTHOR
+ This basic manpage was written by Jonas Smedegaard <dr at jones.dk>
+ for Debian GNU systems, but may be freely used elsewhere.
More information about the Pkg-perl-cvs-commits
mailing list