debian/0000755000000000000000000000000012262654067007200 5ustar debian/rules0000755000000000000000000000003612262652411010246 0ustar #! /usr/bin/make -f %: dh $@ debian/install0000644000000000000000000000005512262652411010560 0ustar info2man info2pod usr/bin cs usr/share/perl5 debian/.git-dpm0000644000000000000000000000042212262652411010527 0ustar # see git-dpm(1) from git-dpm package bc30171a538efd292b853d95c4113a45be86b850 bc30171a538efd292b853d95c4113a45be86b850 2d185286d49322300f976ac3583c12dccfef0c14 2d185286d49322300f976ac3583c12dccfef0c14 info2man_1.1.orig.tar.gz d6058881d9b0ad848681b3109d1e9894d5025246 68573 debian/copyright0000644000000000000000000000106612262652411011125 0ustar This package was Debianized by Colin Watson on Thu, 20 Jun 2002 18:30:13 +0100. It was downloaded from: http://www.cskk.ezoshosting.com/cs/css/info2pod.html Upstream Author: Cameron Simpson Copyright: Copyright (C) 1999, 2000 Cameron Simpson You're free to use, modify and redistribute these scripts provided that: - you leave my code marked as mine and your modifications (if any) marked as yours - you make recipients aware that the scripts can be obtained for free from my own web page debian/docs0000644000000000000000000000001412262652411010035 0ustar 0README.txt debian/source/0000755000000000000000000000000012262652411010467 5ustar debian/source/format0000644000000000000000000000001412262652411011675 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012262653742010626 5ustar debian/patches/perl5-flush.patch0000644000000000000000000000256212262652411014012 0ustar From a5cea58b40a70ed6f44fa051e69c9d78fb4c5c13 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 7 Jan 2014 01:14:48 +0000 Subject: Use FILE->flush instead of Perl 4 'flush.pl' Bug-Debian: http://bugs.debian.org/652499 Forwarded: no Last-Update: 2012-01-31 Patch-Name: perl5-flush.patch --- cs/Misc.pm | 1 - cs/Sink.pm | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/cs/Misc.pm b/cs/Misc.pm index 3fa7808..2660285 100644 --- a/cs/Misc.pm +++ b/cs/Misc.pm @@ -8,7 +8,6 @@ use strict qw(vars); BEGIN { use cs::DEBUG; cs::DEBUG::using(__FILE__); } -require 'flush.pl'; # for ::flush() use cs::Math; package cs::Misc; diff --git a/cs/Sink.pm b/cs/Sink.pm index 7b8d8b4..9f56f02 100644 --- a/cs/Sink.pm +++ b/cs/Sink.pm @@ -66,8 +66,6 @@ BEGIN { use cs::DEBUG; cs::DEBUG::using(__FILE__); } use cs::Misc; use cs::IO; -require 'flush.pl'; - package cs::Sink; $cs::Sink::_UseIO=$cs::IO::_UseIO; @@ -150,7 +148,7 @@ Flushes any pending output in I as a side-effect. if ($type eq FILE) { my($FILE)=shift; - ::flush($FILE); + $FILE->flush; $this->{IO}=($cs::Sink::_UseIO ? new_from_fd IO::Handle (fileno($FILE),"w") : $FILE); @@ -448,7 +446,7 @@ sub Flush if ($type eq FILE) { - ::flush($this->{IO}); + $this->{IO}->flush; } elsif ($type eq ARRAY || $type eq SCALAR) {} debian/patches/fix-open.patch0000644000000000000000000000310612262652411013364 0ustar From bc30171a538efd292b853d95c4113a45be86b850 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 7 Jan 2014 01:14:49 +0000 Subject: Fix cs::IO::openR to work with modern Perl Forwarded: no Last-Update: 2012-01-31 Patch-Name: fix-open.patch --- cs/IO.pm | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/cs/IO.pm b/cs/IO.pm index 6daeedc..7c4943d 100644 --- a/cs/IO.pm +++ b/cs/IO.pm @@ -329,22 +329,24 @@ sub openR else { $io=mkHandle(); } - my($openstr)=$file; + my($result); if (! @filters) # short open - tidy up name - { if ($openstr !~ m:^/:) - { $openstr="./$openstr"; + { if ($file !~ m:^/:) + { $file="./$file"; } - $openstr="< $openstr\0"; + if ($cs::IO::_UseIO) + { $result=$io->open("<",$file); + } + else { $result=open($io,"<",$file); + } } else # construct shell pipeline { - # quote filename - $openstr =~ s:':'\\'':g; - $openstr=" <'$openstr'"; + my($openstr)=""; FILTER: for (reverse @filters) @@ -353,14 +355,23 @@ sub openR next FILTER; } - $openstr.=" $cs::IO::_Filter{$_}->{FROM} |"; + $openstr.=" | " if length($openstr); + $openstr.=$cs::IO::_Filter{$_}->{FROM}; } + # quote filename + $openstr="<\Q$file\E $openstr"; + # warn "_openR(@_): [$openstr]"; + if ($cs::IO::_UseIO) + { $result=$io->open("-|",$openstr); + } + else + { $result=open($io,"-|",$openstr); + } } - ($cs::IO::_UseIO ? $io->open($openstr) : open($io,$openstr)) - ? $io : undef; + $result ? $io : undef; } sub openW debian/patches/series0000644000000000000000000000004112262652411012026 0ustar perl5-flush.patch fix-open.patch debian/compat0000644000000000000000000000000212262652411010365 0ustar 7 debian/control0000644000000000000000000000154312262653147010604 0ustar Source: info2man Section: doc Priority: optional Maintainer: Colin Watson Standards-Version: 3.9.5 Build-Depends: debhelper (>= 7.0.0) Vcs-Git: git://anonscm.debian.org/users/cjwatson/info2man.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/cjwatson/info2man.git Homepage: http://www.cskk.ezoshosting.com/cs/css/info2pod.html Package: info2man Architecture: all Depends: ${misc:Depends}, ${perl:Depends} Recommends: man-db Description: Convert GNU info files to POD or man pages This package provides the info2pod tool to convert GNU info documents into Perl's POD (Plain Old Documentation) format. From there, they can be converted to manual pages to be viewed by people who prefer conventional pagers to the standard info viewer or Emacs. . The info2man tool uses info2pod and pod2man to perform the conversion in one step. debian/info2man.10000644000000000000000000000231212262652411010760 0ustar .TH INFO2MAN 1 .SH NAME info2man \- generate man pages from info documents .SH SYNOPSIS .B info2man .I info-file .SH DESCRIPTION .B info2man converts a GNU info file to a man page. It first generates a POD (Plain Old Documentation) file using .BR info2pod (1), then converts this to a man page using .BR pod2man (1). .PP .I info-file should be the full path to the info file (probably in .I /usr/share/info or similar). .SH OPTIONS None. .SH NOTES The style of info documentation and man pages differs considerably. Info documentation is generally written as a book, making full use of chapters, hyperlinks, footnotes, and the like. By contrast, man pages are often intended as something closer to a reference card. .PP That said, many people prefer the interface used to view man pages (a normal pager) to the available info browsers. This program will convert the form, but not the content; don't expect it to possess the artificial intelligence necessary to turn a lengthy interconnected info file into a man page that is a model of conciseness! .SH AUTHOR Cameron Simpson wrote .BR info2man . .PP Colin Watson wrote this manual page. .SH "SEE ALSO" .BR info2pod (1), .BR pod2man (1). debian/changelog0000644000000000000000000000351612262654066011056 0ustar info2man (1.1-7) unstable; urgency=medium * Switch to git; adjust Vcs-* fields. * Policy version 3.9.5: no changes required. -- Colin Watson Tue, 07 Jan 2014 01:27:28 +0000 info2man (1.1-6) unstable; urgency=low * Update Vcs-Bzr field for Alioth changes. * Use FILE->flush (relying on filehandles being instances of IO::Handle, true as of Perl 5.004) instead of the Perl 4 library 'flush.pl' (closes: #652499). * Fix cs::IO::openR to work with modern Perl. -- Colin Watson Tue, 31 Jan 2012 12:54:21 +0000 info2man (1.1-5) unstable; urgency=low * Convert to source format 3.0 (quilt). * Policy version 3.8.4: - No longer need to build-depend on perl (>= 5.6.0-16). - Add a Homepage field, and update the dead URL in debian/copyright. * Add a best guess at a copyright notice, to placate Lintian. Apologies to upstream if this turns out to be wrong - let me know. -- Colin Watson Sun, 07 Mar 2010 23:28:04 +0000 info2man (1.1-4) unstable; urgency=low * Imported into a branch on bzr.debian.org; add Vcs-Bzr control field. * Convert to debhelper 7. -- Colin Watson Sun, 26 Jul 2009 11:42:01 +0100 info2man (1.1-3) unstable; urgency=low * Policy version 3.7.2: - Put debhelper in Build-Depends rather than in Build-Depends-Indep. * Use debhelper v4 and dh_install. -- Colin Watson Wed, 28 Jun 2006 19:03:38 +0100 info2man (1.1-2) unstable; urgency=low * Policy version 3.5.7: - Drop /usr/doc symlink. -- Colin Watson Wed, 18 Sep 2002 23:36:14 +0100 info2man (1.1-1) unstable; urgency=low * Initial release (closes: #150562). * Added manual pages for info2man(1) and info2pod(1). -- Colin Watson Thu, 20 Jun 2002 18:58:54 +0000 debian/info2pod.10000644000000000000000000000100012262652411010760 0ustar .TH INFO2POD 1 .SH NAME info2pod \- generate POD files from info documents .SH SYNOPSIS .B info2pod .I info-file .SH DESCRIPTION .B info2pod converts a GNU info file to Perl's POD (Plain Old Documentation) format. .PP .I info-file should be the full path to the info file (probably in .I /usr/share/info or similar). .SH OPTIONS None. .SH AUTHOR Cameron Simpson wrote .BR info2man . .PP Colin Watson wrote this manual page. .SH "SEE ALSO" .BR info2man (1), .BR perlpod (1). debian/manpages0000644000000000000000000000004412262652411010703 0ustar debian/info2man.1 debian/info2pod.1