Package: code2html Version: 0.9.1-4 Followup-For: Bug #808637 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu yakkety ubuntu-patch
Dear Maintainer, In Ubuntu, the attached patch was applied to achieve the following: * debian/rules: Convert to dh sequencer. * debian/compat: Specify compatibility level of 9. * debian/control: - Build-depend on debhelper (>= 9). - Depend on ${misc:Depends} and ${perl:Depends}. * debian/install: Install code2html to /usr/bin. * debian/code2html.manpages: Install code2html.1. Thanks for considering the patch. Logan Rosen -- System Information: Debian Release: stretch/sid APT prefers xenial-updates APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0-21-generic (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -u code2html-0.9.1/debian/control code2html-0.9.1/debian/control --- code2html-0.9.1/debian/control +++ code2html-0.9.1/debian/control @@ -3,10 +3,11 @@ Priority: optional Maintainer: Peter Palfrader <wea...@debian.org> Standards-Version: 3.7.2 -Build-Depends: debhelper (>= 4) +Build-Depends: debhelper (>= 9) Package: code2html Architecture: all +Depends: ${misc:Depends}, ${perl:Depends} Description: Syntax highlighter Code2html is a perl script which converts a program source code to syntax highlighted HTML, or any other target for which rules are diff -u code2html-0.9.1/debian/rules code2html-0.9.1/debian/rules --- code2html-0.9.1/debian/rules +++ code2html-0.9.1/debian/rules @@ -2,38 +2,2 @@ - -#export DH_VERBOSE=1 -export DH_COMPAT=4 - -build: -clean: - dh_testdir - dh_testroot - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - install -m 755 code2html `pwd`/debian/code2html/usr/bin/code2html - - -binary-indep: build install - dh_testdir - dh_testroot - dh_installdocs - dh_installexamples - dh_installmenu - dh_installmanpages - dh_installchangelogs ChangeLog - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary-arch: build install -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install +%: + dh $@ only in patch2: unchanged: --- code2html-0.9.1.orig/debian/code2html.manpages +++ code2html-0.9.1/debian/code2html.manpages @@ -0,0 +1 @@ +code2html.1 only in patch2: unchanged: --- code2html-0.9.1.orig/debian/compat +++ code2html-0.9.1/debian/compat @@ -0,0 +1 @@ +9 only in patch2: unchanged: --- code2html-0.9.1.orig/debian/install +++ code2html-0.9.1/debian/install @@ -0,0 +1 @@ +code2html usr/bin