1 |
zlin 08/03/10 21:49:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: strigi-0.5.8.ebuild |
5 |
Log: |
6 |
Bump to 0.5.8. Add support for split qt 4.4. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 app-misc/strigi/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/strigi/ChangeLog?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/strigi/ChangeLog?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/strigi/ChangeLog?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/strigi/ChangeLog,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- ChangeLog 13 Jan 2008 18:18:23 -0000 1.1 |
23 |
+++ ChangeLog 10 Mar 2008 21:49:04 -0000 1.2 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for app-misc/strigi |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/ChangeLog,v 1.1 2008/01/13 18:18:23 philantrop Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/ChangeLog,v 1.2 2008/03/10 21:49:04 zlin Exp $ |
29 |
+ |
30 |
+*strigi-0.5.8 (10 Mar 2008) |
31 |
+ |
32 |
+ 10 Mar 2008; Bo Ørsted Andresen <zlin@g.o> strigi-0.5.7.ebuild, |
33 |
+ +strigi-0.5.8.ebuild: |
34 |
+ Bump to 0.5.8. Add support for split qt 4.4. |
35 |
|
36 |
*strigi-0.5.7 (13 Jan 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 app-misc/strigi/strigi-0.5.8.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/strigi/strigi-0.5.8.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/strigi/strigi-0.5.8.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: strigi-0.5.8.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/strigi-0.5.8.ebuild,v 1.1 2008/03/10 21:49:04 zlin Exp $ |
51 |
|
52 |
EAPI="1" |
53 |
inherit eutils cmake-utils |
54 |
|
55 |
DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI" |
56 |
HOMEPAGE="http://www.vandenoever.info/software/strigi" |
57 |
SRC_URI="http://www.vandenoever.info/software/${PN}/${P}.tar.bz2" |
58 |
|
59 |
LICENSE="GPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~x86" |
62 |
IUSE="+clucene +dbus debug +exiv2 fam hyperestraier inotify java +qt4 test" |
63 |
# log strigi |
64 |
RESTRICT="test" |
65 |
|
66 |
COMMONDEPEND=" |
67 |
dev-libs/libxml2 |
68 |
virtual/libiconv |
69 |
clucene? ( >=dev-cpp/clucene-0.9.16a ) |
70 |
dbus? ( sys-apps/dbus |
71 |
|| ( ( x11-libs/qt-dbus:4 |
72 |
x11-libs/qt-gui:4 ) |
73 |
>=x11-libs/qt-4.3.0:4 ) |
74 |
) |
75 |
exiv2? ( media-gfx/exiv2 ) |
76 |
fam? ( virtual/fam ) |
77 |
hyperestraier? ( app-text/hyperestraier ) |
78 |
java? ( |
79 |
>=dev-libs/xerces-c-2.7.0-r1 |
80 |
>=virtual/jdk-1.4 |
81 |
) |
82 |
qt4? ( |
83 |
|| ( ( x11-libs/qt-core:4 |
84 |
x11-libs/qt-gui:4 ) |
85 |
>=x11-libs/qt-4.3.0:4 ) |
86 |
)" |
87 |
# log? ( >=dev-libs/log4cxx-0.9.7 ) |
88 |
# sqlite? ( dev-db/sqlite:3 )" |
89 |
DEPEND="${COMMONDEPEND} |
90 |
test? ( dev-util/cppunit )" |
91 |
RDEPEND="${COMMONDEPEND}" |
92 |
|
93 |
pkg_setup() { |
94 |
if ! use clucene && ! use hyperestraier; then # && ! use sqlite; then |
95 |
ewarn "It's highly recommended to enable one of the supported backends:" |
96 |
ewarn "clucene, hyperestraier and sqlite" |
97 |
ewarn "Clucene is currently the recommended backend." |
98 |
ewarn "Without a backend you'll only be able to use deepgrep." |
99 |
fi |
100 |
|
101 |
if use dbus && use qt4; then |
102 |
if ( has version "<x11-libs/qt-4.4.0_alpha:4" && ! built_with_use x11-libs/qt:4 dbus ) || \ |
103 |
( has version "x11-libs/qt-gui:4" && ! built_with_use x11-libs/qt-gui:4 dbus); then |
104 |
eerror "You are building Strigi with qt4 and dbus, but qt4 wasn't built with dbus support." |
105 |
eerror "Please re-emerge qt4 with dbus, or disable dbus in Strigi." |
106 |
die |
107 |
fi |
108 |
fi |
109 |
|
110 |
if use qt4 && ! use dbus; then |
111 |
eerror "You are building Strigi with qt4 but without dbus." |
112 |
eerror "Strigiclient needs dbus to detect a running Strigi daemon." |
113 |
eerror "Please enable both qt4 and dbus." |
114 |
die |
115 |
fi |
116 |
} |
117 |
|
118 |
src_compile() { |
119 |
# Strigi needs either expat or libxml2. |
120 |
# However libxml2 seems to be required in both cases, linking to 2 xml parsers |
121 |
# is just silly, so we forcefully disable linking to expat. |
122 |
# Disabled: NEWXESAM (targetted at developers) |
123 |
# Enabled: POLLING (only reliable way to check for files changed.) |
124 |
|
125 |
mycmakeargs="${mycmakeargs} |
126 |
-DENABLE_EXPAT=OFF -DENABLE_NEWXESAM=OFF -DENABLE_POLLING=ON |
127 |
-DFORCE_DEPS=ON -DENABLE_CPPUNIT=OFF |
128 |
$(cmake-utils_use_enable clucene CLUCENE) |
129 |
$(cmake-utils_use_enable dbus DBUS) |
130 |
$(cmake-utils_use_enable exiv2 EXIV2) |
131 |
$(cmake-utils_use_enable fam FAM) |
132 |
$(cmake-utils_use_enable hyperestraier HYPERESTRAIER) |
133 |
$(cmake-utils_use_enable inotify INOTIFY) |
134 |
$(cmake-utils_use_enable qt4 QT4)" |
135 |
# $(cmake-utils_use_enable log LOG4CXX) |
136 |
# $(cmake-utils_use_enable sqlite SQLITE) |
137 |
cmake-utils_src_compile |
138 |
} |
139 |
|
140 |
src_test() { |
141 |
mycmakeargs="${mycmakeargs} -DENABLE_CPPUNIT=ON" |
142 |
cmake-utils_src_compile -j1 |
143 |
ctest --extra-verbose || die "Tests failed." |
144 |
} |
145 |
|
146 |
|
147 |
|
148 |
-- |
149 |
gentoo-commits@l.g.o mailing list |