--- libhtml-calendarmonth-perl-1.26.orig/lib/HTML/CalendarMonth.pm +++ libhtml-calendarmonth-perl-1.26/lib/HTML/CalendarMonth.pm @@ -975,6 +975,10 @@ ); print $c2->as_HTML; + # Full locale support via DateTime::Locale + $c3 = HTML::CalendarMonth->new( month => 8, year => 79, locale => 'fr' ); + print $c3->as_HTML + # HTML-Tree integration my $tree = HTML::TreeBuilder->parse_file('cal.html'); $tree->find_by_attribute(class => 'hcm-calendar')->replace_with($c); @@ -1003,7 +1007,7 @@ years and particular months change frequently, it is probably more useful to take advantage of the C and C methods, which return their respective values. The following is therefore the same as -explicitely referencing the year: C<$c-Eitem($c- Eyear())>. +explicitly referencing the year: C<$c-Eitem($c- Eyear())>. Multiple cells of the calendar can be manipulated as if they were a single element. For instance, C<$c-Eitem(15)-Eattr(class =E --- libhtml-calendarmonth-perl-1.26.orig/lib/HTML/CalendarMonth/Locale.pm +++ libhtml-calendarmonth-perl-1.26/lib/HTML/CalendarMonth/Locale.pm @@ -300,8 +300,6 @@ Constructor. Takes the following parameters: -=over - =item id Locale id, e.g. 'en_US'. @@ -316,8 +314,6 @@ Specifies whether full month names or their abbreviations are desired. Default 1, use full months. -=back - =item id() Returns the locale id used during object construction. --- libhtml-calendarmonth-perl-1.26.orig/debian/watch +++ libhtml-calendarmonth-perl-1.26/debian/watch @@ -0,0 +1,3 @@ +# format version number, currently 2; this line is compulsory! +version=2 +http://www.perl.com/CPAN/authors/id/M/MS/MSISK/HTML-CalendarMonth-([\d\.]+).tar.gz --- libhtml-calendarmonth-perl-1.26.orig/debian/control +++ libhtml-calendarmonth-perl-1.26/debian/control @@ -0,0 +1,17 @@ +Source: libhtml-calendarmonth-perl +Section: perl +Priority: extra +Standards-Version: 3.9.2 +Maintainer: Don Armstrong +Build-Depends: debhelper (>= 7) +Build-Depends-Indep: libhtml-element-extended-perl (>=1.18-0), libdatetime-locale-perl, libclass-accessor-perl, libdate-calc-perl, libdate-manip-perl, libdatetime-perl, libfile-which-perl + +Package: libhtml-calendarmonth-perl +Architecture: all +Depends: ${perl:Depends}, ${misc:Depends}, libhtml-element-extended-perl (>=1.18-0), libdatetime-locale-perl, libdate-calc-perl|libdate-manip-perl|libdatetime-perl, libclass-accessor-perl, libfile-which-perl +Description: generate and manipulate calandar months in HTML + This module enables you to generate and manipulate calendar + months in HTML. + . + Useful for making calendars to display in web pages and other similar + tasks. --- libhtml-calendarmonth-perl-1.26.orig/debian/copyright +++ libhtml-calendarmonth-perl-1.26/debian/copyright @@ -0,0 +1,11 @@ +Author: Mathew P. Sisk +Webpage: http://www.mojotoad.com/sisk/projects/HTML-CalendarMonth/ +Download: http://www.cpan.org/authors/id/M/MS/MSISK/HTML-CalendarMonth-1.15.tar.gz +Debianized: Don Armstrong Sun, 23 Jun 2002 01:47:35 -0700 + svn://svn.donarmstrong.com/deb_pkgs/libhtml-calendarmonth-perl + +Copyright: Copyright (c) 1999-2002 Matthew P. Sisk. All rights +reserved. All wrongs revenged. This program is free software; you can +redistribute it and/or modify it under the same terms as Perl itself. + +License: GPL, Artistic, available at /usr/share/common-licenses/{GPL,Artistic} \ No newline at end of file --- libhtml-calendarmonth-perl-1.26.orig/debian/compat +++ libhtml-calendarmonth-perl-1.26/debian/compat @@ -0,0 +1 @@ +7 --- libhtml-calendarmonth-perl-1.26.orig/debian/changelog +++ libhtml-calendarmonth-perl-1.26/debian/changelog @@ -0,0 +1,84 @@ +libhtml-calendarmonth-perl (1.26-1) unstable; urgency=low + + * New upstream release + + -- Don Armstrong Thu, 22 Sep 2011 14:23:16 -0700 + +libhtml-calendarmonth-perl (1.25-1) unstable; urgency=low + + * New upstream release + - Handle upstream changes in HTML::Tree to avoid test failures + (closes: #613391); thanks to Matt Kraai for pointing out the + patch. + + -- Don Armstrong Wed, 16 Feb 2011 19:40:20 -0800 + +libhtml-calendarmonth-perl (1.19-2) unstable; urgency=low + + * Fix FTBFS caused by new version of Date::Manip (closes: 571421) + * Bumb standards version; no changes needed + * Require debhelper 7 + * Fix some minor POD errors + + -- Don Armstrong Fri, 26 Feb 2010 13:08:35 -0800 + +libhtml-calendarmonth-perl (1.19-1) unstable; urgency=low + + * New upstream release + * Update standards version; no changes necessary + * Clean up binary-arch: target + + -- Don Armstrong Thu, 19 Jun 2008 12:16:15 -0700 + +libhtml-calendarmonth-perl (1.18-4) unstable; urgency=low + + * Handle a non-existent /usr/lib/perl5 properly (for perl 5.10) + + -- Don Armstrong Wed, 16 Jan 2008 15:10:39 -0800 + +libhtml-calendarmonth-perl (1.18-3) unstable; urgency=low + + * Disable the 20_i18n test of the basque locale which has been broken by + a buggy basque locale in DateTime::Locale (#453368), causing us to + FTBFS (closes: #453225) + + -- Don Armstrong Wed, 28 Nov 2007 21:21:39 -0800 + +libhtml-calendarmonth-perl (1.18-2) unstable; urgency=low + + * Fix test comparsion to handle changes in HTML::Table (closes: #420048) + * Add missing = in HTML::CalenderMonth pod (closes: #394126) + + -- Don Armstrong Mon, 23 Apr 2007 17:51:26 -0700 + +libhtml-calendarmonth-perl (1.18-1) unstable; urgency=low + + * New upstream release + * Change priority to extra as it should have been originally + + -- Don Armstrong Tue, 28 Feb 2006 20:26:10 -0800 + +libhtml-calendarmonth-perl (1.17-1) unstable; urgency=low + + * New upstream release + + -- Don Armstrong Mon, 6 Feb 2006 17:59:11 -0800 + +libhtml-calendarmonth-perl (1.16-1) unstable; urgency=low + + * New upstream release + + -- Don Armstrong Wed, 4 Jan 2006 16:23:00 -0800 + +libhtml-calendarmonth-perl (1.15-1) unstable; urgency=low + + * New upstream release (Closes: #329554) + * patch lib/HTML/CalendarMonth.pm to fix the useless use of + in void context warning + + -- Don Armstrong Sun, 25 Sep 2005 03:35:12 -0700 + +libhtml-calendarmonth-perl (1.09-1) unstable; urgency=low + + * First Packaging (Closes: #150121). + + -- Don Armstrong Mon, 10 Jun 2002 21:53:52 -0700 --- libhtml-calendarmonth-perl-1.26.orig/debian/rules +++ libhtml-calendarmonth-perl-1.26/debian/rules @@ -0,0 +1,68 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DESTDIR=$(CURDIR)/debian/$(shell dh_listpackages|head -n 1) + +build-arch: build +build-indep: build + +build: build-stamp +build-stamp: + dh_testdir + + perl Makefile.PL INSTALLDIRS=vendor + $(MAKE) + + touch $@ + +test: test-stamp +test-stamp: + dh_testdir + $(MAKE) test + touch $@ + + +clean: + dh_testdir + dh_testroot + rm -f build-stamp test-stamp + + if [ -e Makefile ]; then $(MAKE) distclean; fi + + dh_clean + +install: build test + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) install PREFIX=$(DESTDIR)/usr + [ ! -d $(DESTDIR)/usr/lib/perl5 ] || \ + rmdir -p --ignore-fail-on-non-empty $(DESTDIR)/usr/lib/perl5 + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libhtml-calendarmonth-perl-1.26.orig/debian/source/format +++ libhtml-calendarmonth-perl-1.26/debian/source/format @@ -0,0 +1 @@ +1.0 \ No newline at end of file