# ChangeLog for app-misc/recoll
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/recoll/ChangeLog,v 1.24 2015/02/10 12:02:46 dastergon Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/recoll/ChangeLog,v 1.25 2015/02/17 10:35:28 kensington Exp $
+
+ 17 Feb 2015; Michael Palimaka <kensington@gentoo.org> -recoll-1.16.2.ebuild,
+ -recoll-1.17.3.ebuild, -recoll-1.18.1.ebuild, -recoll-1.18.2.ebuild:
+ Remove old.
10 Feb 2015; Pavlos Ratis <dastergon@gentoo.org> metadata.xml:
Drop myself from metadata, add maintainer-needed
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-DIST recoll-1.16.2.tar.gz 1422148 SHA256 f0f29dff2d82ef8541c51963870f31daf28472f3c8822c81c17c346769b77355 SHA512 c71458bd1a42ef118560e516f30787b8c9dbc8b2841e667b77e420b0866c8308f8509e46be9eaa731348438d4194d1954bf369ea68e23eca5a65ac516806c609 WHIRLPOOL 320afbd8598aae44827eff09dfa936090fe1c4bf34e5d10f4115a211267e8f7f09b4e530e8915c75252dee3bda3c4955979a19075e14da4d99f27ee1bf00df92
DIST recoll-1.17.3.tar.gz 1757278 SHA256 7778f80546e6b10ca45bfb7f8bb0876ccf3987dd4e98c5003ff923bd8b5acb1c SHA512 b41d28255e6bfbfc8e0025d88c3d56ecfbd35814bfa359c41f3e5d3cc25debe6d66dc617aa4c012e1911aa8c373c48a1661f7fff926e2cce423562af82c2fb31 WHIRLPOOL 3ba9d58a0df401832b1a97f34f4caec1b79aa7de027b936b05195d447e374097bff9205714b1a97c287610c74c0ec2e7e726b144c2295859c293a013c3564644
-DIST recoll-1.18.1.tar.gz 2026276 SHA256 8ea01dc64002b594b7ca08cf40c5581963bd98617d8ab5554164a8af4a9fd933 SHA512 cf930c648339843b00b5d8bd2074e111f3b397b3ed8453a8fcb7bfcf295adb95e7d0b7d7dcc78819609e7eb5417e1c259d4b10c6ea80c4b45fd61906ab7a7236 WHIRLPOOL 36de30218ca82bc09506e24104e84cf8ca2bc7dbcd00495dc203c6e5d083f5eac6badb513a4892465ae5d2b9869cf4dec89c2f519b04df649599ea9c168b080f
-DIST recoll-1.18.2.tar.gz 1969421 SHA256 4729785354bd0d465c92e7d2a6fced688d8c08f1342a9bef2f040e7b10b1f510 SHA512 4f049632e94dc12dc8d1ef3f8ed7221f4ef715619f9afbed28177d83a8f189c94ff2d482e20f799edee1d11b9c1841ed25183825f40e921254d370449eddf67c WHIRLPOOL 783ae57339559d4bb5d6b2638ea743898ff60ba53e5ffa8ba67efa910f4537483fdbead57876dacc3e227ec235c84d86921ccee525f05c79ec3a776109b2e8c8
DIST recoll-1.19.5.tar.gz 1997615 SHA256 c4d63a4cd1a598117a521a883a6078082b30fe63eef84a879da9b467fcb56a8d SHA512 45ae5dc6d4f6d6dbb3d7e634bd60a2835b767e5d2d8d188636ab4b1777d65a6918c09d5bc09e80e4849aea6e8b2c9c430b99a9e56b645531065e558f4161a5f3 WHIRLPOOL df099f39a681aa1956076018861d064445bcb9fc050c866133a830ebeddb33efcc9a06596ce18d17d80bcfdb663bb780434719092c6c571f42b6093a4c750be3
-EBUILD recoll-1.16.2.ebuild 3980 SHA256 4e888733389a4abf6dbf0e494beb80e24857c080cfcb2238b30fc9c3f2c9f0c2 SHA512 6b1370b154e6ef60687f68e8f52d6c1408d692b3d8a755bd82149fbc151f85cc8f25df0e9654bbd4f83e9390ba554da9fb9b697378e9b935f44e5b21546bac56 WHIRLPOOL 2545e363bb3238ad1f380fdc840f23bb4b63daa994797e3a19992d0aa1ae2016291bfde05db85e10c38c074b0262e41948901194b1c4158ccda37aa089b023a9
EBUILD recoll-1.17.3-r1.ebuild 4269 SHA256 d10cf7640582e8d5f86b3043a4a4ebdfb1cf46ae9a67525ab019dbc486729367 SHA512 ac16e26016bf5e8768215b2a7e2a8cb21e331c73e3b25c0c8d102479134f8e397d289536b5ebb79ae66ce0d07d4a7eaacaf117695612f2f6a3f9d1052c61cdca WHIRLPOOL 6aa5b8e9f6c27bbdafa8318c4ac5f4163630c9615f760956d7721b41b7a4b3487f608ba27448d9a49d872f4150b2e698964f1e1454c2207677e78317b086ce80
-EBUILD recoll-1.17.3.ebuild 4079 SHA256 cf24a366842c19a6078685cb5f013e581a63465246b9a44ed8624d394cc4d8d6 SHA512 2d78bbd9e068c5de782468e623044982cc9eae9ad12562974262358ca2be4f4f8d3f3a6c5f71d6d4b0b990d1fadab8f38363732c40af1952ccbedbd9dffc6ad5 WHIRLPOOL da01de685f99f39fef0668e96e89169a29fb2348d45458226a674d211481c8f2d7bd6e99f46f16922fc511e9bad6f56e988a49109e8868bb392425c894d4f509
-EBUILD recoll-1.18.1.ebuild 5002 SHA256 931fe84a34d5e8b405bdfd3ca082c0957fd3fa5320f8efb148ec471431ce48df SHA512 776b1d78697fa16b2e0166eddb056d5e14c7c2ceb3c09646e300c5d648fdd04a698e9cea4d3bdef2a2c28f89502ad82dec8df890a09ccbbf0a5b950c03760c14 WHIRLPOOL 60cf5b15bb39ffc83c1c9c12ab0e2a9acc8873561912b8bb46e3a16a3d93ea3d8540ffe8cf3d1783df8f3e2e316eb78e9e99b0642f0c743ce30a8065e03c17aa
-EBUILD recoll-1.18.2.ebuild 5002 SHA256 85bd32ee6994333125e6baae2733d749b4513fe5133e5e3e710fb9b91b188b62 SHA512 5a4157cf92458c0c734400a7ff8147f867fbe040ae1cc56a03062fd5c211a09199c78727d71659d851dcd859c7a149760b37966482654df044c41a8a69e67d6f WHIRLPOOL 369dd3e0a31b5d5fe3da7b75eacf5cef282ddf1d97aa3cd2bbc6cb47f3475069fdfd53cd572f5fca5374ecf4cf50f818cce6c990fe79f4bb707512d189242e4a
EBUILD recoll-1.19.5.ebuild 5002 SHA256 ec73b7ca4294a6d73635676e3af347221a88ecae627438b1367ffa3087d230ee SHA512 69f611132d5698aa4dfc977954fad3a987fd8deb1eb4f75d475e440389dfa75dccf278c61a97353f50e40e0ac158f1df323324e3e99b144d111624b95118b4bb WHIRLPOOL 14c020a16a1e00951ad33dea79d7bcc136a78643f4bd19d41a79c83ea6ad11d870506e28b15affdc8e80251833eca7d47468b3c69a3afb2b2e303f39c7f6969a
-MISC ChangeLog 3991 SHA256 2442e59e4c1965f3857392fd0b975908af85637f28389b5f51e1e2a9d4177a59 SHA512 720a9a60c030420ee5f82b897722a8e974ffa4d60bc08fe153a4641aaebe8ae97306a7f8bdcb7f0ffe7f6dfb24a926dde8256ae4cf005d32df483e1f54a610eb WHIRLPOOL 82827501c88c8f7fdcb3ce7275bea9d701d4718d583fc43d15348f6faa69df14a813ad26a462c8201bd58cfccb1cbe71adde2c7f83b5b4f1ba1773c048735b18
+MISC ChangeLog 4157 SHA256 bb6c13033a792592dda3116bed97d03e65edb9bc6b35e54156c61f2ef169e000 SHA512 23940338ba348b5f17e77e1b6f4de3ec0f3a74ca8a7346809157d827f4a80159047bad81ee9db0b327a36b6d7475f5580e1952ac0f14993d93e061fa294fbd14 WHIRLPOOL 3ad91e2df434e88f2d047e1f196b2a38bf644cd0451e8833cfbf88672d463f891201e9456230fdc320ee44ac80181caaf2353a0c2356f582215376e212adf46c
MISC metadata.xml 1285 SHA256 ee6805155769028c47dae3121d636b2700d3427cc80352626ea07c5a9d5e6c39 SHA512 dd69cc656c35126ad40a590cf92eb5bb64660e4b43efc30afcfa2b5f2f863f212f800b5c539baac4743a0b56767125f985db1d7e3937cf894a83db41508dbd69 WHIRLPOOL 4db0d78003cbde0dc8992cc0198507a5f96bf4feb0c242a11129cc633b17430b94d322e6209f86a09b721553f9278f6a4dd09cd0857ed7554382f09d61c982a3
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2
+Version: GnuPG v2.0
-iQIcBAEBCAAGBQJU2fL2AAoJEKMbvrI6BRdGGE8P/2opOQQdXlm6tw2C6Jwv6wMc
-5L1LKdt3Ve7XQ8ubusc4ndlNFoi1vZkNMVXOgbXG4FSs6g3eptv3aMjsBfpr81b8
-HEuY7NhBXjJCT8XaxrsrS+ysBVmOrdLxTzaxAGc5FV/TBwP3QhfZlzLYdbTVeuv4
-Fh30KIe3crxCNBanorZvM0rMkmXSwZhBEcR7q9d/lNXeKGwhDCLuAlBr0XcGKhjX
-2hn2G6n9gCEayNgJ63+EW9+SVgWknt4KeDp+P/GcREHZhZWtVKkhAoqhhK8cXmi4
-h7Bu/3aFb6nbfYkY/KpUaPVCubCsohOBi4BTfBUrxvrk8r1wCYZtB2CrG9+EkHNj
-Tt//drrRB1pWCUCUrZdQ9FkJ5/4S+encyLoNOn14mUkRDfBevywnoaoXoJWspVe/
-EFvm8TCtxzYT5CFeGyEZrSoI5GJ5kK7LoEzFPkmuZLJmRdSHzGtdOroVLvJO1MKQ
-+K346NzuRhAPhfLcQxA+8aclsuAiO8nBokEcBian9MJRkFrEk6fOG6a/w4rPucU/
-gYunI6USoD3T7zP7cN1wpF4zYtpVJcH8cL480qmsgW7QRHTpXAphXwCHRGLEz4PG
-MNIv/SjoCnewI72In9wXrMjDdf5bddXc5U1UEaxKIcHGqAhJ76+X8GtjhPBR1u5t
-BxsruhK+zveukbxX6Phs
-=4f3J
+iQJiBAEBCABMBQJU4xlxRRSAAAAAABQAKGlzc3Vlci1mcHJAbm90YXRpb25zOTc5
+MTY5NkQ3RDM3NkRBN0U5QjZGMTUwMDZCMUYzOERDQTQ1QTFFQwAKCRAGsfONykWh
+7DldD/9ekMPPs+tHxadPLzly4snjncppIPpDE2kqcuHQ4IAdV6quDAIYbIyFqGHi
+D1mmnB+BWkkruk27u25O4o0TIYcppOXBh/L7RUlPYV6Abm9bGlEsMk+H/yztSOKm
+M3pdo0SEYxdk12JI2jOO+Kc5yKc83JuwpTqh0gwe4zmYSXQ6SYBIQzV+eAncmy2e
+dnIa6maGA8lxIAMfuwGly8qp6xHGDH+HNkxYouXBCbqoIaLNM5jpon4qsBClAIW5
+QYySSYUUjjlz+scCp1WQWdzPD5Zbx0JO9rg1tNamApk+NTyRARE0BpUpuY+tM+7J
+h/8Tb+D6twrY+VZN3jiCfOlOrM/8T71HCxA21w6d7kit4ktgvG3EIRmKSdojxupp
+5L3AUX3CUtk4WjruSO9Mx/IvrO5odYf5V+huOUL/Uof2ROyUWkTd+tM2nX2Y9zC+
+SW0AncApsHvK6bbUCbs7nryYDXbUzzUYQiEafXyDLSi1qsxacMjZKT06sSXzH+AD
+9kNYgcIeLsd2rROGTeV1bWG1KR8iv3XKUHgvQ54wzUHPFbGpzH4a8/mKxluzJjAZ
+3/p2zBQTnUAwnESx6vzSiKZyWwXDayVlrVjmKhsIfVgKo4H3hJIQ2jd/1kNqWxnN
+WU05cXUqJC1ffaL+LyK6rjQBjZTpb2x6K6NS3J/dn6DQ+Gqm0w==
+=tHPq
-----END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/recoll/recoll-1.16.2.ebuild,v 1.7 2014/05/17 07:32:01 ulm Exp $
-
-EAPI="4"
-
-inherit toolchain-funcs qt4-r2 linux-info
-
-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 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] )
- 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="^^ ( fam inotify ) session? ( || ( fam inotify ) )"
-
-pkg_pretend() {
- if use inotify; then
- CONFIG_CHECK="~INOTIFY_USER"
- check_extra_config
- fi
-}
-
-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() {
- # 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"
-}
-
-src_configure() {
- local qtconf
-
- use qt4 && qtconf="QMAKEPATH=/usr/bin/qmake"
-
- 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}
-}
-
-src_compile() {
- # Do not let upstream people decide on our behalf
- 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
-}
-
-pkg_postinst() {
- elog
- elog "Default configuration files located at"
- elog "/usr/share/${PN}/examples. Either edit these files to match"
- elog "your needs or copy them to ~/.recoll/ and edit these files"
- elog "instead."
- elog
- if use xattr; then
- elog "Use flag \"xattr\" enables support for fetching field values"
- elog "from extended file attributes. You will also need to set up a"
- elog "map from the attributes names to the Recoll field names"
- elog "(see comment at the end of the fields configuration file."
- fi
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/recoll/recoll-1.17.3.ebuild,v 1.6 2014/05/17 07:32:01 ulm Exp $
-
-EAPI="4"
-
-PYTHON_DEPEND="2"
-inherit toolchain-funcs qt4-r2 linux-info python
-
-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 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]
- 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="^^ ( fam inotify ) 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() {
- # 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"
-}
-
-src_configure() {
- local qtconf
-
- use qt4 && qtconf="QMAKEPATH=/usr/bin/qmake"
-
- 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}
-}
-
-src_compile() {
- # Do not let upstream people decide on our behalf
- 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
-}
-
-pkg_postinst() {
- elog
- elog "Default configuration files located at"
- elog "/usr/share/${PN}/examples. Either edit these files to match"
- elog "your needs or copy them to ~/.recoll/ and edit these files"
- elog "instead."
- elog
- if use xattr; then
- elog "Use flag \"xattr\" enables support for fetching field values"
- elog "from extended file attributes. You will also need to set up a"
- elog "map from the attributes names to the Recoll field names"
- elog "(see comment at the end of the fields configuration file."
- fi
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/recoll/recoll-1.18.1.ebuild,v 1.6 2014/05/17 07:32:01 ulm Exp $
-
-EAPI="4"
-
-PYTHON_DEPEND="2"
-inherit toolchain-funcs 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=/usr/bin/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
-}
+++ /dev/null
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/recoll/recoll-1.18.2.ebuild,v 1.2 2014/05/17 07:32:01 ulm Exp $
-
-EAPI="4"
-
-PYTHON_DEPEND="2"
-inherit toolchain-funcs 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=/usr/bin/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
-}