diff -Nru w3c-markup-validator-1.2+dfsg/Makefile w3c-markup-validator-1.3+dfsg/Makefile --- w3c-markup-validator-1.2+dfsg/Makefile 1970-01-01 00:00:00.000000000 +0000 +++ w3c-markup-validator-1.3+dfsg/Makefile 2012-03-12 15:03:14.000000000 +0000 @@ -0,0 +1,65 @@ +VERSION = $(shell perl -ne '/^\$$VERSION\b.*?([\d.]+)/ && print $$1' httpd/cgi-bin/check) + +CSS_FILES = htdocs/style/base.css htdocs/style/results.css +JS_SOURCES = htdocs/scripts/mootools-1.2.5-core-nc.js \ + htdocs/scripts/mootools-1.2.5.1-more.js htdocs/scripts/w3c-validator.js +PERL_FILES = httpd/cgi-bin/check httpd/cgi-bin/sendfeedback.pl \ + httpd/mod_perl/startup.pl misc/soc2xml.pl misc/spmpp.pl \ + misc/docs_errors.pl misc/bundle/Makefile.PL \ + misc/bundle/lib/Bundle/W3C/Validator.pm +GZIP_FILES = $(addsuffix .gz,$(CSS_FILES)) htdocs/scripts/combined.js.gz + +PERLTIDY = perltidy --profile=misc/perltidyrc --backup-and-modify-in-place +PERLCRITIC = perlcritic --profile misc/perlcriticrc + +YUICOMPRESSOR = java -jar $(wildcard /usr/share/java/yuicompressor*.jar) +GZIP = gzip -9n + +VALIDATOR_URI = http://localhost/w3c-validator/check + +# Override the above variables in config.mk if needed. +-include config.mk + +all: htdocs/docs/errors.html htdocs/sgml-lib/catalog.xml $(GZIP_FILES) + +htdocs/docs/errors.html: misc/docs_errors.pl share/templates/en_US/error_messages.cfg share/templates/en_US/docs_errors.tmpl htdocs/config/validator.conf + env W3C_VALIDATOR_HOME=. W3C_VALIDATOR_CFG=htdocs/config/validator.conf misc/docs_errors.pl > $@ + +htdocs/sgml-lib/catalog.xml: misc/soc2xml.pl htdocs/sgml-lib/xml.soc + misc/soc2xml.pl < htdocs/sgml-lib/xml.soc > $@ + +htdocs/scripts/combined.js: $(JS_SOURCES) + rm -f $@ + @for src in $(JS_SOURCES) ; do \ + echo "$(YUICOMPRESSOR) $$src >> $@" ; \ + $(YUICOMPRESSOR) $$src >> $@ ; \ + done + +.css.css.gz .js.js.gz: + $(GZIP) -c $< > $@ && touch -r $< $@ + +test: + misc/testsuite/harness.py --validator_uri=$(VALIDATOR_URI) run + +perlcritic: + $(PERLCRITIC) $(PERL_FILES) + +perltidy: + @for file in $(PERL_FILES) ; do \ + echo "$(PERLTIDY) $$file" ; \ + $(PERLTIDY) $$file ; \ + done + +clean: + rm -f $(GZIP_FILES) + +dist: all + @for file in htdocs/footer.html htdocs/whatsnew.html \ + httpd/cgi-bin/check share/templates/*/footer.tmpl ; do \ + grep -qF "$(VERSION)" $$file || { \ + echo "Validator version in $$file seems out of date." ; \ + exit 1 ; } ; \ + done + misc/mkrelease.sh $(VERSION) + +.SUFFIXES: .css .css.gz .js .js.gz diff -Nru w3c-markup-validator-1.2+dfsg/README.cvs w3c-markup-validator-1.3+dfsg/README.cvs --- w3c-markup-validator-1.2+dfsg/README.cvs 2011-02-14 15:39:25.000000000 +0000 +++ w3c-markup-validator-1.3+dfsg/README.cvs 2012-03-12 15:03:14.000000000 +0000 @@ -17,9 +17,9 @@

Note that the latest development code may be broken at any time. If you want a working version, you should get the latest release version from the tar balls available from the source code availability page at validator.w3.org. -Alternatively, you can get the latest released version, v1.0, via Mercurial:

+Alternatively, you can get the latest released version, v1.3, via Mercurial:

-    bash$ hg clone -b validator-1_0-release https://dvcs.w3.org/hg/markup-validator
+    bash$ hg clone -b validator-1_3-release https://dvcs.w3.org/hg/markup-validator
           
