[SCM] Debian packaging of libcgi-xmlapplication-perl branch, master, updated. defe7a480686d3b1d2aeb98e0986d62dbb5b3eff

Fabrizio Regalli fabreg at fabreg.it
Wed Sep 14 17:03:21 UTC 2011


The following commit has been merged in the master branch:
commit defe7a480686d3b1d2aeb98e0986d62dbb5b3eff
Author: Fabrizio Regalli <fabreg at fabreg.it>
Date:   Wed Sep 14 19:03:09 2011 +0200

    Added myself to Uploaders and Copyright.
    
    * Added myself to Uploaders and Copyright.
    * Added 01-fix-spelling-error.diff.
    * Moved d/rules to three lines standard version.

diff --git a/debian/changelog b/debian/changelog
index 273c962..d4bb617 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -27,7 +27,9 @@ libcgi-xmlapplication-perl (1.1.3-7) UNRELEASED; urgency=low
   [ Fabrizio Regalli ]
   * Bump to 3.9.2 Standard-Version.
   * Switch to DEP5 license format.
-  * Added myself to Uploaders.
+  * Added myself to Uploaders and Copyright.
+  * Added 01-fix-spelling-error.diff.
+  * Moved d/rules to three lines standard version.
 
   [ Ansgar Burchardt ]
   * debian/control: Convert Vcs-* fields to Git.
