[libnet-dict-perl] 02/04: d/patches: add patch to rename dict to pdict

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Tue Jul 21 16:44:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository libnet-dict-perl.

commit 9f0d55d7892f370365c3b01a795398f849f4cfbd
Author: Lucas Kanashiro <kanashiro.duarte at gmail.com>
Date:   Tue Jul 21 13:30:35 2015 -0300

    d/patches: add patch to rename dict to pdict
---
 debian/patches/01-rename-dict-binary.patch | 131 +++++++++++++++++++++++++++++
 debian/patches/series                      |   1 +
 2 files changed, 132 insertions(+)

diff --git a/debian/patches/01-rename-dict-binary.patch b/debian/patches/01-rename-dict-binary.patch
new file mode 100644
index 0000000..4e71eb4
--- /dev/null
+++ b/debian/patches/01-rename-dict-binary.patch
@@ -0,0 +1,131 @@
+--- a/dict
++++ b/dict
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env perl
+ #
+-# dict - perl DICT client (for accessing network dictionary servers)
++# pdict - perl DICT client (for accessing network dictionary servers)
+ #
+ # $Id: dict,v 1.2 2003/05/05 23:55:00 neilb Exp $
+ #
+@@ -319,25 +319,25 @@ __END__
+ 
+ =head1 NAME
+ 
+-dict - a perl client for accessing network dictionary servers
++pdict - a perl client for accessing network dictionary servers
+ 
+ =head1 SYNOPSIS
+ 
+-B<dict> [OPTIONS] I<word>
++B<pdict> [OPTIONS] I<word>
+ 
+ =head1 DESCRIPTION
+ 
+-B<dict> is a client for the Dictionary server protocol (DICT),
++B<pdict> is a client for the Dictionary server protocol (DICT),
+ which is used to query natural language dictionaries hosted on
+ a remote machine.  When used in the most simple way,
+ 
+-    % dict word
++    % pdict word
+ 
+-B<dict> will look for definitions of I<word> in the dictionaries
++B<pdict> will look for definitions of I<word> in the dictionaries
+ hosted at B<dict.org>. If no definitions are found, then dict
+ will look for words which are similar, and list them:
+ 
+-    % dict bonana
++    % pdict bonana
+       no definition for "bonana" - perhaps you meant:
+         banana, bonanza, Banana, Bonanza, Bonasa
+ 
+@@ -347,19 +347,19 @@ You can use the B<-stats> switch to find
+ 
+ You can specify the hostname of the DICT server using the B<-h> option:
+ 
+-    % dict -h dict.org dictionary
++    % pdict -h dict.org dictionary
+ 
+ A DICT server can support a number of databases;
+ you can use the B<-d> option to specify a particular database.
+ For example, you can look up computer-related terms
+ in the Free On-line Dictionary Of Computing (FOLDOC) using:
+ 
+-    % dict -h dict.org -d foldoc byte
++    % pdict -h dict.org -d foldoc byte
+ 
+ To find out what databases (dictionaries) are available on
+ a server, use the B<-dbs> option:
+ 
+-    % dict -dbs
++    % pdict -dbs
+ 
+ There are many dictionaries hosted on other servers around the net;
+ a list of some of them can be found at
+@@ -368,12 +368,12 @@ a list of some of them can be found at
+ 
+ =head2 MATCHING
+ 
+-Instead of requesting word definitions, you can use dict
++Instead of requesting word definitions, you can use pdict
+ to request a list of words which match a pattern.
+ For example, to look for four-letter words starting in 'b'
+ and ending in 'p', you would use:
+ 
+-    % dict -match -strategy re '^b..p$'
++    % pdict -match -strategy re '^b..p$'
+ 
+ The B<-match> option says you want a list of matching words rather
+ than a definition.
+@@ -384,7 +384,7 @@ Most DICT servers support a number of ma
+ you can get a list of the strategies provided by a server
+ using the B<-strats> switch:
+ 
+-    % dict -h dict.org -strats
++    % pdict -h dict.org -strats
+ 
+ =head1 OPTIONS
+ 
+@@ -439,19 +439,19 @@ Display a short help message including c
+ 
+ =item B<-doc>
+ 
+-Display the full documentation for B<dict>.
++Display the full documentation for B<pdict>.
+ 
+ =item B<-version>
+ 
+-Display the version of B<dict>
++Display the version of B<pdict>
+ 
+ =item B<-verbose>
+ 
+-Display verbose information as B<dict> runs.
++Display verbose information as B<pdict> runs.
+ 
+ =item B<-debug>
+ 
+-Display debugging information as B<dict> runs.
++Display debugging information as B<pdict> runs.
+ Useful mainly for developers.
+ 
+ =back
+@@ -462,7 +462,7 @@ Useful mainly for developers.
+ 
+ =item *
+ 
+-B<dict> doesn't know how to handle firewalls.
++B<pdict> doesn't know how to handle firewalls.
+ 
+ =item *
+ 
+@@ -474,7 +474,7 @@ Display of list results (eg from B<-stra
+ 
+ =item *
+ 
+-B<dict> isn't very smart at handling combinations of options.
++B<pdict> isn't very smart at handling combinations of options.
+ 
+ =item *
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3e964a4
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-rename-dict-binary.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-dict-perl.git



More information about the Pkg-perl-cvs-commits mailing list