From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qh8Fb-0004Ov-57 for garchives@archives.gentoo.org; Wed, 13 Jul 2011 22:49:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6954321C0B3; Wed, 13 Jul 2011 22:49:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2290C21C0B3 for ; Wed, 13 Jul 2011 22:49:42 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 634552AC2A6 for ; Wed, 13 Jul 2011 22:49:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id C5C5F8003D for ; Wed, 13 Jul 2011 22:49:40 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: Subject: [gentoo-commits] proj/kde:master commit in: app-misc/strigi/, app-misc/strigi/files/ X-VCS-Repository: proj/kde X-VCS-Files: app-misc/strigi/files/strigi-0.7.5-no-qt4.patch app-misc/strigi/strigi-0.7.5.ebuild X-VCS-Directories: app-misc/strigi/ app-misc/strigi/files/ X-VCS-Committer: j0hu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: aff0f6c6d12b18530da1c063d37758a7a4b722e5 Date: Wed, 13 Jul 2011 22:49:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: c7e50921ee54ebdebbad507c92bb22ea commit: aff0f6c6d12b18530da1c063d37758a7a4b722e5 Author: Johannes Huber gmx de> AuthorDate: Wed Jul 13 22:48:39 2011 +0000 Commit: Johannes Huber gmx de> CommitDate: Wed Jul 13 22:48:39 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/kde.git;a=3Dc= ommit;h=3Daff0f6c6 [app-misc/strigi] patch for compile with -qt4 fixes bug 375055 --- app-misc/strigi/files/strigi-0.7.5-no-qt4.patch | 11 +++ app-misc/strigi/strigi-0.7.5.ebuild | 92 +++++++++++++++++= ++++++ 2 files changed, 103 insertions(+), 0 deletions(-) diff --git a/app-misc/strigi/files/strigi-0.7.5-no-qt4.patch b/app-misc/s= trigi/files/strigi-0.7.5-no-qt4.patch new file mode 100644 index 0000000..3f9944a --- /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 0000000..10d66d4 --- /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=3D4 + +if [[ "${PV}" !=3D "9999" ]]; then + SRC_URI=3D"http://www.vandenoever.info/software/${PN}/${P}.tar.bz2" + KEYWORDS=3D"~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd = ~amd64-linux ~x86-linux" +else + EGIT_REPO_URI=3D"git://anongit.kde.org/strigi" + GIT_ECLASS=3D"git-2" + EGIT_HAS_SUBMODULES=3D"true" + KEYWORDS=3D"" +fi + +inherit cmake-utils ${GIT_ECLASS} + +DESCRIPTION=3D"Fast crawling desktop search engine with Qt4 GUI" +HOMEPAGE=3D"http://strigi.sourceforge.net/" + +LICENSE=3D"GPL-2" +SLOT=3D"0" +IUSE=3D"clucene +dbus debug exif fam ffmpeg hyperestraier inotify log +q= t4 test" + +COMMONDEPEND=3D" + app-arch/bzip2:0 + dev-libs/libxml2:2 + sys-libs/zlib:0 + virtual/libiconv + clucene? ( >=3Ddev-cpp/clucene-0.9.21[-debug] ) + dbus? ( + sys-apps/dbus + qt4? ( x11-libs/qt-dbus:4 ) + ) + exif? ( >=3Dmedia-gfx/exiv2-0.17 ) + fam? ( virtual/fam ) + ffmpeg? ( virtual/ffmpeg ) + hyperestraier? ( app-text/hyperestraier ) + log? ( >=3Ddev-libs/log4cxx-0.10.0 ) + qt4? ( + x11-libs/qt-core:4 + x11-libs/qt-gui:4 + ) +" +DEPEND=3D"${COMMONDEPEND} + test? ( dev-util/cppunit )" +RDEPEND=3D"${COMMONDEPEND}" + +PATCHES=3D( + "${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=3D( + -DENABLE_POLLING=3DON + -DFORCE_DEPS=3DON + -DENABLE_CPPUNIT=3DOFF + -DENABLE_REGENERATEXSD=3DOFF + $(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+=3D(-DENABLE_DBUS=3DON) + 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 K= DE)," + elog "be sure to reinstall app-misc/strigi with either clucene (recomm= ended)" + elog "or hyperestraier (unreliable) USE flag enabled." + echo + fi +}