r18634 - in /trunk/libsvg-perl: Changes LICENSE MANIFEST META.yml Makefile.PL README debian/changelog examples/svgtest2.pl lib/SVG.pm lib/SVG/Element.pm lib/SVG/Extension.pm lib/SVG/Manual.pm t/ test.pl test/
gregoa-guest at users.alioth.debian.org
gregoa-guest at users.alioth.debian.org
Tue Apr 15 16:23:25 UTC 2008
Author: gregoa-guest
Date: Tue Apr 15 16:23:24 2008
New Revision: 18634
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18634
Log:
New upstream release.
Added:
trunk/libsvg-perl/LICENSE
- copied unchanged from r18633, branches/upstream/libsvg-perl/current/LICENSE
trunk/libsvg-perl/t/
- copied from r18633, branches/upstream/libsvg-perl/current/t/
Removed:
trunk/libsvg-perl/examples/svgtest2.pl
trunk/libsvg-perl/test/
trunk/libsvg-perl/test.pl
Modified:
trunk/libsvg-perl/Changes
trunk/libsvg-perl/MANIFEST
trunk/libsvg-perl/META.yml
trunk/libsvg-perl/Makefile.PL
trunk/libsvg-perl/README
trunk/libsvg-perl/debian/changelog
trunk/libsvg-perl/lib/SVG.pm
trunk/libsvg-perl/lib/SVG/Element.pm
trunk/libsvg-perl/lib/SVG/Extension.pm
trunk/libsvg-perl/lib/SVG/Manual.pm
Modified: trunk/libsvg-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-perl/Changes?rev=18634&op=diff
==============================================================================
--- trunk/libsvg-perl/Changes (original)
+++ trunk/libsvg-perl/Changes Tue Apr 15 16:23:24 2008
@@ -1,7 +1,12 @@
Revision history for Perl extension SVG.
+
+2.40 14 April, 2008
+ -Changed tests to current recommendation. Moved to t/ directory.
+ -Added POD and POD Coverage tests
2.39 08 April, 2008
-Added warnings
+
2.38 03 April, 2008
-Modified SVG::Element to answer a bug report in rt.perl.org by slaven
Modified: trunk/libsvg-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-perl/MANIFEST?rev=18634&op=diff
==============================================================================
--- trunk/libsvg-perl/MANIFEST (original)
+++ trunk/libsvg-perl/MANIFEST Tue Apr 15 16:23:24 2008
@@ -8,32 +8,6 @@
lib/SVG/Element.pm
lib/SVG/Extension.pm
lib/SVG/Manual.pm
-test.pl
-test/01-loadsvg.pl
-test/02-simpledoc.pl
-test/03-render.pl
-test/04-inline.pl
-test/05-processinginstruction.pl
-test/06-doctype.pl
-test/07-extension.pl
-test/08-looknfeel.pl
-test/09-script.pl
-test/10-autoload.pl
-test/11-customtags.pl
-test/12-elementid.pl
-test/13-duplicateids.pl
-test/14-attributes.pl
-test/15-parentage.pl
-test/16-siblings.pl
-test/17-tagtypes.pl
-test/18-filter.pl
-test/19-style.pl
-test/20-anchor.pl
-test/21-polygon.pl
-test/22-xlink.pl
-test/23-xmlescape.pl
-test/24-doubleuse.pl
-examples/svgtest2.pl
examples/SVG_02_sample.pl
examples/image_sample.pl
examples/inline_sample.pl
@@ -46,4 +20,31 @@
examples/inlinesvg.pl
examples/svg_dom_sample.pl
examples/attributeManip.pl
+t/01-loadsvg.t
+t/02-simpledoc.t
+t/03-render.t
+t/04-inline.t
+t/05-processinginstruction.t
+t/06-doctype.t
+t/07-extension.t
+t/08-looknfeel.t
+t/09-script.t
+t/10-autoload.t
+t/11-customtags.t
+t/12-elementid.t
+t/13-duplicateids.t
+t/14-attributes.t
+t/15-parentage.t
+t/16-siblings.t
+t/17-tagtypes.t
+t/18-filter.t
+t/19-style.t
+t/20-anchor.t
+t/21-polygon.t
+t/22-xlink.t
+t/23-xmlescape.t
+t/24-doubleuse.t
+t/99_test_pod_coverage.t
META.yml Module meta-data (added by MakeMaker)
+LICENSE
+t/98_all_pod.t
Modified: trunk/libsvg-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-perl/META.yml?rev=18634&op=diff
==============================================================================
--- trunk/libsvg-perl/META.yml (original)
+++ trunk/libsvg-perl/META.yml Tue Apr 15 16:23:24 2008
@@ -1,13 +1,13 @@
--- #YAML:1.0
name: SVG
-version: 2.39
+version: 2.40
abstract: Perl extension for generating Scalable Vector Graphics (SVG) documents
-license: ~
-generated_by: ExtUtils::MakeMaker version 6.36
+license: perl
+author:
+ - Ronan Oger <ronan at cpan.com>
+generated_by: ExtUtils::MakeMaker version 6.44
distribution_type: module
requires:
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
-author:
- - Ronan Oger <ronan at cpan.com>
+ url: http://module-build.sourceforge.net/META-spec-v1.3.html
+ version: 1.3
Modified: trunk/libsvg-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-perl/Makefile.PL?rev=18634&op=diff
==============================================================================
--- trunk/libsvg-perl/Makefile.PL (original)
+++ trunk/libsvg-perl/Makefile.PL Tue Apr 15 16:23:24 2008
@@ -4,8 +4,9 @@
WriteMakefile(
NAME => 'SVG',
VERSION_FROM => 'lib/SVG.pm', # finds $VERSION
- PREREQ_PM => {}, # e.g., Module::Name => 1.1
+ PREREQ_PM => {},
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/SVG/Manual.pm', # retrieve abstract from module
+ LICENSE => 'perl',
AUTHOR => 'Ronan Oger <ronan at cpan.com>') : ()),
);
Modified: trunk/libsvg-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-perl/README?rev=18634&op=diff
==============================================================================
--- trunk/libsvg-perl/README (original)
+++ trunk/libsvg-perl/README Tue Apr 15 16:23:24 2008
@@ -6,22 +6,27 @@
Refer to the pod for full documentation and an example script,
or to the following mirrors:
-1/ http://roitsystems.com/
-2/ http://search.cpan.org/perldoc?SVG
-3/ http://search.cpan.org/~ronan
+1/ http://search.cpan.org/perldoc?SVG
+2/ http://search.cpan.org/~ronan
The complete pod for SVG resides in SVG::Manual
type perldoc SVG::Manual on the command line
-(c) 2001-2005 Ronan Oger, RO IT Systems, GmbH
+(c) 2001-2008 Ronan Oger, RO IT Systems, GmbH
homepage: http://www.roitsystems.com
CONTACT POINT
-------------
-email: ronan at roitsystems.com
+
+ronan at cpan.org
This software is provided as is and without warranty.
It is freely distributed under the general perl license.
+
+LICENSE
+-------
+
+This software is provided under the terms of the Perl license
OVERVIEW
--------
@@ -118,7 +123,10 @@
-------------------
Comments tags before the <svg> element are toxic. This is being worked on but I can not promise anything.
-SEE ALSO:
+Please submit bug reports to http://rt.cpan.org
+
+SEE ALSO
+--------
SVG::Parser
SVG::DOM
SVG::XML
@@ -126,7 +134,7 @@
CHANGE LOG
----------
-You can find details about the changes over time in the change log
+You can find details about the changes over time in the change log file: Changes
COMMENTS/FEEDBACK
-----------------
Modified: trunk/libsvg-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-perl/debian/changelog?rev=18634&op=diff
==============================================================================
--- trunk/libsvg-perl/debian/changelog (original)
+++ trunk/libsvg-perl/debian/changelog Tue Apr 15 16:23:24 2008
@@ -1,3 +1,9 @@
+libsvg-perl (2.40-1) UNRELEASED; urgency=low
+
+ * New upstream release.
+
+ -- gregor herrmann <gregor+debian at comodo.priv.at> Tue, 15 Apr 2008 18:21:06 +0200
+
libsvg-perl (2.39-1) unstable; urgency=low
* New upstream release.
Modified: trunk/libsvg-perl/lib/SVG.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-perl/lib/SVG.pm?rev=18634&op=diff
==============================================================================
--- trunk/libsvg-perl/lib/SVG.pm (original)
+++ trunk/libsvg-perl/lib/SVG.pm Tue Apr 15 16:23:24 2008
@@ -18,7 +18,7 @@
@ISA = qw(SVG::Element SVG::Extension);
-$VERSION = "2.39";
+$VERSION = "2.40";
#-------------------------------------------------------------------------------
@@ -26,7 +26,7 @@
=head2 VERSION
-Version 2.39, 08 April, 2008
+Version 2.40, 08 April, 2008
Refer to L<SVG::Manual> for the complete manual
@@ -249,7 +249,7 @@
=pod
-=head2 xmlify (alias: to_xml render, serialize, serialise)
+=head2 xmlify (alias: to_xml render serialize serialise )
$string = $svg->xmlify(%attributes);
@@ -312,6 +312,13 @@
sub perlify ($;@) {
return shift->SUPER::perlify();
}
+
+=head2 toperl ()
+
+Alias for method perlify()
+
+=cut
+
*toperl=\&perlify;
#-------------------------------------------------------------------------------
Modified: trunk/libsvg-perl/lib/SVG/Element.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-perl/lib/SVG/Element.pm?rev=18634&op=diff
==============================================================================
--- trunk/libsvg-perl/lib/SVG/Element.pm (original)
+++ trunk/libsvg-perl/lib/SVG/Element.pm Tue Apr 15 16:23:24 2008
@@ -20,7 +20,7 @@
package SVG::Element;
-$VERSION = "2.38";
+$VERSION = "2.40";
use strict;
use SVG::XML;
@@ -332,14 +332,14 @@
the following attributes are expected for anchor tags (any any tags which use -href links):
-=item -href required
-=item -type optional
-=item -role optional
-=item -title optional
-=item -show optional
-=item -arcrole optional
-=item -actuate optional
-=item target optional
+=head2 -href required
+=head2 -type optional
+=head2 -role optional
+=head2 -title optional
+=head2 -show optional
+=head2 -arcrole optional
+=head2 -actuate optional
+=head2 target optional
For more information on the options, refer to the w3c XLink specification at
L<http://www.w3.org/TR/xlink/>
@@ -1331,57 +1331,54 @@
Note that the following filter elements are currently supported:
Also note that the elelemts are defined in lower case in the module, but as of version 2.31, any case combination is allowed.
-=over 4
-
-=item * feBlend
-
-=item * feColorMatrix
-
-=item * feComponentTransfer
-
-=item * feComposite
-
-=item * feConvolveMatrix
-
-=item * feDiffuseLighting
-
-=item * feDisplacementMap
-
-=item * feDistantLight
-
-=item * feFlood
-
-=item * feFuncA
-
-=item * feFuncB
-
-=item * feFuncG
-
-=item * feFuncR
-
-=item * feGaussianBlur
-
-=item * feImage
-
-=item * feMerge
-
-=item * feMergeNode
-
-=item * feMorphology
-
-=item * feOffset
-
-=item * fePointLight
-
-=item * feSpecularLighting
-
-=item * feSpotLight
-
-=item * feTile
-
-=item * feTurbulence
-
-=back
+=head2 * feBlend
+
+=head2 * feColorMatrix
+
+=head2 * feComponentTransfer
+
+=head2 * feComposite
+
+=head2 * feConvolveMatrix
+
+=head2 * feDiffuseLighting
+
+=head2 * feDisplacementMap
+
+=head2 * feDistantLight
+
+=head2 * feFlood
+
+=head2 * feFuncA
+
+=head2 * feFuncB
+
+=head2 * feFuncG
+
+=head2 * feFuncR
+
+=head2 * feGaussianBlur
+
+=head2 * feImage
+
+=head2 * feMerge
+
+=head2 * feMergeNode
+
+=head2 * feMorphology
+
+=head2 * feOffset
+
+=head2 * fePointLight
+
+=head2 * feSpecularLighting
+
+=head2 * feSpotLight
+
+=head2 * feTile
+
+=head2 * feTurbulence
+
SEE ALSO:
@@ -1537,59 +1534,55 @@
The following elements are generically supported by SVG:
-=over 4
-
-=item * altGlyph
-
-=item * altGlyphDef
-
-=item * altGlyphItem
-
-=item * clipPath
-
-=item * color-profile
-
-=item * cursor
-
-=item * definition-src
-
-=item * font-face-format
-
-=item * font-face-name
-
-=item * font-face-src
-
-=item * font-face-url
-
-=item * foreignObject
-
-=item * glyph
-
-=item * glyphRef
-
-=item * hkern
-
-=item * marker
-
-=item * mask
-
-=item * metadata
-
-=item * missing-glyph
-
-=item * mpath
-
-=item * switch
-
-=item * symbol
-
-=item * tref
-
-=item * view
-
-=item * vkern
-
-=back
+=head2 * altGlyph
+
+=head2 * altGlyphDef
+
+=head2 * altGlyphItem
+
+=head2 * clipPath
+
+=head2 * color-profile
+
+=head2 * cursor
+
+=head2 * definition-src
+
+=head2 * font-face-format
+
+=head2 * font-face-name
+
+=head2 * font-face-src
+
+=head2 * font-face-url
+
+=head2 * foreignObject
+
+=head2 * glyph
+
+=head2 * glyphRef
+
+=head2 * hkern
+
+=head2 * marker
+
+=head2 * mask
+
+=head2 * metadata
+
+=head2 * missing-glyph
+
+=head2 * mpath
+
+=head2 * switch
+
+=head2 * symbol
+
+=head2 * tref
+
+=head2 * view
+
+=head2 * vkern
See e.g. L<"pattern"> for an example of the use of these methods.
Modified: trunk/libsvg-perl/lib/SVG/Extension.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-perl/lib/SVG/Extension.pm?rev=18634&op=diff
==============================================================================
--- trunk/libsvg-perl/lib/SVG/Extension.pm (original)
+++ trunk/libsvg-perl/lib/SVG/Extension.pm Tue Apr 15 16:23:24 2008
@@ -39,7 +39,7 @@
return $document->{-internal};
}
-=item extension
+=head2 extension
return the element object
@@ -54,7 +54,7 @@
#-----------------
-=item element_decl
+=head2 element_decl
generate an element declaration in the DTD
@@ -67,7 +67,7 @@
return $subset->extension('ELEMENT',%attrs);
}
-=item attribute_decl
+=head2 attribute_decl
return generate an attribute list for an element
@@ -84,7 +84,7 @@
return $element_decl->extension('ATTLIST',%attrs);
}
-=item attlist_decl
+=head2 attlist_decl
=cut
@@ -101,7 +101,7 @@
return $element_decl->attribute_decl(%attrs);
}
-=item notation_decl(%attrs)
+=head2 notation_decl(%attrs)
return an extention object of type NOTATION
@@ -115,7 +115,7 @@
}
-=item entity_decl(%attrs)
+=head2 entity_decl(%attrs)
return an extension object of type 'ENTITY'
@@ -135,7 +135,7 @@
# extension elements. A hierarchical model will follow in time
# with the same render API.
-=item xmilfy
+=head2 xmilfy
=cut
@@ -213,19 +213,19 @@
#some aliases for xmilfy
-=item render
+=head2 render
alias for xmlify
-=item to_xml
+=head2 to_xml
alias for xmlify
-=item serialise
+=head2 serialise
alias for xmlify
-=item serialise
+=head2 serialise
alias for xmlify
@@ -238,11 +238,11 @@
#-----------------
-=item getDeclName
+=head2 getDeclName
Simply an alias for the general method for SVG::Extension objects
-=item getExtensionName
+=head2 getExtensionName
alias to getDeclName
@@ -254,14 +254,14 @@
}
*getExtensionName=\&getDeclName;
-=item getDeclNames
+=head2 getDeclNames
return list of existing decl types by extracting it from the overall list
of existing element types
sub getDeclNames {
-=item getExtensionNames
+=head2 getExtensionNames
alias to getDeclNames
Modified: trunk/libsvg-perl/lib/SVG/Manual.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvg-perl/lib/SVG/Manual.pm?rev=18634&op=diff
==============================================================================
--- trunk/libsvg-perl/lib/SVG/Manual.pm (original)
+++ trunk/libsvg-perl/lib/SVG/Manual.pm Tue Apr 15 16:23:24 2008
@@ -1,7 +1,9 @@
package SVG::Manual;
-our $VERSION = 2.38;
+our $VERSION = 2.40;
use vars qw($VERSION);
+use strict;
+use warnings;
$VERSION = eval $VERSION;
@@ -11,7 +13,7 @@
=head2 VERSION
-Covers SVG-2.38 distribution, April 2008
+Covers SVG-2.40 distribution, April 2008
=head1 SYNOPSIS
@@ -86,35 +88,31 @@
Generating SVG is a simple three step process:
-=over 4
-
-=item 1 The first step is to construct a new SVG object with L<"new">.
-
-=item 2 The second step is to call element constructors to create SVG elements.
+
+=head2 1 The first step is to construct a new SVG object with L<"new">.
+
+=head2 2 The second step is to call element constructors to create SVG elements.
Examples of element constructors are L<"circle"> and L<"path">.
-=item 3 The third and last step is to render the SVG object into XML using the
+=head2 3 The third and last step is to render the SVG object into XML using the
L<"xmlify"> method.
-=back
The L<"xmlify"> method takes a number of optional arguments that control how SVG
renders the object into XML, and in particular determine whether a stand-alone
SVG document or an inline SVG document fragment is generated:
-=over (
-
-=item -stand-alone
+
+=head2 -stand-alone
A complete SVG document with its own associated DTD. A namespace for the SVG
elements may be optionally specified.
-=item -in-line
+=head2 -in-line
An in-line SVG document fragment with no DTD that be embedded within other XML
content. As with stand-alone documents, an alternate namespace may be specified.
-=back
No XML content is generated until the third step is reached. Up until this
point, all constructed element definitions reside in a DOM-like data structure
@@ -964,57 +962,55 @@
Note that the following filter elements are currently supported:
-=over 4
-
-=item * feBlend
-
-=item * feColorMatrix
-
-=item * feComponentTransfer
-
-=item * feComposite
-
-=item * feConvolveMatrix
-
-=item * feDiffuseLighting
-
-=item * feDisplacementMap
-
-=item * feDistantLight
-
-=item * feFlood
-
-=item * feFuncA
-
-=item * feFuncB
-
-=item * feFuncG
-
-=item * feFuncR
-
-=item * feGaussianBlur
-
-=item * feImage
-
-=item * feMerge
-
-=item * feMergeNode
-
-=item * feMorphology
-
-=item * feOffset
-
-=item * fePointLight
-
-=item * feSpecularLighting
-
-=item * feSpotLight
-
-=item * feTile
-
-=item * feTurbulence
-
-=back
+
+=head2 * feBlend
+
+=head2 * feColorMatrix
+
+=head2 * feComponentTransfer
+
+=head2 * feComposite
+
+=head2 * feConvolveMatrix
+
+=head2 * feDiffuseLighting
+
+=head2 * feDisplacementMap
+
+=head2 * feDistantLight
+
+=head2 * feFlood
+
+=head2 * feFuncA
+
+=head2 * feFuncB
+
+=head2 * feFuncG
+
+=head2 * feFuncR
+
+=head2 * feGaussianBlur
+
+=head2 * feImage
+
+=head2 * feMerge
+
+=head2 * feMergeNode
+
+=head2 * feMorphology
+
+=head2 * feOffset
+
+=head2 * fePointLight
+
+=head2 * feSpecularLighting
+
+=head2 * feSpotLight
+
+=head2 * feTile
+
+=head2 * feTurbulence
+
SEE ALSO:
@@ -1084,59 +1080,56 @@
The following elements are generically supported by SVG:
-=over 4
-
-=item * altGlyph
-
-=item * altGlyphDef
-
-=item * altGlyphItem
-
-=item * clipPath
-
-=item * color-profile
-
-=item * cursor
-
-=item * definition-src
-
-=item * font-face-format
-
-=item * font-face-name
-
-=item * font-face-src
-
-=item * font-face-url
-
-=item * foreignObject
-
-=item * glyph
-
-=item * glyphRef
-
-=item * hkern
-
-=item * marker
-
-=item * mask
-
-=item * metadata
-
-=item * missing-glyph
-
-=item * mpath
-
-=item * switch
-
-=item * symbol
-
-=item * tref
-
-=item * view
-
-=item * vkern
-
-=back
+
+=head2 * altGlyph
+
+=head2 * altGlyphDef
+
+=head2 * altGlyphItem
+
+=head2 * clipPath
+
+=head2 * color-profile
+
+=head2 * cursor
+
+=head2 * definition-src
+
+=head2 * font-face-format
+
+=head2 * font-face-name
+
+=head2 * font-face-src
+
+=head2 * font-face-url
+
+=head2 * foreignObject
+
+=head2 * glyph
+
+=head2 * glyphRef
+
+=head2 * hkern
+
+=head2 * marker
+
+=head2 * mask
+
+=head2 * metadata
+
+=head2 * missing-glyph
+
+=head2 * mpath
+
+=head2 * switch
+
+=head2 * symbol
+
+=head2 * tref
+
+=head2 * view
+
+=head2 * vkern
See e.g. L<"pattern"> for an example of the use of these methods.
@@ -1144,55 +1137,52 @@
The following L<SVG::DOM> elements are accessible through SVG:
-=over 4
-
-=item * getChildren
-
-=item * getFirstChild
-
-=item * getNextChild
-
-=item * getLastChild
-
-=item * getParent
-
-=item * getParentElement
-
-=item * getSiblings
-
-=item * getElementByID
-
-=item * getElementID
-
-=item * getElements
-
-=item * getElementName
-
-=item * getType
-
-=item * getAttributes
-
-=item * getAttribute
-
-=item * setAttributes
-
-=item * setAttribute
-
-=item * insertBefore
-
-=item * insertAfter
-
-=item * insertSiblingBefore
-
-=item * insertSiblingAfter
-
-=item * replaceChild
-
-=item * removeChild
-
-=item * cloneNode
-
-=back
+=head2 * getChildren
+
+=head2 * getFirstChild
+
+=head2 * getNextChild
+
+=head2 * getLastChild
+
+=head2 * getParent
+
+=head2 * getParentElement
+
+=head2 * getSiblings
+
+=head2 * getElementByID
+
+=head2 * getElementID
+
+=head2 * getElements
+
+=head2 * getElementName
+
+=head2 * getType
+
+=head2 * getAttributes
+
+=head2 * getAttribute
+
+=head2 * setAttributes
+
+=head2 * setAttribute
+
+=head2 * insertBefore
+
+=head2 * insertAfter
+
+=head2 * insertSiblingBefore
+
+=head2 * insertSiblingAfter
+
+=head2 * replaceChild
+
+=head2 * removeChild
+
+=head2 * cloneNode
+
=head1 LICENSE
More information about the Pkg-perl-cvs-commits
mailing list