debian/0000755000000000000000000000000011370306162007165 5ustar debian/control0000644000000000000000000000320211370302065010563 0ustar Source: libxml-xql-perl Section: perl Priority: optional Maintainer: Debian Perl Group Uploaders: Jay Bonci , Ansgar Burchardt Standards-Version: 3.8.4 Homepage: http://search.cpan.org/dist/XML-XQL/ Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libxml-xql-perl/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libxml-xql-perl/ Build-Depends: debhelper (>= 7.0.50~) Build-Depends-Indep: perl, libdate-manip-perl (>= 5.33), libparse-yapp-perl, libxml-dom-perl (>= 1.29), libxml-regexp-perl (>= 0.03) Package: libxml-xql-perl Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, libdate-manip-perl (>= 5.33), libparse-yapp-perl, libxml-dom-perl (>= 1.29), libxml-regexp-perl (>= 0.03) Description: Perl module for querying XML tree structures with XQL The XML::XQL module implements the XQL (XML Query Language) proposal submitted to the XSL Working Group in September 1998. The spec can be found at: http://www.w3.org/TandS/QL/QL98/pp/xql.html. Most of the contents related to the XQL syntax can also be found in the XML::XQL::Tutorial that comes with this distribution. Note that XQL is not the same as XML-QL! . The current implementation only works with the XML::DOM module, but once the design is stable and the major bugs are flushed out, other extensions might follow, e.g. for XML::Grove. . XQL was designed to be extensible and this implementation tries to stick to that. Users can add their own functions, methods, comparison operators and data types. Plugging in a new XML tree structure (like XML::Grove) should be a piece of cake. debian/libxml-xql-perl.examples0000644000000000000000000000002011320360212013735 0ustar samples/* bin/* debian/copyright0000644000000000000000000000220511370305272011120 0ustar Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 Maintainer: T.J. Mather Source: http://search.cpan.org/dist/XML-XQL/ Name: XML-XQL Copyright: © 1998-2000, Enno Derksen License-Alias: Perl License: Artistic or GPL-1+ Files: debian/* Copyright: © 2001-2003, Ardo van Rangelrooij © 2004, Jay Bonci © 2010, Ansgar Burchardt 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 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' debian/watch0000644000000000000000000000015311320137621010212 0ustar version=3 http://search.cpan.org/dist/XML-XQL/ .*/XML-XQL-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/patches/0000755000000000000000000000000011370306024010611 5ustar debian/patches/spelling.patch0000644000000000000000000000336711370302065013461 0ustar From: Ansgar Burchardt Date: Wed, 05 May 2010 18:43:52 +0900 Subject: Fix spelling errors Bug: https://rt.cpan.org/Ticket/Display.html?id=54316 --- libxml-xql-perl.orig/lib/XML/XQL.pm +++ libxml-xql-perl/lib/XML/XQL.pm @@ -3161,7 +3161,7 @@ # Text, CDATASection: # - xql_data: return expanded text value # -# -xql_element could be overriden to speed up performance +# -xql_element could be overridden to speed up performance # 1; @@ -3363,8 +3363,8 @@ new XML::XQL::Date ($elem->xql_text, $elem); }); -These convertors can only be specified at a global level, not on a per query -basis. To undefine a convertor, simply pass a FUNCREF of undef. +These converters can only be specified at a global level, not on a per query +basis. To undefine a converter, simply pass a FUNCREF of undef. =item defineAttrValueConvertor (ELEM_TAG_NAME, ATTR_NAME, FUNCREF) @@ -3378,8 +3378,8 @@ FUNCREF should be a reference to a Perl function, e.g. \&my_sub, or an anonymous sub. -These convertors can only be specified at a global level, not on a per query -basis. To undefine a convertor, simply pass a FUNCREF of undef. +These converters can only be specified at a global level, not on a per query +basis. To undefine a converter, simply pass a FUNCREF of undef. =item defineTokenQ (Q) @@ -3830,7 +3830,7 @@ The resulting values are then casted to the type of the object with the highest xql_primType() value. They are as follows: Node (0), Text (1), Number (2), Boolean (3), Date (4), other data types (4 by default, but this may be -overriden by the user.) +overridden by the user.) E.g. if one value is a Text value and the other is a Number, the Text value is cast to a Number and the resulting low-level (Perl) comparison is (for $eq$): debian/patches/long-double.patch0000644000000000000000000000220211370302065014036 0ustar From: Ansgar Burchardt Date: Wed, 05 May 2010 18:43:52 +0900 Bug-Debian: http://bugs.debian.org/578897 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=57221 Subject: Fix test failures when perl is compiled with long doubles --- libxml-xql-perl.orig/t/xql_sin2.t +++ libxml-xql-perl/t/xql_sin2.t @@ -22,7 +22,7 @@ $^W=0; my $data = join('',); #print "{{$data}}\n{{$str}}\n"; - assert_ok ($str eq $data); + assert_ok ($str =~ /^$data$/s); } #Test 2 @@ -49,15 +49,15 @@ __DATA__ - 0.841470984807897 + 0\.841470984807[0-9]+ - 0.909297426825682 + 0\.909297426825[0-9]+ - 0.141120008059867 + 0\.141120008059[0-9]+ - -0.756802495307928 + -0\.756802495307[0-9]+ debian/patches/series0000644000000000000000000000004111370302065012022 0ustar spelling.patch long-double.patch debian/compat0000644000000000000000000000000211320360250010354 0ustar 7 debian/changelog0000644000000000000000000000770511370302065011046 0ustar libxml-xql-perl (0.68-6) unstable; urgency=low * Make less assumptions on precision of floating point calculations. (Closes: #578897) + new patch: long-double.patch * Use source format 3.0 (quilt); drop README.source and quilt framework. * Bump Standards-Version to 3.8.4 (no changes). -- Ansgar Burchardt Wed, 05 May 2010 19:20:52 +0900 libxml-xql-perl (0.68-5) unstable; urgency=low [ gregor herrmann ] * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). * Set Maintainer to Debian Perl Group. * Use dist-based URL in debian/watch. * Remove changes to upstream Makefile.PL; we handle dependencies ourselves via debian/control and remove /usr/bin via debian/rules. * Split out changes to xql.pl into a patch; add quilt framework. * Add debian/README.source to document quilt usage, as required by Debian Policy since 3.8.0. * debian/control: Added: ${misc:Depends} to Depends: field. [ Ansgar Burchardt ] * Add myself to Uploaders. * Bump Standards-Version to 3.8.3. * Refresh rules for debhelper 7. * debian/control: Mention module name in description. * debian/control: Remove duplicate Section and Priority fields from binary package stanza. * debian/control: Remove Conflicts, Replaces libxml-enno-perl (no longer in Debian). * debian/watch: Use extended regular expression to match releases. * Convert debian/copyright to proposed machine-readable format. [ gregor herrmann ] * Fix hashbang in xql.pl from debian/rules instead of using a patch. -- Ansgar Burchardt Sun, 03 Jan 2010 20:10:14 +0900 libxml-xql-perl (0.68-4) unstable; urgency=low * Adds debian/watch so uscan will work -- Jay Bonci Wed, 27 Oct 2004 13:36:28 -0400 libxml-xql-perl (0.68-3) unstable; urgency=low * New Maintainer (Closes: #210548) * Updated to policy-version 3.6.1.0 (no other changes) * Updated copyright to explicate duality of perl license * Removed install file as it is no longer needed * Updated to my standard rules template -- Jay Bonci Mon, 15 Mar 2004 16:29:04 -0500 libxml-xql-perl (0.68-2) unstable; urgency=low * debian/rules: moved debhelper compatibility level setting to 'debian/compat' per latest debhelper best practices * debian/control: updated sections according to latest archive changes: - 'libxml-xql-perl' from 'interpreters' to 'perl' * debian/control: upgraded build dependency on 'debhelper' to '>= 4.1' * debian/control: upgraded to Debian Policy 3.6.0 (no changes) -- Ardo van Rangelrooij Sat, 6 Sep 2003 09:22:17 -0500 libxml-xql-perl (0.68-1) unstable; urgency=low * New upstream release * debian/control: upgraded to Debian Policy 3.5.8 (no changes) * Makefile.PL: removed obsolete dependency on 'LWP::UserAgent' (notified upstream) * Makefile.PL: added missing dependency on 'XML::RegExp' (notified upstream) -- Ardo van Rangelrooij Sat, 25 Jan 2003 14:30:22 -0600 libxml-xql-perl (0.67-2) unstable; urgency=low * debian/rules: upgraded to debhelper v4 * debian/control: changed build dependency on debhelper accordingly * debian/rules: migrated from 'dh_movefiles' to 'dh_install' * debian/rules: split off 'install' target from 'binary-indep' target * debian/copyright: added pointer to license -- Ardo van Rangelrooij Fri, 9 Aug 2002 21:59:15 -0500 libxml-xql-perl (0.67-1) unstable; urgency=low * New upstream release -- Ardo van Rangelrooij Sun, 26 May 2002 11:05:25 -0500 libxml-xql-perl (0.66-2) unstable; urgency=low * debian/control: upgraded to Debian Policy 3.5.6 -- Ardo van Rangelrooij Sun, 23 Dec 2001 21:56:41 -0600 libxml-xql-perl (0.66-1) unstable; urgency=low * Initial release as a separate package -- Ardo van Rangelrooij Sun, 2 Sep 2001 22:23:48 -0500 debian/source/0000755000000000000000000000000011370306024010462 5ustar debian/source/format0000644000000000000000000000001411370302065011671 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000052311370302065010243 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_auto_install: dh_auto_install $(RM) -r $(CURDIR)/debian/libxml-xql-perl/usr/bin override_dh_installexamples: dh_installexamples sed -i '1s|^#!.*perl.*$$|#!/usr/bin/perl -w|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/*