debian/0000755000000000000000000000000012216130425007162 5ustar debian/patches/0000755000000000000000000000000012216130337010613 5ustar debian/patches/series0000644000000000000000000000013212216130337012024 0ustar missing-manpages.patch fix_manpage_names.patch fix_pod_errors.patch more_pod_errors.patch debian/patches/fix_manpage_names.patch0000644000000000000000000000122512216130337015275 0ustar Author: David Paleino Forwarded: no This patch is Debian-specific and only removes the .pl extension of the names. However, the upstream author has been informed that this patch is applied. Description: removes .pl extensions to match the modified program names in /usr/bin License: same as Data::Stag --- a/scripts/stag-merge.pl +++ b/scripts/stag-merge.pl @@ -2,11 +2,11 @@ =head1 NAME -stag-merge.pl - script wrapper for the Data::Stag modules +stag-merge - script wrapper for the Data::Stag modules =head1 SYNOPSIS - stag-merge.pl -xml file1.xml file2.xml + stag-merge -xml file1.xml file2.xml =head1 DESCRIPTION debian/patches/missing-manpages.patch0000644000000000000000000000301511671743012015101 0ustar Author: Charles Plessy Forwarded: http://rt.cpan.org/Public/Bug/Display.html?id=37218 Description: Adds POD documentation to supply missing manual pages. This patch is referenced in Debian bug #488614 License: Same as Data::Stag itself --- a/scripts/stag-itext2simple.pl +++ b/scripts/stag-itext2simple.pl @@ -12,3 +12,18 @@ foreach my $f (@ARGV) { $p->parse($f); } +__END__ + +=head1 NAME + +stag-itext2simple - converts between stag formats + +=head1 DESCRIPTION + +Converts from itext to simple format. + +=head1 SEE ALSO + +L + +=cut --- a/scripts/stag-itext2sxpr.pl +++ b/scripts/stag-itext2sxpr.pl @@ -11,4 +11,18 @@ foreach my $f (@ARGV) { } +__END__ +=head1 NAME + +stag-itext2sxpr - converts between stag formats + +=head1 DESCRIPTION + +Converts from itext to sxpr format. + +=head1 SEE ALSO + +L + +=cut --- a/scripts/stag-itext2xml.pl +++ b/scripts/stag-itext2xml.pl @@ -12,3 +12,19 @@ foreach my $f (@ARGV) { $p->parse($f); print $h->tree->xml; } + +__END__ + +=head1 NAME + +stag-itext2xml - converts between stag formats + +=head1 DESCRIPTION + +Converts from itext to xml format. + +=head1 SEE ALSO + +L + +=cut --- a/scripts/stag-xml2itext.pl +++ b/scripts/stag-xml2itext.pl @@ -9,4 +9,19 @@ $p->handler($h); foreach my $xmlfile (@ARGV) { $p->parse($xmlfile); } +__END__ + +=head1 NAME + +stag-xml2itext - converts between stag formats + +=head1 DESCRIPTION + +Converts from xml to itext format. + +=head1 SEE ALSO + +L + +=cut debian/patches/more_pod_errors.patch0000644000000000000000000000177112216130337015042 0ustar Description: fix even more pod errors Author: Florian Schlichting Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=88750 --- a/scripts/stag-autoschema.pl +++ b/scripts/stag-autoschema.pl @@ -134,7 +134,7 @@ 0 or one -=item * +=item *Z<> 0 or more --- a/scripts/stag-parse.pl +++ b/scripts/stag-parse.pl @@ -149,8 +149,6 @@ all parse error events go to this module -=item - =item -r|root NODE_NAME if this is specified, NODE_NAME becomes the root of the stag tree, and --- a/Data/Stag.pm +++ b/Data/Stag.pm @@ -958,7 +958,7 @@ $h = Data::Stag->makehandler( person => sub { my ($self,$stag) = @_; print $stag->name; - return $stag; # dont change tree + return $stag; # don't change tree }); $stag = Data::Stag->parse(-str=>"(...)", -handler=>$h) debian/patches/fix_pod_errors.patch0000644000000000000000000000322111671743012014662 0ustar # Author: Damyan Ivanov # Description: fix POD errors # most of these are misplaces/missing =over # plus a mistyped N<..> instead of B<..> # Upstream-Bug: http://rt.cpan.org/Ticket/Display.html?id=41898 --- a/scripts/stag-diff.pl +++ b/scripts/stag-diff.pl @@ -186,7 +186,9 @@ stag-diff - finds the difference between Compares two data trees and reports whether they match. If they do not match, the mismatch is reported. -=over ARGUMENTS +=head2 ARGUMENTS + +=over =item -help|h --- a/scripts/stag-join.pl +++ b/scripts/stag-join.pl @@ -105,6 +105,8 @@ file =head1 ARGUMENTS +=over + =item -p|parser FORMAT FORMAT is one of xml, sxpr or itext, or the name of a perl module @@ -115,6 +117,8 @@ xml assumed as default FORMAT is one of xml, sxpr or itext, or the name of a perl module +=back + =head1 LIMITATIONS currently not event based, so may not be memory efficicent. could be --- a/scripts/stag-handle.pl +++ b/scripts/stag-handle.pl @@ -135,7 +135,9 @@ stag-handle - streams a stag file throug will take a Stag compatible format (xml, sxpr or itext), turn the data into an event stream passing it through my-handler.pl -=over ARGUMENTS +=head1 ARGUMENTS + +=over =item -help|h --- a/Data/Stag/HashDB.pm +++ b/Data/Stag/HashDB.pm @@ -37,7 +37,7 @@ Used for building indexes over Stag file You need to provide a B - this is the type of element that will be indexed -You need to provide a N - this is a single value used to +You need to provide a B - this is a single value used to index the Bs For example, if we have data in the stag structure below, and if ss_no debian/docs0000644000000000000000000000001111671743012010033 0ustar homepage debian/watch0000644000000000000000000000057312101263453010221 0ustar # format version number, currently 3; this line is compulsory! version=3 # Non-free file removed, get-orig-source not necessary anymore -- Charles #http://search.cpan.org/dist/Data-Stag/ .*/Data-Stag-([\.\d]+)\.(?:tar\.gz|tar|tgz)$ debian debian/get-orig-source opts=dversionmangle=s/~dfsg// \ https://metacpan.org/release/Data-Stag/ .*/Data-Stag-([\.\d]+)\.(?:tar\.gz|tar|tgz)$ debian/copyright0000644000000000000000000000230612216130337011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://metacpan.org/release/Data-Stag Upstream-Contact: Chris Mungall Upstream-Name: Data-Stag Files: * Copyright: 2002, 2004, Chris Mungall License: Artistic or GPL-1+ Files: debian/* Copyright: 2007, David Paleino 2008, Charles Plessy 2008, Gregor Herrmann 2008, Damyan Ivanov 2013, Florian Schlichting License: Artistic or 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 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 systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/libdata-stag-perl.doc-base0000644000000000000000000000050611671743012014064 0ustar Document: libdata-stag-perl-homepage Title: Copy of the Stag homepage Abstract: This is a local copy of http://stag.sourceforge.net/, provided by the CPAN Data::Stag module. Section: Programming Format: HTML Index: /usr/share/doc/libdata-stag-perl/homepage/index.html Files: /usr/share/doc/libdata-stag-perl/homepage/*.html debian/control0000644000000000000000000000257712216130337010602 0ustar Source: libdata-stag-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: perl, libio-string-perl, libxml-perl Maintainer: Debian Perl Group Uploaders: Charles Plessy , Damyan Ivanov , Florian Schlichting Standards-Version: 3.9.4 Homepage: http://stag.sourceforge.net/ Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libdata-stag-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdata-stag-perl.git Package: libdata-stag-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libio-string-perl Recommends: perl-tk, libgd-gd2-perl | libgd-gd2-noxpm-perl, libxml-libxslt-perl, libmldbm-perl, libgraph-perl, libxml-perl Description: module to manipulate Structured Tags datastructures Data::Stag is for manipulating data as hierarchical tag/value pairs (Structured TAGs or Simple Tree AGgreggates). These datastructures can be represented as nested arrays, which have the advantage of being native to perl. A simple example is shown below: . [ person=> [ [ family_name => $family_name ], [ given_name => $given_name ], [ phone_no => $phone_no ] ] ], . Data::Stag uses a subset of XML for import and export. This means the module can also be used as a general XML parser/writer (with certain caveats). debian/compat0000644000000000000000000000000212215561124010363 0ustar 8 debian/changelog0000644000000000000000000000446012216130425011040 0ustar libdata-stag-perl (0.13-1) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Florian Schlichting ] * Import Upstream version 0.13 * Bump dh compatibility to level 8 (no changes necessary) * Switch to source format 3.0 (quilt), dropping README.source * Bump Standards-Version to 3.9.4 (delete versioned depends perl >= 5.10) * Switch to short-form debian/rules * Refresh debian/copyright * Delete fix_WHATIS_entries.patch, applied upstream * fix_manpage_names.patch mostly applied upstream * New more_pod_errors.patch * Make short description a noun phrase * Add myself to uploaders -- Florian Schlichting Tue, 17 Sep 2013 21:43:56 +0200 libdata-stag-perl (0.11-2) unstable; urgency=low [ gregor herrmann ] * Add debian/README.source to document quilt usage, as required by Debian Policy since 3.8.0. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). [ David Paleino ] * Removed myself from Uploaders (Closes: #509512) [ Damyan Ivanov ] * control: wrap Recommends * rules,control,compat: convert to debhelper 7 * Standards-Version: 3.8.0 (README.source already added by gregor) * add myself to Uploaders * add debian/clean automating removal of test suite cruft * add fix_pod_errors.patch fixing a couple of POD errors -- Damyan Ivanov Tue, 23 Dec 2008 09:34:10 +0200 libdata-stag-perl (0.11-1) unstable; urgency=low * New upstream version available. - modified maptree; return arrays - removed gif from distribution - removed warnings from ITextWriter (thanks Heikki!) * debian/get-orig-source: removed. * debian/watch does not call get-orig-source anymore. * debian/copyright: - incremented year for the upstream author. - removed the explanation about a non-free gif that is now removed upstream. * debian/patches forwarded upstream. -- Charles Plessy Mon, 30 Jun 2008 13:11:19 +0900 libdata-stag-perl (0.10~dfsg-1) unstable; urgency=low * Initial Release (Closes: #478251). -- Charles Plessy Fri, 09 May 2008 07:00:08 +0900 debian/upstream-metadata.yaml0000644000000000000000000000010211671743012013463 0ustar Contact: Chris Mungall Name: Data::Stag debian/source/0000755000000000000000000000000012213703163010464 5ustar debian/source/format0000644000000000000000000000001412215561360011675 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000034012216130336010240 0ustar #!/usr/bin/make -f PKG = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PKG) %: dh $@ override_dh_auto_install: dh_auto_install prename 's/\.pl//' $(TMP)/usr/bin/* prename 's/\.pl//' $(TMP)/usr/share/man/man1/*1p* debian/clean0000644000000000000000000000025311671743012010175 0ustar qq t/z.xml t/data/attrs.xml.sxpr.xml.itext.xml t/data/attrs.xml.sxpr.xml.itext t/data/attrs.xml.sxpr.xml t/data/attrs.xml.sxpr t/data/person-processed.el t/data/test.sxpr