summaryrefslogtreecommitdiff
path: root/app-misc/recoll
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/recoll
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/recoll')
-rw-r--r--app-misc/recoll/Manifest9
-rw-r--r--app-misc/recoll/metadata.xml30
-rw-r--r--app-misc/recoll/recoll-1.22.4.ebuild129
-rw-r--r--app-misc/recoll/recoll-1.23.2.ebuild133
-rw-r--r--app-misc/recoll/recoll-1.23.3.ebuild123
5 files changed, 424 insertions, 0 deletions
diff --git a/app-misc/recoll/Manifest b/app-misc/recoll/Manifest
new file mode 100644
index 000000000000..de6026067a82
--- /dev/null
+++ b/app-misc/recoll/Manifest
@@ -0,0 +1,9 @@
+DIST recoll-1.22.4.tar.gz 2511949 SHA256 8211e1ccc6e576b0c21e5bfb4f49a0b69990a44bd5a3ce6eae4ff16aaf23412f SHA512 90d258c854972a41adbb3eef71b08d25c5aea24ed6fc830245d19e273112c016b66b0359e1d83143992d07b5a67226216e8f406ac135c21da6b86c7ffde31225 WHIRLPOOL 2dac2936e4c13448b6f8cb0c6d9d0d6d1d7c14b47a6761b6115762d734f91cfd8652186627b8ab55149c14ff5b00260838b0e62962f32ecbd4d2bef1f25e44ba
+DIST recoll-1.23.2.tar.gz 2546793 SHA256 0e93e6be0dc2225b03a4850887bd29da47a61e07652fde51be254ef9f8310048 SHA512 0f3d6bae73da066e92e328f963129979f43a12a622120c26d66debde66e569e19e3e8b61154ee77386ad93e968d88262d3e22a679b618bcb8bf468fa16a46769 WHIRLPOOL fec47a74d48c2ae0f93e56964bbfa53b62a0be7d57d602ddb36bb03cc2eb7293c4ffa589a967bc70a76e2478fb315f189cfdab72618a32439c357c1a440e9ff6
+DIST recoll-1.23.3.tar.gz 2590148 SHA256 15125871424ef32ac584eb1c3e4fdd4ac7ff32894db60a3ebff32fa7a45d2eb6 SHA512 bfad118dd9561c8d18e194b11d8014e2f9ea74f6aaf50f91704087775e6f72d5f3574a3eafe470dab7658cb4a7233817a672af939f21b3e69c719e599bc5cd06 WHIRLPOOL fe006f4bf53a83375c146cd0f162e030bcd59bbf8b931c428f9a697cb4d6af1ac873ecfd8d596b2b5e00d2374c4431dea7c1169091457a616894ce4417ac87cb
+EBUILD recoll-1.22.4.ebuild 3717 SHA256 93909cba1e1d92d62425468025150b75cb2da5abfab58c94dad8673ec25dd027 SHA512 9984c5feec2ab7110d32804ed5dcf7af5fd2b26e5589fd934a86628b46d155ca74b6c75e8ab82823d18ab0c9e3b82d13a187322043aa7ff5d9cc5e09731aadb0 WHIRLPOOL c8684a43fe5755dfb7b78c5a0284384f8987cfcdd026c64d84969ea2c54dd83c7d8da01ae1036ffd733fae1cc99d85a8a56c37aa8f9aaac635ab4791812dd74d
+EBUILD recoll-1.23.2.ebuild 3700 SHA256 35f0c38e34fc378b2ee1b09445ad413d8ae4d69346d752691c29acb839a3e13c SHA512 1f2c012f168607cfc18cafc6230b2ed291ff3fa814d458592b0c32360e52577223e73f0e17be329bce7f44743d26100b9ab61217072de24bd9edf077b28a22f4 WHIRLPOOL 72d64a6f4b4b51760b75a5aca583fe2787143c9365bdb80c4c1aa2fa83ceabccbc609775713318fcad4179d0d451f1c0e5414c5a2fbfe39ec3d49d85760e2e54
+EBUILD recoll-1.23.3.ebuild 3532 SHA256 159aa80e682ae06fa703d7324913ee947ee438b85507b98fdc33ed0382299bb5 SHA512 d28a2d1d5450b76c4aae35a7170a3b57fa7989e018ff2bcbafac6286dd7687dee3fdb31aad719e523bfbc43898198d5d860c022852e8059c91b9d11b2c866e71 WHIRLPOOL 48c135f9d66e565a6d762ade65eb7bdac3cb77b1f50d71aa46a68b79b91c74f84d07569476bc77f9dd3adc4a23935486d793eda5840f56bd31cd78e3bcc7043b
+MISC ChangeLog 3654 SHA256 ead067f32206ff72246fa30cfdd1fd3aec02ac845cd1d19b4015412cf1280ed1 SHA512 dd8afc9698cbb604a0384ed51c774dba62ed793557a68a13c66d08f5f7f395bffc454765097ee62624351ea529b707a15d311405fca31f164debbb9546d4488e WHIRLPOOL 8332b7fb3bb11f02bc82056efc8ee871fd2f15d76b9cc7b14ff57306d6c2b0f7d25b6bd7d77e8ba6245bcde14011b16c8b0e6f7af28d68c5646f001733d04973
+MISC ChangeLog-2015 4294 SHA256 1397dd74727b9437978825d22ecd8f3a0ce1c7d3b2a7845de2279f85418a78a5 SHA512 8ba136f2b9c5f80d8e22c2433df5503ed6adb7485d759520b7b9df672a4f3c484d38f5b7f5041e453c898d35b7f8cf4a59762a8d9d275e0a7c5b8d965635542f WHIRLPOOL 0b3dab192a24458d99d6b44abd1c3dc18b03b56bf8ab0c6c299f7176e01e4afcbb6afb00dd2798cfe18bbab25e4a18e98e932c26b3fc9224818fc708ba4560c3
+MISC metadata.xml 1204 SHA256 71f88da64d83fa51b9b41d28689b2da3b8d46e1864c19c656ed15812586b540e SHA512 581c483f1d64131cb7a83e9a899b5286f03cbacc3f011c5fcdb3236b56e2b22e1a0fa880b34bb107874fe03fde7f82767805bb7e2d0aa46367e8d5dca0037ea5 WHIRLPOOL fac18104695f77f5d934d831e4f0d48e5ad19b970081c7610ab042373c6abffc6e5f442aea803b07a49834849306793eb2cf72430a65271f1561d06ab27424d4
diff --git a/app-misc/recoll/metadata.xml b/app-misc/recoll/metadata.xml
new file mode 100644
index 000000000000..1e89b50bb67b
--- /dev/null
+++ b/app-misc/recoll/metadata.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ppurka@gmail.com</email>
+ <name>Punarbasu 'ppurka' Purkayastha</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers Project</name>
+ </maintainer>
+ <upstream>
+ <maintainer status="active">
+ <email>jfd@recoll.org</email>
+ <name>Jean-Francois Dockes</name>
+ </maintainer>
+ <bugs-to>https://bitbucket.org/medoc/recoll/issues</bugs-to>
+ </upstream>
+ <use>
+ <flag name="camelcase">Enable indexing for camelCase sentences and words</flag>
+ <flag name="inotify">Use the Linux Kernel notification subsystem for monitoring file alterations in realtime</flag>
+ <flag name="session">Stop monitoring file alterations when X11 session terminates</flag>
+ </use>
+ <longdescription lang="en">
+ Recoll is a desktop full-text search tool. It can search most document
+ formats. You may need external applications for text extraction. It
+ can reach any storage place: files, archive members, email attachments,
+ transparently handling decompression.
+ </longdescription>
+</pkgmetadata>
diff --git a/app-misc/recoll/recoll-1.22.4.ebuild b/app-misc/recoll/recoll-1.22.4.ebuild
new file mode 100644
index 000000000000..5e0fe2627c57
--- /dev/null
+++ b/app-misc/recoll/recoll-1.22.4.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils linux-info python-single-r1 qmake-utils
+
+DESCRIPTION="A personal full text search package"
+HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
+SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE="camelcase doc +inotify qt4 qt5 session +spell"
+REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
+
+COMMON_DEPEND="
+ dev-libs/xapian:=
+ sys-libs/zlib
+ virtual/libiconv
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwebkit:5
+ )
+ !qt5? ( qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ ) )
+ session? (
+ inotify? ( x11-libs/libSM x11-libs/libICE )
+ )
+ spell? ( app-text/aspell )
+ ${PYTHON_DEPS}
+"
+DEPEND="${COMMON_DEPEND}
+ qt5? ( dev-qt/linguist-tools:5 )
+"
+RDEPEND="${COMMON_DEPEND}
+ app-arch/unzip
+ sys-apps/sed
+ virtual/awk
+"
+
+pkg_setup() {
+ if has_version "<app-misc/recoll-1.20"; then
+ einfo "Installing ${PV} over an 1.19 index is possible,"
+ einfo "but there have been small changes in the way"
+ einfo "compound words are indexed. So it is best to reset"
+ einfo "the index. The best method to reset the index is to"
+ einfo "quit all recoll programs and delete the index directory"
+ einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
+ fi
+ if use inotify; then
+ CONFIG_CHECK="~INOTIFY_USER"
+ check_extra_config
+ fi
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang filters
+ default
+}
+
+src_configure() {
+ local qtconf
+ if use qt4 || use qt5; then
+ qtconf="--enable-qtgui"
+ if use qt5; then
+ export QT_SELECT=qt5
+ qtconf+=" --enable-webkit"
+ elif use qt4; then
+ export QT_SELECT=qt4
+ qtconf+=" --disable-webkit"
+ fi
+ else
+ qtconf="--disable-qtgui --disable-webkit"
+ fi
+
+ econf \
+ $(use_enable camelcase) \
+ $(use_enable session x11mon) \
+ $(use_with inotify) \
+ $(use_with spell aspell) \
+ ${qtconf} \
+ --without-fam \
+ --enable-recollq
+}
+
+src_install() {
+ emake STRIP="$(type -P true)" DESTDIR="${D}" install
+ prune_libtool_files
+
+ # html docs should be placed in /usr/share/doc/${PN}/html
+ use doc && dodoc "${ED}"/usr/share/recoll/doc/*
+ rm -r "${ED}/usr/share/recoll/doc" || die
+}
+
+pkg_postinst() {
+ einfo "In order to extract the full functionality of "
+ einfo "recoll, the following packages should be installed "
+ einfo "to get the corresponding document support."
+
+ optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
+ optfeature "PDF files support" app-text/poppler
+ optfeature "PDF files with OCR support" app-text/tesseract
+ optfeature "MS Word files support" app-text/antiword
+ optfeature "Wordperfect files support" "app-text/libwpd[tools]"
+ optfeature "Lyx files support" app-office/lyx
+ optfeature "CHM files support" dev-python/pychm
+ optfeature "GNU Info files support" sys-apps/texinfo
+ optfeature "RAR archives support" dev-python/rarfile
+ optfeature "7zip archives support" dev-python/pylzma
+ optfeature "iCalendar files support" dev-python/icalendar
+ optfeature "Postscript files support" app-text/pstotext
+ optfeature "RTF files support" app-text/unrtf
+ optfeature "TeX files support" dev-text/detex
+ optfeature "DVI files support" virtual/tex-base
+ optfeature "DJVU files support" app-text/djvu
+ optfeature "tags in audio files support" media-libs/mutagen
+ optfeature "tags in image files support" media-libs/exiftool
+ optfeature "Midi karaoke files support" dev-python/chardet
+}
diff --git a/app-misc/recoll/recoll-1.23.2.ebuild b/app-misc/recoll/recoll-1.23.2.ebuild
new file mode 100644
index 000000000000..c17511e06209
--- /dev/null
+++ b/app-misc/recoll/recoll-1.23.2.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit linux-info python-single-r1 qmake-utils
+
+DESCRIPTION="A personal full text search package"
+HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
+SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="camelcase doc +inotify qt4 qt5 session +spell"
+REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
+
+CDEPEND="
+ dev-libs/xapian:=
+ sys-libs/zlib
+ virtual/libiconv
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwebkit:5
+ )
+ !qt5? ( qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ ) )
+ session? (
+ inotify? ( x11-libs/libSM x11-libs/libICE )
+ )
+ spell? ( app-text/aspell )
+ ${PYTHON_DEPS}
+"
+
+DEPEND="
+ ${CDEPEND}
+ qt5? ( dev-qt/linguist-tools:5 )
+"
+
+RDEPEND="
+ ${CDEPEND}
+ app-arch/unzip
+ sys-apps/sed
+ virtual/awk
+"
+
+pkg_setup() {
+ if has_version "<app-misc/recoll-1.20"; then
+ einfo "Installing ${PV} over an 1.19 index is possible,"
+ einfo "but there have been small changes in the way"
+ einfo "compound words are indexed. So it is best to reset"
+ einfo "the index. The best method to reset the index is to"
+ einfo "quit all recoll programs and delete the index directory"
+ einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
+ fi
+ if use inotify; then
+ CONFIG_CHECK="~INOTIFY_USER"
+ check_extra_config
+ fi
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang filters
+ default
+}
+
+src_configure() {
+ local qtconf
+ if use qt4 || use qt5; then
+ qtconf="--enable-qtgui"
+ if use qt5; then
+ export QT_SELECT=qt5
+ qtconf+=" --enable-webkit"
+ elif use qt4; then
+ export QT_SELECT=qt4
+ qtconf+=" --disable-webkit"
+ fi
+ else
+ qtconf="--disable-qtgui --disable-webkit"
+ fi
+
+ econf \
+ $(use_enable camelcase) \
+ $(use_enable session x11mon) \
+ $(use_with inotify) \
+ $(use_with spell aspell) \
+ ${qtconf} \
+ --without-fam \
+ --enable-recollq
+}
+
+src_install() {
+ emake STRIP="$(type -P true)" DESTDIR="${D}" install
+ prune_libtool_files
+
+ # html docs should be placed in /usr/share/doc/${PN}/html
+ use doc && dodoc "${ED}"/usr/share/recoll/doc/*
+ rm -r "${ED}/usr/share/recoll/doc" || die
+}
+
+pkg_postinst() {
+ einfo "In order to extract the full functionality of "
+ einfo "recoll, the following packages should be installed "
+ einfo "to get the corresponding document support."
+
+ optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
+ optfeature "PDF files support" app-text/poppler
+ optfeature "PDF files with OCR support" app-text/tesseract
+ optfeature "MS Word files support" app-text/antiword
+ optfeature "Wordperfect files support" "app-text/libwpd[tools]"
+ optfeature "Lyx files support" app-office/lyx
+ optfeature "CHM files support" dev-python/pychm
+ optfeature "GNU Info files support" sys-apps/texinfo
+ optfeature "RAR archives support" dev-python/rarfile
+ optfeature "7zip archives support" dev-python/pylzma
+ optfeature "iCalendar files support" dev-python/icalendar
+ optfeature "Postscript files support" app-text/pstotext
+ optfeature "RTF files support" app-text/unrtf
+ optfeature "TeX files support" dev-text/detex
+ optfeature "DVI files support" virtual/tex-base
+ optfeature "DJVU files support" app-text/djvu
+ optfeature "tags in audio files support" media-libs/mutagen
+ optfeature "tags in image files support" media-libs/exiftool
+ optfeature "Midi karaoke files support" dev-python/chardet
+}
diff --git a/app-misc/recoll/recoll-1.23.3.ebuild b/app-misc/recoll/recoll-1.23.3.ebuild
new file mode 100644
index 000000000000..46cc6b8c55e3
--- /dev/null
+++ b/app-misc/recoll/recoll-1.23.3.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit linux-info python-single-r1 qmake-utils
+
+DESCRIPTION="A personal full text search package"
+HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
+SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="camelcase doc +inotify qt5 session +spell"
+REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
+
+CDEPEND="
+ dev-libs/xapian:=
+ sys-libs/zlib
+ virtual/libiconv
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtwebkit:5
+ )
+ session? (
+ inotify? ( x11-libs/libSM x11-libs/libICE )
+ )
+ spell? ( app-text/aspell )
+ ${PYTHON_DEPS}
+"
+
+DEPEND="
+ ${CDEPEND}
+ qt5? ( dev-qt/linguist-tools:5 )
+"
+
+RDEPEND="
+ ${CDEPEND}
+ app-arch/unzip
+ sys-apps/sed
+ virtual/awk
+"
+
+pkg_setup() {
+ if has_version "<app-misc/recoll-1.20"; then
+ einfo "Installing ${PV} over an 1.19 index is possible,"
+ einfo "but there have been small changes in the way"
+ einfo "compound words are indexed. So it is best to reset"
+ einfo "the index. The best method to reset the index is to"
+ einfo "quit all recoll programs and delete the index directory"
+ einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
+ fi
+ if use inotify; then
+ CONFIG_CHECK="~INOTIFY_USER"
+ check_extra_config
+ fi
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang filters
+ default
+}
+
+src_configure() {
+ local qtconf
+ if use qt5; then
+ export QMAKE="$(qt5_get_bindir)/qmake"
+ qtconf="--enable-qtgui --enable-webkit"
+ else
+ qtconf="--disable-qtgui --disable-webkit"
+ fi
+
+ econf \
+ $(use_enable camelcase) \
+ $(use_enable session x11mon) \
+ $(use_with inotify) \
+ $(use_with spell aspell) \
+ ${qtconf} \
+ --without-fam \
+ --enable-recollq
+}
+
+src_install() {
+ emake STRIP="$(type -P true)" DESTDIR="${D}" install
+ prune_libtool_files
+
+ # html docs should be placed in /usr/share/doc/${PN}/html
+ use doc && dodoc "${ED}"/usr/share/recoll/doc/*
+ rm -r "${ED}/usr/share/recoll/doc" || die
+}
+
+pkg_postinst() {
+ einfo "In order to extract the full functionality of "
+ einfo "recoll, the following packages should be installed "
+ einfo "to get the corresponding document support."
+
+ optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
+ optfeature "PDF files support" app-text/poppler
+ optfeature "PDF files with OCR support" app-text/tesseract
+ optfeature "MS Word files support" app-text/antiword
+ optfeature "Wordperfect files support" "app-text/libwpd[tools]"
+ optfeature "Lyx files support" app-office/lyx
+ optfeature "CHM files support" dev-python/pychm
+ optfeature "GNU Info files support" sys-apps/texinfo
+ optfeature "RAR archives support" dev-python/rarfile
+ optfeature "7zip archives support" dev-python/pylzma
+ optfeature "iCalendar files support" dev-python/icalendar
+ optfeature "Postscript files support" app-text/pstotext
+ optfeature "RTF files support" app-text/unrtf
+ optfeature "TeX files support" dev-text/detex
+ optfeature "DVI files support" virtual/tex-base
+ optfeature "DJVU files support" app-text/djvu
+ optfeature "tags in audio files support" media-libs/mutagen
+ optfeature "tags in image files support" media-libs/exiftool
+ optfeature "Midi karaoke files support" dev-python/chardet
+}