--- swish-e-2.4.7.orig/conf/example9.pl
+++ swish-e-2.4.7/conf/example9.pl
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 use strict;
 
 # This is a short example that basically does the same
--- swish-e-2.4.7.orig/configure.in
+++ swish-e-2.4.7/configure.in
@@ -12,6 +12,8 @@
 BINARY_AGE=0
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION
 
+m4_include([config/acinclude.m4])
+
 
 dnl NOT USED
 dnl provide a way to ignore docs
--- swish-e-2.4.7.orig/debian/README.Debian
+++ swish-e-2.4.7/debian/README.Debian
@@ -1,6 +1,44 @@
 swish-e for Debian
-------------------
+==================
 
-This package does not include the SWISH::API Perl module described in the documenation.
+For users:
+----------
+
+To add a few filters to swish-e, add the following lines to your Swish 
+configuration file (you'll need to install xpdf-utils, wv and libmp3-tag-perl):
+
+  FilterDir   /usr/share/doc/swish-e/examples/filter-bin
+  Filefilter  .pdf   swish_filter.pl %p
+  Filefilter  .doc   swish_filter.pl %p
+  Filefilter  .xls   /usr/bin/xls2csv %p
+  Filefilter  .ppt   /usr/bin/catppt %p
+  Filefilter  .vsd   /usr/bin/wvSummary %p
+  Filefilter  .mpp   /usr/bin/wvSummary %p
+  Filefilter  .mp3   swish_filter.pl %p
+  # Open Office filter
+  FileFilterMatch "/usr/bin/unzip" "-p %p content.xml" /\.(sxw|sxc|sxg|sxi|odt)$/i
+  # Simple Maildir filter
+  FileFilterMatch "sed" "-n 1,/base64/p < %p" /\,S$/
+  # Improved Maildir filter which needs the 'hypermail' package
+  # FileFilterMatch "/usr/share/doc/swish-e/examples/swish-mail" %p /\,S$/
+
+You can find even more filter in the sample configuration file:
+/usr/share/doc/swish-e/examples/swish.config
+  
+Indexing the Debian documentation:
+
+In the examples directory, 'swish-debiandoc' indexes the whole Debian 
+documentation, and 'search-debiandoc' searches the index created in 
+/var/cache/swish-e/.
+
+Web interface:
+
+If you need a WEB interface start with 'swish.cgi'. It's very simple to set-up 
+and use.
+
+For developers:
+---------------
+
+If you need headers and static swish-e libraries, please install the
+swish-e-dev package.
 
- -- Bill Moseley <moseley@hank.org>, Thu, 15 May 2003 12:06:51 -0700
--- swish-e-2.4.7.orig/debian/SWISH-Stemmer-0.05.tar.gz.uu
+++ swish-e-2.4.7/debian/SWISH-Stemmer-0.05.tar.gz.uu
@@ -0,0 +1,183 @@
+begin 644 SWISH-Stemmer-0.05.tar.gz
+M'XL("%WC%CL``U-725-(+5-T96UM97(M,"XP-2YT87(`[#QK5QNWMOU:_PJ5
+MGEML8OP$TIC2'@*F]2D!%J9-NWJS6..Q;,_)>,:=!\9M\]_O?DB:IPU-2<Z]
+MZ]8K`:/9VMK:;TE;,WP]&'ZW.XSD?"Z#W5:CM=_\Y*D_8J_U?']??"*$>'YP
+M0+_;>WOT6WU:\*3;VM\_:.]W]^%II[6W]XG8?W)*2CYQ&%F!$)^XCO,`G`S"
+MCT'0Q_T,B_)7?S3NGVJZ[=9&^;=![DK^[8,#>`!/VRC_UA.-O_'S_US^GSN>
+M[<9C*;;Z/]WTKR\:LZU*TK:0@9MM^6GXPTML236YSJ@9*IW!)Y57EZ<_G/?%
+MD2#EZO640GWZZ=7QR??'WY8]J52NKB]O+F]^ONH/>^)T,#Q^>=X'5)7ACV*G
+M,EPZX0QAJTL_&-<JVFW8,Q#=#K91T]5U?W`QN.GEGGMRB2"'IMGQ(OCI2F\:
+MS9+6V`N=J2?'JM>"GYQ<GO83A,T=,983*W8C$?G0`_YPL,M.TX`,;ZJM&LPP
+MO+N%@>=^$%ENM98,8[[P^`@9!?"]*I!(41//!-A+`J^H![@J$U:3<\MU?;NJ
+M,#QKB]HA4N9*Z^UG:5(`L;U8536*NAKAL)*>S[F_E(&PK5"*F0RDV-T52IA"
+MWB^D'87"$FX"1#A2@RR`L@*'ES/'E:*ZLZB)WTTC?G80//()7[6:87D-H`\S
+MP(MGSY*&=X:!:>I#&8E`1G'@B3O+C:7P/7<EG`G-03T)Q>7W:8KA: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R89!2R(=!XM.Z2IT5Q].HG_-"0CP8Y+<D
+M>3V/?\%]X1N@=GGQMM$4HA!1CX[UN?,M/2<IVF-8.*+80B,[#[+KSG5E[9W?
+M$.IH@_>=Z<30"@8,&#!@P(`!`P8,&#!@P(`!`P8,&#!@P(`!`P8,&#!@P(`!
+,`X_A'P3J1^D`H```
+`
+end
--- swish-e-2.4.7.orig/debian/changelog
+++ swish-e-2.4.7/debian/changelog
@@ -1,6 +1,254 @@
-swish-e (2.4.0-0) unstable; urgency=low
+swish-e (2.4.7-3ubuntu3) utopic; urgency=medium
 
-  * Addition of Debian build system into swish-e
+  * Rebuild for Perl 5.20.0.
 
- -- Bill Moseley <moseley@hank.org>  Thu, 15 May 2003 12:06:51 -0700
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 20 Aug 2014 13:32:07 +0100
 
+swish-e (2.4.7-3ubuntu2) trusty; urgency=medium
+
+  * Use dh-autoreconf instead of autotools-dev to also fix FTBFS on ppc64el by
+    getting new libtool macros (still updates config.{sub,guess}).
+  * Add "m4_include([config/acinclude.m4])" to configure.in to fix FTBFS after
+    autoreconf.
+
+ -- Logan Rosen <logan@ubuntu.com>  Wed, 05 Mar 2014 02:04:21 -0500
+
+swish-e (2.4.7-3ubuntu1) trusty; urgency=low
+
+  * Use dh_autotools-dev to update config.{sub,guess} for new ports.
+
+ -- Adam Conrad <adconrad@ubuntu.com>  Wed, 23 Oct 2013 16:56:17 -0600
+
+swish-e (2.4.7-3build1) trusty; urgency=low
+
+  * Rebuild for Perl 5.18.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 21 Oct 2013 12:39:34 +0100
+
+swish-e (2.4.7-3) unstable; urgency=low
+
+  * Added pt_BR debconf translation. Closes: #617742
+  * Try to fix the perl namespace problem. Closes: #422609, #451447
+  * Remove dependency_libs in the .la file
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Mon, 12 Mar 2012 6:21:11 +0100
+
+swish-e (2.4.7-2) unstable; urgency=low
+
+  * Updated es and da debconf translations. Closes: #561000, #603852
+  * Replaced the corrupt SWISH-Stemmer-0.05.tar.gz file
+    Closes: #555612
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Sun, 06 Mar 2011 14:52:00 +0100
+
+swish-e (2.4.7-1) unstable; urgency=low
+
+  * New upstream release
+  * Added Japanese and Russian debconf translations. Closes: #543187, #512987
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Thu, 05 Nov 2009 16:23:33 +0100
+
+swish-e (2.4.5-5) unstable; urgency=medium
+
+  * swish.cgi was not working. Fixed with a 1 char patch. Closes: #500154
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Thu, 25 Sep 2008 21:52:31 +0200
+
+swish-e (2.4.5-4) unstable; urgency=low
+
+  * Changed the perl dependencies from "recommends" to "depends"
+    Closes: #463134
+  * Changed the doc-base section to: File Management
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Tue, 16 Sep 2008 11:23:20 +0200
+
+swish-e (2.4.5-3) unstable; urgency=medium
+
+  * fixed Makefile.PL. Closes: #466847
+  * misc small bug fixes.
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Sat,  3 May 2008 18:12:19 +0200
+
+swish-e (2.4.5-2) unstable; urgency=low
+
+  * added wv and catdoc in sugests (.doc .xls and .ppt filters)
+  * added libdate-calc-perl in recommends (needed for swish.cgi)
+  * sample config file added with lots of filters: swish.config
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Thu, 30 Aug 2007 17:19:06 +0200
+
+swish-e (2.4.5-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added a German debconf translation. Closes: #411381
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Fri, 30 Mar 2007 10:04:30 +0200
+
+swish-e (2.4.3-7) unstable; urgency=high
+
+  * The last patch in filter.c could segfault.
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Wed, 18 Oct 2006 17:58:35 +0200
+
+swish-e (2.4.3-6) unstable; urgency=medium
+
+  * Really fixed #357239, by adding quoting in filter.c
+  * Since quoting is now done by swish, removed it from _pdf2html.pl and README.Debian
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Thu,  5 Oct 2006 20:41:24 +0200
+
+swish-e (2.4.3-5) unstable; urgency=low
+
+  * Added Open Document support in the example shown in README.Debian
+  * Added files to index and search the Debian documentation: search-debiandoc, swish-debiandoc
+  * Added quotes to the _pdf2html.pl filter. Closes: #357239
+  * Added new debconf templates translations. Closes: #381853, #381676 
+  * Added swish-mail for improved Maildir indexing. Depends on hypermail.
+  * Added the man pages for swish.cgi and search.cgi
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Mon, 11 Sep 2006 17:32:11 +0200
+
+swish-e (2.4.3-4) unstable; urgency=medium
+
+  * urgency=medium because of a FTBFS
+  * FTBFS: do not delete /usr/share/swish-e. Closes: #359819
+  * Modified Makefile.PL to search for libs in ../src/.libs
+    Closes: #359901, #360084
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Fri,  7 Apr 2006 17:24:58 +0200
+
+swish-e (2.4.3-3) unstable; urgency=low
+
+  * Fixed a build problem. Closes: #339343.
+  * Updated debconf translations. Closes: #340580, #330615, #319843.
+  * Suggests: xpdf-utils for indexing pdf, wv for MS Doc.
+  * Added instructions for filters in README.Debian
+  * Fixed swish-filter.pl
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Fri, 16 Dec 2005 16:29:59 +0100
+
+swish-e (2.4.3-2) unstable; urgency=low
+
+  * Added misc:Depends in debian/control. Closes: #332109.
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Mon, 14 Nov 2005 13:56:05 +0100
+
+swish-e (2.4.3-1) unstable; urgency=low
+
+  * New upstream release
+  * cs.po added. Closes: #294782
+  * updated watch file.
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Mon, 14 Feb 2005 12:29:36 +0100
+
+swish-e (2.4.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Corrected the man typo. Closes: #237768
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Tue, 13 Jul 2004 09:05:12 +0200
+
+swish-e (2.4.1-3) unstable; urgency=low
+
+  * Oops ! A comment was not removed to disable interactive compilation.
+    Closes: Bug#237332
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Thu, 11 Mar 2004 08:41:07 +0100
+
+swish-e (2.4.1-2) unstable; urgency=low
+
+  * Added a warning: new imcompatible index format. (With French translation)
+    Closes: Bug#227662.
+  * Added the swish-search symlink. Closes: Bug#235339.
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Thu, 26 Feb 2004 23:16:20 +0100
+
+swish-e (2.4.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Fri, 19 Dec 2003 09:26:00 +0100
+
+swish-e (2.2.3-4) unstable; urgency=low
+
+  * added -fPIC to CFLAGS to fix a serious bug on alpha. Closes: #216292
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Sat, 18 Oct 2003 20:29:42 +0200
+
+swish-e (2.2.3-3) unstable; urgency=low
+
+  * SWISHE.pm added. thanks to Dagfinn Ilmari Mannsker. Closes: Bug#203397
+  * debian/watch added
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Sun,  5 Oct 2003 12:01:18 +0200
+
+swish-e (2.2.3-2) unstable; urgency=low
+
+  * Improved package description
+  * Suggests 'perl' but do not depend on it 
+  * Standards-Version: 3.5.10
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Wed, 25 Jun 2003 23:08:24 +0200
+
+swish-e (2.2.3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Thu,  8 May 2003 20:53:41 +0200
+
+swish-e (2.2.2-1) unstable; urgency=low
+
+  * New upstream release
+  * Standards-Version: 3.5.7
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Fri, 29 Nov 2002 22:08:21 +0100
+
+swish-e (2.2.1-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Sun,  6 Oct 2002 16:10:57 +0200
+
+swish-e (2.1.0.dev.26.2002.08.28-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Wed, 28 Aug 2002 23:22:02 +0200
+
+swish-e (2.0.5-3) unstable; urgency=low
+
+  * Swishspider perl script added to allow direct http indexing
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Fri,  8 Mar 2002 23:16:24 +0100
+
+swish-e (2.0.5-2) unstable; urgency=low
+
+  * Package adopted. Closes: #88975.
+  * Added a man page (based on doc/swish-e.txt).
+  * Conforms to Standards version 3.5.6.
+
+ -- Ludovic Drolez <ldrolez@debian.org>  Mon, 27 Aug 2001 22:19:26 +0200
+
+swish-e (2.0.5-1) unstable; urgency=low
+
+  * New upstream version.  Closes: #78060.
+  * Package is orphaned (see #88975); maintainer set to Debian QA Group.
+  * Converted to debhelper.  Closes: #91055, #91669.
+  * Conforms to Standards version 3.5.2:
+    * Added build dependencies.
+    * debian/rules: Support the `debug' build option.
+    * debian/copyright: Updated the location of the GPL.
+  * debian/copyright: Updated upstream URL.
+  * debian/README.debian: Contained only duplicate information; removed.
+
+ -- Matej Vela <vela@debian.org>  Sat, 31 Mar 2001 06:17:31 +0200
+
+swish-e (1.1-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Jim Pick <jim@jimpick.com>  Fri, 13 Mar 1998 20:57:01 -0800
+
+Local variables:
+mode: debian-changelog
+End:
--- swish-e-2.4.7.orig/debian/compat
+++ swish-e-2.4.7/debian/compat
@@ -1 +1 @@
-4
+5
--- swish-e-2.4.7.orig/debian/control
+++ swish-e-2.4.7/debian/control
@@ -1,18 +1,43 @@
 Source: swish-e
 Section: web
 Priority: optional
-Maintainer: Bill Moseley <moseley@hank.org>
-Standards-Version: 3.5.8
-Build-Depends: debhelper (>= 4.0.1), zlib1g-dev, perl, libxml2-dev (>= 2.4.19)
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Ludovic Drolez <ldrolez@debian.org>
+Standards-Version: 3.9.1
+Build-Depends: debhelper (>= 5), zlib1g-dev, perl, libxml2-dev (>= 2.4.3), libpcre3-dev (>= 3.4), sharutils, dh-autoreconf
 
 Package: swish-e
 Architecture: any
-Depends: ${shlibs:Depends}
-Recommends: libmime-types-perl, libhtml-parser-perl, libwww-perl
-Description: Simple Web Indexing System for Humans
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}
+Recommends: libmime-types-perl, libtemplate-perl, libdate-calc-perl
+Suggests: libwww-perl, libhtml-parser-perl, xpdf-utils, libmp3-tag-perl, hypermail, wv, catdoc
+Description: Simple Web Indexing System for Humans - Enhanced
  SWISH-Enhanced is a fast, powerful, flexible, and easy to use system
- for indexing collections of HTML Web pages, XML or other text files. Key
- features include the ability to limit searches to certain HTML tags
- (META, TITLE, comments, etc.).
+ for indexing collections of HTML Web pages, or any XML or text files like 
+ Open Office Documents, Open Document files, emails, and so on.
  .
- See the Swish-e Website for details: http://swish-e.org
+ Key features: 
+  * Quickly index a large number of text, HTML, and XML documents 
+  * Use filters to index any type of files such as PDF, OpenOffice, DOC, XLS, 
+    PPT, MP3.
+  * Includes a web spider for indexing remote documents over HTTP
+  * Can use an external program to supply documents including 
+    records from a relational database.
+  * Word stemming, soundex, metaphone, and double-metaphone indexing for 
+    fuzzy searching
+  * Powerful Regular Expressions to select documents for indexing or exclusion
+  * Limit searches to parts of documents such as certain HTML tags or to 
+    XML elements.
+  * Index file is portable between platforms.
+  * A Swish-e library is provided to allow embedding Swish-e into your 
+    applications for very fast searching.
+ .
+ You'll find ready to use examples for indexing the Debian documentation, PDF,
+ OpenOffice and MSOffice files, whole Maildir, and more.
+
+Package: swish-e-dev
+Architecture: any
+Depends: ${shlibs:Depends}, swish-e (= ${binary:Version}), ${misc:Depends}
+Description: Simple Web Indexing System for Humans - Enhanced
+ Static libraries and headers for developing application with SWISH-Enhanced, 
+ a fast, powerful, flexible, and easy to use system indexing engine.
--- swish-e-2.4.7.orig/debian/copyright
+++ swish-e-2.4.7/debian/copyright
@@ -1,10 +1,14 @@
-This package was debianized by Bill Moseley <moseley@hank.org> on
-Thu, 15 May 2003 12:06:51 -0700.
+This package was debianized by Jim Pick jim@jimpick.com on
+Fri, 13 Mar 1998 20:57:01 -0800.
 
 It was downloaded from http://swish-e.org/
 
-Copyright:
+Upstream author: Bill Moseley <moseley@hank.org>
 
-SWISH is Copyright (c) 2003, 2002 Free Software Foundation, Inc.
+Copyright, License :
+
+SWISH is Copyright (c) 1989, 1991 Free Software Foundation, Inc.
 SWISH-E is distributed with no warranty under the terms of the
-GNU Public License.  See /usr/share/common-licenses/GPL.
+GNU Public License.  
+
+See /usr/share/common-licenses/GPL.
--- swish-e-2.4.7.orig/debian/po/POTFILES.in
+++ swish-e-2.4.7/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] swish-e.templates
--- swish-e-2.4.7.orig/debian/po/cs.po
+++ swish-e-2.4.7/debian/po/cs.po
@@ -0,0 +1,46 @@
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: 2005-02-09 18:38+0100\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-2\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "Nový, nekompatibilní formát indexu"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+"Swish-e 2.4.5 pou¾ívá pro své indexy nový formát, který je nekompatibilní s "
+"pøedchozími verzemi (2.4.3, 2.2, 2.0, ...)"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "Budete muset pøeindexovat své soubory."
--- swish-e-2.4.7.orig/debian/po/da.po
+++ swish-e-2.4.7/debian/po/da.po
@@ -0,0 +1,39 @@
+# Danish translation swish-e.
+# Copyright (C) 2010 swish-e & nedenstående oversættere.
+# This file is distributed under the same license as the swish-e package.
+# Joe Hansen (joedalton2@yahoo.dk), 2010.R.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: 2010-11-17 12:42+0000\n"
+"Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n"
+"Language-Team: Danish <dansk@dansk-gruppen.dk>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "Nyt inkompatibelt indeksformat"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+"Swish-e 2.4.5 bruger et nyt format til sine indeks, som ikke er kompatible med "
+"tidligere udgivelser (2.4.3, 2.2, 2.0, ...)"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "Du skal reindeksere dine filer."
+
--- swish-e-2.4.7.orig/debian/po/de.po
+++ swish-e-2.4.7/debian/po/de.po
@@ -0,0 +1,37 @@
+# Translation of swish-e debconf templates to German
+# Copyright (C) Helge Kreutzmann <debian@helgefjell.de>, 2007.
+# This file is distributed under the same license as the swish-e package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e 2.4.3-7\n"
+"Report-Msgid-Bugs-To: absurd@debian.org\n"
+"POT-Creation-Date: 2007-01-13 20:19+0100\n"
+"PO-Revision-Date: 2007-02-18 16:14+0100\n"
+"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "Neues, inkompatibles Index-Format"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+"Swish-e 2.4.5 verwendet ein neues Format für seine Indexe, die inkompatibel "
+"zu älteren Veröffentlichungen (2.4.3, 2.2, 2.0, ...) ist"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "Sie müssen Ihre Dateien reindexieren"
--- swish-e-2.4.7.orig/debian/po/es.po
+++ swish-e-2.4.7/debian/po/es.po
@@ -0,0 +1,58 @@
+# swish-e translation to Spanish
+# Copyright (C) 2009 Software in the Public Interest
+# This file is distributed under the same license as the swish-e package.
+#
+# Changes:
+#   - Initial translation
+#       Ricardo Fraile <rikr@esdebian.org>, 2009
+#
+# Traductores, si no conocen el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+#       info -n '(gettext)PO Files'
+#       info -n '(gettext)Header Entry'
+#
+# Equipo de traducción al español, por favor lean antes de traducir
+# los siguientes documentos:
+#
+#   - El proyecto de traducción de Debian al español
+#     http://www.debian.org/intl/spanish/
+#     especialmente las notas y normas de traducción en
+#     http://www.debian.org/intl/spanish/notas
+#
+#   - La guía de traducción de po's de debconf:
+#     /usr/share/doc/po-debconf/README-trans
+#     o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e 2.4.5-5\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: 2009-10-27 11:27+0100\n"
+"Last-Translator: Ricardo Fraile <rikr@esdebian.org>\n"
+"Language-Team: Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "Nuevo formato de índice incompatible"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr "Swish-e 2.4.5 usa un nuevo formato para sus índices, que es incompatible con versiones anteriores (2.4.3, 2.2, 2.0, ...)"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "Deberá volver a indexar sus archivos."
+
--- swish-e-2.4.7.orig/debian/po/fr.po
+++ swish-e-2.4.7/debian/po/fr.po
@@ -0,0 +1,48 @@
+# translation of fr.po to French
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+#    Developers do not need to manually edit POT or PO files.
+# Initial translator :  Ludovic Drolez <ldrolez@debian.org>
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: 2005-11-15 22:05+0100\n"
+"Last-Translator: Sylvain Archenault <sylvain.archenault@laposte.net>\n"
+"Language-Team: French <French <debian-l10n-french@lists.debian.org>>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "Nouveau format d'index incompatible"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+"Swish-e 2.4.5 utilise un nouveau format pour ses index. Ce format est "
+"incompatible avec les versions précédentes (2.4.3, 2.2, 2.0, ...)."
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "Vous devez réindexer vos fichiers."
--- swish-e-2.4.7.orig/debian/po/ja.po
+++ swish-e-2.4.7/debian/po/ja.po
@@ -0,0 +1,38 @@
+# Copyright (C) 2007-2009 Ludovic Drolez <ldrolez@debian.org>
+# This file is distributed under the same license as the swish-e package.
+# Hideki Yamane (Debian-JP) <henrich@debian.or.jp>, 2009.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e 2.4.5-5\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: 2009-01-06 06:26+0900\n"
+"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "新たな互換性が無いインデックス形式"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+"Swish-e 2.4.5 はインデックスに以前のリリース (2.4.3, 2.2, 2.0, ...) とは互換性"
+"がない新しい形式を使っています"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "ファイルについて再度インデックスを作り直す必要があります。"
+
--- swish-e-2.4.7.orig/debian/po/nl.po
+++ swish-e-2.4.7/debian/po/nl.po
@@ -0,0 +1,50 @@
+# Translation of swish-e_2.4.3-4_templates.po to Debian l10n Dutch
+# This file is distributed under the same license as the swish-e package.
+#
+#    Translators, if you are not familiar with the PO format, gettext
+#    documentation is worth reading, especially sections dedicated to
+#    this format, e.g. by running:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#    Some information specific to po-debconf are available at
+#            /usr/share/doc/po-debconf/README-trans
+#         or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+#    Developers do not need to manually edit POT or PO files.
+#
+# Kurt De Bree <kdebree(AT)telenet(DOT)be>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e_2.4.3-4_templates\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: 2006-07-23 19:00+0200\n"
+"Last-Translator: Kurt De Bree <kdebree(AT)telenet(DOT)be>\n"
+"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.10.2\n"
+"Plural-Forms:  nplurals=2; plural=(n != 1);\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "Nieuwe niet-compatibele indexindeling"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+"Swish-e 2.4.5 gebruikt een nieuwe indeling voor de indexen welke niet "
+"compatibel zijn met de vorige versies (2.4.3, 2.2, 2.0, ...)"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "Uw bestanden moeten opnieuw worden geïndexeerd."
--- swish-e-2.4.7.orig/debian/po/pt.po
+++ swish-e-2.4.7/debian/po/pt.po
@@ -0,0 +1,37 @@
+# Portuguese translation for swish-e's debconf messages.
+# Released under the same license as the swish-e package.
+# Luísa Lourenço <kikentai@gmail.com>, 2006.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: 2006-08-03 14:18+0000\n"
+"Last-Translator: Luísa Lourenço <kikentai@gmail.com>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "Novo formato de índice incompatível"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+"Swish-e 2.4.5 usa um novo formato para os seus indices que é incompatível "
+"com os lançamentos anteriores (2.4.3, 2.2, 2.0, ...)"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "Terá que reindexar os seus ficheiros."
--- swish-e-2.4.7.orig/debian/po/pt_BR.po
+++ swish-e-2.4.7/debian/po/pt_BR.po
@@ -0,0 +1,39 @@
+# Debconf translations for swish-e.
+# Copyright (C) 2011 THE swish-e'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the swish-e package.
+# Adriano Rafael Gomes <adrianorg@gmail.com>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e 2.4.7-1\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: 2011-03-07 11:43-0300\n"
+"Last-Translator: Adriano Rafael Gomes <adrianorg@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian."
+"org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "Novo formato de índice incompatível"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+"O swish-e 2.4.5 usa um novo formato para seus índices que é incompatível com "
+"versões antigas (2.4.3, 2.2, 2.0, ...)"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "Você terá que reindexar seus arquivos."
--- swish-e-2.4.7.orig/debian/po/ru.po
+++ swish-e-2.4.7/debian/po/ru.po
@@ -0,0 +1,41 @@
+# translation of ru.po to Russian
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Yuri Kozlov <yuray@komyakino.ru>, 2009.
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e 2.4.5-5\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: 2009-08-11 21:24+0400\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms:  nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "Новый несовместимый формат индекса"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+"В Swish-e версии 2.4.5 используется новый формат для индексов; он не совместим "
+"с форматом предыдущих версий (2.4.3, 2.2, 2.0, ...)"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "Требуется перестройка индексов для ваших файлов."
+
--- swish-e-2.4.7.orig/debian/po/sv.po
+++ swish-e-2.4.7/debian/po/sv.po
@@ -0,0 +1,45 @@
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+# Developers do not need to manually edit POT or PO files.
+# , fuzzy
+# 
+# 
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e 2.4.3-1\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: 2005-09-28 23:46-0700\n"
+"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
+"Language-Team: Swedish <sv@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "Nytt inkompatibelt indexformat"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+"Swish-e 2.4.5 använder ett nytt format för dess index som inte är "
+"kompatibelt med tidigare versioner (2.4.3, 2.2, 2.0 ...)"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "Du måste indexera om dina filer."
--- swish-e-2.4.7.orig/debian/po/templates.pot
+++ swish-e-2.4.7/debian/po/templates.pot
@@ -0,0 +1,37 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr ""
--- swish-e-2.4.7.orig/debian/po/vi.po
+++ swish-e-2.4.7/debian/po/vi.po
@@ -0,0 +1,39 @@
+# Vietnamese translation for swish-e.
+# Copyright © 2005 Free Software Foundation, Inc.
+# Clytie Siddall <clytie@riverland.net.au>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: swish-e 2.4.3-1\n"
+"Report-Msgid-Bugs-To: ldrolez@debian.org\n"
+"POT-Creation-Date: 2007-04-10 16:36+0200\n"
+"PO-Revision-Date: 2005-07-25 15:54+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+"X-Generator: LocFactoryEditor 1.2.2\n"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "New incompatible index format"
+msgstr "Định dạng chỉ mục không tương thích mới"
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid ""
+"Swish-e 2.4.5 uses a new format for its indexes which is incompatible with "
+"previous releases (2.4.3, 2.2, 2.0, ...)"
+msgstr ""
+"Trình switch-e phiên bản 2.4.5 dùng định dạng mới cho các chỉ mục của nó, mà "
+"không tương thích với phiên bản trước (2.4.3, 2.2, 2.0, ...)."
+
+#. Type: note
+#. Description
+#: ../swish-e.templates:1001
+msgid "You will have to re-index your files."
+msgstr "Vì vậy bạn sẽ cần phải chỉ mục lại các tập tin của bạn."
--- swish-e-2.4.7.orig/debian/postinst
+++ swish-e-2.4.7/debian/postinst
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+db_version 2.0
+
+# Cache library
+if [ "$1" = "configure" ]
+then
+    ldconfig
+fi
+
+db_stop
+
+#DEBHELPER#
+
--- swish-e-2.4.7.orig/debian/postrm
+++ swish-e-2.4.7/debian/postrm
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+#DEBHELPER#
+
--- swish-e-2.4.7.orig/debian/prerm
+++ swish-e-2.4.7/debian/prerm
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+#DEBHELPER#
+
--- swish-e-2.4.7.orig/debian/rules
+++ swish-e-2.4.7/debian/rules
@@ -1,106 +1,100 @@
 #!/usr/bin/make -f
-# Sample debian/rules that uses debhelper.
-# GNU copyright 1997 to 1999 by Joey Hess.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-
-CFLAGS = -Wall -g
+#
+# Debian build makefile
+#
 
+export CFLAGS := -Wall -g -fPIC
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-	CFLAGS += -O0
+    CFLAGS += -O0
 else
-	CFLAGS += -O2
+    CFLAGS += -O2
 endif
-ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-	INSTALL_PROGRAM += -s
+DH_STRIP=dh_strip
+ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+    DH_STRIP=true
 endif
 
-config.status: configure
-	dh_testdir
-	# Add here commands to configure the package.
-	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
-
-
-build: build-stamp
-
-build-stamp:  config.status
-	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
-	#/usr/bin/docbook-to-man debian/swish-e.sgml > swish-e.1
+ifndef PERL
+    PERL = /usr/bin/perl
+endif
 
-	touch build-stamp
+DEST=$(CURDIR)/debian/swish-e
+DOCDIR=$(DEST)/usr/share/doc/swish-e
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp 
+	dh_autoreconf_clean
+	dh_clean build.stamp
+	-( cd perl; $(MAKE) realclean)
+	-[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f perl/t/index.swish-e* perl/Makefile.old
+	rm -f doc/swish-e.1 doc/swish-search.1 *.cgi.7
+	rm -f src/acconfig.h doc/bin/toc_file config.log
+	rm -f html/search.cgi debian/files
+	rm -f SWISH-Stemmer-0.05.tar.gz
 
-	# Add here commands to clean up after the build process.
-	-$(MAKE) distclean
-ifneq "$(wildcard /usr/share/misc/config.sub)" ""
-	cp -f /usr/share/misc/config.sub config.sub
-endif
-ifneq "$(wildcard /usr/share/misc/config.guess)" ""
-	cp -f /usr/share/misc/config.guess config.guess
-endif
-
-
-	dh_clean
-
-install: build
+build: build.stamp
+build.stamp:
 	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
-	# Add here commands to install the package into debian/swish-e.
-	$(MAKE) install DESTDIR=$(CURDIR)/debian/swish-e
-
+	dh_autoreconf
+	env CC=gcc CFLAGS="$(CFLAGS)" ./configure --mandir=\$${prefix}/share/man --with-libxml2 --with-pcre --prefix=/usr
+	$(MAKE)
+	#$(MAKE) docs
+	#(cd doc;$(MAKE) man)
+	(chmod 755 swish-config;cd perl; env PATH=..:$$PATH SWISHSKIPTEST=1 SWISHIGNOREVER=1 $(PERL) Makefile.PL INSTALLDIRS=vendor < /dev/null \
+		&& $(MAKE) OPTIMIZE="$(CFLAGS) -I../src/" CC=gcc LD=gcc LD_RUN_PATH=)
+	> $@
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+binary: binary-arch binary-indep
 
-# Build architecture-dependent files here.
-binary-arch: build install
+binary-arch: build
 	dh_testdir
 	dh_testroot
-	dh_installchangelogs 
-	dh_installdocs
-	dh_installexamples
-#	dh_install
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_installinit
-#	dh_installcron
-#	dh_installinfo
+	dh_clean
+	dh_installdirs 
+	uudecode debian/SWISH-Stemmer-0.05.tar.gz.uu
+	# bin
+	make install DESTDIR=$(DEST)
+	sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
+	# perl
+	(cd perl;$(MAKE) install PREFIX=$(DEST)/usr)
+	# docs
+	(cd example;pod2man -s 7 swish.cgi >../swish.cgi.7 ;pod2man -s 7 search.cgi >../search.cgi.7)
 	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
+	dh_installdocs README* 
+	dh_installexamples example/* conf filter-bin prog-bin SWISH-Stemmer-0.05.tar.gz
+	# swish-search symlinks
+	(cd $(DEST)/usr/bin; ln -s swish-e swish-search)
+	(cd $(DEST)/usr/share/man/man1; ln -s swish-e.1 swish-search.1)	
+	# let's make lintian happy
+	mv $(DEST)/usr/bin/swish-filter-test $(DOCDIR)/examples/
+	find $(DOCDIR)/examples -name '*' -exec chmod 644 {} \;
+	find $(DOCDIR)/examples -name '*.in' -exec rm {} \;
+	find $(DEST)/usr/lib/swish-e/perl -name '*.pm' -exec chmod 644 {} \;
+	cp -f debian/swish_filter.pl $(DOCDIR)/examples/filter-bin/
+	chmod 755 $(DOCDIR)/examples/filter-bin/*.pl
+	chmod 755 $(DOCDIR)/examples/filter-bin/*.sh
+	rm -f $(DOCDIR)/README.cvs $(DOCDIR)/INSTALL
+	rm -f $(DOCDIR)/examples/prog-bin/*.in $(DOCDIR)/examples/prog-bin/Make*
+	rm -f $(DOCDIR)/examples/*.in $(DOCDIR)/examples/Make*
+	rm -f $(DOCDIR)/filter-bin/Make* $(DOCDIR)/conf/Make*
+	#rm -rf $(DESTDIR)/usr/share/swish-e
+	#
+	dh_movefiles --sourcedir=debian/swish-e
+	dh_installchangelogs
+	$(DH_STRIP)
+	dh_compress -Xexamples
+	dh_installdebconf
 	dh_fixperms
-#	dh_perl
-#	dh_python
 	dh_makeshlibs
 	dh_installdeb
-	dh_shlibdeps -ldebian/swish-e/usr/lib
-	dh_gencontrol
+	dh_perl
+	dh_shlibdeps -l$(DEST)/usr/lib/
+	dh_gencontrol -a
 	dh_md5sums
 	dh_builddeb
 
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install 
+binary-indep: build
+
+.PHONY: clean build binary binary-arch binary-indep
--- swish-e-2.4.7.orig/debian/search-debiandoc
+++ swish-e-2.4.7/debian/search-debiandoc
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+swish-e -f /var/cache/swish-e/debiandocs.index -p swishdescription -w $@
+
--- swish-e-2.4.7.orig/debian/swish-debiandoc
+++ swish-e-2.4.7/debian/swish-debiandoc
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+swish-e -c /usr/share/doc/swish-e/examples/swish-debiandoc.config
--- swish-e-2.4.7.orig/debian/swish-debiandoc.config
+++ swish-e-2.4.7/debian/swish-debiandoc.config
@@ -0,0 +1,42 @@
+# ----- Example 1 - limit by extension -------------
+#
+#  Please see the swish-e documentation for
+#  information on configuration directives.
+#  Documentation is included with the swish-e
+#  distribution, and also can be found on-line
+#  at http://swish-e.org
+#
+#
+#  This example demonstrates how to limit
+#  indexing to just .htm and .html files.
+#
+#---------------------------------------------------
+
+# By default, swish creates an index file in the current directory
+# called "index.swish-e" (and swish uses this name by default when
+# searching.  This is convenient, but not always desired.
+
+IndexFile /var/cache/swish-e/debiandocs.index
+IndexDir /usr/share/doc
+IndexName "Debian documentation index"
+IndexDescription "This is an index to test the Debian documentation indexation"
+IndexReport 3
+
+DefaultContents HTML2
+
+IndexOnly .htm .html README.Debian README FAQ .txt .xml .htm.gz .html.gz README.Debian.gz README.gz FAQ.gz .txt.gz 
+
+StoreDescription TXT 150
+StoreDescription HTML2 <body> 150
+StoreDescription XML <desc> 150
+
+# If you wish to follow symbolic links use the following.
+# Note that the default is "no".  I you are indexing many
+# files, and you do not have any symbolic links, you may
+# still want to set this to "yes".  This will avoid an extra
+# lstat system call for every file while indexing.
+
+FollowSymLinks yes
+
+Filefilter  .gz    gzip "-dc '%p'"
+# end of example
--- swish-e-2.4.7.orig/debian/swish-e-dev.files
+++ swish-e-2.4.7/debian/swish-e-dev.files
@@ -0,0 +1,6 @@
+usr/include
+usr/lib/libswish-e.so                                                              
+usr/lib/libswish-e.la                                                              
+usr/lib/libswish-e.a
+usr/bin/swish-config
+ 
\ No newline at end of file
--- swish-e-2.4.7.orig/debian/swish-e.config
+++ swish-e-2.4.7/debian/swish-e.config
@@ -0,0 +1,13 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+
+db_version 2.0
+
+#if [ ! -f /etc/backuppc/htpasswd ]; then
+db_input high "swish-e/configuration-note" || true
+db_go
+#fi
+
+db_stop
+exit 0
--- swish-e-2.4.7.orig/debian/swish-e.dirs
+++ swish-e-2.4.7/debian/swish-e.dirs
@@ -0,0 +1,2 @@
+usr/lib/swish-e	
+var/cache/swish-e
--- swish-e-2.4.7.orig/debian/swish-e.doc-base
+++ swish-e-2.4.7/debian/swish-e.doc-base
@@ -2,10 +2,10 @@
 Title: Swish-e documentation
 Author: 
 Abstract: SWISH-Enhanced is a fast, powerful, flexible, free, and easy to use
- system for indexing collections of Web pages, XML or other text files. Key
+ system for indexing collections of Web pages, XML or office files. Key
  features include the ability to limit searches to certain HTML tags
  (META, TITLE, comments, etc.). 
-Section: Apps/Text
+Section: File Management
 
 Format: HTML
 Index: /usr/share/doc/swish-e/html/index.html
--- swish-e-2.4.7.orig/debian/swish-e.examples
+++ swish-e-2.4.7/debian/swish-e.examples
@@ -0,0 +1,5 @@
+debian/swish-debiandoc.config
+debian/search-debiandoc
+debian/swish-debiandoc
+debian/swish-mail
+debian/swish.config
--- swish-e-2.4.7.orig/debian/swish-e.manpages
+++ swish-e-2.4.7/debian/swish-e.manpages
@@ -0,0 +1,2 @@
+swish.cgi.7
+search.cgi.7
--- swish-e-2.4.7.orig/debian/swish-e.templates
+++ swish-e-2.4.7/debian/swish-e.templates
@@ -0,0 +1,7 @@
+Template: swish-e/configuration-note
+Type: note
+_Description: New incompatible index format
+ Swish-e 2.4.5 uses a new format for its indexes which is incompatible with
+ previous releases (2.4.3, 2.2, 2.0, ...)
+ .
+ You will have to re-index your files.
--- swish-e-2.4.7.orig/debian/swish-mail
+++ swish-e-2.4.7/debian/swish-mail
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+DIR=/tmp/swish$RANDOM
+
+hypermail -i -d $DIR < $1
+cat $DIR/0000.html
+rm -rf $DIR
--- swish-e-2.4.7.orig/debian/swish.config
+++ swish-e-2.4.7/debian/swish.config
@@ -0,0 +1,200 @@
+# Swish-e Debian sample configuration file
+###################################################
+# DIRECTIVES COMMON to  HTTP and FILESYSTEM METHODS
+###################################################
+
+IndexFile ./index.swish-e
+IndexDir /mydir
+IndexName "Sample index with all filters"
+IndexDescription "---"
+
+DefaultContents HTML2
+
+# For the FileSystem Method:
+# This is a space-separated list of files and
+# directories you want indexed. You can specify
+# more than one of these directives.
+#
+# For the HTTP Method:
+# Use the URL's from which you want the spidering
+# to begin.
+# NOTE: use  hmtl files rather than  directories
+# for this method.
+
+# IndexFile /home/ghill/swishRon/dir1/myindex1
+# This is what the generated index file will be.
+
+
+#IndexName "Improvement index"
+#IndexDescription "This is an index to test bug fixes in swish." 
+#IndexPointer "http://sunsite/~ghill/swish/index.html"
+IndexAdmin "me@nobody.com"
+# Extra information you can include in the index file.
+
+MetaNames first author swishdocpath swishtitle
+# List of all the meta names used in the file to index, must be on one line.
+# If no metanames DO NOT deleted the line.
+# New in 2.0 -> automatic option will extract metanames dinamically
+# eg:
+# MetaNames automatic
+
+IndexReport 3
+# This is how detailed you want reporting. You can specify numbers
+# 0 to 3 - 0 is totally silent, 3 is the most verbose.
+
+FollowSymLinks yes
+# Put "yes" to follow symbolic links in indexing, else "no".
+
+#UseStemming no
+# Put yes to apply word stemming algorithm during indexing,
+# else no. See the manual for info about stemming. Default is 
+# no.
+
+#PropertyNames author
+# List of meta tags names that can be retrieved with the -p option.
+# Index size increases as by the formula in the manual.
+# Comment out if no PropertyNames. Case insensitive
+
+IgnoreTotalWordCountWhenRanking yes
+# Put yes to ignore the total number of words in the file
+# when calculating ranking. Often better with merges and
+# small files. Default is no.
+
+ReplaceRules remove "/mnt/eicidoc"
+#ReplaceRules replace "[a-z_0-9]*_m.*\.html" "index.html"
+#ReplaceRules replace "/ghill" "moreghillmore"
+# ReplaceRules allow you to make changes to file pathnames
+# before they're indexed. This directive uses C library
+# regex.h regular expressions.
+# NOTE: do not use replace <string> "" to remove a string,
+# use remove <string> instead - you might get a core dump otherwise.
+
+#MinWordLimit 5
+# Set the minimum length of an indexable word. Every shorter word
+# will not be indexed.
+# Commenting out the line will give the defaults
+
+#MaxWordLimit 5
+# Set the maximum length of an indexable word. Every longer word
+# will not be indexed.
+# Commenting out the line will give the defaults
+
+#WordCharacters abcdefghijklmnopqrstuvwxyz\&#;0123456789.@|,-'"[](~!@$%^{}_+?
+# WORDCHARS is a string of characters which SWISH permits to
+# be in words. Any strings which do not include these characters
+# will not be indexed. You can choose from any character in
+# the following string:
+#
+# abcdefghijklmnopqrstuvwxyz0123456789_\|/-+=?!@$%^'"`~,.[]{}()
+#
+# Note that if you omit "0123456789&#;" you will not be able to
+# index HTML entities. DO NOT use the asterisk (*), lesser than
+# and greater than signs (<), (>), or colon (:).
+#
+# Including any of these four characters may cause funny things to happen.
+# NOTE: Do not escape \ nor " and they cannot be the first letter in the string
+# Commenting out the line will give the defaults
+
+#BeginCharacters m"
+# Of the characters that you decide can go into words, this is
+# a list of characters that words can begin with. It should be
+# a subset of (or equal to) WordCharacters
+# Same rule of syntax as for WordCharacters
+
+#EndCharacters \"\
+# Of the characters that you decide can go into words, this is
+# a list of characters that words can begin with. It should be
+# a subset of (or equal to) WordCharacters
+# Same rule of syntax as for WordCharacters
+
+#IgnoreLastChar 
+# Array that contains the char that, if considered valid in the middle of 
+# a word need to be disreguarded when at the end. It is important to also
+# set the given char's in the ENDCHARS array, otherwise the word will not
+# be indexed because considered invalid.
+# Commenting out the line will give the defaults
+# NOTE: if " is the first char in the string it needs to be escaped with \
+# Do not escape otherwise
+
+#IgnoreFirstChar 
+# Array that contains the char that, if considered valid in the middle of
+# a word need to be disreguarded when at the beginning. This was to solve
+# the problem of parenthesis when there is no space between ( and the
+# beginning of the word.
+# Remember to add the char's to the BEGINCHARS list also.
+# Commenting out the line will give the defaults
+# NOTE: if " is the first char in the string it needs to be escaped with \
+# Do not escape otherwise
+
+#IgnoreLimit 50 1000
+# This automatically omits words that appear too often in the files
+# (these words are called stopwords). Specify a whole percentage
+# and a number, such as "80 256". This omits words that occur in
+# over 80% of the files and appear in over 256 files. Comment out
+# to turn of auto-stopwording.
+
+IgnoreWords File: /usr/share/doc/swish-e/examples/conf/stopwords/english.txt
+# The IgnoreWords option allows you to specify words to ignore.
+# Comment out for no stopwords; the word "SwishDefault" will
+# include a list of default stopwords. Words should be separated by spaces
+# and may span multiple directives.
+# New in 2.0. File option reads stopwords from an external file
+# eg:
+# IgnoreWords File:filename
+
+IndexComments 0
+# This option allows the user decide if to index the comments in the files
+# default is 1. Set to 0 if comment indexing is not required.
+
+#TranslateCharacters string1 string2
+# This option allows to index the characters in string1 to be indexed
+# as the characteres in string2.
+# This is done after htnl entities are converted
+# This option is useful in languages like spanish, french, ...
+# eg:
+# TranslateCharacters _á -a
+# This will index a_b as a-b and ámo as amo
+
+##################################
+# DIRECTIVES for FILESYSTEMS ONLY 
+# Comment out if using HTTP
+###################################
+
+IndexOnly .html .xml .txt .pdf .doc .xls .ppt .vsd .mpp .jpg .gif .zip  .tar .gz
+# Only files with these suffixes will be indexed.
+
+#NoContents .gif .xbm .au .mov .mpg .png .ps .rpm .deb .tgz .gz .tar .bz2 .zip .ppt .xls .z ,ST 
+IndexContents TXT .xls .txt .vsd .ppt .mpp .jpg .gif .zip  .tar .gz
+NoContents .jpg .gif .zip .tar .gz
+#TruncateDocSize 100000
+
+FileRules filename contains # % ~ .bak .orig .old old. .gif
+#FileRules title contains construction example pointers
+#FileRules filename is index
+# Files matching the above criteria will *not* be indexed.
+# The patter matching uses the C library regex.h 
+
+StoreDescription TXT 15000
+StoreDescription HTML2 <body> 15000
+StoreDescription XML <desc> 15000
+
+FilterDir   /usr/share/doc/swish-e/examples/filter-bin
+#FileFilter  .pdf   _pdf2html.pl "'%p'"
+#FileFilter .pdf       /usr/bin/pdftotext   "'%p' -"
+#Filefilter  .gz    gzip-filter.sh 
+Filefilter  .pdf   swish_filter.pl %p
+Filefilter  .doc   swish_filter.pl %p
+Filefilter  .xls   /usr/bin/xls2csv %p
+Filefilter  .ppt   /usr/bin/catppt %p
+Filefilter  .vsd   /usr/bin/wvSummary %p
+Filefilter  .mpp   /usr/bin/wvSummary %p
+Filefilter  .jpg   /bin/echo %p
+Filefilter  .gif   /bin/echo %p
+Filefilter  .zip   /bin/echo %p
+Filefilter  .tar   /bin/echo %p
+Filefilter  .gz   /bin/echo %p
+#Filefilter  .dot   wword-filter.sh
+#Filefilter  .ps    ghostscript-filter.sh
+FileFilterMatch "/usr/bin/unzip" "-p %p content.xml" /\.(sxw|sxc|sxg|sxi|odt)$/i 
+# filter for mails
+FileFilterMatch "/user/ludo/bin/swish-mail" %p /\,S$/
--- swish-e-2.4.7.orig/debian/swish_filter.pl
+++ swish-e-2.4.7/debian/swish_filter.pl
@@ -0,0 +1,67 @@
+#!/usr/bin/perl -w
+use strict;
+
+# This is set to where Swish-e's "make install" installed the helper modules.
+use lib qw( /usr/lib/swish-e/perl );
+
+
+use SWISH::Filter;
+
+
+=pod
+
+This is an example of how to use the SWISH::Filter module to filter
+documents using Swish-e's C<FileFilter> feature.  This will filter any
+number of document types, depending on what filter modules are installed.
+
+This program should typically only be used for the -S fs indexing method. 
+For -S http the F<swishspider> program calls SWISH::Filter directly.  And -S
+prog programs written in Perl can also make use of SWISH::Filter directly.
+
+In general, you will not want to filter with this program if you have a lot
+of files to filter.  Running a perl program for many documents will be slow
+(due to the compiliation of the perl program).  If you have many documents
+to convert with the -S fs method of indexing then consider using -S prog
+with F<prog-bin/DirTree.pl> and use the SWISH::Filter module (see
+F<filters/README>).
+
+Swish-e configuration:
+
+    FileFilter .pdf /path/to/swish_filter.pl
+    FileFilter .doc /path/to/swish_filter.pl
+    FileFilter .mp3 /path/to/swish_filter.pl
+    IndexContents HTML2 .pdf .mp3
+    IndexContents TXT2 .doc
+
+Then when indexing those type of documents this program will attempt to filter (convert)
+them into a text format.
+
+See SWISH-CONFIG documentation on Filtering for more information.
+
+=cut    
+
+
+    my ( $work_path, $real_path ) = @ARGV;
+    my $filter = SWISH::Filter->new;
+
+    if ( ! $real_path ) { $real_path = "" };
+
+    my $doc = $filter->convert(
+        document => $work_path,
+        name     => $real_path,
+        content_type => $real_path, # use the real path to lookup the content type
+    );
+
+    return unless $doc;  # empty doc, zero size, or no filters installed
+
+    # Was the document converted by a filter?
+    my $was_filtered = $doc->was_filtered;
+
+    print STDERR $was_filtered ? " - Filtered: $real_path\n" : " - Not filtered: $real_path ($work_path)\n";
+
+    # Skip if the file is not text
+    return if $doc->is_binary;
+
+    # Print out the doc
+    my $doc_ref = $doc->fetch_doc;
+    print $$doc_ref;
--- swish-e-2.4.7.orig/debian/watch
+++ swish-e-2.4.7/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://www.swish-e.org/download/index.html	.*/swish-e-([0-9\.]+)\.tar\.gz	debian uupdate
--- swish-e-2.4.7.orig/man/SWISH-FAQ.1
+++ swish-e-2.4.7/man/SWISH-FAQ.1
@@ -131,7 +131,7 @@
 .IX Title "SWISH-FAQ 1"
 .TH SWISH-FAQ 1 "2009-04-04" "2.4.7" "SWISH-E Documentation"
 .SH "NAME"
-The Swish\-e FAQ \- Answers to Common Questions
+SWISH-FAQ \- The Swish\-e FAQ. Answers to Common Questions
 .SH "OVERVIEW"
 .IX Header "OVERVIEW"
 List of commonly asked and answered questions.  Please review this
--- swish-e-2.4.7.orig/perl/API.pm
+++ swish-e-2.4.7/perl/API.pm
@@ -2,7 +2,7 @@
 
 # $Id: API.pm 1806 2006-06-21 19:01:20Z karman $
 
-use vars qw/ @ISA $VERSION /;
+use vars qw/ @ISA $VERSION/;
 $VERSION = '0.04';
 
 # prefer XSLoader over DynaLoader
@@ -31,7 +31,17 @@
     return $m;
 }
 
-CL: for my $class ( grep { m/::$/ } keys %SWISH::API:: )
+# Fix for Debian Bug #422609
+@moduleslist = ( 
+  "MetaName::",
+  "Search::",
+  "PropertyName::",
+  "Results::",
+  "FuzzyWord::",
+  "Result::",
+);
+
+CL: for my $class ( @moduleslist )
 {
     local *c = $SWISH::API::{$class};
     METH: foreach my $meth ( keys %c ) {
--- swish-e-2.4.7.orig/perl/Makefile.PL
+++ swish-e-2.4.7/perl/Makefile.PL
@@ -211,7 +211,7 @@
 
     my %config;
     $config{VERSION} = backtick("$binary --version");
-    $config{LIBS}    = backtick("$binary --libs");
+    $config{LIBS}    = "-L../src/.libs/ -lxml2 ".backtick("$binary --libs");
     $config{INC}     = backtick("$binary --cflags");
     $config{BINDIR}  = dirname($binary);