debian/0000755000000000000000000000000012222563047007171 5ustar debian/clean0000644000000000000000000000004512222561700010167 0ustar wikipedia2text.1 wikipedia2text.1.gz debian/compat0000644000000000000000000000000212222561700010361 0ustar 9 debian/watch0000644000000000000000000000047412222561700010221 0ustar version=3 opts=filenamemangle=s/.*=(.*)\.unknown\.suffix$/$1.sh/ \ http://qa.debian.org/cgi-bin/fakeupstream.cgi?package=wikipedia2text .*=wikipedia2text-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)|unknown\.suffix) # fakeupstream.cgi knows about https://svn.256bit.org/public-svn/wikipedia2text/tags/ and converts it debian/changelog0000644000000000000000000000662612222563047011055 0ustar wikipedia2text (0.11-3) unstable; urgency=low * Switch VCS to git, update Vcs-* header, move repos to Alioth * Update watch file to use fakeupstream.cgi (c.f. #538717) * Switch to source format "3.0 (quilt)" * Bump debhelper compatibility to 9 + Update versioned debhelper build-dependency accordingly * Revamp debian/rules: + Remove no more needed targets + No more remove stamp files manually, dh_clean does that now. + Use debian/clean instead of calling rm manually + Use debian/{install,manpages} instead of calling dh_install{,man} + Use debian/links instead of dh_link parameters + Fix lintian warning debian-rules-missing-recommended-target + Finally switch to a minimal dh7 style debian/rules file * Fix lintian warning copyright-refers-to-deprecated-bsd-license-file by including full license text. * Bump Standards-Version to 3.9.4 (no further changes) * Replace transitional package lynx with lynx-cur in "Depends". -- Axel Beckert Tue, 01 Oct 2013 17:09:09 +0200 wikipedia2text (0.11-2) unstable; urgency=low * Added ${misc:Depends} to Depends (fixes Lintian warning) * Changed the maintainer e-mail address to my debian.org address. * Bumped Standards-Version to 3.8.4 (no changes) -- Axel Beckert Mon, 01 Feb 2010 00:48:31 +0100 wikipedia2text (0.11-1) unstable; urgency=low * New upstream release + fixes unwanted globbing (Closes: #537782) * Bumped Standards-Version to 3.8.2 (no changes) * Added watch file (currently suffers from #538717). * Updated upstream URL in copyright file. * Updated dependency on lynx-ssl to lynx | lynx-cur * Moved docbook-to-man from Build-Depends to Build-Depends-Indep (fixes Lintian informational warning). -- Axel Beckert Tue, 28 Jul 2009 01:21:47 +0200 wikipedia2text (0.10-2) unstable; urgency=low * Add missing dependency on liburi-perl (Closes: #520874) * Bumped Standards-Version to 3.8.1 (no changes necessary) * Bumped debhelper compatibility to V7: - debian/rules: Changed dh_clean -k to dh_prep -- Axel Beckert Mon, 23 Mar 2009 12:39:43 +0100 wikipedia2text (0.10-1) unstable; urgency=low * New upstream version (Closes: #413693) * License change to BSD * Upstream renamed script to wikipedia2text: appropriately changed rules and README.Debian * Adapted copyright file to the currently preferred format * Bump standards version to 3.8.0 * Added Vcs-* headers and Homepage header to control file * Recommends most (Closes: #397911) * Alternative text browsers now are only suggested, no more recommended. * Fixed some typos in the man page and worked around broken docbook to man converter (Closes: #437934) -- Axel Beckert Tue, 10 Jun 2008 00:35:43 +0200 wikipedia2text (0.05-2) unstable; urgency=low * Build-Depends: docbook-to-man (Closes: #397553) -- Axel Beckert Wed, 8 Nov 2006 10:51:19 +0100 wikipedia2text (0.05-1) unstable; urgency=low * New upstream version with patches helpful for debianisation. * Support for links, links2 and w3m * Support for 28 further Wikipedia languages * Closes: #325417 (ITP) -- Axel Beckert Fri, 13 Oct 2006 02:20:38 +0200 wikipedia2text (0.04-1) unstable; urgency=low * Initial version for testing. -- Axel Beckert Sat, 27 Aug 2005 17:35:14 +0200 debian/wikipedia2text.sgml0000644000000000000000000003715412222561700013016 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Axel"> Beckert"> August 27, 2005"> 1"> <abe@deuxchevaux.org>"> WIKIPEDIA2TEXT"> &dhpackage;"> Debian"> Wikipedia"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2005 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; displays &wikipedia; entries on the command line &dhcommand; prog patt lang base-url Query &dhcommand; prog lang Query &dhcommand; &dhcommand; &dhcommand; DESCRIPTION This manual page documents briefly the &dhcommand; command. &dhcommand; fetches and renders &wikipedia; articles using a text-mode web-browser (currently recognises elinks, links2, links, lynx and w3m) and display the text of the article on STDOUT respectively in a pager. OPTIONS The program recognizes the following command line options: prog Use program prog as browser. Do not use browser configured via configuration file or environment. patt, patt Colorize case-sensitive pattern patt in output. , Colorize output. Show help and a summary of options. patt Colorize case-insensitive pattern patt in output. lang use &wikipedia; in language lang. See the &wikipedia; Languages entry elsewhere in this document. Do not colorize output. Open the &wikipedia; page in the browser. Do not open the &wikipedia; page in the browser. Use a pager (set by default). Don't use a pager. Display a random &wikipedia; article. Display only the summary of the &wikipedia; article. Display the full content of the &wikipedia; article and not only the summary. Just print the URL of the &wikipedia; page and exit. Display the full content of the &wikipedia; article and not only print the URL of the page. Show version number. base-url use base-url as base URL for wikipedia (e.g. use a different wiki), querying this URL will happen by appending the search term. ENVIRONMENT The following environment variables are recognized: ABROWSER Browser to use as default instead of to found or configured web browser. IGNCASE Default value for case-sensitivity of colorizing the output. Can be set to "true" or "false". LOCAL Default value for language in which &wikipedia; should be used. See the &wikipedia; Languages entry elsewhere in this document. OUTPUTURL Determines, if &dhcommand; should display only the URL of the &wikipedia; article by default. Can be set to "true" or "false". PAGER Default value for pager to use. Can also be set to "true", in which case, &dhcommand; tries to figure out the appropriate pager, or "false", which means not to use a pager at all. SHORT Determines, if &dhcommand; should display only the summary of the &wikipedia; article by default. Can be set to "true" or "false". USEBROWSER Determines, if &dhcommand; should open the &wikipedia; page via openurl in the globally set default browser, i.e. Firefox or Konqueror, by default. Can be set to "true" or "false". FILES $HOME/.wikipedia2textrc Will be sourced from &dhpackage on startup. Should contain variable assignments. The same variables as for the environment are recognised. WIKIPEDIA LANGUAGES &dhcommand; currently supports the following &wikipedia; languages: af Cape Dutch (Afrikaans) als Alemannic ca Catalan cs Czech da Danish de German en English eo Esperanto es Spanish fi Finnish fr French hu Hungarian ia Interlingua is Islandic it Italian la Latin lb Luxembourgian nds Low German nl Dutch nn, no Norwegian (Nynorsk and Bokmål) pl Polish pt Portuguese rm Rhaeto-Romanic ro Romanian simple Simple English sk Slovak sl Slovenian sv Swedish tr Turkish SEE ALSO elinks(1), links(1), links2(1), lynx(1), w3m(1) AUTHOR &dhcommand; was written by Christian Brabandt <cb@256bit.org>. Patches also from &dhusername; &dhemail;. This manual page was written by &dhusername; &dhemail; for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License (GPL), Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the &gnu General Public License can be found in /usr/share/common-licenses/GPL. HISTORY &dhpackage; was first released by Christian Brabandt on in his blog with as script named wiki. Some users may find it useful to create an alias with that name for speeding up the typing of a &dhcommand; command if no other command of that name is present. OTHER INFO The current version of &dhcommand; should be available at on Christian Brabandt's website.
debian/copyright0000644000000000000000000000270412222561700011121 0ustar This package was debianized by Axel Beckert on Sat, 27 Aug 2005 17:35:14 +0200. It was downloaded from https://svn.256bit.org/public-svn/wikipedia2text Copyright (C) 2005-2009 Christian Brabandt License: All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY The AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/control0000644000000000000000000000172012222561700010566 0ustar Source: wikipedia2text Section: text Priority: optional Maintainer: Axel Beckert Build-Depends: debhelper (>= 9~) Build-Depends-Indep: docbook-to-man Standards-Version: 3.9.4 Homepage: http://blog.256bit.org/archives/126-Wikipedia-in-der-Shell.html Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/wikipedia2text.git Vcs-Git: git://anonscm.debian.org/collab-maint/wikipedia2text.git Package: wikipedia2text Depends: lynx-cur | www-browser, liburi-perl, ${misc:Depends} Recommends: less | most Suggests: elinks | links2 | links | lynx | lynx-cur | w3m Architecture: all Description: displays Wikipedia articles on the command line This script fetches Wikipedia articles (currently supports around 30 Wikipedia languages) and displays them as plain text in a pager or just sends the text to standard out. Alternatively it opens the Wikipedia article in a (possibly GUI) web browser or just shows the URL of the appropriate Wikipedia article. debian/README.Debian0000644000000000000000000000044512222561700011227 0ustar wikipedia2text for Debian ------------------------- The script originally was named just wiki. I the meanwhile wikipedia2text is also the official name. The Debian package also offers a symlink named wp2t as shortcut. -- Axel Beckert Mon, 26 May 2008 18:59:01 +0200 debian/dirs0000644000000000000000000000003312222561700010043 0ustar usr/bin usr/share/man/man1 debian/source/0000755000000000000000000000000012222561700010463 5ustar debian/source/format0000644000000000000000000000001412222561700011671 0ustar 3.0 (quilt) debian/links0000644000000000000000000000014212222561700010223 0ustar usr/bin/wikipedia2text usr/bin/wp2t usr/share/man/man1/wikipedia2text.1 usr/share/man/man1/wp2t.1 debian/manpages0000644000000000000000000000002112222561700010672 0ustar wikipedia2text.1 debian/install0000644000000000000000000000002712222561700010553 0ustar wikipedia2text usr/bin debian/rules0000755000000000000000000000031012222561700010235 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_build: docbook-to-man debian/wikipedia2text.sgml > wikipedia2text.1