diff -Nru w3c-markup-validator-1.2+dfsg/debian/changelog w3c-markup-validator-1.3+dfsg/debian/changelog --- w3c-markup-validator-1.2+dfsg/debian/changelog 2012-04-14 12:17:58.000000000 +0000 +++ w3c-markup-validator-1.3+dfsg/debian/changelog 2013-03-17 10:55:01.000000000 +0000 @@ -1,3 +1,18 @@ +w3c-markup-validator (1.3+dfsg-1) unstable; urgency=low + + * New upstream release + * Refreshed and fixed patches + * Removed patch html-template-ver.patch as it was applied upstream + * Removed mod_perl_disable.patch as mod_perl issues now resolved upstream + but add mod_perl.patch to debianize paths (Closes: #618416) + * Upstream Makefile now generates some resources but had to be debianized + * Raised standards version to 3.9.4 + * Added config file for license-reconcile and updated debian/copyright + * Updated debian/watch to repack upstream tarball + * Aded libhtml-template-perl and libconfig-general-perl as build dependencies + + -- Nicholas Bamber Sun, 17 Mar 2013 10:54:36 +0000 + w3c-markup-validator (1.2+dfsg-6) unstable; urgency=low * Changed to new location of w3c-sgml-lib files diff -Nru w3c-markup-validator-1.2+dfsg/debian/clean w3c-markup-validator-1.3+dfsg/debian/clean --- w3c-markup-validator-1.2+dfsg/debian/clean 2012-02-08 22:56:06.000000000 +0000 +++ w3c-markup-validator-1.3+dfsg/debian/clean 2013-03-15 08:01:03.000000000 +0000 @@ -1 +1,3 @@ +htdocs/scripts/combined.js combined.js +htdocs/docs/errors.html diff -Nru w3c-markup-validator-1.2+dfsg/debian/control w3c-markup-validator-1.3+dfsg/debian/control --- w3c-markup-validator-1.2+dfsg/debian/control 2012-03-24 18:14:31.000000000 +0000 +++ w3c-markup-validator-1.3+dfsg/debian/control 2013-03-17 09:49:50.000000000 +0000 @@ -4,8 +4,9 @@ Maintainer: Nicholas Bamber Uploaders: Jaldhar H. Vyas Build-Depends: debhelper (>= 8) -Build-Depends-Indep: sharutils, perl, lynx, yui-compressor -Standards-Version: 3.9.3 +Build-Depends-Indep: sharutils, perl, lynx, yui-compressor, w3c-sgml-lib (>= 1.3), + libhtml-template-perl, libconfig-general-perl +Standards-Version: 3.9.4 Homepage: http://validator.w3.org/about.html Vcs-Git: git://github.com/periapt/w3c-markup-validator.git Vcs-Browser: http://github.com/periapt/w3c-markup-validator/ @@ -15,7 +16,7 @@ Depends: ${perl:Depends}, ${misc:Depends}, apache2 | httpd-cgi, libwww-perl (>= 6), liburi-perl, libhtml-template-perl, libhtml-parser-perl (>= 3.60), libtext-iconv-perl, libset-intspan-perl, - libnet-ip-perl, libconfig-general-perl, w3c-sgml-lib (>= 1.2-2), + libnet-ip-perl, libconfig-general-perl, w3c-sgml-lib (>= 1.3), libencode-hanextra-perl, libhtml-encoding-perl, libjson-perl, libxml-libxml-perl (>= 1.70), libsgml-parser-opensp-perl, liblwp-protocol-https-perl diff -Nru w3c-markup-validator-1.2+dfsg/debian/copyright w3c-markup-validator-1.3+dfsg/debian/copyright --- w3c-markup-validator-1.2+dfsg/debian/copyright 2012-03-02 09:22:30.000000000 +0000 +++ w3c-markup-validator-1.3+dfsg/debian/copyright 2013-03-11 20:40:28.000000000 +0000 @@ -2,11 +2,18 @@ Upstream-Contact: http://validator.w3.org/feedback.html Source: http://validator.w3.org/dist/validator.tar.gz Upstream-Name: W3C Markup Validator +Comment: Removed the directory htdocs/images/valid_icons/ as the + W3C Document license is not DFSG compatible. + Also removed htdocs/docs/errors.html and *.gz as they are regenerated. Files: * Copyright: 1994-2010, W3C(R) (MIT, ERCIM, KEIO) License: W3C-Software +Files: *.py +Copyright: 2008, W3C +License: W3C-Software + Files: htdocs/dev/tests/long-lines.html Copyright: 2000-2001, Christian Wolfgang Hujer License: W3C-Software @@ -52,8 +59,10 @@ Files: debian/* Copyright: - 2010-2012, Nicholas Bamber + 2010-2013, Nicholas Bamber + 2003, Jaldhar H. Vyas 2002-2010, Frederic Schutz + 2008, Christian Perrier License: Artistic License: W3C-Software diff -Nru w3c-markup-validator-1.2+dfsg/debian/license-reconcile.yml w3c-markup-validator-1.3+dfsg/debian/license-reconcile.yml --- w3c-markup-validator-1.2+dfsg/debian/license-reconcile.yml 1970-01-01 00:00:00.000000000 +0000 +++ w3c-markup-validator-1.3+dfsg/debian/license-reconcile.yml 2013-03-09 20:41:33.000000000 +0000 @@ -0,0 +1,9 @@ +Rules: + rules: + - + Glob: misc/* + Contains: Licensed under the W3C Software License + CopyrightExtract: Copyright\s+\(c\)\s+(\Y+[\w]+)\.\s+Licensed\s+under\s+the\s+W3C\s+Software\s+License + License: W3C-Software +ChangeLog: + license: Artistic diff -Nru w3c-markup-validator-1.2+dfsg/debian/patches/debian_logo.patch w3c-markup-validator-1.3+dfsg/debian/patches/debian_logo.patch --- w3c-markup-validator-1.2+dfsg/debian/patches/debian_logo.patch 2012-02-08 22:56:06.000000000 +0000 +++ w3c-markup-validator-1.3+dfsg/debian/patches/debian_logo.patch 2013-03-06 18:11:26.000000000 +0000 @@ -1,26 +1,15 @@ Subject: Replace empty logo image with a Debianized one Author: Nicholas Bamber Forwarded: not-needed -Last-Update: 2011-03-15 ---- a/htdocs/no_referer.asis -+++ b/htdocs/no_referer.asis -@@ -22,7 +22,7 @@ - -