rclgrep: debian package
This commit is contained in:
parent
bd758648d2
commit
2882acaa43
8
packaging/debian/rclgrep/debian/README.Debian
Normal file
8
packaging/debian/rclgrep/debian/README.Debian
Normal file
@ -0,0 +1,8 @@
|
||||
README for Debian
|
||||
-----------------
|
||||
|
||||
The rclgrep package is a partial installation of the recollcmd package, with no
|
||||
Xapian dependency. It conflicts with recollcmd, which also provides the rclgrep
|
||||
command.
|
||||
|
||||
-- Jean-Francois Dockes <jf@dockes.org> Tue, 20 Sep 2022 08:32:00 +0200
|
||||
7
packaging/debian/rclgrep/debian/changelog
Normal file
7
packaging/debian/rclgrep/debian/changelog
Normal file
@ -0,0 +1,7 @@
|
||||
rclgrep (1.33.1-1~ppaPPAVERS~SERIES1) SERIES; urgency=low
|
||||
|
||||
* 1st version of rclgrep: a non-indexed search program using recoll
|
||||
data extraction modules to effect grep-like function.
|
||||
|
||||
-- Jean-Francois Dockes <jf@dockes.org> Sun, 11 Sep 2022 10:59:00 +0200
|
||||
|
||||
1
packaging/debian/rclgrep/debian/compat
Normal file
1
packaging/debian/rclgrep/debian/compat
Normal file
@ -0,0 +1 @@
|
||||
11
|
||||
44
packaging/debian/rclgrep/debian/control
Normal file
44
packaging/debian/rclgrep/debian/control
Normal file
@ -0,0 +1,44 @@
|
||||
Source: rclgrep
|
||||
Section: x11
|
||||
Priority: optional
|
||||
Maintainer: Jean-Francois Dockes <jfd@recoll.org>
|
||||
Build-Depends: debhelper (>= 10),
|
||||
dh-python,
|
||||
dpkg-dev (>= 1.16.1~),
|
||||
libchm-dev,
|
||||
libmagic-dev,
|
||||
libxslt1-dev,
|
||||
libz-dev,
|
||||
pkg-config,
|
||||
python3-all-dev,
|
||||
python3-setuptools
|
||||
X-Python3-Version: >= 3.6
|
||||
Homepage: https://www.lesbonscomptes.com/recoll
|
||||
Standards-Version: 4.2.1
|
||||
|
||||
Package: rclgrep
|
||||
Architecture: any
|
||||
Depends: python3, ${misc:Depends}, ${shlibs:Depends}
|
||||
Conflicts: recollcmd
|
||||
Recommends: antiword,
|
||||
groff,
|
||||
libimage-exiftool-perl,
|
||||
poppler-utils,
|
||||
python3-lxml,
|
||||
python3-six,
|
||||
python3-mutagen,
|
||||
python3-rarfile,
|
||||
unrtf,
|
||||
unzip,sfami
|
||||
xdg-utils
|
||||
Suggests: ghostscript,
|
||||
untex,
|
||||
wv
|
||||
Description: grep-like program based on recoll data extraction modules.
|
||||
The program supports most grep options and aims at supplying a very similar
|
||||
output format. It will search all formats supported by Recoll, including
|
||||
compound documents and nested archives (mbox, zip, ....) with full
|
||||
regexp support (unlike recoll). It does not not create
|
||||
an index and the package has no dependency on Xapian. In consequence,
|
||||
searching is vastly slower than when using recoll.
|
||||
|
||||
141
packaging/debian/rclgrep/debian/copyright
Normal file
141
packaging/debian/rclgrep/debian/copyright
Normal file
@ -0,0 +1,141 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: recoll
|
||||
Upstream-Contact: Jean-Francois Dockes <jfd@recoll.org>
|
||||
Source: https://www.lesbonscomptes.com/recoll/
|
||||
|
||||
Files: *
|
||||
Copyright: 2005-2014, Jean-Francois Dockes <jfd@recoll.org>
|
||||
License: GPL-2+
|
||||
|
||||
Files: bincimapmime/*
|
||||
Copyright: 2002-2005, Andreas Aardal Hanssen <andreas-binc@bincimap.org>
|
||||
License: GPL-2+
|
||||
|
||||
Files: filters/rcl* internfile/htmlparse.cpp
|
||||
Copyright: 2000-2004, Mikio Hirabayashi
|
||||
License: GPL-2+
|
||||
|
||||
Files: filters/rclpython
|
||||
Copyright: J\xfcrgen Hermann, Mike Brown, Christopher Arndt
|
||||
<http://chrisarndt.de/en/software/python/colorize.html>
|
||||
License: GPL-2+
|
||||
|
||||
Files: internfile/htmlparse.cpp internfile/mh_html.cpp
|
||||
Copyright: 1999-2001, BrightStation PLC,
|
||||
2001, Ananova Ltd,
|
||||
2002-2004, Olly Betts.
|
||||
License: GPL-2+
|
||||
|
||||
Files: unac/*
|
||||
Copyright: 2000-2002, Loic Dachary <loic@senga.org>
|
||||
License: GPL-2+
|
||||
|
||||
Files: common/*
|
||||
Copyright: 2004-2005, J.F.Dockes
|
||||
License: GPL-2+
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2007-2014, Kartik Mistry <kartik@debian.org>
|
||||
License: GPL-2+
|
||||
|
||||
License: GPL-2+
|
||||
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-2' and
|
||||
`/usr/share/common-licenses/GPL-3'.
|
||||
|
||||
Files: aspell/*
|
||||
Copyright: 2001-2002, by Kevin Atkinson
|
||||
License: LGPL-2+
|
||||
|
||||
License: LGPL-2+
|
||||
This package is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU Lesser 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 Lesser General Public License for more
|
||||
details.
|
||||
.
|
||||
You should have received a copy of the GNU Lesser 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 Lesser General Public License
|
||||
can be found in `/usr/share/common-licenses/LGPL-2' and
|
||||
`/usr/share/common-licenses/LGPL-2.1' and `/usr/share/common-licenses/LGPL-3'.
|
||||
|
||||
Files: common/uproplist.h
|
||||
Copyright: 1991-2006, Unicode, Inc.
|
||||
License: Unicode
|
||||
|
||||
License: Unicode
|
||||
All rights reserved. Distributed under the Terms of Use in
|
||||
https://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.
|
||||
|
||||
Files: utils/md5.*
|
||||
Copyright: 1991-1992, RSA Data Security, Inc. All rights reserved.
|
||||
License: RSA
|
||||
|
||||
License: RSA
|
||||
MD5C.C - RSA Data Security, Inc., MD5 message-digest algorithm
|
||||
.
|
||||
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.
|
||||
2
packaging/debian/rclgrep/debian/rclgrep.install
Normal file
2
packaging/debian/rclgrep/debian/rclgrep.install
Normal file
@ -0,0 +1,2 @@
|
||||
usr/lib/python*/*-packages/recollchm/*
|
||||
usr/lib/python*/*-packages/recollchm-*/*
|
||||
44
packaging/debian/rclgrep/debian/rules
Executable file
44
packaging/debian/rclgrep/debian/rules
Executable file
@ -0,0 +1,44 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||
DPKG_EXPORT_BUILDFLAGS = 1
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
||||
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
|
||||
|
||||
build3vers := $(shell py3versions -sv)
|
||||
|
||||
#build qt5 UI
|
||||
export QT_SELECT := qt5
|
||||
|
||||
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
NJOBS := -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
endif
|
||||
|
||||
# main packaging script based on dh7 syntax
|
||||
%:
|
||||
dh $@ --with python3
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- --enable-rclgrep --disable-python-module --disable-indexer \
|
||||
--disable-qtgui --disable-recollq --disable-testmains \
|
||||
--disable-xadump
|
||||
|
||||
build3vers := $(shell py3versions -sv)
|
||||
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
set -e && for i in $(build3vers); do \
|
||||
(cd python/pychm; python$$i ./setup.py install \
|
||||
--install-layout=deb \
|
||||
--prefix=/usr \
|
||||
--root=$(CURDIR)/debian/tmp/ ) ; \
|
||||
done
|
||||
find $(CURDIR) -type f -name '*.la' -exec rm -f '{}' \;
|
||||
find $(CURDIR) -type f -name '*.pyc' -exec rm -f '{}' \;
|
||||
rm -rf $(CURDIR)/debian/rclgrep/usr/lib/python*/*/*/__pycache__
|
||||
rm -rf $(CURDIR)/debian/tmp/usr/lib/python*/*/*/__pycache__
|
||||
1
packaging/debian/rclgrep/debian/source/format
Normal file
1
packaging/debian/rclgrep/debian/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
||||
41
packaging/debian/rclgrep/debian/upstream/signing-key.asc
Normal file
41
packaging/debian/rclgrep/debian/upstream/signing-key.asc
Normal file
@ -0,0 +1,41 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
mQINBFbJ6UABEADLsFg8qXTrNrYUnNS5UXlAWUH7/ZHNRgr/EIkhKAbdlzVAywTM
|
||||
fX6wo9crKzlqT3IcEOFe0RVJoh0FSNEQQ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M8
|
||||
raFREUriHuUwIGrrFrhj7rBAX51DiiJUguDi+842SjlzVE2SCwyjXVlglDItBPKO
|
||||
Y284KpI+wLhJCggtwtzZOQcAc5l8j3JpXjhm1tjSKggEONdBu2l7mWZRAJCBziMK
|
||||
mnUPL8q44l2hc/sDu4cCpsHW+pssGDQqtR+t/fPMGFuXd+WnfYskhyQVms44yAYJ
|
||||
Y/cx43tgYLHDx2TraTQZqh1qgmrXesS2DiT+5pCjQh0ChwTEBjGCz41WcQkD9nTL
|
||||
k3E6amPE6WAPS07bX9zkLHYYIOu8wd8nRoPKlVjhMpBvz8LE
|
||||
=2J/9
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
4
packaging/debian/rclgrep/debian/watch
Normal file
4
packaging/debian/rclgrep/debian/watch
Normal file
@ -0,0 +1,4 @@
|
||||
version=4
|
||||
opts=pgpmode=auto \
|
||||
https://www.lesbonscomptes.com/recoll/download.html \
|
||||
(?:|.*/)recoll(?:[_\-]v?|)(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)
|
||||
Loading…
x
Reference in New Issue
Block a user