From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B3ED8158042 for ; Thu, 17 Oct 2024 09:58:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBC4FE07D7; Thu, 17 Oct 2024 09:58:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4B50E07D7 for ; Thu, 17 Oct 2024 09:58:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11AB634133B for ; Thu, 17 Oct 2024 09:58:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7CE6DEA0 for ; Thu, 17 Oct 2024 09:58:34 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1729159111.f22d24f4549bbb98a15a6b002ea768cf3454cafc.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/recoll/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/recoll/Manifest app-misc/recoll/metadata.xml app-misc/recoll/recoll-1.40.1.ebuild X-VCS-Directories: app-misc/recoll/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: f22d24f4549bbb98a15a6b002ea768cf3454cafc X-VCS-Branch: master Date: Thu, 17 Oct 2024 09:58:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 08558a09-56f0-47de-ba1a-134c49f01e60 X-Archives-Hash: f14406a7991c3f2bb4adbeec1f3c7360 commit: f22d24f4549bbb98a15a6b002ea768cf3454cafc Author: Punarbasu Purkayastha gmail com> AuthorDate: Mon Sep 9 19:13:55 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Oct 17 09:58:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f22d24f4 app-misc/recoll: Version bump to 1.40.1 Closes: https://bugs.gentoo.org/937911 Closes: https://github.com/gentoo/gentoo/pull/38535 Signed-off-by: Punarbasu Purkayastha gmail.com> Signed-off-by: Joonas Niilola gentoo.org> app-misc/recoll/Manifest | 1 + app-misc/recoll/metadata.xml | 2 +- app-misc/recoll/recoll-1.40.1.ebuild | 127 +++++++++++++++++++++++++++++++++++ 3 files changed, 129 insertions(+), 1 deletion(-) diff --git a/app-misc/recoll/Manifest b/app-misc/recoll/Manifest index 1809c362172c..01e11f313ed0 100644 --- a/app-misc/recoll/Manifest +++ b/app-misc/recoll/Manifest @@ -1 +1,2 @@ DIST recoll-1.37.4.tar.gz 3135691 BLAKE2B 1c9113cbccb812e522addbc7fec0aa0b958d8616aa1b753aa866e9bb96f78dc0a40bb79a4a8ad016286f2508f1d8dea172d308917a430fa4c98822feaba0d309 SHA512 9e5af5d00191658f23e6a5916718014827f12f4553d9429fe385c0bd1c72f2f49ae97e7d7b8121cb174b299ffe482aa547e4a3aabf2da92e9773bf9eb0f57814 +DIST recoll-1.40.1.tar.gz 3034050 BLAKE2B f3a863ccb0a0c1b17fd9eb3093de472cec47b6375683e38e1b462584b26570f3d995531314a9c5f2dd193dca62efa150c699705a23e96419787000d3c4694510 SHA512 7590f1d17f9d8fc7930044d43d92be47158cbd2c830d8723a1604b672d3d8df22e507d7208525e1bfdc169b5151f5b6a3f96bbfefb5bededd0e2dae7bdeb2359 diff --git a/app-misc/recoll/metadata.xml b/app-misc/recoll/metadata.xml index 54f36901f4f7..d6917c0fc057 100644 --- a/app-misc/recoll/metadata.xml +++ b/app-misc/recoll/metadata.xml @@ -14,7 +14,7 @@ jfd@recoll.org Jean-Francois Dockes - https://bitbucket.org/medoc/recoll/issues + https://framagit.org/medoc92/recoll/-/issues Enable indexing for camelCase sentences and words diff --git a/app-misc/recoll/recoll-1.40.1.ebuild b/app-misc/recoll/recoll-1.40.1.ebuild new file mode 100644 index 000000000000..ae27da1acd9b --- /dev/null +++ b/app-misc/recoll/recoll-1.40.1.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit linux-info optfeature python-single-r1 qmake-utils meson systemd + +DESCRIPTION="Personal full text search package" +HOMEPAGE="https://www.recoll.org" +SRC_URI="https://www.recoll.org/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +IUSE="camelcase chm +inotify qt6 session +spell systemd webengine" +REQUIRED_USE=" + session? ( inotify ) + webengine? ( qt6 ) + ${PYTHON_REQUIRED_USE} +" + +DEPEND=" + dev-libs/libxml2 + dev-libs/libxslt + dev-libs/xapian:= + sys-libs/zlib + virtual/libiconv + chm? ( + dev-libs/chmlib + dev-python/pychm + ) + qt6? ( + dev-qt/qtbase:6[gui,network,widgets] + webengine? ( dev-qt/qtwebengine:6[widgets] ) + ) + session? ( + inotify? ( + x11-libs/libSM + x11-libs/libICE + x11-libs/libX11 + ) + ) + spell? ( app-text/aspell ) + systemd? ( sys-apps/systemd ) + ${PYTHON_DEPS} +" + +BDEPEND=" + qt6? ( dev-qt/qttools:6[linguist] ) +" + +RDEPEND=" + ${DEPEND} + app-arch/unzip +" + +pkg_setup() { + if use inotify; then + local CONFIG_CHECK="~INOTIFY_USER" + check_extra_config + fi + python-single-r1_pkg_setup +} + +src_prepare() { + default + python_fix_shebang filters +} + +src_configure() { + use qt6 && export QMAKE="$(qt6_get_bindir)/qmake" + + local emesonargs=( + $(meson_use camelcase) + $(meson_use chm python-chm) + $(meson_use inotify) + $(meson_use qt6 qtgui) + $(meson_use session x11mon) + $(meson_use spell aspell) + $(meson_use spell python-aspell) + $(meson_use systemd) + $(meson_use webengine) + -Dfam=false + -Drecollq=true + -Dwebkit=false + -Dsystemd-system-unit-dir="$(systemd_get_systemunitdir)" + -Dsystemd-user-unit-dir="$(systemd_get_userunitdir)" + ) + + use qt6 && emesonargs+=( $(usex webengine "-Dwebpreview=true" "-Dwebpreview=false") ) + + meson_src_configure +} + +src_install() { + meson_install --strip + rm -rf "${D}/$(python_get_sitedir)"/*.egg-info || die + python_optimize + + # html docs should be placed in /usr/share/doc/${PN}/html + rm -r "${ED}/usr/share/${PN}/doc" || die + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + 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 "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" virtual/tex-base + 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 +}