From 1a006fc2ca88dbac658a6fc6599808e620fe40ec Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Wed, 3 Feb 2010 16:24:20 +0100 Subject: [PATCH] import qt4 rules from debian kartik mistry package --- packaging/debian/debianrclqt4/changelog | 59 +++++++++++++ packaging/debian/debianrclqt4/compat | 1 + packaging/debian/debianrclqt4/control | 41 +++++++++ packaging/debian/debianrclqt4/copyright | 113 ++++++++++++++++++++++++ packaging/debian/debianrclqt4/docs | 1 + packaging/debian/debianrclqt4/menu | 2 + packaging/debian/debianrclqt4/rules | 70 +++++++++++++++ packaging/debian/debianrclqt4/watch | 12 +++ 8 files changed, 299 insertions(+) create mode 100644 packaging/debian/debianrclqt4/changelog create mode 100644 packaging/debian/debianrclqt4/compat create mode 100644 packaging/debian/debianrclqt4/control create mode 100644 packaging/debian/debianrclqt4/copyright create mode 100644 packaging/debian/debianrclqt4/docs create mode 100644 packaging/debian/debianrclqt4/menu create mode 100755 packaging/debian/debianrclqt4/rules create mode 100644 packaging/debian/debianrclqt4/watch diff --git a/packaging/debian/debianrclqt4/changelog b/packaging/debian/debianrclqt4/changelog new file mode 100644 index 00000000..ee0fd679 --- /dev/null +++ b/packaging/debian/debianrclqt4/changelog @@ -0,0 +1,59 @@ +recoll (1.13.02-0~ppa1~SERIES1) SERIES; urgency=low + + * Updated package to recoll version 1.13.02 + * Imported current goodness from debian maintainer control and rules + files. Thanks to Kartik Mistry + + -- Jean-Francois Dockes Wed, 03 Feb 2010 16:21:00 +0100 + +recoll (1.13.01-0~ppa1~SERIES1) SERIES; urgency=low + * Updated package to recoll version 1.13.01 + -- Jean-Francois Dockes Thu, 07 Jan 2010 10:52:00 +0100 + +recoll (1.13.00-0~ppa1~SERIES1) SERIES; urgency=low + * Updated package to recoll version 1.13.00 + -- Jean-Francois Dockes Tue, 05 Jan 2010 09:52:20 +0100 + +recoll (1.12.4-0~ppa1~SERIES1) SERIES; urgency=low + * Updated package to recoll version 1.12.4 + -- Jean-Francois Dockes Wed, 28 Oct 2009 17:16:20 +0200 + +recoll (1.12.3-0~ppa3~SERIES1) SERIES; urgency=low + * Updated package to recoll version 1.12.3 + -- Jean-Francois Dockes Wed, 28 Oct 2009 17:16:20 +0200 + +recoll (1.12.2-0~ppa3~SERIES1) SERIES; urgency=low + * Updated package to recoll version 1.12.2 + -- Jean-Francois Dockes Mon, 19 Oct 2009 16:17:46 +0200 + +recoll (1.11.0-0ubuntu1) dapper; urgency=low + * Updated package to recoll version 1.11.0 + -- Jean-Francois Dockes Sun, 19 Oct 2008 09:57:13 +0200 + +recoll (1.10.6-0ubuntu1) dapper; urgency=low + * Updated package to recoll version 1.10.6 + -- Jean-Francois Dockes Fri, 12 Sep 2008 10:14:20 +0200 + +recoll (1.10.4-0ubuntu1) hardy; urgency=low + * Updated package to recoll version 1.10.4 + -- Jean-Francois Dockes Fri, 29 Aug 2008 15:39:40 +0200 + +recoll (1.10.1-0ubuntu1) gutsy; urgency=low + * Updated package to recoll version 1.10.1 + -- Jean-Francois Dockes Fri, 01 Feb 2008 11:30:01 +0100 + +recoll (1.10.0-0ubuntu1) gutsy; urgency=low + * Updated package to recoll version 1.10.0 + -- Jean-Francois Dockes Wed, 11 Nov 2007 15:34:51 +0200 + +recoll (1.9.0-0ubuntu1) gutsy; urgency=low + * Updated package to recoll version 1.9.0 + -- Jean-Francois Dockes Fri, 7 Sep 2007 15:34:51 +0200 + +recoll (1.8.1-0ubuntu1) gutsy; urgency=low + * Updated package to recoll version 1.8.1 + -- Jean-Francois Dockes Wed, 7 Mar 2007 09:08:05 +0100 + +recoll (1.7.5-0ubuntu1) feisty; urgency=low + * Initial release + -- Jean-Francois Dockes Wed, 10 Jan 2007 16:04:13 +0100 diff --git a/packaging/debian/debianrclqt4/compat b/packaging/debian/debianrclqt4/compat new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/packaging/debian/debianrclqt4/compat @@ -0,0 +1 @@ +5 diff --git a/packaging/debian/debianrclqt4/control b/packaging/debian/debianrclqt4/control new file mode 100644 index 00000000..22f51463 --- /dev/null +++ b/packaging/debian/debianrclqt4/control @@ -0,0 +1,41 @@ +Source: recoll +Section: x11 +Priority: optional +Maintainer: Jean-Francois Dockes +Build-Depends: debhelper (>= 7), + autotools-dev, + libqt4-dev, + libxapian-dev (>= 1.0.15), + libx11-dev, + libz-dev +Standards-Version: 3.8.3 + +Package: recoll +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: aspell, python +Suggests: antiword, catdoc, ghostscript, libimage-exiftool-perl, poppler-utils, unrtf, xpdf +Description: a personal full text search package with a QT GUI + The Recoll personal full text search package is based on a very strong + backend (Xapian), for which it provides an easy to use and feature-rich + interface. + . + Features: + * QT-based GUI. + * Supports the following document types (and their compressed versions): + - Natively: text, html, OpenOffice files, maildir and mailbox + (Mozilla and Thunderbird mail ok) with attachments, gaim log files. + - With external helpers: pdf (pdftotext), postscript (ghostscript), + msword (antiword), excel, ppt (catdoc), rtf (unrtf), + * Powerful query facilities, with boolean searches, phrases, filter on + file types and directory tree. + * Support for multiple charsets. Internal processing and storage uses + Unicode UTF-8. + * Stemming performed at query time (can switch stemming language after + indexing) + * Easy installation. No database daemon, web server or exotic language + necessary. + * An indexer which runs either as a thread inside the GUI or as an + external, cron'able program. + . + Homepage: diff --git a/packaging/debian/debianrclqt4/copyright b/packaging/debian/debianrclqt4/copyright new file mode 100644 index 00000000..00265702 --- /dev/null +++ b/packaging/debian/debianrclqt4/copyright @@ -0,0 +1,113 @@ +This package was debianized by Jean-Francois Dockes on +Wed, 10 Jan 2007 16:04:13 +0100. + +It was downloaded from http://www.recoll.org + +Upstream Author: Jean-Francois Dockes + +Copyright: (C) 2005,2006, Jean-Francois Dockes + +License: + + This package 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 package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +The Debian packaging is (C) 2007, Jean-Francois Dockes and +is licensed under the GPL, see above. + +Portions of the software are: + +Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL: +/* This file is part of The New Aspell + * Copyright (C) 2001-2002 by Kevin Atkinson under the GNU LGPL + * license version 2.0 or 2.1. You should have received a copy of the + * LGPL license along with this library if you did not you can find it + * at http://www.gnu.org/. + +On Debian systems, the complete text of the GNU LGPL +can be found in `/usr/share/common-licenses/LGPL-2'. + + +Copyright 2002-2005 Andreas Aardal Hanssen +Copyright (C) 2000-2004 Mikio Hirabayashi +Copyright 1999,2000,2001 BrightStation PLC +Copyright 2001 Ananova Ltd +Copyright 2002 Olly Betts +Copyright (C) 2000, 2001, 2002 Loic Dachary + - GPL V2 or later, same license text as above + +Copyright (c) 1991-2004 Unicode, Inc. + + COPYRIGHT AND PERMISSION NOTICE + + Copyright © 1991-2006 Unicode, Inc. All rights reserved. Distributed under + the Terms of Use in http://www.unicode.org/copyright.html. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of the Unicode data files and any associated documentation (the "Data + Files") or Unicode software and any associated documentation (the + "Software") to deal in the Data Files or Software without restriction, + including without limitation the rights to use, copy, modify, merge, + publish, distribute, and/or sell copies of the Data Files or Software, and + to permit persons to whom the Data Files or Software are furnished to do + so, provided that (a) the above copyright notice(s) and this permission + notice appear with all copies of the Data Files or Software, (b) both the + above copyright notice(s) and this permission notice appear in associated + documentation, and (c) there is clear notice in each modified Data File or + in the Software as well as in the documentation associated with the Data + File(s) or Software that the data or software has been modified. + + THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY + KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF + THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS + INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR + CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF + USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER + TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THE DATA FILES OR SOFTWARE. + + Except as contained in this notice, the name of a copyright holder shall + not be used in advertising or otherwise to promote the sale, use or other + dealings in these Data Files or Software without prior written + authorization of the copyright holder. + +Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All +/* + * MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm + * + * Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All + * rights reserved. + * + * License to copy and use this software is granted provided that it + * is identified as the "RSA Data Security, Inc. MD5 Message-Digest + * Algorithm" in all material mentioning or referencing this software + * or this function. + * + * License is also granted to make and use derivative works provided + * that such works are identified as "derived from the RSA Data + * Security, Inc. MD5 Message-Digest Algorithm" in all material + * mentioning or referencing the derived work. + * + * RSA Data Security, Inc. makes no representations concerning either + * the merchantability of this software or the suitability of this + * software for any particular purpose. It is provided "as is" + * without express or implied warranty of any kind. + * + * These notices must be retained in any copies of any part of this + * documentation and/or software. + */ diff --git a/packaging/debian/debianrclqt4/docs b/packaging/debian/debianrclqt4/docs new file mode 100644 index 00000000..e845566c --- /dev/null +++ b/packaging/debian/debianrclqt4/docs @@ -0,0 +1 @@ +README diff --git a/packaging/debian/debianrclqt4/menu b/packaging/debian/debianrclqt4/menu new file mode 100644 index 00000000..405ea82a --- /dev/null +++ b/packaging/debian/debianrclqt4/menu @@ -0,0 +1,2 @@ +?package(recoll):needs="X11" section="Apps/Databases"\ + title="Personal Search Tool" command="/usr/bin/recoll" diff --git a/packaging/debian/debianrclqt4/rules b/packaging/debian/debianrclqt4/rules new file mode 100755 index 00000000..2de450d1 --- /dev/null +++ b/packaging/debian/debianrclqt4/rules @@ -0,0 +1,70 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +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 +LDFLAGS = -Wl,-z,defs + +#build qt4 UI only +export QMAKE=qmake-qt4 + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + ./configure CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --mandir=\$${prefix}/share/man \ + --prefix=/usr + +build: build-stamp +build-stamp: config.status + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp config.log + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean Makefile + +install: + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + $(MAKE) prefix=$(CURDIR)/debian/recoll/usr install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs README + dh_installmenu + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/packaging/debian/debianrclqt4/watch b/packaging/debian/debianrclqt4/watch new file mode 100644 index 00000000..8b5064a9 --- /dev/null +++ b/packaging/debian/debianrclqt4/watch @@ -0,0 +1,12 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +http://www.recoll.org/download.html recoll-(.*)\.tar\.gz +