diff --git a/debian/copyright b/debian/copyright
index 2f9e9ff..5a4a364 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -9,6 +9,7 @@ License: Artistic or GPL-1+
 
 Files: debian/*
 Copyright: 2001, Ardo van Rangelrooij <ardo at debian.org>
+           2011, Fabrizio Regalli <fabreg at fabreg.it>
 License: Artistic or GPL-1+
 
 License: Artistic
diff --git a/debian/libcgi-xmlapplication-perl.examples b/debian/libcgi-xmlapplication-perl.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/libcgi-xmlapplication-perl.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/patches/01-fix-spelling-error.diff b/debian/patches/01-fix-spelling-error.diff
new file mode 100644
index 0000000..eb629f9
--- /dev/null
+++ b/debian/patches/01-fix-spelling-error.diff
@@ -0,0 +1,141 @@
+Description: fix man page
+Author: Fabrizio Regalli <fabreg at fabreg.it>
+Forwarded: not-needed
+
+--- a/XMLApplication.pm
++++ b/XMLApplication.pm
+@@ -484,7 +484,7 @@
+ content deliverment.
+ 
+ As well CGI::XMLApplication is designed to support project management
+-on code level. The class allows to split web applications into several
++on code level. The class allows one to split web applications into several
+ simple parts. Through this most of the code stays simple and easy to
+ maintain. Throughout the whole runtime of a script
+ CGI::XMLApplication tries to keep the application stable. As well a
+@@ -523,7 +523,7 @@
+ event system, that allows to keep event related code as separated as
+ possible.
+ 
+-Therefore final application class is not ment to have a constructor
++Therefore final application class is not meant to have a constructor
+ anymore. All functionality should be encapsulated into implicit or
+ explicit event handlers. Because of a lack in Perl's OO implementation
+ the call of a superclass constructor before the current constructor
+@@ -688,7 +688,7 @@
+ to any kind of display type, there should be no need to override this
+ function. One can pass a context hash or context object, to pass external
+ or prefetched information to the application. This context will be
+-available and acessable in all events and most extra functions.
++available and accessible in all events and most extra functions.
+ 
+ This function does all event and serialization related work. As well
+ there is some validation done as well, so catched events, that are not
+@@ -756,8 +756,8 @@
+ 
+ To make it clear: If CGI::XMLApplication throws a panic, the
+ application is broken, not completely implemented or stylesheets are
+-missing or broken. Application panics are ment for debugging purposes
+-and to avoid I<Internal Server Errors>. They are B<not> ment as a
++missing or broken. Application panics are meant for debugging purposes
++and to avoid I<Internal Server Errors>. They are B<not> meant as a
+ replacement of a propper error handling!
+ 
+ But how does CGI::XMLApplication know about the correct event handler?
+@@ -813,7 +813,7 @@
+ 
+ =item method sendEvent SCALAR
+ 
+-Sometimes it could be neccessary to send an event by your own (the
++Sometimes it could be necessary to send an event by your own (the
+ script's) initiative. A possible example could be if you don't have
+ client input but path_info data, which determinates how the script
+ should behave or session information is missing, so the client should
+@@ -875,7 +875,7 @@
+ CGI::XMLApplication knows three implicit events which are more or less
+ independent to client responses: They are 'init', 'exit', and
+ 'default'. These events already exist for any
+-CGI::XMLApplication. They need not to be implemented separatly if they
++CGI::XMLApplication. They need not to be implemented separately if they
+ make no sense for the application.
+ 
+ =over 4
+@@ -896,7 +896,7 @@
+ =item event_default
+ 
+ This event is called as a fallback mechanism if CGI::XMLApplication
+-did not receive a stylesheet id by an other event handler; for example
++did not receive a stylesheet id by another event handler; for example
+ if no event matched.
+ 
+ =back
+@@ -994,7 +994,7 @@
+ or remove cookies. The keys of the hash must be the same as the named
+ parameters of CGI.pm's header method. One does not need to care about
+ the output of these headers, this is done by CGI::XMLApplication
+-automaticly.
++automatically.
+ 
+ The content type of the returned data is usually not required to be
+ set this way, since the XSLT processor knows about the content type,
+@@ -1005,7 +1005,7 @@
+ If the B<getStylesheet> is implemented the CGI::XMLApplication will
+ assume the returned value either as a filename of a stylesheet or as a
+ XML DOM representation of the same. If Stylesheets are stored in a
+-file accessable from the , one should set the common path for the
++file accessible from the , one should set the common path for the
+ stylesheets and let B<CGI::XMLApplication> do the parsing job.
+ 
+ In cases the stylesheet is already present as a string (e.g. as a
+@@ -1018,14 +1018,14 @@
+ If none of these stylesheet selectors succeeds the I<Stylesheet
+ missing> panic code is thrown. If the parsing of the stylesheet XML
+ fails I<Stylesheet not available> is thrown. The latter case will also
+-give some informations where the stylesheet selection failed.
++give some information where the stylesheet selection failed.
+ 
+ B<selectStylesheet()> has to return a valid path/filename for the
+ stylesheet requested.
+ 
+ =item getXSLTParameter()
+ 
+-This function allows to pass a set of parameters to XML::LibXSLT's xsl
++This function allows one to pass a set of parameters to XML::LibXSLT's xsl
+ processor. The function needs only to return a hash and does not need
+ to encode the parameters.
+ 
+@@ -1066,7 +1066,7 @@
+ interpreted as just described.
+ 
+ If an application sets passthru by itself any external 'passthru'
+-parameter will be lost. This is usefull if one likes to avoid, someone
++parameter will be lost. This is useful if one likes to avoid, someone
+ can fetch the plain (untransformed) XML Data.
+ 
+ 
+@@ -1096,14 +1096,14 @@
+ This function searches the query string for a parameter with the
+ passed name. The implementation is "imagesave" meaning there is no
+ change in the code needed, if you switch from input.type=submit to
+-input.type=image or vv. The algorithm tests wheter a full name is
++input.type=image or vv. The algorithm tests whether a full name is
+ found in the querystring, if not it tries tests for the name expanded
+ by a '.x'. In context of events this function interprets each item
+ part in the query string list as an event. Because of that, the
+ algorithm returns only the first item matched.
+ 
+ If you use the event interface on this function, make sure, the
+-HTML-forms pass unique events to the script. This is neccessary to
++HTML-forms pass unique events to the script. This is necessary to
+ avoid confusing behaviour.
+ 
+ This function is used by testEvent() so if it is required to change
+@@ -1114,7 +1114,7 @@
+ This a simple error message handler. By default this function will
+ print some information to the client where the application
+ failed. While development this is a useful feature on production
+-system this may pass vunerable informations about the system to the
++system this may pass vunerable information about the system to the
+ outside. To change the default behaviour, one may write his own panic
+ method or simply set I<$CGI::XMLApplication::Quiet> to 1. The latter
+ still causes the error page but does not send any error message.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ee7eaed
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-fix-spelling-error.diff
diff --git a/debian/rules b/debian/rules
index 0de5618..2d33f6a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,61 +1,4 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> for
-# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may
-# be used freely wherever it is useful.
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# If set to a true value then MakeMaker's prompt function will
-# always return the default without waiting for user input.
-export PERL_MM_USE_DEFAULT=1
-
-PERL   ?= /usr/bin/perl
-PACKAGE = $(shell dh_listpackages)
-TMP     = $(CURDIR)/debian/$(PACKAGE)
-
-build: build-stamp
-build-stamp:
-	dh_testdir
-	$(PERL) Makefile.PL INSTALLDIRS=vendor
-	$(MAKE)
-	$(MAKE) test
-	touch $@
-
-clean:
-	dh_testdir
-	dh_testroot
-	dh_clean build-stamp install-stamp
-	[ ! -f Makefile ] || $(MAKE) realclean
-
-install: install-stamp
-install-stamp: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	$(MAKE) install DESTDIR=$(TMP) PREFIX=/usr
-	[ ! -d $(TMP)/usr/lib/perl5 ] || \
-		rmdir --ignore-fail-on-non-empty --parents --verbose \
-		$(TMP)/usr/lib/perl5
-	touch $@
-
-binary-arch:
-# We have nothing to do here for an architecture-independent package
-
-binary-indep: build install
-	dh_testdir
-	dh_testroot
-	dh_installexamples examples/*
-	dh_installdocs README
-	dh_installchangelogs Changes
-	dh_perl
-	dh_compress
-	dh_fixperms
-	dh_installdeb
-	dh_gencontrol
-	dh_md5sums
-	dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+%:
+	dh $@

-- 
Debian packaging of libcgi-xmlapplication-perl



More information about the Pkg-perl-cvs-commits mailing list