debian/0000755000000000000000000000000012256633404007173 5ustar debian/changelog0000644000000000000000000001122312256633404011044 0ustar libopenoffice-oodoc-perl (2.125-3) unstable; urgency=low * Team upload [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Axel Beckert ] * Fix FTBFS due to interactive questions by using "rm -f" instead of just "rm" in debian/rules. * Apply patch by John Zaitseff to silence lc warnings about undefined values. (Closes: #733027) * Bump Standards-Version to 3.9.5 (no changes) * Bump debhelper compatibility to 9 to get rid of dh_pysupport deprecation warning. + Update versioned debhelper build-dependency accordingly * Apply wrap-and-sort -- Axel Beckert Wed, 25 Dec 2013 20:50:28 +0100 libopenoffice-oodoc-perl (2.125-2) unstable; urgency=low [ gregor herrmann ] * Remove version from perl (build) dependency. [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * Add libtext-wrapper-perl to Recommends, needed by the odf2pod exmple script. Thanks to Kurt Starsinic for the bug report. (Closes: 671488) * debian/copyright: update to Copyright-Format 1.0. * Update years of packaging copyright and license stanzas. * Bump Standards-Version to 3.9.3 (no changes). * Set debhelper compatibility level to 8. * debian/control: remove versions from (build) dependencies, nothing older in the archive. * Add spelling.patch. -- gregor herrmann Fri, 04 May 2012 20:53:45 +0200 libopenoffice-oodoc-perl (2.125-1) unstable; urgency=low * New upstream release. * Refreshed Format-Specification url in d.copyright. * Bumped up Standards-Version to 3.9.0 (no changes). * Drop versionned dependency on perl (>= 5.10). -- Franck Joncourt Fri, 16 Jul 2010 23:06:18 +0200 libopenoffice-oodoc-perl (2.124-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release [ gregor herrmann ] * Refresh patch fix-pod-errors.patch. -- Jonathan Yu Sun, 04 Apr 2010 13:01:26 -0400 libopenoffice-oodoc-perl (2.123-1) unstable; urgency=low * New upstream release. * Add /me to Uploaders. -- gregor herrmann Sun, 28 Mar 2010 20:58:59 +0200 libopenoffice-oodoc-perl (2.122-1) unstable; urgency=low * New upstream release * Update copyright information from changelog * Use new 3.0 (quilt) source format * Add a patch to fix POD errors -- Jonathan Yu Sun, 14 Mar 2010 13:05:45 -0400 libopenoffice-oodoc-perl (2.112-1) unstable; urgency=low * New upstream release * Refreshed my email address. * Bumped up Standards-Version to 3.8.4 (no changes). -- Franck Joncourt Thu, 28 Jan 2010 22:21:30 +0100 libopenoffice-oodoc-perl (2.111-1) unstable; urgency=low * New upstream release -- Jonathan Yu Mon, 11 Jan 2010 10:32:34 -0500 libopenoffice-oodoc-perl (2.109-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Refresh to new DEP5 copyright format * Rewrite control description * Add myself to Uploaders and Copyright * Move dependencies from B-D to B-D-I [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Maximilian Gass ] * Changed writing of my last name in control * Switched to concise debian/rules with overrides * Bumped Standards-Version to 3.8.3: no changes necessary -- Jonathan Yu Thu, 07 Jan 2010 21:59:28 -0500 libopenoffice-oodoc-perl (2.108-1) unstable; urgency=low [ Franck Joncourt ] * New upstream release * d/control: + Bumped up Standards-Version to 3.8.1 (no changes). + Updated BDI from perl (>= 5.6.10-12) to perl. + Add /me to Uploaders. * d/copyright: Updated copyright years for upstream * Do not install scripts both in /usr/share/doc/$pkg/examples and /usr/bin. * d/clean: Added both OODoc/config.xml and odftest.odt to remove them during the clean stage rather than *rm* them through d.rules. -- Damyan Ivanov Thu, 28 May 2009 08:42:06 +0300 libopenoffice-oodoc-perl (2.107-1) unstable; urgency=low * New upstream release + bump libxml-twig-perl (build-)dependency to 3.32 this also fixes a missing twig normalize method, used by OODoc 2.106 -- Damyan Ivanov Mon, 08 Dec 2008 16:45:33 +0200 libopenoffice-oodoc-perl (2.106-1) unstable; urgency=low * New upstream release * add myself to Uploaders -- Damyan Ivanov Sun, 23 Nov 2008 11:56:35 +0200 libopenoffice-oodoc-perl (2.105-1) unstable; urgency=low * Initial Release. (Closes: #496659) -- Maximilian Gaß Sat, 01 Nov 2008 14:32:00 +0300 debian/clean0000644000000000000000000000003512256312313010167 0ustar odftest.odt OODoc/config.xml debian/compat0000644000000000000000000000000212256631551010372 0ustar 9 debian/control0000644000000000000000000000301612256632305010575 0ustar Source: libopenoffice-oodoc-perl Section: perl Priority: optional Build-Depends: debhelper (>= 9~) Build-Depends-Indep: libarchive-zip-perl, libxml-twig-perl, perl Maintainer: Debian Perl Group Uploaders: Maximilian Gass , Damyan Ivanov , Jonathan Yu , Franck Joncourt , gregor herrmann Standards-Version: 3.9.5 Homepage: https://metacpan.org/release/OpenOffice-OODoc Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libopenoffice-oodoc-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libopenoffice-oodoc-perl.git Package: libopenoffice-oodoc-perl Architecture: all Depends: libarchive-zip-perl, libxml-twig-perl, ${misc:Depends}, ${perl:Depends} Recommends: libtext-wrapper-perl Description: module for working with Open Document Format files OpenOffice::OODoc is a Perl module for reading from/writing to files that comply with the OASIS Open Document Format for Office Applications (ODF), also known as the ISO/IEC 26300:2006 standard. It provides a high-level, document-oriented language, and isolates the programmer from the details of the file format. . This module can process different document classes (texts, spreadsheets, presentations, and drawings). It can retrieve or update styles and images, document metadata, as well as text content. debian/copyright0000644000000000000000000000244012256631733011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: OpenOffice-OODoc Upstream-Contact: Jean-Marie Gouarné Source: https://metacpan.org/release/OpenOffice-OODoc/ Files: * Copyright: 2004-2010, Genicorp, S.A. License: LGPL-2.1 Files: debian/* Copyright: 2010, Jonathan Yu 2010, Franck Joncourt 2008-2009, Damyan Ivanov 2008, Maximilian Gaß 2012, gregor herrmann License: GPL-2+ License: GPL-2+ 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 2, or (at your option) any later version. . On Debian systems, the complete text of version 2 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. License: LGPL-2.1 This software is free software. It is subject to the terms and conditions of the GNU Lesser General Public Licence, version 2.1, of the Free Software Foundation (http://www.fsf.org). . On Debian systems, the complete text of version 2.1 of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. debian/libopenoffice-oodoc-perl.examples0000644000000000000000000000001612256312313015566 0ustar oodoc_version debian/patches/0000755000000000000000000000000012256630560010622 5ustar debian/patches/fix-pod-errors.patch0000644000000000000000000000115312256312313014514 0ustar Description: fix POD errors Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=76994 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=76994 Author: Jonathan Yu Reviewed-by: gregor herrmann --- a/OODoc/XPath.pod +++ b/OODoc/XPath.pod @@ -968,7 +968,7 @@ features of OODoc::Meta and OODoc::Docum =head3 getFirstTextRun(path, position) -=hread3 getFirstTextRun(element) +=head3 getFirstTextRun(element) Returns the first text segment of an element whose text content is segmented due to one or more child elements. In other words, returns debian/patches/spelling.patch0000644000000000000000000001171112256312313013452 0ustar Description: spelling fixes Origin: vendor Bug: https://rt.cpan.org/Ticket/Display.html?id=76996 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=76996 Author: gregor herrmann Last-Update: 2012-05-04 --- a/OODoc/Image.pod +++ b/OODoc/Image.pod @@ -10,7 +10,7 @@ size and position of an image and exchange its content outside the document. -This class should not be explictly used in an ordinary application, because +This class should not be explicitly used in an ordinary application, because all its features are available in the OpenOffice::OODoc::Document class, in combination with other features. So, each time an application needs to get an image-focused access to a document, it should use the general odfDocument() --- a/OODoc/Intro.pod +++ b/OODoc/Intro.pod @@ -316,7 +316,7 @@ $doc->setText($element, "A new text content"); $doc->setAttribute($element, 'style name' => "Text Body Style"); -The same layer of the API allows to append of insert new elements. The next +The same layer of the API allows one to append of insert new elements. The next example demonstrates the use of appendElement(); it creates a new paragraph with given text and style and appends it to the existing content: --- a/OODoc/Meta.pod +++ b/OODoc/Meta.pod @@ -250,7 +250,7 @@ type => 'float', value => 5.4 ); - The 'type' option allows to change the data type of an existing user- + The 'type' option allows one to change the data type of an existing user- defined property. However, if a new property is created without 'type' option, the 'string' type is selected by default. --- a/OODoc/Text.pod +++ b/OODoc/Text.pod @@ -2688,13 +2688,13 @@ arguments are the target element (generally a paragraph) and a mandatory identifier (that should be unique). - A 'type' parameter allows to select the type of index; possible + A 'type' parameter allows one to select the type of index; possible values are 'alphabetical-index' or 'toc' (the last one stands for "table of contents index mark"). The default is 'alphabetical-index' (it may be wrote 'alphabetical index', knowing that every space is automatically interpreted as a '-'). - A 'content' parameter allows to specify an expression; the first + A 'content' parameter allows one to specify an expression; the first substring in the element that matches this expression will become the indexed substring. It's possible to restrict the search area using a 'offset' option, a positive or negative integer; a positive value means @@ -2738,7 +2738,7 @@ parameters, each one being a hash, just like with the second form of setBookmark() that created a range bookmark, with a restriction: - The 'start' and 'end' optional parameters allows to specify the start + The 'start' and 'end' optional parameters allows one to specify the start and the end positions of the index mark. Each one is a hash that may contain the same options as with setBookmark() described below, namely 'offset', 'before', 'after', 'replace', and 'way', with the exception --- a/OODoc/XPath.pod +++ b/OODoc/XPath.pod @@ -1772,7 +1772,7 @@ containing the given value. If the value is omitted, then returns the first (or only) element that owns the attribute whatever the value. - The context optional argument allows to restrict the search space to + The context optional argument allows one to restrict the search space to a given container. The last optional argument, if set, is a positive integer that specifies the index of the required element if more than one element match the other conditions (beware: if the specified @@ -1932,7 +1932,7 @@ By default, the new element is created without text and attributes. However, an initial content may be provided through a 'text' optional - parameter. In addition, a 'attributes' option allows to provide a set + parameter. In addition, a 'attributes' option allows one to provide a set of attributes for the new element as a hash reference; note that every attribute name provided without namespace prefix is automatically concatenated with the same namespace prefix as the given element name. @@ -2172,7 +2172,7 @@ If (and only if) the 'context' parameter is set (meaning that the whole text content between the marks belongs to the same element), a - 'content' optional parameter allows to provide an expression; if so, + 'content' optional parameter allows one to provide an expression; if so, the setRangeMark() will look for the first substring that matches this expression in the target element, and in case of success the range marks will be inserted at the beginning and the end of this substring. The debian/patches/series0000644000000000000000000000007312256573064012044 0ustar fix-pod-errors.patch spelling.patch silence-warnings.patch debian/patches/silence-warnings.patch0000644000000000000000000000135012256630560015112 0ustar Description: Silence warnings about "Use of uninitialized value in lc" Bug-Debian: http://bugs.debian.org/733027 Bug: https://rt.cpan.org/Public/Bug/Display.html?id=78711 Author: John Zaitseff Index: libopenoffice-oodoc-perl-2.125/OODoc/File.pm =================================================================== --- libopenoffice-oodoc-perl-2.125.orig/OODoc/File.pm 2010-07-08 03:39:55.000000000 +1000 +++ libopenoffice-oodoc-perl-2.125/OODoc/File.pm 2013-12-24 16:09:54.972228124 +1100 @@ -375,7 +375,8 @@ @_ }; - my $od = lc $self->{'opendocument'}; + my $od = $self->{'opendocument'}; + $od = lc $od if defined($od); unless ($od) { if ($OpenOffice::OODoc::File::DEFAULT_OFFICE_FORMAT == 2) debian/rules0000755000000000000000000000051712256572661010265 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_auto_configure: dh_auto_configure -- --encoding 'utf8' override_dh_auto_test: rm -f blib/lib/OpenOffice/OODoc/config.xml dh_auto_test override_dh_auto_install: dh_auto_install rm -f $(TMP)/usr/bin/oodoc_version debian/source/0000755000000000000000000000000012256312313010464 5ustar debian/source/format0000644000000000000000000000001412256312313011672 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000036412256632317010231 0ustar # format version number, currently 3; this line is compulsory! version=3 # URL to the package page followed by a regex to search https://metacpan.org/release/OpenOffice-OODoc .*/OpenOffice-OODoc-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$