Migrated packaging to dh
authorchrisb <chrisb@50ce33af-b6f0-0310-98d5-90f7bd8f5c9c>
Sat, 15 Aug 2009 10:12:17 +0000 (10:12 +0000)
committerchrisb <chrisb@50ce33af-b6f0-0310-98d5-90f7bd8f5c9c>
Sat, 15 Aug 2009 10:12:17 +0000 (10:12 +0000)
debian/changelog
debian/libxmltv-perl.install
debian/rules
debian/xmltv-gui.install
debian/xmltv-util.install

index 1a85b63..178a850 100644 (file)
@@ -8,8 +8,9 @@ xmltv (0.5.56-1) unstable; urgency=low
     for Debian
   * Refreshed nl_icons usage patch
   * Added libdatetime-format-strptime-perl to (Build-)Depends
+  * Migrated packaging to dh
 
- -- Chris Butler <chrisb@debian.org>  Fri, 14 Aug 2009 17:04:01 +0100
+ -- Chris Butler <chrisb@debian.org>  Sat, 15 Aug 2009 11:11:42 +0100
 
 xmltv (0.5.55-1) unstable; urgency=low
 
index 7603983..4bf32b5 100644 (file)
@@ -1,18 +1,18 @@
-debian/tmp/share/perl5/XMLTV.pm                    usr/share/perl5
-debian/tmp/share/perl5/XMLTV                       usr/share/perl5
+debian/tmp/usr/share/perl5/XMLTV.pm                    usr/share/perl5
+debian/tmp/usr/share/perl5/XMLTV                       usr/share/perl5
 xmltv.dtd                                          usr/share/sgml/xmltv/dtd/0.5
 choose/tv_pick/tv_pick_cgi                         usr/share/doc/libxmltv-perl/examples
-debian/tmp/share/man/man3/XMLTV.3pm                usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::Date.3pm          usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::Grab_XML.3pm      usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::Gunzip.3pm        usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::GUI.3pm           usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::Summarize.3pm     usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::ValidateGrabber.3pm   usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::Options.3pm                                   usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::Configure.3pm                         usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::ValidateFile.3pm                      usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::Configure::Writer.3pm                 usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::Version.3pm                   usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::PreferredMethod.3pm                   usr/share/man/man3
-debian/tmp/share/man/man3/XMLTV::Supplement.3pm                 usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV.3pm                usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::Date.3pm          usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::Grab_XML.3pm      usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::Gunzip.3pm        usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::GUI.3pm           usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::Summarize.3pm     usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::ValidateGrabber.3pm       usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::Options.3pm                                       usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::Configure.3pm                             usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::ValidateFile.3pm                  usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::Configure::Writer.3pm                     usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::Version.3pm                       usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::PreferredMethod.3pm                       usr/share/man/man3
+debian/tmp/usr/share/man/man3/XMLTV::Supplement.3pm             usr/share/man/man3
index 2b8c326..9e02daf 100755 (executable)
@@ -1,56 +1,23 @@
 #!/usr/bin/make -f
 
-# include quilt
-include /usr/share/quilt/quilt.make
-
 PERL=/usr/bin/perl
 
-binary: binary-indep
+%:
+       dh --with quilt $@
 
-binary-indep: build install
-       dh_testdir
-       dh_testroot
+override_dh_installchangelogs:
        dh_installchangelogs -A ChangeLog  # all packages get the upstream changelog
-       dh_installdocs -A                  # see *.docs for more information
-       dh_install --fail-missing          # see *.install for more information
-       dh_strip
-       dh_fixperms
-       dh_compress
-       dh_installdeb
-       dh_perl
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
 
-install: build
-       dh_testdir
-       dh_testroot
-       dh_installdirs
-       $(MAKE) install INSTALLDIRS=vendor PREFIX=$(CURDIR)/debian/tmp    # Give install process "temporary" prefix
-#      sh debian/fix_manpages                                            # Fix certain illegal characters in manpages
-       rm -rf $(CURDIR)/debian/tmp/share/doc/xmltv-*                     # We'll install our own documentation
+override_dh_install:
+       rm -rf $(CURDIR)/debian/tmp/usr/share/doc/xmltv-*                     # We'll install our own documentation
+       dh_install --fail-missing          # see *.install for more information
 
-build: patch configure build-stamp
-build-stamp: 
-       dh_testdir
-       $(MAKE)
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-       $(MAKE) test
-endif
-       touch build-stamp
+#install: build
+#      dh_testdir
+#      dh_testroot
+#      dh_installdirs
+#      $(MAKE) install INSTALLDIRS=vendor PREFIX=$(CURDIR)/debian/tmp    # Give install process "temporary" prefix
+##     sh debian/fix_manpages                                            # Fix certain illegal characters in manpages
 
