r20821 - in /trunk/libcgi-xmlapplication-perl: XMLApplication.pm debian/changelog debian/control debian/libcgi-xmlapplication-perl.docs debian/libcgi-xmlapplication-perl.examples debian/libcgi-xmlapplication-perl.install debian/rules debian/watch

gregoa at users.alioth.debian.org gregoa at users.alioth.debian.org
Sat Jun 7 14:44:40 UTC 2008


Author: gregoa
Date: Sat Jun  7 14:44:40 2008
New Revision: 20821

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=20821
Log:
* debian/watch: use dist-based URL.
* Drop POD fixes, not needed any more.
* Set Standards-Version to 3.7.3 (no changes).
* Refresh debian/rules, no functional changes.
* Delete debian/libcgi-xmlapplication-perl.*, let debian/rules do the work.

Removed:
    trunk/libcgi-xmlapplication-perl/debian/libcgi-xmlapplication-perl.docs
    trunk/libcgi-xmlapplication-perl/debian/libcgi-xmlapplication-perl.examples
    trunk/libcgi-xmlapplication-perl/debian/libcgi-xmlapplication-perl.install
Modified:
    trunk/libcgi-xmlapplication-perl/XMLApplication.pm
    trunk/libcgi-xmlapplication-perl/debian/changelog
    trunk/libcgi-xmlapplication-perl/debian/control
    trunk/libcgi-xmlapplication-perl/debian/rules
    trunk/libcgi-xmlapplication-perl/debian/watch

Modified: trunk/libcgi-xmlapplication-perl/XMLApplication.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlapplication-perl/XMLApplication.pm?rev=20821&op=diff
==============================================================================
--- trunk/libcgi-xmlapplication-perl/XMLApplication.pm (original)
+++ trunk/libcgi-xmlapplication-perl/XMLApplication.pm Sat Jun  7 14:44:40 2008
@@ -460,19 +460,19 @@
 
 =head1 NAME
 
-CGI::XMLApplication \-\- Object Oriented Interface for CGI Script Applications
+CGI::XMLApplication -- Object Oriented Interface for CGI Script Applications
 
 =head1 SYNOPSIS
 
   use CGI::XMLApplication;
 
   $script = new CGI::XMLApplication;
-  $script\->setStylesheetPath( "the/path/to/the/stylesheets" );
+  $script->setStylesheetPath( "the/path/to/the/stylesheets" );
 
   # either this for simple scripts
-  $script\->run();
+  $script->run();
   # or if you need more control ...
-  $script\->run(%context_hash); # or a context object
+  $script->run(%context_hash); # or a context object
 
 =head1 DESCRIPTION
 
@@ -674,7 +674,7 @@
 
 =item method registerEvents
 
-This method is called by the class constructor \- namely
+This method is called by the class constructor - namely
 CGI::XMLApplication's B<new()> function . Each application should
 register the events it likes to handle with this function. It should
 return an array of eventnames such as eg. 'remove' or 'store'. This
@@ -730,19 +730,19 @@
 
 =over 4
 
-=item \-1
+=item -1
 
 Stylesheet missing
 
-=item \-2
+=item -2
 
 Stylesheet not available
 
-=item \-3
+=item -3
 
 Event not implemented
 
-=item \-4
+=item -4
 
 Application panic
 
@@ -790,7 +790,7 @@
 
 By default CGI::XMLApplication does not test for other events if it
 already found one. The most significant event is the first name of an
-event found in the query string \- all other names are simply ignored.
+event found in the query string - all other names are simply ignored.
 One may change this behaviour by overriding the B<testEvent()>
 function.
 
