diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000000000000000000000000000000000000..161b500ceb255d6c933d230c25eaaf32947d8e5b --- /dev/null +++ b/debian/changelog @@ -0,0 +1,132 @@ +libppi-html-perl (1.08-2.1) unstable; urgency=medium + + * Non maintainer upload by the Reproducible Builds team. + * No source change upload to rebuild on buildd with .buildinfo files. + + -- Holger Levsen <holger@debian.org> Tue, 29 Dec 2020 02:14:31 +0100 + +libppi-html-perl (1.08-2) unstable; urgency=medium + + [ Ansgar Burchardt ] + * debian/control: Convert Vcs-* fields to Git. + + [ Salvatore Bonaccorso ] + * debian/copyright: Replace DEP5 Format-Specification URL from + svn.debian.org to anonscm.debian.org URL. + + [ gregor herrmann ] + * debian/control: update {versioned,alternative} (build) dependencies. + + [ Salvatore Bonaccorso ] + * Change Vcs-Git to canonical URI (git://anonscm.debian.org) + * Change search.cpan.org based URIs to metacpan.org based URIs + + [ gregor herrmann ] + * debian/watch: remove obsolete comment. + + [ Axel Beckert ] + * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- + copyright" + + [ gregor herrmann ] + * Strip trailing slash from metacpan URLs. + + [ Salvatore Bonaccorso ] + * Update Vcs-Browser URL to cgit web frontend + * debian/control: Use HTTPS transport protocol for Vcs-Git URI + + [ gregor herrmann ] + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + * Remove Jonathan Yu from Uploaders. Thanks for your work! + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ Florian Schlichting ] + * Mark package as source format 3.0 (quilt) + * Add spelling.patch and no-dot-in-inc.patch + * Update license paragraphs to commonly used versions + * Add myself to Uploaders + * Bump dh compat to level 11 + * Declare compliance with Debian Policy 4.1.5 + + -- Florian Schlichting <fsfs@debian.org> Sun, 08 Jul 2018 12:29:37 +0200 + +libppi-html-perl (1.08-1) unstable; urgency=low + + [ Jonathan Yu ] + * New upstream release + * Update to new short debhelper rules format + * Standards-Version 3.8.3 (drop perl version dep) + + [ gregor herrmann ] + * debian/control: Changed: Switched Vcs-Browser field to ViewSVN + (source stanza). + + [ Ryan Niebur ] + * Remove Florian Ragwitz from Uploaders (Closes: #523240) + + [ Nathan Handler ] + * debian/watch: Update to ignore development releases. + + [ gregor herrmann ] + * debian/control: remove versions from (build) dependencies on libppi-perl + and libcss-tiny-perl, even oldstable has newer versions. + + -- Jonathan Yu <jawnsy@cpan.org> Mon, 16 Nov 2009 21:02:31 -0500 + +libppi-html-perl (1.07-2) unstable; urgency=low + + [ gregor herrmann ] + * Take over for the Debian Perl Group with maintainer's permission + (http://lists.debian.org/debian-perl/2008/06/msg00039.html) + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Changed: + Maintainer set to Debian Perl Group <pkg-perl- + maintainers@lists.alioth.debian.org> (was: Florian Ragwitz + <rafl@debian.org>); Florian Ragwitz <rafl@debian.org> moved to + Uploaders. + * debian/watch: use dist-based URL. + + [ Gunnar Wolf ] + * Fixed typo in short description (Closes: #467433) + * Updated standards-version to 3.8.0 (no changes needed) + * Updated debhelper compat level to 5 + * Added myself as an uploader + * No longer ignores the result of 'make distclean' + + -- Gunnar Wolf <gwolf@debian.org> Tue, 01 Jul 2008 17:02:35 -0500 + +libppi-html-perl (1.07-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix FTBFS with Perl 5.10. Closes: #467991 + + -- Mark Hymers <mhy@debian.org> Sat, 05 Apr 2008 21:09:15 +0100 + +libppi-html-perl (1.07-1) unstable; urgency=low + + * New upstream release. + + -- Florian Ragwitz <rafl@debian.org> Thu, 3 Aug 2006 18:38:04 +0200 + +libppi-html-perl (0.05-1) unstable; urgency=low + + * New upstream release (Closes: #329649). + * New Maintainer with acknowledgement from the former one. + * Bumped up Standards-Version to 3.6.2 (no changes). + * Moved build-deps that aren't needed in the clean target to + build-dep-indep. + * Cleaned up debian/rules. + * Added libparams-util-perl to build-dep-indep and depends. + * Updated version numbers for all (build-)dependencies. + * Added dependency to libfile-slurp-perl because ppi2html needs it. + * Added a manpage for ppi2html and generate it from pod in debian/rules. + + -- Florian Ragwitz <rafl@debian.org> Sat, 11 Feb 2006 09:41:04 +0100 + +libppi-html-perl (0.03-1) unstable; urgency=low + + * Initial Release. + + -- Chip Salzenberg <chip@debian.org> Thu, 7 Apr 2005 22:20:42 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +11 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000000000000000000000000000000000000..e1b1c270e5d71f97f5c601edb26a119fe4df9eee --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: libppi-html-perl +Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org> +Uploaders: Florian Schlichting <fsfs@debian.org> +Section: perl +Testsuite: autopkgtest-pkg-perl +Priority: optional +Build-Depends: debhelper (>= 11) +Build-Depends-Indep: perl, + libcss-tiny-perl, + libtest-cpan-meta-perl, + libparams-util-perl, + libppi-perl, + libtest-minimumversion-perl, + libtest-pod-perl, + libperl-minimumversion-perl +Standards-Version: 4.1.5 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libppi-html-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libppi-html-perl.git +Homepage: https://metacpan.org/release/PPI-HTML + +Package: libppi-html-perl +Architecture: all +Depends: ${misc:Depends}, + ${perl:Depends}, + libcss-tiny-perl, + libfile-slurp-perl, + libparams-util-perl, + libppi-perl +Description: module to highlight Perl code using PPI + PPI::HTML is a Perl module which uses the PPI (a Perl Parsing Interface, see + libppi-perl) module to create syntax-highlighted HTML documents from Perl + code. It supports extensibility through stylesheets and provides an easy + facility to change colours of your output. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000000000000000000000000000000000000..3e493f5d07c0ed0e59a30708f6c9f38dcbe05a31 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,38 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: PPI-HTML +Upstream-Contact: Adam Kennedy <adamk@cpan.org> +Source: https://metacpan.org/release/PPI-HTML + +Files: * +Copyright: 2005-2009, Adam Kennedy <adamk@cpan.org> +License: Artistic or GPL-1+ + +Files: inc/Module/* +Copyright: 2002-2009, Adam Kennedy <adamk@cpan.org> + 2002-2009, Audrey Tang <autrijus@autrijus.org> + 2002-2009, Brian Ingerson <ingy@cpan.org> +License: Artistic or GPL-1+ + +Files: debian/* +Copyright: 2009, Jonathan Yu <jawnsy@cpan.org> + 2008, Gunnar Wolf <gwolf@debian.org> + 2008, Mark Hymers <mhy@debian.org> + 2006, Florian Ragwitz <rafl@debian.org> + 2005, Chip Salzenberg <chip@debian.org> +License: Artistic or 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 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 systems, the complete text of version 1 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. diff --git a/debian/patches/no-dot-in-inc.patch b/debian/patches/no-dot-in-inc.patch new file mode 100644 index 0000000000000000000000000000000000000000..7a87dba1b1982e6aeb64d8f08016a7d5844f0fb3 --- /dev/null +++ b/debian/patches/no-dot-in-inc.patch @@ -0,0 +1,11 @@ +Description: fix build without . in @INC +Author: Florian Schlichting <fsfs@debian.org> +Bug-Upstream: https://rt.cpan.org/Ticket/Display.html?id=121178 + +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -1,3 +1,4 @@ ++use lib '.'; + use inc::Module::Install; + + name 'PPI-HTML'; diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000000000000000000000000000000000000..edabc39e5cd71561d0d44eedd3e4a23055dd1bb4 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +spelling.patch +no-dot-in-inc.patch diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch new file mode 100644 index 0000000000000000000000000000000000000000..d603834568cc3abc2f83a8a3b5ef9d172bb0145e --- /dev/null +++ b/debian/patches/spelling.patch @@ -0,0 +1,15 @@ +Description: fix typo in POD +Author: Florian Schlichting <fsfs@debian.org> +Forwarded: https://rt.cpan.org/Ticket/Display.html?id=125787 + +--- a/lib/PPI/HTML.pm ++++ b/lib/PPI/HTML.pm +@@ -31,7 +31,7 @@ + While early on it was thought that the same formatting code might be able + to be used for a variety of different types of things (ANSI and HTML for + example) later developments with the here-doc code and the need for +-independantly written serializers meant that this idea had to be discarded. ++independently written serializers meant that this idea had to be discarded. + + In addition, the old module only made use of the Tokenizer, and had a + pretty shit API to boot. diff --git a/debian/ppi2html.pod b/debian/ppi2html.pod new file mode 100644 index 0000000000000000000000000000000000000000..23a20f0aa03be140a6f15949c1b98336b2596662 --- /dev/null +++ b/debian/ppi2html.pod @@ -0,0 +1,27 @@ +=pod + +=head1 NAME + +ppi2html - generate syntax-hightlighted HTML for Perl using PPI + +=head1 SYNOPSIS + +B<ppi2html> I<input-file> [I<output-file>] + +=head1 DESCRIPTION + +Generate syntax-hightlighted HTML for Perl using PPI. + +I<input-file> + +Specifies the file to read the perl code from. + +I<output-file> + +Specifies the output file for the generated HTML. If none is given it appends '.html' to the input-file. + +=head1 AUTHOR + +This manpage was written by Florian Ragwitz E<lt>rafl@debian.orgE<gt> for the Debian GNU/Linux distribution, but may be used by others under the same terms as perl. + +=cut diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000000000000000000000000000000000000..f32c66b3bc4dfeb76d9402773812a29f82d02753 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +%: + dh $@ + +override_dh_auto_test: + AUTOMATED_TESTING=1 dh_auto_test + +override_dh_installman: + dh_installman + mkdir $(TMP)/usr/share/man/man1 + pod2man --release="Debian Project" --center="Debian GNU/Linux manual" \ + --section=1 debian/ppi2html.pod \ + $(TMP)/usr/share/man/man1/ppi2html.1 diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000000000000000000000000000000000000..10ae8fde07fc9635fbdf4d8c06419d01df739252 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +https://metacpan.org/release/PPI-HTML .*/PPI-HTML-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)