support aptosid manual search like sidux'
This commit is contained in:
parent
1548bc5b2e
commit
6b6cbae0ce
92
src/filters/rclaptosidman
Executable file
92
src/filters/rclaptosidman
Executable file
@ -0,0 +1,92 @@
|
||||
#!/bin/sh
|
||||
# @(#$Id: rclaptosidman,v 1.1 2008-06-09 09:12:05 dockes Exp $ (C) 2004 J.F.Dockes
|
||||
# Parts taken from Estraier:
|
||||
#================================================================
|
||||
# Estraier: a personal full-text search system
|
||||
# Copyright (C) 2003-2004 Mikio Hirabayashi
|
||||
#================================================================
|
||||
#================================================================
|
||||
# Strip the menu part from aptosid manual pages to improve search precision
|
||||
#================================================================
|
||||
|
||||
# set variables
|
||||
LANG=C ; export LANG
|
||||
LC_ALL=C ; export LC_ALL
|
||||
progname="rclaptosidman"
|
||||
filetype="aptosid manual htm"
|
||||
|
||||
|
||||
#RECFILTCOMMONCODE
|
||||
##############################################################################
|
||||
# !! Leave the previous line unmodified!! Code imported from the
|
||||
# recfiltcommon file
|
||||
|
||||
# Utility code common to all shell filters. This could be sourced at run
|
||||
# time, but it's slightly more efficient to include the code in the
|
||||
# filters at build time (with a sed script).
|
||||
|
||||
# Describe error in a way that can be interpreted by our caller
|
||||
senderror()
|
||||
{
|
||||
echo RECFILTERROR $*
|
||||
# Also alert on stderr just in case
|
||||
echo ":2:$progname::: $*" 1>&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
iscmd()
|
||||
{
|
||||
cmd=$1
|
||||
case $cmd in
|
||||
*/*)
|
||||
if test -x $cmd -a ! -d $cmd ; then return 0; else return 1; fi ;;
|
||||
*)
|
||||
oldifs=$IFS; IFS=":"; set -- $PATH; IFS=$oldifs
|
||||
for d in $*;do test -x $d/$cmd -a ! -d $d/$cmd && return 0;done
|
||||
return 1 ;;
|
||||
esac
|
||||
}
|
||||
|
||||
checkcmds()
|
||||
{
|
||||
for cmd in $*;do
|
||||
if iscmd $cmd
|
||||
then
|
||||
a=1
|
||||
else
|
||||
senderror HELPERNOTFOUND $cmd
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# show help message
|
||||
if test $# -ne 1 -o "$1" = "--help"
|
||||
then
|
||||
echo "Convert a $filetype file to HTML text for Recoll indexing."
|
||||
echo "Usage: $progname [infile]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
infile="$1"
|
||||
|
||||
# check the input file existence (may be '-' for stdin)
|
||||
if test "X$infile" != X- -a ! -f "$infile"
|
||||
then
|
||||
senderror INPUTNOSUCHFILE "$infile"
|
||||
fi
|
||||
|
||||
# protect access to our temp files and directories
|
||||
umask 77
|
||||
|
||||
##############################################################################
|
||||
# !! Leave the following line unmodified !
|
||||
#ENDRECFILTCOMMONCODE
|
||||
|
||||
checkcmds sed
|
||||
# Delete everything from <div id="menu"> to <div id="main-page">
|
||||
# This prints an additional blank line at top which does not matter
|
||||
sed -n -e '1,/<div id="menu">/{x;p' -e '}' \
|
||||
-e '/<div id="main-page">/,$p' < $infile
|
||||
|
||||
# exit normally
|
||||
exit 0
|
||||
306
src/qtgui/mtpics/aptosid-manual-copyright.txt
Normal file
306
src/qtgui/mtpics/aptosid-manual-copyright.txt
Normal file
@ -0,0 +1,306 @@
|
||||
This package was debianized by Kel Modderman <kel@otaku42.de> on
|
||||
Mon, 9 Apr 2007 13:54:11 +1000.
|
||||
|
||||
It was downloaded from http://developer.berlios.de/projects/fullstory/
|
||||
|
||||
Files: lib/*
|
||||
Copyright: © 2006-2010 Trevor Walkley (bluewater) <trevor_walkley@aptenodytes.org>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: bg/*
|
||||
Copyright: © 2008-2009 manul <vnaskov@gmail.com>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: da/*
|
||||
Copyright: © 2006-2009 Rasmus Pørksen <rasmus@greenin.dk>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: de/*
|
||||
Copyright: © 2006-2010 Markus Huber <markus.huber@yahoo.de>
|
||||
© 2006-2009 Markus Müller <akamoto@ml1.net>
|
||||
© 2006-2009 Philipp Rudolph <philipp.rudolph@gmail.com>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License.. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: el/*
|
||||
Copyright: © 2008-2008 Gregory Gretri (grigris) siduxgr@gmail.com
|
||||
© 2008-2010 Nikolas Poniros (edhunter)edhunter@TBA.com
|
||||
© 2007-2008 mixalis (miles) georgiou mechmg93@gmail.com
|
||||
© 2007-2008 Pavlos (lathspell) fubar.ath@gmail.com
|
||||
© 2007-2008 Lazaros (riddle3)lazarost@gmail.com
|
||||
© 2007-2008 spyros melcher (xouzouris) <spyrakos73@gmail.com>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: en/*
|
||||
Copyright: © 2006-2010 Trevor Walkley <trevor_walkley@aptenodytes.org>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: es/*
|
||||
Copyright: © 2006-2009 Richard Holt <richard.holt@gmail.com>
|
||||
© 2009-2010 Luis_P
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: fr/*
|
||||
Copyright: © 2006-2009 Philippe Masson <isotran@free.fr>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: hr/*
|
||||
Copyright: © 2006-2009 Dinko Sabo <cobra@TBA.com>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: hu/*
|
||||
Copyright: © 2008-2009 mrowl Bagoj Ur <bagoj.ur@gmail.com>
|
||||
© 2008-2009 ruess reuss@chello.hu
|
||||
© 2008-2009 Siposs Zoltan <zoltan.siposs@gmail.com>
|
||||
© 2008-2009 honorshark honorshark@gmail.com
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License.Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: it/*
|
||||
Copyright: © 2008-2009 Renato Zanotti zenren@tiscali.it
|
||||
© 2008-2009 speedygeo speedygeo@email.it
|
||||
© 2007-2009 Stefano Tombolini dedo.tombolini@gmail.com
|
||||
© 2008-2010 Alessio Giustini alessio@alessiogiustini.com
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: ja/*
|
||||
Copyright: © 2006-2009 Mutsumu Nomura <muchan.m@gmail.com>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: nl/*
|
||||
Copyright: © 2006-2010 S R Eissens <eisman@zonnet.nl>
|
||||
© 2007-2009 Ronald Stam <ronald.stam@gmail.com>
|
||||
© 2007-2009 HarzG <hqmg@gmx.net>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: pl/*
|
||||
Copyright: © 2006-2008 Marcin Słotwiński <mslotwinski@wp.pl>
|
||||
© 2008-2009 Michael R' Tokarczyk <mrtokarczyk@gmail.com>
|
||||
© 2009 dongle
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: pt-br/*
|
||||
Copyright: © 2006-2010 Jose Tadeu Barros <jotatb@yahoo.com>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: ro/*
|
||||
Copyright: © 2006-2008 Gabriel Palade <ladepa@gmail.com>
|
||||
© 2009-2010 Dorin Vatavu <dorin.vatavu@gmail.com>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: ru/*
|
||||
Copyright: © 2006-2010 Roland Engert <Roland.Engert@web.de>
|
||||
© 2006-2007 Dmytro Kychenko <dmytro@gmx.net>
|
||||
© 2006-2007 Mikhail Burov <vonselbst@gmail.com>
|
||||
© 2009 kostiagol
|
||||
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: menu/*
|
||||
Copyright: © 2006-2010 Trevor Walkley <trevor_walkley@aptenodytes.org>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: debian/*
|
||||
Copyright: © 2007, Kel Modderman <kel@otaku42.de>
|
||||
License: GPL-2+
|
||||
The Debian packaging information is licensed under the GNU General
|
||||
Public License, version 2 or later.
|
||||
|
||||
Files: menu/*
|
||||
Copyright: © 2006-2010 Trevor Walkley <trevor_walkley@aptenodytes.org>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License.. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: menu/icons/*
|
||||
Copyright: © 2010 Rick Battle <rick.battle@celtrenicdesigns.com>
|
||||
© 2008-2010 Bernard Gray <bernard.gray@gmail.com>
|
||||
© 2008 David Creedy <djcreedy@iinet.net.au>
|
||||
© 2007 David Vignoni <david@icon-king.com>
|
||||
© 2007 Johann Ollivier Lapeyre <johann@oxygen-icons.org>
|
||||
© 2007 Kenneth Wimer <kwwii@bootsplash.org>
|
||||
© 2007 Nuno Fernades Pinheiro <nf.pinheiro@gmail.com>
|
||||
© 2007 Riccardo Iaconelli <riccardo@oxygen-icons.org>
|
||||
© 2007 David Miller <miller@oxygen-icons.org>
|
||||
License: CC-ASA-3.0 | LGPL-2+ | GPL-2+
|
||||
aptosid-manual.svg also includes elements from The Oxygen Icon Theme.
|
||||
Licensed under the Creative Common Attribution-ShareAlike 3.0
|
||||
license, as found here:
|
||||
|
||||
http://creativecommons.org/licenses/by-sa/3.0/
|
||||
|
||||
or the GNU Library General Public License (with following clarification).
|
||||
|
||||
Clarification:
|
||||
The GNU Lesser General Public License or LGPL is written for
|
||||
software libraries in the first place. We expressly want the LGPL to
|
||||
be valid for this artwork library too.
|
||||
|
||||
KDE Oxygen theme icons is a special kind of software library, it is an
|
||||
artwork library, it's elements can be used in a Graphical User Interface, or
|
||||
GUI.
|
||||
|
||||
Source code, for this library means:
|
||||
- where they exist, SVG;
|
||||
- otherwise, if applicable, the multi-layered formats xcf or psd, or
|
||||
otherwise png.
|
||||
|
||||
The LGPL in some sections obliges you to make the files carry
|
||||
notices. With images this is in some cases impossible or hardly useful.
|
||||
|
||||
With this library a notice is placed at a prominent place in the directory
|
||||
containing the elements. You may follow this practice.
|
||||
|
||||
The exception in section 6 of the GNU Lesser General Public License covers
|
||||
the use of elements of this art library in a GUI.
|
||||
|
||||
Files: *
|
||||
Copyright: © 2006-2010 Trevor Walkley <trevor_walkley@aptenodytes.org>
|
||||
License: GFDL-1.2+
|
||||
All content is © 2006-2010 and released
|
||||
under GNU Free Documentation License. Permission is granted to copy,
|
||||
distribute and/or modify this document under the terms of the GNU
|
||||
Free Documentation License, Version 1.2 or any later version
|
||||
published by the Free Software Foundation; with no Invariant
|
||||
Sections, with no Front-Cover Texts, and with no Back-Cover Texts.
|
||||
|
||||
Files: *Coloured sidux Book Icons (type2)
|
||||
|
||||
Copyright (C) 2007 by spacepenguin, cako and cathbard (http://sidux.com)
|
||||
|
||||
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
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
I suggest a copy be kept in your sources for safe keeping
|
||||
________________________________________________________________________________
|
||||
On Debian systems, the complete text of the GNU Free Documentation License,
|
||||
version 2, can be found in `/usr/share/common-licenses/GFDL-1.2'.
|
||||
|
||||
On Debian systems, the complete text of the GNU General Public License,
|
||||
version 2, can be found in `/usr/share/common-licenses/GPL-2'.
|
||||
|
||||
On Debian systems, the complete text of the GNU Lesser General Public License,
|
||||
version 2, can be found in `/usr/share/common-licenses/LGPL-2'.
|
||||
|
||||
The Debian packaging is © 2007--2010, Kel Modderman <kel@otaku42.de> and
|
||||
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
|
||||
BIN
src/qtgui/mtpics/aptosid-manual.png
Normal file
BIN
src/qtgui/mtpics/aptosid-manual.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
@ -92,6 +92,7 @@ text/x-c = internal
|
||||
text/x-fictionbook = exec rclfb2
|
||||
text/x-gaim-log = exec rclgaim
|
||||
text/x-html-sidux-man = exec rclsiduxman
|
||||
text/x-html-aptosid-man = exec rclaptosidman
|
||||
text/x-mail = internal
|
||||
text/x-man = exec rclman
|
||||
text/x-purple-log = exec rclpurple
|
||||
@ -154,6 +155,7 @@ text/x-c = source
|
||||
text/x-c++ = source
|
||||
text/x-fictionbook = document
|
||||
text/x-html-sidux-man = sidux-book
|
||||
text/x-html-aptosid-man = aptosid-manual
|
||||
text/x-mail = message
|
||||
text/x-man = document
|
||||
application/x-chm = document
|
||||
@ -191,6 +193,7 @@ text = \
|
||||
text/x-c++ \
|
||||
text/x-fictionbook \
|
||||
text/x-html-sidux-man \
|
||||
text/x-html-aptosid-man \
|
||||
text/x-man \
|
||||
text/x-python \
|
||||
text/x-shellscript
|
||||
|
||||
@ -128,10 +128,13 @@ recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .log.gz .md5 .map \
|
||||
[~/.purple]
|
||||
.txt = text/x-purple-log
|
||||
|
||||
# Special handling of sidux manual menu system
|
||||
# Special handling of sidux/aptosid manual menu system
|
||||
[/usr/share/sidux-manual]
|
||||
.htm = text/x-html-sidux-man
|
||||
.html = text/x-html-sidux-man
|
||||
[/usr/share/aptosid-manual]
|
||||
.htm = text/x-html-aptosid-man
|
||||
.html = text/x-html-aptosid-man
|
||||
|
||||
# Manual files. You may want to adjust the location for your system
|
||||
# We can't use the default text/troff type because this doesn't say
|
||||
|
||||
@ -59,5 +59,5 @@ text/html = firefox %u
|
||||
text/plain = gnuclient -q %f
|
||||
text/x-c = gnuclient -q %f
|
||||
text/x-html-sidux-man = konqueror %f
|
||||
#text/x-html-sidux-man = iceweasel %f
|
||||
text/x-html-aptosid-man = konqueror %f
|
||||
text/x-python = idle %f
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user