@@ -844,9 +844,9 @@
   # event_init is an implicit event
   sub event_init {
      my ( $self, $context ) = @_;
-     if ( not ( defined $self\->param( $paraname ) && length $self\->param( $paramname ) ) ){
+     if ( not ( defined $self->param( $paraname ) && length $self->param( $paramname ) ) ){
         # the parameter is not correctly filled
-        $self\->sendEvent( 'missing' );
+        $self->sendEvent( 'missing' );
      }
      else {
 
@@ -864,7 +864,7 @@
 
      ... your error handling code goes ...
 
-     return \-4 if $panic;  # just for illustration
+     return -4 if $panic;  # just for illustration
      return 0;
   }
 
@@ -983,7 +983,7 @@
 
 getDOM() should return the application data as
 XML-DOM. CGI::XMLApplication is quite lax if this function does not
-return anything \- its simply assumed that an empty DOM should be
+return anything - its simply assumed that an empty DOM should be
 rendered. In this case a dummy root element is created to avoid error
 messages from XML::LibXSLT.
 
@@ -1077,7 +1077,7 @@
    event_default {
       my $self = shift;
       # avoid serialization call
-      $self\->skipSerialization( 1 ); # use 0 to unset
+      $self->skipSerialization( 1 ); # use 0 to unset
 
       # now you can directly print to the client, but don't forget the
       # headers.
@@ -1120,7 +1120,7 @@
 still causes the error page but does not send any error message.
 
 The current implementation send the 404 status to the client if any
-low level errors occour ( e.g. panic levels > \-4 aka Application
+low level errors occour ( e.g. panic levels > -4 aka Application
 Panic).  Commonly this really shows a "Not Found" on the application
 Level. Application Panics will set the 500 error state. This makes
 this implementation work perfect with a mod_perl installation.
@@ -1187,7 +1187,7 @@
 
 This method is for telling the application where the stylesheets can
 be found. If you keep your stylesheets in the same directory as your
-script \-\- IMHO a bad idea \-\- you might leave this untouched.
+script -- IMHO a bad idea -- you might leave this untouched.
 
 =item function getStylesheetPath
 

Modified: trunk/libcgi-xmlapplication-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlapplication-perl/debian/changelog?rev=20821&op=diff
==============================================================================
--- trunk/libcgi-xmlapplication-perl/debian/changelog (original)
+++ trunk/libcgi-xmlapplication-perl/debian/changelog Sat Jun  7 14:44:40 2008
@@ -3,6 +3,11 @@
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza); Homepage field (source stanza). Removed: XS-
     Vcs-Svn fields.
+  * debian/watch: use dist-based URL.
+  * Drop POD fixes, not needed any more.
+  * Set Standards-Version to 3.7.3 (no changes).
+  * Refresh debian/rules, no functional changes.
+  * Delete debian/libcgi-xmlapplication-perl.*, let debian/rules do the work.
 
  -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:27:54 +0200
 

Modified: trunk/libcgi-xmlapplication-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlapplication-perl/debian/control?rev=20821&op=diff
==============================================================================
--- trunk/libcgi-xmlapplication-perl/debian/control (original)
+++ trunk/libcgi-xmlapplication-perl/debian/control Sat Jun  7 14:44:40 2008
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: gregor herrmann <gregor+debian at comodo.priv.at>
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
 Homepage: http://search.cpan.org/dist/CGI-XMLApplication/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcgi-xmlapplication-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlapplication-perl/

Modified: trunk/libcgi-xmlapplication-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlapplication-perl/debian/rules?rev=20821&op=diff
==============================================================================
--- trunk/libcgi-xmlapplication-perl/debian/rules (original)
+++ trunk/libcgi-xmlapplication-perl/debian/rules Sat Jun  7 14:44:40 2008
@@ -1,61 +1,61 @@
 #!/usr/bin/make -f
-## ----------------------------------------------------------------------
-## debian/rules : package script for libcgi-xmlapplication-perl
-## ----------------------------------------------------------------------
+# 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
+# Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-## ----------------------------------------------------------------------
-TMP_DIR		= debian/tmp
+# 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
 
-## ----------------------------------------------------------------------
-## targets
+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
-		[ ! -f Makefile ] || $(MAKE) realclean
-		dh_clean
-		rm -f build-stamp install-stamp
+	dh_testdir
+	dh_testroot
+	dh_clean build-stamp install-stamp
+	[ ! -f Makefile ] || $(MAKE) realclean
 
-build:		build-stamp
-build-stamp:
-		dh_testdir
-		perl Makefile.PL INSTALLDIRS=vendor
-		$(MAKE) OPTIMIZE="-O2 -g -Wall"
-		$(MAKE) test
-		touch build-stamp
-
-install:	install-stamp
-install-stamp:	build
-		dh_testdir
-		dh_testroot
-		dh_clean -k
-		dh_installdirs
-		$(MAKE) install PREFIX=$(CURDIR)/$(TMP_DIR)/usr
-		touch install-stamp
-
-binary-indep:	build install
-		dh_testdir
-		dh_testroot
-		dh_install --sourcedir=$(TMP_DIR)
-		dh_installdocs
-		dh_installexamples
-		dh_installchangelogs Changes
-		dh_compress
-		dh_fixperms
-		dh_installdeb
-		dh_perl
-		dh_gencontrol
-		dh_md5sums
-		dh_builddeb
+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:		binary-indep binary-arch
+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
 
-.PHONY:		clean build install binary-indep binary-arch binary
-
-## ----------------------------------------------------------------------
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install

Modified: trunk/libcgi-xmlapplication-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcgi-xmlapplication-perl/debian/watch?rev=20821&op=diff
==============================================================================
--- trunk/libcgi-xmlapplication-perl/debian/watch (original)
+++ trunk/libcgi-xmlapplication-perl/debian/watch Sat Jun  7 14:44:40 2008
@@ -1,2 +1,2 @@
 version=3
-http://www.cpan.org/modules/by-module/CGI/CGI-XMLApplication-([\d\.]+)\.tar\.gz
+http://search.cpan.org/dist/CGI-XMLApplication/   .*/CGI-XMLApplication-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)




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