diff options
| author | Johannes Huber <johu@gmx.de> | 2011-07-14 00:48:39 +0200 |
|---|---|---|
| committer | Johannes Huber <johu@gmx.de> | 2011-07-14 00:48:39 +0200 |
| commit | aff0f6c6d12b18530da1c063d37758a7a4b722e5 (patch) | |
| tree | 2b7ac990cc88a46b3a75c06d3ad260f618add8d6 /app-misc/strigi | |
| parent | 09ba52a457f1321a31ddea42526436e579a82494 (diff) | |
| download | kde-aff0f6c6d12b18530da1c063d37758a7a4b722e5.tar.gz kde-aff0f6c6d12b18530da1c063d37758a7a4b722e5.tar.bz2 kde-aff0f6c6d12b18530da1c063d37758a7a4b722e5.zip | |
[app-misc/strigi] patch for compile with -qt4
fixes bug 375055
Diffstat (limited to 'app-misc/strigi')
| -rw-r--r-- | app-misc/strigi/Manifest | 23 | ||||
| -rw-r--r-- | app-misc/strigi/files/strigi-0.7.5-no-qt4.patch | 11 | ||||
| -rw-r--r-- | app-misc/strigi/strigi-0.7.5.ebuild | 92 |
3 files changed, 106 insertions, 20 deletions
diff --git a/app-misc/strigi/Manifest b/app-misc/strigi/Manifest index 14f3b7c046a..028b0de7f5c 100644 --- a/app-misc/strigi/Manifest +++ b/app-misc/strigi/Manifest @@ -1,22 +1,5 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 - +AUX strigi-0.7.5-no-qt4.patch 329 RMD160 e1e4904e4d907fcdd026d48aeeed86ee997a9797 SHA1 5f7f2a827990b59746204a0138a134bfba58ed33 SHA256 c98b889a6caf08f25eacc0e896968f6cbd2a8b317aa5aa441be4b5c49f315d38 +DIST strigi-0.7.5.tar.bz2 801845 RMD160 2cf9fa372de2bc06abcee25d0f41fa5f4916fa3c SHA1 0aa3632e07c58f2ab5c515004b790bda6cfefbf5 SHA256 111f5e3ede171292302b906418af0175445ca01958d40fb54879f80620b5189b +EBUILD strigi-0.7.5.ebuild 2403 RMD160 1eb482090b912510724e95854a4603d940487f82 SHA1 f07e13bc62da982f555cc602b1b68cdfa24759a1 SHA256 fdbe5a779a80c33e60ec4832479efe1bd13bbff7afa3e1f6315559efba20d12e EBUILD strigi-9999.ebuild 2350 RMD160 5187c05b7cd6892b4037181cede87e8773a4dc69 SHA1 7ba3c80e8c9f0528ea388c4cb7330413a195f58c SHA256 c3fc59b7d0d40cb529ae4eaf2de92a125e490e90c2195e840109938f77e2ded4 MISC metadata.xml 486 RMD160 6eb5e37e0646dc21260e2938d9aa6286489e10cd SHA1 d600420837886e1d487266009b803ca76643c571 SHA256 2a4f8b7f0572075a608b0a3fb2e62321b4dbdd61b231cf72218246f0351cda12 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) - -iQIcBAEBCgAGBQJOHK5DAAoJEEb+UGWnxTyHd8gP/1Kuz7wBO/ltSJBP+k9EaIv5 -VpJPMt8NPKypCOvyOQ5kHhOHgcvMuWq/t6XppjT7Z95WKoGWi2vQVoayLCCa0XfX -djb5qwKGa7QR0sWEU0n/55UhAPBwcGuLogcxTjSe1PtkFwsUr4w/RIP+vEvVLuCe -Dx0d0qZyASSyVDOEqJS4dbJrFdjKP01eSRvPAVR2wDKv+D3bZ10LI/4iTWU6wsUR -cTN6zN2yUQjPIZ4rUpiGN5sRcJ+NoAVMQFuxG0yyNUDAv+2d9StQkNM22Bhv8peh -VlqWNmiM37Gybmek+zv2IPBXqwjn+GkSgcH6DhgqMJQDTW860c4OuGwK/r/4pjyM -nFaWK7Wuekp/WEup4IcQ+rr4G1QJhq/KgWu3Abz18ZhzxbsGEBYiW9ocqiLnDlN/ -Xa/b6OMtOhr5h/VNMtuhnRfD8IDT8GXQabONWh5n11gLtm7PPZkBxzHAR4A/BvoY -WgfST/IfECIMQw7pl+9dP1PBf29/okMv0XekT8qCil5nfVyyM3izTk7y2bi5C8MA -DG3YHYxnhsPA0dqfkqrfMgYKEC7KPoDQXe6ISZfxHhIXxBGQzkH3/12T3mkn/D4t -qslDbkZyib72QnNDBxokALUwM40zxrkMicHyDwebD88ME8KkzyrTHr6FnvLRG3A5 -Qchb/vmIyBFpyS/sH3Fu -=mIe4 ------END PGP SIGNATURE----- diff --git a/app-misc/strigi/files/strigi-0.7.5-no-qt4.patch b/app-misc/strigi/files/strigi-0.7.5-no-qt4.patch new file mode 100644 index 00000000000..3f9944a27fe --- /dev/null +++ b/app-misc/strigi/files/strigi-0.7.5-no-qt4.patch @@ -0,0 +1,11 @@ +--- strigiclient/lib/CMakeLists.txt.orig 2011-07-13 19:57:19.000000000 +0200 ++++ strigiclient/lib/CMakeLists.txt 2011-07-13 19:59:15.000000000 +0200 +@@ -1,4 +1,7 @@ + if(NOT WIN32) + add_subdirectory(htmlgui) + endif(NOT WIN32) +-add_subdirectory(searchclient) ++ ++if(QT4_FOUND) ++ add_subdirectory(searchclient) ++endif(QT4_FOUND) diff --git a/app-misc/strigi/strigi-0.7.5.ebuild b/app-misc/strigi/strigi-0.7.5.ebuild new file mode 100644 index 00000000000..10d66d45d41 --- /dev/null +++ b/app-misc/strigi/strigi-0.7.5.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +if [[ "${PV}" != "9999" ]]; then + SRC_URI="http://www.vandenoever.info/software/${PN}/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +else + EGIT_REPO_URI="git://anongit.kde.org/strigi" + GIT_ECLASS="git-2" + EGIT_HAS_SUBMODULES="true" + KEYWORDS="" +fi + +inherit cmake-utils ${GIT_ECLASS} + +DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI" +HOMEPAGE="http://strigi.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="clucene +dbus debug exif fam ffmpeg hyperestraier inotify log +qt4 test" + +COMMONDEPEND=" + app-arch/bzip2:0 + dev-libs/libxml2:2 + sys-libs/zlib:0 + virtual/libiconv + clucene? ( >=dev-cpp/clucene-0.9.21[-debug] ) + dbus? ( + sys-apps/dbus + qt4? ( x11-libs/qt-dbus:4 ) + ) + exif? ( >=media-gfx/exiv2-0.17 ) + fam? ( virtual/fam ) + ffmpeg? ( virtual/ffmpeg ) + hyperestraier? ( app-text/hyperestraier ) + log? ( >=dev-libs/log4cxx-0.10.0 ) + qt4? ( + x11-libs/qt-core:4 + x11-libs/qt-gui:4 + ) +" +DEPEND="${COMMONDEPEND} + test? ( dev-util/cppunit )" +RDEPEND="${COMMONDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-0.7.5-no-qt4.patch" +) + +src_configure() { + # Enabled: POLLING (only reliable way to check for files changed.) + # Disabled: xine - recommended upstream to keep it this way + mycmakeargs=( + -DENABLE_POLLING=ON + -DFORCE_DEPS=ON + -DENABLE_CPPUNIT=OFF + -DENABLE_REGENERATEXSD=OFF + $(cmake-utils_use_enable clucene) + $(cmake-utils_use_enable dbus) + $(cmake-utils_use_enable exif EXIV2) + $(cmake-utils_use_enable fam) + $(cmake-utils_use_enable ffmpeg) + $(cmake-utils_use_enable hyperestraier) + $(cmake-utils_use_enable inotify) + $(cmake-utils_use_enable log LOG4CXX) + $(cmake-utils_use_enable qt4) + $(cmake-utils_use_enable test CPPUNIT) + $(cmake-utils_disable xine) + ) + + if use qt4; then + mycmakeargs+=(-DENABLE_DBUS=ON) + fi + + cmake-utils_src_configure +} + +pkg_postinst() { + if ! use clucene && ! use hyperestraier; then + echo + elog "Because you didn't enable either of the available backends:" + elog "clucene or hyperestraier, strigi may not be functional." + elog "If you intend to use standalone strigi indexer (not needed for KDE)," + elog "be sure to reinstall app-misc/strigi with either clucene (recommended)" + elog "or hyperestraier (unreliable) USE flag enabled." + echo + fi +} |