-configure: configure-stamp
-configure-stamp:
-       dh_testdir
+override_dh_auto_configure:
        $(PERL) Makefile.PL --yes --strict-deps INSTALLDIRS=vendor PREFIX=/usr   # Give configure process "real" prefix
-       touch configure-stamp
-
-clean: clean-patched unpatch
-clean-patched:
-       dh_testdir
-       dh_testroot
-       if [ -e Makefile ]; then $(MAKE) -i distclean; fi
-       rm -f build-stamp configure-stamp
-       dh_clean
-
-.PHONY: binary binary-indep install build configure clean
index 1aac264..8316b09 100644 (file)
@@ -1,2 +1,2 @@
-debian/tmp/bin/tv_check                         usr/bin
-debian/tmp/share/man/man1/tv_check.1p           usr/share/man/man1
+debian/tmp/usr/bin/tv_check                         usr/bin
+debian/tmp/usr/share/man/man1/tv_check.1p           usr/share/man/man1
index a273838..6e6cda0 100644 (file)
@@ -1,79 +1,79 @@
-debian/tmp/bin/tv_cat                           usr/bin
-debian/tmp/bin/tv_extractinfo_ar                usr/bin
-debian/tmp/bin/tv_extractinfo_en                usr/bin
-debian/tmp/bin/tv_find_grabbers                 usr/bin
-debian/tmp/bin/tv_grab_ar                       usr/bin
-debian/tmp/bin/tv_grab_ch_search               usr/bin
-debian/tmp/bin/tv_grab_combiner               usr/bin
-debian/tmp/bin/tv_grab_dk_dr                       usr/bin
-debian/tmp/bin/tv_grab_dtv_la                       usr/bin
-debian/tmp/bin/tv_grab_ee                       usr/bin
-debian/tmp/bin/tv_grab_es_laguiatv                                                     usr/bin
-debian/tmp/bin/tv_grab_es_miguiatv                                                     usr/bin
-debian/tmp/bin/tv_grab_eu_epgdata usr/bin
-debian/tmp/bin/tv_grab_fi                       usr/bin
-debian/tmp/bin/tv_grab_fr                       usr/bin
-debian/tmp/bin/tv_grab_hr                       usr/bin
-debian/tmp/bin/tv_grab_huro                     usr/bin
-debian/tmp/bin/tv_grab_is                       usr/bin
-debian/tmp/bin/tv_grab_it                       usr/bin
-debian/tmp/bin/tv_grab_na_dd                    usr/bin
-debian/tmp/bin/tv_grab_na_dtv usr/bin
-debian/tmp/bin/tv_grab_na_icons                 usr/bin
-debian/tmp/bin/tv_grab_no_gfeed                       usr/bin
-debian/tmp/bin/tv_grab_pt                       usr/bin
-debian/tmp/bin/tv_grab_re                       usr/bin
-debian/tmp/bin/tv_grab_se_swedb                 usr/bin
-debian/tmp/bin/tv_grab_uk_bleb                  usr/bin
-debian/tmp/bin/tv_grab_uk_rt                    usr/bin
-debian/tmp/bin/tv_grab_za                       usr/bin
-debian/tmp/bin/tv_grep                          usr/bin
-debian/tmp/bin/tv_imdb                          usr/bin
-debian/tmp/bin/tv_remove_some_overlapping       usr/bin
-debian/tmp/bin/tv_sort                          usr/bin
-debian/tmp/bin/tv_split                         usr/bin
-debian/tmp/bin/tv_to_latex                      usr/bin
-debian/tmp/bin/tv_to_potatoe                    usr/bin
-debian/tmp/bin/tv_to_text                       usr/bin
-debian/tmp/bin/tv_validate_file                 usr/bin
-debian/tmp/bin/tv_validate_grabber              usr/bin
-debian/tmp/share/man/man1/tv_cat.1p             usr/share/man/man1
-debian/tmp/share/man/man1/tv_extractinfo_ar.1p  usr/share/man/man1
-debian/tmp/share/man/man1/tv_extractinfo_en.1p  usr/share/man/man1
-debian/tmp/share/man/man1/tv_find_grabbers.1p   usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_ar.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_ch_search.1p usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_combiner.1p usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_dk_dr.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_dtv_la.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_ee.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_es_laguiatv.1p       usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_es_miguiatv.1p       usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_eu_epgdata.1p usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_fi.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_fr.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_hr.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_huro.1p       usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_is.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_it.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_na_dd.1p      usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_na_dtv.1p usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_na_icons.1p   usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_no_gfeed.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_pt.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_re.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_se_swedb.1p   usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_uk_bleb.1p    usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_uk_rt.1p      usr/share/man/man1
-debian/tmp/share/man/man1/tv_grab_za.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_grep.1p            usr/share/man/man1
-debian/tmp/share/man/man1/tv_imdb.1p            usr/share/man/man1
-debian/tmp/share/man/man1/tv_remove_some_overlapping.1p usr/share/man/man1
-debian/tmp/share/man/man1/tv_sort.1p            usr/share/man/man1
-debian/tmp/share/man/man1/tv_split.1p           usr/share/man/man1
-debian/tmp/share/man/man1/tv_to_latex.1p        usr/share/man/man1
-debian/tmp/share/man/man1/tv_to_potatoe.1p      usr/share/man/man1
-debian/tmp/share/man/man1/tv_to_text.1p         usr/share/man/man1
-debian/tmp/share/man/man1/tv_validate_file.1p   usr/share/man/man1
-debian/tmp/share/man/man1/tv_validate_grabber.1p usr/share/man/man1
-debian/tmp/share/xmltv                          usr/share
+debian/tmp/usr/bin/tv_cat                           usr/bin
+debian/tmp/usr/bin/tv_extractinfo_ar                usr/bin
+debian/tmp/usr/bin/tv_extractinfo_en                usr/bin
+debian/tmp/usr/bin/tv_find_grabbers                 usr/bin
+debian/tmp/usr/bin/tv_grab_ar                       usr/bin
+debian/tmp/usr/bin/tv_grab_ch_search               usr/bin
+debian/tmp/usr/bin/tv_grab_combiner               usr/bin
+debian/tmp/usr/bin/tv_grab_dk_dr                       usr/bin
+debian/tmp/usr/bin/tv_grab_dtv_la                       usr/bin
+debian/tmp/usr/bin/tv_grab_ee                       usr/bin
+debian/tmp/usr/bin/tv_grab_es_laguiatv                                                 usr/bin
+debian/tmp/usr/bin/tv_grab_es_miguiatv                                                 usr/bin
+debian/tmp/usr/bin/tv_grab_eu_epgdata usr/bin
+debian/tmp/usr/bin/tv_grab_fi                       usr/bin
+debian/tmp/usr/bin/tv_grab_fr                       usr/bin
+debian/tmp/usr/bin/tv_grab_hr                       usr/bin
+debian/tmp/usr/bin/tv_grab_huro                     usr/bin
+debian/tmp/usr/bin/tv_grab_is                       usr/bin
+debian/tmp/usr/bin/tv_grab_it                       usr/bin
+debian/tmp/usr/bin/tv_grab_na_dd                    usr/bin
+debian/tmp/usr/bin/tv_grab_na_dtv usr/bin
+debian/tmp/usr/bin/tv_grab_na_icons                 usr/bin
+debian/tmp/usr/bin/tv_grab_no_gfeed                       usr/bin
+debian/tmp/usr/bin/tv_grab_pt                       usr/bin
+debian/tmp/usr/bin/tv_grab_re                       usr/bin
+debian/tmp/usr/bin/tv_grab_se_swedb                 usr/bin
+debian/tmp/usr/bin/tv_grab_uk_bleb                  usr/bin
+debian/tmp/usr/bin/tv_grab_uk_rt                    usr/bin
+debian/tmp/usr/bin/tv_grab_za                       usr/bin
+debian/tmp/usr/bin/tv_grep                          usr/bin
+debian/tmp/usr/bin/tv_imdb                          usr/bin
+debian/tmp/usr/bin/tv_remove_some_overlapping       usr/bin
+debian/tmp/usr/bin/tv_sort                          usr/bin
+debian/tmp/usr/bin/tv_split                         usr/bin
+debian/tmp/usr/bin/tv_to_latex                      usr/bin
+debian/tmp/usr/bin/tv_to_potatoe                    usr/bin
+debian/tmp/usr/bin/tv_to_text                       usr/bin
+debian/tmp/usr/bin/tv_validate_file                 usr/bin
+debian/tmp/usr/bin/tv_validate_grabber              usr/bin
+debian/tmp/usr/share/man/man1/tv_cat.1p             usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_extractinfo_ar.1p  usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_extractinfo_en.1p  usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_find_grabbers.1p   usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_ar.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_ch_search.1p usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_combiner.1p usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_dk_dr.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_dtv_la.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_ee.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_es_laguiatv.1p   usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_es_miguiatv.1p   usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_eu_epgdata.1p usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_fi.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_fr.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_hr.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_huro.1p       usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_is.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_it.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_na_dd.1p      usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_na_dtv.1p usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_na_icons.1p   usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_no_gfeed.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_pt.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_re.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_se_swedb.1p   usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_uk_bleb.1p    usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_uk_rt.1p      usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grab_za.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_grep.1p            usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_imdb.1p            usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_remove_some_overlapping.1p usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_sort.1p            usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_split.1p           usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_to_latex.1p        usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_to_potatoe.1p      usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_to_text.1p         usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_validate_file.1p   usr/share/man/man1
+debian/tmp/usr/share/man/man1/tv_validate_grabber.1p usr/share/man/man1
+debian/tmp/usr/share/xmltv                          usr/share