r28543 - in /trunk/libxml-sax-expatxs-perl: debian/ debian/patches/ lib/XML/SAX/ExpatXS/
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Tue Dec 23 09:43:02 UTC 2008
Author: ryan52-guest
Date: Tue Dec 23 09:42:59 2008
New Revision: 28543
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=28543
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
trunk/libxml-sax-expatxs-perl/debian/
trunk/libxml-sax-expatxs-perl/debian/changelog
trunk/libxml-sax-expatxs-perl/debian/compat
trunk/libxml-sax-expatxs-perl/debian/control
trunk/libxml-sax-expatxs-perl/debian/copyright
trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs-perl.docs
trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs.postinst
trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs.prerm
trunk/libxml-sax-expatxs-perl/debian/patches/
trunk/libxml-sax-expatxs-perl/debian/patches/dont-install-sax
trunk/libxml-sax-expatxs-perl/debian/patches/series
trunk/libxml-sax-expatxs-perl/debian/rules (with props)
trunk/libxml-sax-expatxs-perl/debian/watch
trunk/libxml-sax-expatxs-perl/lib/XML/SAX/ExpatXS/Preload.pm
Added: trunk/libxml-sax-expatxs-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/debian/changelog?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/debian/changelog (added)
+++ trunk/libxml-sax-expatxs-perl/debian/changelog Tue Dec 23 09:42:59 2008
@@ -1,0 +1,5 @@
+libxml-sax-expatxs-perl (1.31-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Ryan Niebur <ryanryan52 at gmail.com> Tue, 23 Dec 2008 01:15:38 -0800
Added: trunk/libxml-sax-expatxs-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/debian/compat?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/debian/compat (added)
+++ trunk/libxml-sax-expatxs-perl/debian/compat Tue Dec 23 09:42:59 2008
@@ -1,0 +1,1 @@
+7
Added: trunk/libxml-sax-expatxs-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/debian/control?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/debian/control (added)
+++ trunk/libxml-sax-expatxs-perl/debian/control Tue Dec 23 09:42:59 2008
@@ -1,0 +1,21 @@
+Source: libxml-sax-expatxs-perl
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 7), perl (>= 5.6.0-12), quilt
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Ryan Niebur <ryanryan52 at gmail.com>
+Standards-Version: 3.8.0
+Homepage: http://search.cpan.org/dist/XML-SAX-ExpatXS/
+Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-sax-expatxs-perl/
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/
+
+Package: libxml-sax-expatxs-perl
+Architecture: any
+Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Description: Perl SAX 2 XS extension to Expat parser
+ XML::SAX::ExpatXS is a direct XS extension to Expat XML parser. It implements
+ Perl SAX 2.1 interface. See http://perl-xml.sourceforge.net/perl-sax/ for
+ Perl SAX API description. Any deviations from the Perl SAX 2.1 specification
+ are considered as bugs.
+ .
+ This description was automagically extracted from the module by dh-make-perl.
Added: trunk/libxml-sax-expatxs-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/debian/copyright?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/debian/copyright (added)
+++ trunk/libxml-sax-expatxs-perl/debian/copyright Tue Dec 23 09:42:59 2008
@@ -1,0 +1,35 @@
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Petr Cimprich <petr AT gingerall DOT org> (maintainer)
+ Matt Sergeant <matt AT sergeant DOT org>
+Upstream-Source: http://search.cpan.org/dist/XML-SAX-ExpatXS/
+Upstream-Name: XML-SAX-ExpatXS
+Disclaimer: This copyright info was automatically extracted
+ from the perl module. It may not be accurate, so you better
+ check the module sources in order to ensure the module for its
+ inclusion in Debian or for general legal information. Please,
+ if licensing information is incorrectly generated, file a bug
+ on dh-make-perl.
+
+Files: *
+Copyright: Petr Cimprich <petr AT gingerall DOT org> (maintainer)
+ Matt Sergeant <matt AT sergeant DOT org>
+License: FIXME
+
+Files: debian/*
+Copyright: 2008, Ryan Niebur <ryanryan52 at gmail.com>
+License: Artistic | GPL-1+
+
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ On Debian GNU/Linux systems, the complete text of the Artistic License
+ can be found in /usr/share/common-licenses/Artistic
+
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL'
Added: trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs-perl.docs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs-perl.docs?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs-perl.docs (added)
+++ trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs-perl.docs Tue Dec 23 09:42:59 2008
@@ -1,0 +1,1 @@
+README
Added: trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs.postinst
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs.postinst?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs.postinst (added)
+++ trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs.postinst Tue Dec 23 09:42:59 2008
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ]; then
+ update-perl-sax-parsers --add XML::SAX::ExpatXS
+ update-perl-sax-parsers --update
+fi
+
+#DEBHELPER#
Added: trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs.prerm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs.prerm?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs.prerm (added)
+++ trunk/libxml-sax-expatxs-perl/debian/libxml-sax-expatxs.prerm Tue Dec 23 09:42:59 2008
@@ -1,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "remove" -o "$1" = "upgrade" ]; then
+ update-perl-sax-parsers --remove XML::SAX::ExpatXS
+ update-perl-sax-parsers --update
+fi
+
+#DEBHELPER#
Added: trunk/libxml-sax-expatxs-perl/debian/patches/dont-install-sax
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/debian/patches/dont-install-sax?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/debian/patches/dont-install-sax (added)
+++ trunk/libxml-sax-expatxs-perl/debian/patches/dont-install-sax Tue Dec 23 09:42:59 2008
@@ -1,0 +1,13 @@
+# the update-perl-sax-parsers command is used in postinst instead
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -108,7 +108,7 @@
+ $script .= <<"INSTALL";
+
+ install_expat_xs :
+-\t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::ExpatXS))->save_parsers()"
++#\t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::ExpatXS))->save_parsers()"
+
+ INSTALL
+
Added: trunk/libxml-sax-expatxs-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/debian/patches/series?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/debian/patches/series (added)
+++ trunk/libxml-sax-expatxs-perl/debian/patches/series Tue Dec 23 09:42:59 2008
@@ -1,0 +1,1 @@
+dont-install-sax
Added: trunk/libxml-sax-expatxs-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/debian/rules?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/debian/rules (added)
+++ trunk/libxml-sax-expatxs-perl/debian/rules Tue Dec 23 09:42:59 2008
@@ -1,0 +1,25 @@
+#!/usr/bin/make -f
+
+include /usr/share/quilt/quilt.make
+
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
+ dh build
+ touch $@
+
+clean: unpatch
+ dh $@
+
+install: install-stamp
+install-stamp: build-stamp
+ dh install
+ touch $@
+
+binary-arch: install
+ dh $@
+
+binary-indep:
+
+binary: binary-arch binary-indep
+
+.PHONY: binary binary-arch binary-indep install clean build
Propchange: trunk/libxml-sax-expatxs-perl/debian/rules
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/libxml-sax-expatxs-perl/debian/watch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/debian/watch?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/debian/watch (added)
+++ trunk/libxml-sax-expatxs-perl/debian/watch Tue Dec 23 09:42:59 2008
@@ -1,0 +1,4 @@
+# format version number, currently 3; this line is compulsory!
+version=3
+# URL to the package page followed by a regex to search
+http://search.cpan.org/dist/XML-SAX-ExpatXS/ .*/XML-SAX-ExpatXS-v?(\d[\d_.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
Added: trunk/libxml-sax-expatxs-perl/lib/XML/SAX/ExpatXS/Preload.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libxml-sax-expatxs-perl/lib/XML/SAX/ExpatXS/Preload.pm?rev=28543&op=file
==============================================================================
--- trunk/libxml-sax-expatxs-perl/lib/XML/SAX/ExpatXS/Preload.pm (added)
+++ trunk/libxml-sax-expatxs-perl/lib/XML/SAX/ExpatXS/Preload.pm Tue Dec 23 09:42:59 2008
@@ -1,0 +1,288 @@
+package XML::SAX::ExpatXS::Preload;
+
+#-----------------------------------------------------#
+# STOP!!!!!
+#
+# This file is generated by the 'Makefile.PL' file
+# that ships with the XML::SAX::ExpatXS distribution.
+# If you need to make changes, patch that file NOT
+# this one.
+#-----------------------------------------------------#
+
+use strict;
+use vars qw($VERSION);
+
+$VERSION = '0.01';
+
+sub get_end_element {
+ my $self = shift;
+
+ my $method;
+ my $callbacks;
+ if (exists $self->{ParseOptions}) {
+ $callbacks = $self->{ParseOptions};
+ }
+ else {
+ $callbacks = $self;
+ }
+
+ if (0) { # dummy to make elsif's below compile
+ }
+ elsif (defined $callbacks->{'ContentHandler'} and $method = $callbacks->{'ContentHandler'}->can('end_element') ) {
+ my $handler = $callbacks->{'ContentHandler'};
+ $self->{Methods}->{'end_element'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'DocumentHandler'} and $method = $callbacks->{'DocumentHandler'}->can('end_element') ) {
+ my $handler = $callbacks->{'DocumentHandler'};
+ $self->{Methods}->{'end_element'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'Handler'} and $method = $callbacks->{'Handler'}->can('end_element') ) {
+ my $handler = $callbacks->{'Handler'};
+ $self->{Methods}->{'end_element'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'ContentHandler'} and $callbacks->{'ContentHandler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'ContentHandler'}->end_element(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'ContentHandler'};
+ $self->{Methods}->{'end_element'} = sub { $handler->end_element(@_) };
+ }
+ }
+ elsif (defined $callbacks->{'DocumentHandler'} and $callbacks->{'DocumentHandler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'DocumentHandler'}->end_element(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'DocumentHandler'};
+ $self->{Methods}->{'end_element'} = sub { $handler->end_element(@_) };
+ }
+ }
+ elsif (defined $callbacks->{'Handler'} and $callbacks->{'Handler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'Handler'}->end_element(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'Handler'};
+ $self->{Methods}->{'end_element'} = sub { $handler->end_element(@_) };
+ }
+ }
+ else {
+ $self->{Methods}->{'end_element'} = sub { };
+ }
+
+return 1;
+}
+
+sub get_comment {
+ my $self = shift;
+
+ my $method;
+ my $callbacks;
+ if (exists $self->{ParseOptions}) {
+ $callbacks = $self->{ParseOptions};
+ }
+ else {
+ $callbacks = $self;
+ }
+
+ if (0) { # dummy to make elsif's below compile
+ }
+ elsif (defined $callbacks->{'DocumentHandler'} and $method = $callbacks->{'DocumentHandler'}->can('comment') ) {
+ my $handler = $callbacks->{'DocumentHandler'};
+ $self->{Methods}->{'comment'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'LexicalHandler'} and $method = $callbacks->{'LexicalHandler'}->can('comment') ) {
+ my $handler = $callbacks->{'LexicalHandler'};
+ $self->{Methods}->{'comment'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'Handler'} and $method = $callbacks->{'Handler'}->can('comment') ) {
+ my $handler = $callbacks->{'Handler'};
+ $self->{Methods}->{'comment'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'DocumentHandler'} and $callbacks->{'DocumentHandler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'DocumentHandler'}->comment(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'DocumentHandler'};
+ $self->{Methods}->{'comment'} = sub { $handler->comment(@_) };
+ }
+ }
+ elsif (defined $callbacks->{'LexicalHandler'} and $callbacks->{'LexicalHandler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'LexicalHandler'}->comment(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'LexicalHandler'};
+ $self->{Methods}->{'comment'} = sub { $handler->comment(@_) };
+ }
+ }
+ elsif (defined $callbacks->{'Handler'} and $callbacks->{'Handler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'Handler'}->comment(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'Handler'};
+ $self->{Methods}->{'comment'} = sub { $handler->comment(@_) };
+ }
+ }
+ else {
+ $self->{Methods}->{'comment'} = sub { };
+ }
+
+return 1;
+}
+
+sub get_characters {
+ my $self = shift;
+
+ my $method;
+ my $callbacks;
+ if (exists $self->{ParseOptions}) {
+ $callbacks = $self->{ParseOptions};
+ }
+ else {
+ $callbacks = $self;
+ }
+
+ if (0) { # dummy to make elsif's below compile
+ }
+ elsif (defined $callbacks->{'ContentHandler'} and $method = $callbacks->{'ContentHandler'}->can('characters') ) {
+ my $handler = $callbacks->{'ContentHandler'};
+ $self->{Methods}->{'characters'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'DocumentHandler'} and $method = $callbacks->{'DocumentHandler'}->can('characters') ) {
+ my $handler = $callbacks->{'DocumentHandler'};
+ $self->{Methods}->{'characters'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'Handler'} and $method = $callbacks->{'Handler'}->can('characters') ) {
+ my $handler = $callbacks->{'Handler'};
+ $self->{Methods}->{'characters'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'ContentHandler'} and $callbacks->{'ContentHandler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'ContentHandler'}->characters(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'ContentHandler'};
+ $self->{Methods}->{'characters'} = sub { $handler->characters(@_) };
+ }
+ }
+ elsif (defined $callbacks->{'DocumentHandler'} and $callbacks->{'DocumentHandler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'DocumentHandler'}->characters(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'DocumentHandler'};
+ $self->{Methods}->{'characters'} = sub { $handler->characters(@_) };
+ }
+ }
+ elsif (defined $callbacks->{'Handler'} and $callbacks->{'Handler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'Handler'}->characters(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'Handler'};
+ $self->{Methods}->{'characters'} = sub { $handler->characters(@_) };
+ }
+ }
+ else {
+ $self->{Methods}->{'characters'} = sub { };
+ }
+
+return 1;
+}
+
+sub get_start_element {
+ my $self = shift;
+
+ my $method;
+ my $callbacks;
+ if (exists $self->{ParseOptions}) {
+ $callbacks = $self->{ParseOptions};
+ }
+ else {
+ $callbacks = $self;
+ }
+
+ if (0) { # dummy to make elsif's below compile
+ }
+ elsif (defined $callbacks->{'ContentHandler'} and $method = $callbacks->{'ContentHandler'}->can('start_element') ) {
+ my $handler = $callbacks->{'ContentHandler'};
+ $self->{Methods}->{'start_element'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'DocumentHandler'} and $method = $callbacks->{'DocumentHandler'}->can('start_element') ) {
+ my $handler = $callbacks->{'DocumentHandler'};
+ $self->{Methods}->{'start_element'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'Handler'} and $method = $callbacks->{'Handler'}->can('start_element') ) {
+ my $handler = $callbacks->{'Handler'};
+ $self->{Methods}->{'start_element'} = sub { $method->($handler, @_) };
+ }
+ elsif (defined $callbacks->{'ContentHandler'} and $callbacks->{'ContentHandler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'ContentHandler'}->start_element(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'ContentHandler'};
+ $self->{Methods}->{'start_element'} = sub { $handler->start_element(@_) };
+ }
+ }
+ elsif (defined $callbacks->{'DocumentHandler'} and $callbacks->{'DocumentHandler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'DocumentHandler'}->start_element(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'DocumentHandler'};
+ $self->{Methods}->{'start_element'} = sub { $handler->start_element(@_) };
+ }
+ }
+ elsif (defined $callbacks->{'Handler'} and $callbacks->{'Handler'}->can('AUTOLOAD') ) {
+ my $res = eval { $callbacks->{'Handler'}->start_element(@_) };
+ if ($@) {
+ die $@;
+ }
+ else {
+ my $handler = $callbacks->{'Handler'};
+ $self->{Methods}->{'start_element'} = sub { $handler->start_element(@_) };
+ }
+ }
+ else {
+ $self->{Methods}->{'start_element'} = sub { };
+ }
+
+return 1;
+}
+
+
+1;
+
+__END__
+
+=head1 NAME
+
+XML::SAX::ExpatXS::Preload - Helper class for XML-SAX-ExpatXS
+
+=head1 AUTHOR
+
+Petr Cimprich (petr at gingerall.cz) based on an original code of XML::SAX::Base
+by Kip Hampton (khampton at totalcinema.com).
+
+=head1 SEE ALSO
+
+L<XML::SAX::ExpatXS>
+
+=cut
+
More information about the Pkg-perl-cvs-commits
mailing list