--- libhtml-popuptreeselect-perl-1.6.orig/debian/README.source
+++ libhtml-popuptreeselect-perl-1.6/debian/README.source
@@ -0,0 +1,58 @@
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+To configure quilt to use debian/patches instead of patches, you want
+either to export QUILT_PATCHES=debian/patches in your environment
+or use this snippet in your ~/.quiltrc:
+
+ for where in ./ ../ ../../ ../../../ ../../../../ ../../../../../; do
+ if [ -e ${where}debian/rules -a -d ${where}debian/patches ]; then
+ export QUILT_PATCHES=debian/patches
+ break
+ fi
+ done
+
+To get the fully patched source after unpacking the source package, cd to
+the root level of the source package and run:
+
+ quilt push -a
+
+The last patch listed in debian/patches/series will become the current
+patch.
+
+To add a new set of changes, first run quilt push -a, and then run:
+
+ quilt new
+
+where is a descriptive name for the patch, used as the filename in
+debian/patches. Then, for every file that will be modified by this patch,
+run:
+
+ quilt add
+
+before editing those files. You must tell quilt with quilt add what files
+will be part of the patch before making changes or quilt will not work
+properly. After editing the files, run:
+
+ quilt refresh
+
+to save the results as a patch.
+
+Alternately, if you already have an external patch and you just want to
+add it to the build system, run quilt push -a and then:
+
+ quilt import -P /path/to/patch
+ quilt push -a
+
+(add -p 0 to quilt import if needed). as above is the filename to
+use in debian/patches. The last quilt push -a will apply the patch to
+make sure it works properly.
+
+To remove an existing patch from the list of patches that will be applied,
+run:
+
+ quilt delete
+
+You may need to run quilt pop -a to unapply patches first before running
+this command.
--- libhtml-popuptreeselect-perl-1.6.orig/debian/changelog
+++ libhtml-popuptreeselect-perl-1.6/debian/changelog
@@ -0,0 +1,70 @@
+libhtml-popuptreeselect-perl (1.6-7.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix "Removal of obsolete debhelper compat 5 and 6 in bookworm":
+ Bump to 7 in debian/{compat,control}.
+ (Closes: #965643)
+
+ -- gregor herrmann Sun, 26 Dec 2021 23:42:15 +0100
+
+libhtml-popuptreeselect-perl (1.6-7.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix "missing dependency on libhtml-template-perl":
+ add libhtml-template-perl to Depends.
+ (Closes: #896549)
+
+ -- gregor herrmann Tue, 01 May 2018 17:59:05 +0200
+
+libhtml-popuptreeselect-perl (1.6-7) unstable; urgency=low
+
+ * Bump Standards-Version to 3.9.3
+ * Move repository to svn.debian.org
+ - svn://svn.debian.org/svn/collab-maint/deb-maint/libhtml-popuptreeselect-perl
+
+ -- Taku YASUI Wed, 28 Mar 2012 03:06:35 +0900
+
+libhtml-popuptreeselect-perl (1.6-6) unstable; urgency=low
+
+ * Replace deprecated cdbs makefile
+ * Remove module version dependency for HTML::Template 2.6
+ - Perl does not recognize 2.10 is newer than 2.6
+ - Add version dependency into Build-Depends line of the package
+
+ -- Taku YASUI Sun, 18 Dec 2011 12:48:55 +0900
+
+libhtml-popuptreeselect-perl (1.6-5) unstable; urgency=low
+
+ * Remove URL from long description and append short phrase.
+ (closes: #527228)
+
+ -- Taku YASUI Sun, 14 Nov 2010 01:10:28 +0900
+
+libhtml-popuptreeselect-perl (1.6-4) unstable; urgency=low
+
+ * Fix Build-Depends:
+ - Add libhtml-template-perl
+ (closes: #525581)
+
+ -- Taku YASUI Sun, 26 Apr 2009 04:37:11 +0900
+
+libhtml-popuptreeselect-perl (1.6-3) unstable; urgency=low
+
+ * Change maintainer email address
+ * Initial upload to debian official archive
+ (closes: #523067)
+
+ -- Taku YASUI Thu, 16 Apr 2009 00:47:23 +0900
+
+libhtml-popuptreeselect-perl (1.6-2) unstable; urgency=low
+
+ * Rebuild for etch
+
+ -- Taku YASUI Wed, 16 May 2007 20:38:06 +0900
+
+libhtml-popuptreeselect-perl (1.6-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Tatsuki Sugiura Fri, 21 Apr 2006 09:56:22 +0000
+
--- libhtml-popuptreeselect-perl-1.6.orig/debian/compat
+++ libhtml-popuptreeselect-perl-1.6/debian/compat
@@ -0,0 +1 @@
+7
--- libhtml-popuptreeselect-perl-1.6.orig/debian/control
+++ libhtml-popuptreeselect-perl-1.6/debian/control
@@ -0,0 +1,19 @@
+Source: libhtml-popuptreeselect-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 7.0.0), cdbs, quilt
+Build-Depends-Indep: perl (>= 5.8.0-7), libhtml-template-perl (>= 2.6)
+Maintainer: Taku YASUI
+HomePage: http://search.cpan.org/dist/HTML-PopupTreeSelect/
+Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/libhtml-popuptreeselect-perl
+Vcs-Browser: http://anonscm.debian.org/viewvc/collab-maint/deb-maint/libhtml-popuptreeselect-perl
+Standards-Version: 3.9.3
+
+Package: libhtml-popuptreeselect-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, libhtml-template-perl (>= 2.6)
+Description: Perl module for HTML popup tree widget
+ This module creates an HTML popup tree selector. The HTML and
+ Javascript produced will work in Mozilla 1+ (Netscape 6+) on all
+ operating systems, Microsoft IE 5+ and Safari 1.0. The design of
+ these widgets are based on the xTree widget from WebFX.
--- libhtml-popuptreeselect-perl-1.6.orig/debian/copyright
+++ libhtml-popuptreeselect-perl-1.6/debian/copyright
@@ -0,0 +1,22 @@
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=228
+Upstream-Maintainer: Sam Tregar
+Upstream-Source: http://search.cpan.org/dist/HTML-PopupTreeSelect/
+Upstream-Name: HTML::PopupTreeSelect
+
+Files: *
+Copyright: Copyright (C) 2003, 2004 Sam Tregar
+License: GPL-1+ | Artistic
+ This library 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'.
+
+Files: debian/*
+Copyright: Taku YASUI
+License: GPL-1+ | Artistic
+ It is assumed that all contributors put their work under the same license
+ as the module itself.
--- libhtml-popuptreeselect-perl-1.6.orig/debian/patches/010_remove_module_version_dependency
+++ libhtml-popuptreeselect-perl-1.6/debian/patches/010_remove_module_version_dependency
@@ -0,0 +1,11 @@
+--- a/PopupTreeSelect.pm
++++ b/PopupTreeSelect.pm
+@@ -4,7 +4,7 @@
+ use warnings;
+
+ use Carp qw(croak);
+-use HTML::Template 2.6;
++use HTML::Template;
+
+ our $VERSION = "1.6";
+ our $TEMPLATE_SRC;
--- libhtml-popuptreeselect-perl-1.6.orig/debian/patches/series
+++ libhtml-popuptreeselect-perl-1.6/debian/patches/series
@@ -0,0 +1 @@
+010_remove_module_version_dependency
--- libhtml-popuptreeselect-perl-1.6.orig/debian/rules
+++ libhtml-popuptreeselect-perl-1.6/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/perl-makemaker.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+binary-install/libhtml-popuptreeselect-perl::
+ cp -r images $(DEB_DESTDIR)/usr/share/doc/$(cdbs_curpkg)
--- libhtml-popuptreeselect-perl-1.6.orig/debian/watch
+++ libhtml-popuptreeselect-perl-1.6/debian/watch
@@ -0,0 +1,5 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+# URL to the package page followed by a regex to search
+http://search.cpan.org/dist/HTML-PopupTreeSelect/ .*/HTML-PopupTreeSelect-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+~