Gentoo Archives: gentoo-commits

From: "Saleem Abdulrasool (compnerd)" <compnerd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/tracker: ChangeLog tracker-0.6.4.ebuild
Date: Wed, 12 Dec 2007 05:54:46
Message-Id: E1J2KYG-0003em-1f@stork.gentoo.org
1 compnerd 07/12/12 05:54:36
2
3 Modified: ChangeLog
4 Added: tracker-0.6.4.ebuild
5 Log:
6 version bump from upstream
7 (Portage version: 2.1.4_rc9)
8
9 Revision Changes Path
10 1.34 app-misc/tracker/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tracker/ChangeLog?rev=1.34&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tracker/ChangeLog?rev=1.34&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tracker/ChangeLog?r1=1.33&r2=1.34
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v
19 retrieving revision 1.33
20 retrieving revision 1.34
21 diff -u -r1.33 -r1.34
22 --- ChangeLog 7 Dec 2007 18:11:15 -0000 1.33
23 +++ ChangeLog 12 Dec 2007 05:54:35 -0000 1.34
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-misc/tracker
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.33 2007/12/07 18:11:15 betelgeuse Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/ChangeLog,v 1.34 2007/12/12 05:54:35 compnerd Exp $
29 +
30 +*tracker-0.6.4 (12 Dec 2007)
31 +
32 + 12 Dec 2007; Saleem Abdulrasool <compnerd@g.o>
33 + +tracker-0.6.4.ebuild:
34 + Version bump from upstream
35
36 07 Dec 2007; Petteri Räty <betelgeuse@g.o>
37 -tracker-0.6.2-r1.ebuild, tracker-0.6.3.ebuild:
38
39
40
41 1.1 app-misc/tracker/tracker-0.6.4.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tracker/tracker-0.6.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/tracker/tracker-0.6.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: tracker-0.6.4.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-misc/tracker/tracker-0.6.4.ebuild,v 1.1 2007/12/12 05:54:35 compnerd Exp $
51
52 inherit autotools eutils flag-o-matic linux-info
53
54 DESCRIPTION="A tagging metadata database, search tool and indexer"
55 HOMEPAGE="http://www.tracker-project.org/"
56 SRC_URI="http://www.gnome.org/~jamiemcc/tracker/${P}.tar.gz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
61 IUSE="applet debug deskbar gnome gsf gstreamer gtk hal jpeg pdf xine kernel_linux"
62
63 RDEPEND=">=dev-libs/glib-2.12.0
64 >=x11-libs/pango-1.0.0
65 >=dev-libs/gmime-2.1.0
66 >=media-gfx/imagemagick-5.2.1
67 >=dev-libs/dbus-glib-0.71
68 =dev-db/sqlite-3.4*
69 >=media-libs/libpng-1.2
70 >=dev-libs/libxml2-2.6
71 >=dev-db/qdbm-1.8
72 sys-libs/zlib
73 applet? ( >=x11-libs/libnotify-0.4.3 )
74 deskbar? ( gnome-extra/deskbar-applet )
75 gnome? (
76 >=x11-libs/gtk+-2.8
77 >=gnome-base/libglade-2.5
78 >=gnome-base/libgnome-2.14
79 >=gnome-base/gnome-vfs-2.10
80 >=gnome-base/libgnomeui-2.14
81 >=gnome-base/gnome-desktop-2.14
82 )
83 hal? ( >=sys-apps/hal-0.5 )
84 gsf? ( >=gnome-extra/libgsf-1.13 )
85 gstreamer? ( >=media-libs/gstreamer-0.10 )
86 gtk? ( >=x11-libs/gtk+-2.8.20 )
87 jpeg? ( >=media-gfx/exif-0.6 )
88 xine? ( >=media-libs/xine-lib-1.0 )
89 !gstreamer? ( !xine? ( || ( media-video/totem media-video/mplayer ) ) )
90 !kernel_linux? ( >=app-admin/gamin-0.1.7 )
91 pdf? (
92 >=x11-libs/cairo-1.0
93 >=app-text/poppler-bindings-0.5.0
94 )"
95 DEPEND="${RDEPEND}
96 >=dev-util/intltool-0.35
97 >=sys-devel/gettext-0.14
98 >=dev-util/pkgconfig-0.20"
99
100 function notify_inotify() {
101 ewarn
102 ewarn "You should enable the INOTIFY support in your kernel."
103 ewarn "Check the 'Inotify file change notification support' under the"
104 ewarn "'File systems' option. It is marked as CONFIG_INOTIFY in the config"
105 ewarn "Also enable 'Inotify support for userland' in under the previous"
106 ewarn "option. It is marked as CONFIG_INOTIFY_USER in the config."
107 ewarn
108 die 'missing CONFIG_INOTIFY'
109 }
110
111 function inotify_enabled() {
112 linux_chkconfig_present INOTIFY && linux_chkconfig_present INOTIFY_USER
113 }
114
115 pkg_setup() {
116 linux-info_pkg_setup
117
118 if built_with_use 'dev-db/sqlite' 'nothreadsafe' ; then
119 eerror "You must build sqlite with threading support"
120 die "dev-db/sqlite built with nothreadsafe"
121 fi
122
123 if ! built_with_use 'app-text/poppler-bindings' 'gtk' ; then
124 ewarn "You must build poppler-bindings with gtk to get support for PDFs"
125 die "poppler-bindings needs gtk support"
126 fi
127
128 if ! built_with_use 'media-gfx/imagemagick' 'png' ; then
129 ewarn "You must build imagemagick with png"
130 die "imagemagick needs png support"
131 fi
132
133 if use jpeg && ! built_with_use 'media-gfx/imagemagick' 'jpeg' ; then
134 ewarn "You must build imagemagick with jpeg to get support for JPEG"
135 die "imagemagick needs jpeg support"
136 fi
137
138 if use kernel_linux ; then
139 inotify_enabled || notify_inotify
140 fi
141 }
142
143 src_compile() {
144 local myconf=
145
146 if use gstreamer ; then
147 myconf="${myconf} --enable-video-extractor=gstreamer"
148 elif use xine ; then
149 myconf="${myconf} --enable-video-extractor=xine"
150 else
151 myconf="${myconf} --enable-video-extractor=external"
152 fi
153
154 if use kernel_linux ; then
155 myconf="${myconf} --enable-file-monitoring=inotify"
156 else
157 myconf="${myconf} --enable-file-monitoring=fam"
158 fi
159
160 econf ${myconf} \
161 --enable-preferences --disable-xmp --disable-unac \
162 --enable-external-qdbm \
163 $(use_enable applet trackerapplet) \
164 $(use_enable deskbar deskbar-applet auto) \
165 $(use_enable debug debug-code) \
166 $(use_enable gnome gui) \
167 $(use_enable gsf) \
168 $(use_enable gtk libtrackergtk) \
169 $(use_enable hal) \
170 $(use_enable jpeg exif) \
171 $(use_enable pdf) \
172 || die "configure failed"
173
174 emake || die "build failed"
175 }
176
177 src_install() {
178 make DESTDIR="${D}" install || die "install failed"
179 dodoc AUTHORS ChangeLog NEWS README
180 }
181
182
183
184 --
185 gentoo-commits@g.o mailing list