From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/recoll/
Date: Wed, 17 Aug 2016 13:50:22 +0000 (UTC) [thread overview]
Message-ID: <1471441798.5a3c0c889eae90a5a5ec74ba2ecf6bfd754e1451.pacho@gentoo> (raw)
commit: 5a3c0c889eae90a5a5ec74ba2ecf6bfd754e1451
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 17 12:57:02 2016 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Aug 17 13:49:58 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a3c0c88
app-misc/recoll: Drop old
Package-Manager: portage-2.3.0
app-misc/recoll/recoll-1.19.5.ebuild | 178 -----------------------------------
1 file changed, 178 deletions(-)
diff --git a/app-misc/recoll/recoll-1.19.5.ebuild b/app-misc/recoll/recoll-1.19.5.ebuild
deleted file mode 100644
index 73b0906..0000000
--- a/app-misc/recoll/recoll-1.19.5.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-
-PYTHON_DEPEND="2"
-inherit toolchain-funcs qmake-utils qt4-r2 linux-info python readme.gentoo
-
-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"
-
-INDEX_HELPERS="chm djvu dvi exif postscript ics info lyx msdoc msppt msxls pdf rtf sound tex wordperfect xml"
-IUSE="+spell inotify +qt4 +session camelcase xattr webkit fam ${INDEX_HELPERS}"
-
-DEPEND="
- virtual/libiconv
- >=dev-libs/xapian-1.0.12
- sys-libs/zlib
- spell? ( app-text/aspell )
- !inotify? ( fam? ( virtual/fam ) )
- qt4? ( dev-qt/qtcore:4[qt3support] )
- webkit? ( dev-qt/qtwebkit:4 )
- session? (
- inotify? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE )
- !inotify? ( fam? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE ) )
- )
-"
-
-RDEPEND="
- ${DEPEND}
- app-arch/unzip
- sys-apps/sed
- virtual/awk
- pdf? ( app-text/poppler )
- postscript? ( app-text/pstotext )
- msdoc? ( app-text/antiword )
- msxls? ( app-text/catdoc )
- msppt? ( app-text/catdoc )
- wordperfect? ( app-text/libwpd:0.9 )
- rtf? ( app-text/unrtf )
- tex? ( dev-tex/detex )
- dvi? ( virtual/tex-base )
- djvu? ( >=app-text/djvu-3.5.15 )
- exif? ( media-libs/exiftool )
- chm? ( dev-python/pychm )
- ics? ( dev-python/icalendar )
- lyx? ( app-office/lyx )
- sound? ( media-libs/mutagen )
- xml? ( dev-libs/libxslt )
- info? ( sys-apps/texinfo )
- "
-
-REQUIRED_USE="session? ( || ( fam inotify ) )"
-
-pkg_pretend() {
- if use inotify; then
- CONFIG_CHECK="~INOTIFY_USER"
- check_extra_config
- fi
-}
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-
- local i at_least_one_helper
-
- at_least_one_helper=0
- for i in $INDEX_HELPERS; do
- if use $i; then
- at_least_one_helper=1
- break
- fi
- done
- if [[ $at_least_one_helper -eq 0 ]]; then
- ewarn
- ewarn "You did not enable any of the optional file format flags."
- ewarn "Recoll can read some file formats natively, but many of them"
- ewarn "are optional since they require external helpers."
- ewarn
- fi
-}
-
-src_prepare() {
- use xattr && has_version "${CATEGORY}/${PN}:${SLOT}[-xattr]" && FORCE_PRINT_ELOG="yes"
- ! use xattr && has_version "${CATEGORY}/${PN}:${SLOT}[xattr]" && FORCE_PRINT_ELOG="yes"
-
- DOC_CONTENTS="Default configuration files located at
- /usr/share/${PN}/examples. Either edit these files to match
- your needs or copy them to ~/.recoll/ and edit these files
- instead."
-
- use xattr && DOC_CONTENTS+="
- Use flag \"xattr\" enables support for fetching field values
- from extended file attributes. You will also need to set up a
- map from the attributes names to the Recoll field names
- (see comment at the end of the fields configuration file."
-
- # remember configure.ac is b0rked. Fix it before using eautoreconf in the
- # future
- # eautoreconf
-
- # do not strip binaries
- sed -i -e "/STRIP/d" "${S}"/${PN}install.in \
- || die "Failed to fix the installation script"
- # Drop all the QMAKE lines. We will do it ourselves
- sed -i -e "/QMAKE/d" Makefile.in || die
-}
-
-src_configure() {
- local qtconf
-
- if use qt4 || use webkit; then
- qtconf="QMAKEPATH=$(qt4_get_bindir)/qmake"
- fi
-
- econf \
- $(use_with spell aspell) \
- $(use_enable xattr) \
- $(use_with inotify) \
- $(use_enable qt4 qtgui) \
- $(use_enable camelcase) \
- $(use_with fam) \
- $(use_with inotify) \
- $(use_enable session x11mon) \
- ${qtconf}
- if use qt4; then
- cd qtgui && eqmake4 ${PN}.pro && cd ..
- fi
-}
-
-src_compile() {
- # Do not let upstream people decide on our behalf
- sed -i "s:ar ru:$(tc-getAR) ru:" lib/Makefile || die
-
- emake \
- CC=$(tc-getCC) \
- CXX=$(tc-getCXX) \
- CFLAGS="${CFLAGS} ${LDFLAGS}" \
- CXXFLAGS="${CXXFLAGS} ${LDFLAGS}"
-}
-
-src_install() {
- # You probably wonder why I did not fix recollinstall in src_prepare.
- # --prefix requires an absolute path but recollinstall requires prefix
- # to be actually 'usr' because double // makes portage sad. And no, I am not
- # gonna ask upstream to fix the build system
- sed -i -e "/PREFIX/s:/usr:usr:" "${S}"/${PN}install || die
- sed -i -e "/prefix/s:/usr:usr:" "${S}"/Makefile || die
-
- emake DESTDIR="${D%/}" install
- dodoc ChangeLog README
- mv "${D}/usr/share/${PN}/doc" "${D}/usr/share/doc/${PF}/html"
- dosym /usr/share/doc/${PF}/html /usr/share/${PN}/doc
-
- readme.gentoo_create_doc
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-
- if [[ -n ${REPLACING_VERSIONS} ]]; then
- elog
- elog "1.18 introduces significant index formats"
- elog "changes to support optional character case and diacritics"
- elog "sensitivity, and it will be advisable to reset the index in"
- elog "most cases. This will be best done by destroying the index"
- elog "directory (rm -rf ~/.recoll/xapiandb). If 1.18 is not configured"
- elog "for case and diacritics sensitivity, it is mostly compatible"
- elog "with 1.17 indexes."
- elog
- fi
-}
next reply other threads:[~2016-08-17 13:50 UTC|newest]
Thread overview: 70+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-17 13:50 Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-01 21:51 [gentoo-commits] repo/gentoo:master commit in: app-misc/recoll/ Sam James
2025-01-05 22:51 Andreas Sturmlechner
2025-01-03 22:08 Sam James
2025-01-03 22:08 Sam James
2024-10-19 7:07 Yixun Lan
2024-10-17 9:58 Joonas Niilola
2024-09-05 16:50 Andreas Sturmlechner
2024-04-21 12:38 Sam James
2024-04-21 12:38 Sam James
2024-04-09 6:55 Yixun Lan
2024-03-02 23:01 Sam James
2024-03-02 23:01 Sam James
2024-02-06 3:39 Sam James
2023-12-29 7:33 Arthur Zamarin
2023-07-08 18:08 Conrad Kostecki
2023-06-24 15:38 Arthur Zamarin
2023-05-27 7:49 Joonas Niilola
2023-05-27 7:49 Joonas Niilola
2023-05-27 7:49 Joonas Niilola
2023-05-01 0:23 Sam James
2023-05-01 0:09 Sam James
2023-04-10 7:37 Joonas Niilola
2023-01-12 14:07 Joonas Niilola
2022-08-17 17:11 Joonas Niilola
2022-07-03 11:51 Joonas Niilola
2022-07-03 11:51 Joonas Niilola
2022-04-23 6:25 Joonas Niilola
2022-04-23 6:25 Joonas Niilola
2022-01-09 11:02 Joonas Niilola
2022-01-09 11:02 Joonas Niilola
2021-12-09 16:24 Agostino Sarubbo
2021-12-08 11:54 Jakov Smolić
2021-11-10 8:02 Joonas Niilola
2021-07-08 7:35 Joonas Niilola
2021-06-29 21:24 Sam James
2021-06-29 21:24 Sam James
2021-05-31 20:18 Michał Górny
2021-04-22 3:01 Sam James
2021-04-22 2:59 Sam James
2021-03-16 6:54 Joonas Niilola
2021-03-10 11:33 Joonas Niilola
2021-02-10 14:55 Joonas Niilola
2021-02-10 14:55 Joonas Niilola
2021-01-13 9:18 Sam James
2021-01-13 9:17 Sam James
2020-12-05 4:55 Erik Mackdanz
2019-07-18 13:39 Agostino Sarubbo
2019-07-18 7:26 Agostino Sarubbo
2019-06-27 17:21 Andreas Sturmlechner
2019-05-08 17:05 Andreas Sturmlechner
2019-02-03 14:08 Andreas Sturmlechner
2018-09-10 19:46 Andreas Sturmlechner
2018-09-09 8:23 Mikle Kolyada
2018-09-09 1:12 Thomas Deutschmann
2018-06-01 14:10 Aaron Bauman
2017-12-16 23:15 Andreas Sturmlechner
2017-11-30 19:02 Thomas Deutschmann
2017-09-24 8:53 Michael Palimaka
2017-07-19 15:51 Patrice Clement
2017-04-27 18:15 Andreas Sturmlechner
2017-04-24 7:23 Agostino Sarubbo
2017-04-20 7:59 David Seifert
2017-03-04 18:50 Andreas Sturmlechner
2017-03-04 18:17 Andreas Sturmlechner
2017-03-04 18:17 Andreas Sturmlechner
2016-11-01 10:30 Pacho Ramos
2016-11-01 10:29 Pacho Ramos
2016-06-25 8:26 Michał Górny
2015-10-18 18:20 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1471441798.5a3c0c889eae90a5a5ec74ba2ecf6bfd754e1451.pacho@gentoo \
--to=pacho@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox