[Debian-med-packaging] Bug#650473: Bug#650473: boxshade: optimal 'diff' file format for typos

A. Costa agcosta at gis.net
Wed Nov 30 05:03:12 UTC 2011


On Wed, 30 Nov 2011 11:11:47 +0900
Charles Plessy <plessy at debian.org> wrote:

> thank you for your patches.  It would be most helpful for us if they
> were targetted at the source packages, because:
> 
>  1) It will tell us if we need to forward the patch upstream, or if
> the manpage is specific to Debian;
> 
>  2) It will help you to patch the manpage's source when there is one.
> 
> In the case of /usr/share/man/man1/boxshade.1.gz, its source is
> debian/boxshade.1.xml in the source package.  Could you revise your
> patch (and possibly others ?).

Thanks very much for the feedback.  Apologies for the non-source 'diff',
my typo checker script should have only looked at "pure" man pages
without external sources.  Clearly, 'DocBook' sources got past my
current filters.  So I'll add another filter to prevent that.  

(Checking sources is a "one of these days" job, tho'.)

Meanwhile, I can provide a short term kludge (terminal output not included):
	
	# found out this address by browsing
	wget -O boxshade.1.xml 'http://anonscm.debian.org/viewvc/debian-med/trunk/packages/boxshade/trunk/debian/boxshade.1.xml?view=co&revision=217&content-type=text%2Fplain'

	# 'sed' one-liner autogenerated from earlier man page 'diff', mostly...
	sed 's/POSTCRIPT/POSTSCRIPT/;s/accomodate/accommodate/;s/paramters/parameters/;s/paramters\./parameters\./;s/beween/between/;s/respecitve/respective/;s/(blank\/point\/asterisc)/\(blank\/point\/asterisk\)/;s/asterisc,/asterisk,/;s/asteriscs/asterisks/;' boxshade.1.xml > boxshade.1.xml.new

	diff -u boxshade.1.xml boxshade.1.xml.new > boxshade.1.xml.diff

See attached 'diff' file.

Could you advise what the first two lines of this 'diff' ought to be?
The filenames & paths in particular:

	head -n 2 boxshade.1.xml.diff
	--- boxshade.1.xml	2011-11-29 23:45:18.435037204 -0500
	+++ boxshade.1.xml.new	2011-11-29 23:46:08.847590614 -0500

HTH...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boxshade.1.xml.diff
Type: text/x-diff
Size: 4767 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20111130/9057fafa/attachment.diff>


More information about the Debian-med-packaging mailing list