Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kdelibs: ChangeLog kdelibs-4.3.3-r2.ebuild
Date: Sun, 29 Nov 2009 17:07:30
Message-Id: E1NEnF7-0001TN-8a@stork.gentoo.org
1 ssuominen 09/11/29 17:07:25
2
3 Modified: ChangeLog
4 Added: kdelibs-4.3.3-r2.ebuild
5 Log:
6 Dummy revision bump for app-arch/xz-utils.
7 (Portage version: 2.2_rc53/cvs/Linux x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.647 kde-base/kdelibs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/ChangeLog?rev=1.647&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/ChangeLog?rev=1.647&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/ChangeLog?r1=1.646&r2=1.647
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v
19 retrieving revision 1.646
20 retrieving revision 1.647
21 diff -u -r1.646 -r1.647
22 --- ChangeLog 29 Nov 2009 16:32:00 -0000 1.646
23 +++ ChangeLog 29 Nov 2009 17:07:25 -0000 1.647
24 @@ -1,6 +1,12 @@
25 # ChangeLog for kde-base/kdelibs
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.646 2009/11/29 16:32:00 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.647 2009/11/29 17:07:25 ssuominen Exp $
29 +
30 +*kdelibs-4.3.3-r2 (29 Nov 2009)
31 +
32 + 29 Nov 2009; Samuli Suominen <ssuominen@g.o>
33 + +kdelibs-4.3.3-r2.ebuild:
34 + Dummy revision bump for app-arch/xz-utils.
35
36 29 Nov 2009; Raúl Porcel <armin76@g.o> kdelibs-4.3.3-r1.ebuild:
37 Add ~sparc
38
39
40
41 1.1 kde-base/kdelibs/kdelibs-4.3.3-r2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/kdelibs-4.3.3-r2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/kdelibs-4.3.3-r2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: kdelibs-4.3.3-r2.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-4.3.3-r2.ebuild,v 1.1 2009/11/29 17:07:25 ssuominen Exp $
51
52 EAPI="2"
53
54 CPPUNIT_REQUIRED="optional"
55 OPENGL_REQUIRED="optional"
56 WEBKIT_REQUIRED="always"
57 inherit kde4-base fdo-mime
58
59 DESCRIPTION="KDE libraries needed by all KDE programs."
60 HOMEPAGE="http://www.kde.org/"
61
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
63 LICENSE="LGPL-2.1"
64 IUSE="3dnow acl alsa altivec bindist +bzip2 debug doc fam +handbook jpeg2k kerberos
65 lzma mmx nls openexr +semantic-desktop spell sse sse2 ssl zeroconf"
66
67 # needs the kate regression testsuite from svn
68 RESTRICT="test"
69
70 COMMONDEPEND="
71 >=app-misc/strigi-0.6.3[dbus,qt4]
72 dev-libs/libpcre
73 dev-libs/libxml2
74 dev-libs/libxslt
75 >=kde-base/automoc-0.9.87
76 media-libs/fontconfig
77 media-libs/freetype:2
78 media-libs/giflib
79 media-libs/jpeg
80 media-libs/libpng
81 >=media-sound/phonon-4.4_pre[xcb]
82 sys-apps/dbus[X]
83 sys-libs/libutempter
84 sys-libs/zlib
85 x11-libs/libICE
86 x11-libs/libSM
87 x11-libs/libX11
88 x11-libs/libXau
89 x11-libs/libXcursor
90 x11-libs/libXdmcp
91 x11-libs/libXext
92 x11-libs/libXfixes
93 x11-libs/libXft
94 x11-libs/libXpm
95 x11-libs/libXrender
96 x11-libs/libXtst
97 >=x11-misc/shared-mime-info-0.60
98 acl? ( virtual/acl )
99 alsa? ( media-libs/alsa-lib )
100 bzip2? ( app-arch/bzip2 )
101 fam? ( virtual/fam )
102 jpeg2k? ( media-libs/jasper )
103 kerberos? ( virtual/krb5 )
104 lzma? ( app-arch/xz-utils )
105 openexr? (
106 media-libs/openexr
107 media-libs/ilmbase
108 )
109 semantic-desktop? ( >=dev-libs/soprano-2.3.0[dbus] )
110 spell? (
111 app-dicts/aspell-en
112 app-text/aspell
113 app-text/enchant
114 )
115 ssl? ( dev-libs/openssl )
116 zeroconf? (
117 || (
118 net-dns/avahi[mdnsresponder-compat]
119 !bindist? ( net-misc/mDNSResponder )
120 )
121 )
122 "
123 DEPEND="${COMMONDEPEND}
124 doc? ( app-doc/doxygen )
125 nls? ( virtual/libintl )
126 "
127 RDEPEND="${COMMONDEPEND}
128 !<=kde-misc/kdnssd-avahi-0.1.2:0
129 !x11-libs/qt-phonon
130 >=app-crypt/gnupg-2.0.11
131 x11-apps/iceauth
132 x11-apps/rgb
133 >=x11-misc/xdg-utils-1.0.2-r3
134 "
135 PDEPEND="
136 $(add_kdebase_dep kde-env)
137 $(add_kdebase_dep kdebase-data)
138 $(add_kdebase_dep ktimezoned)
139 "
140
141 # Blockers added due to packages from old versions, removed in the meanwhile
142 # as well as for file collisions
143 add_blocker kitchensync 4.1.50
144 add_blocker knewsticker 4.1.50
145 add_blocker kpercentage 4.1.50
146 add_blocker ktnef 4.1.50
147 add_blocker libkworkspace 4.2.50
148 add_blocker libplasma
149 # Block some old versions of KDE-3.5 packages that don't work well with KDE-4
150 add_blocker kdebase 0 3.5.9-r4:3.5
151 add_blocker kdebase-startkde 0 3.5.10:3.5
152 add_blocker kdelibs 0 '<3.5.10'
153
154 PATCHES=(
155 "${FILESDIR}/dist/01_gentoo_set_xdg_menu_prefix.patch"
156 "${FILESDIR}/dist/02_gentoo_append_xdg_config_dirs.patch"
157 "${FILESDIR}/dist/23_solid_no_double_build.patch"
158 "${FILESDIR}/${P}-glibc-2.11.patch"
159 "${FILESDIR}/${P}-plasma-pixmap-cache.patch"
160 )
161
162 src_prepare() {
163 kde4-base_src_prepare
164
165 # Rename applications.menu (needs 01_gentoo_set_xdg_menu_prefix.patch to work)
166 local menu_prefix="kde-${SLOT}-"
167 sed -e "s|FILES[[:space:]]applications.menu|FILES applications.menu RENAME ${menu_prefix}applications.menu|g" \
168 -i kded/CMakeLists.txt || die "Sed on CMakeLists.txt for applications.menu failed."
169 sed -e "s|@REPLACE_MENU_PREFIX@|${menu_prefix}|" \
170 -i kded/vfolder_menu.cpp || die "Sed on vfolder_menu.cpp failed."
171
172 # FIXME Remove experimental folder from CMakeLists - we have
173 # kde-base/libknotificationitem for now
174 sed -e "/macro_optional_add_subdirectory( experimental )/ s:^:#:" \
175 -i CMakeLists.txt || die "Failed to sed-out experimental."
176 }
177
178 src_configure() {
179 if use zeroconf; then
180 if has_version net-dns/avahi; then
181 mycmakeargs="${mycmakeargs} -DWITH_Avahi=ON -DWITH_DNSSD=OFF"
182 elif has_version net-misc/mDNSResponder; then
183 mycmakeargs="${mycmakeargs} -DWITH_Avahi=OFF -DWITH_DNSSD=ON"
184 else
185 die "USE=\"zeroconf\" enabled but neither net-dns/avahi nor net-misc/mDNSResponder were found."
186 fi
187 else
188 mycmakeargs="${mycmakeargs} -DWITH_Avahi=OFF -DWITH_DNSSD=OFF"
189 fi
190 if use kdeprefix; then
191 HME=".kde${SLOT}"
192 else
193 HME=".kde4"
194 fi
195 mycmakeargs="${mycmakeargs}
196 -DWITH_HSPELL=OFF
197 -DKDE_DEFAULT_HOME=${HME}
198 $(cmake-utils_use_build handbook doc)
199 $(cmake-utils_use_has 3dnow X86_3DNOW)
200 $(cmake-utils_use_has altivec PPC_ALTIVEC)
201 $(cmake-utils_use_has mmx X86_MMX)
202 $(cmake-utils_use_has sse X86_SSE)
203 $(cmake-utils_use_has sse2 X86_SSE2)
204 $(cmake-utils_use_with acl)
205 $(cmake-utils_use_with alsa)
206 $(cmake-utils_use_with bzip2 BZip2)
207 $(cmake-utils_use_with fam)
208 $(cmake-utils_use_with jpeg2k Jasper)
209 $(cmake-utils_use_with kerberos GSSAPI)
210 $(cmake-utils_use_with lzma LibLZMA)
211 $(cmake-utils_use_with nls Libintl)
212 $(cmake-utils_use_with openexr OpenEXR)
213 $(cmake-utils_use_with opengl OpenGL)
214 $(cmake-utils_use_with semantic-desktop Soprano)
215 $(cmake-utils_use_with spell ASPELL)
216 $(cmake-utils_use_with spell ENCHANT)
217 $(cmake-utils_use_with ssl OpenSSL)
218 "
219 kde4-base_src_configure
220 }
221
222 src_compile() {
223 kde4-base_src_compile
224
225 # The building of apidox is not managed anymore by the build system
226 if use doc; then
227 einfo "Building API documentation"
228 cd "${S}"/doc/api/
229 ./doxygen.sh "${S}" || die "APIDOX generation failed"
230 fi
231 }
232
233 src_install() {
234 kde4-base_src_install
235
236 if use doc; then
237 einfo "Installing API documentation. This could take a bit of time."
238 cd "${S}"/doc/api/
239 docinto /HTML/en/kdelibs-apidox
240 dohtml -r ${P}-apidocs/* || die "Install phase of KDE4 API Documentation failed"
241 fi
242 }
243
244 pkg_postinst() {
245 fdo-mime_mime_database_update
246 if use zeroconf; then
247 echo
248 elog "To make zeroconf support available in KDE make sure that the 'mdnsd' daemon"
249 elog "is running. Make sure also that multicast dns lookups are enabled by editing"
250 elog "the 'hosts:' line in /etc/nsswitch.conf to include 'mdns', e.g.:"
251 elog " hosts: files mdns dns"
252 echo
253 fi
254 elog "Your homedir is set to "'${HOME}'"/${HME}"
255 elog
256 local config_path="${ROOT}usr/share/config"
257 [[ ${PREFIX} != "${ROOT}usr" ]] && config_path+=" ${PREFIX}/share/config"
258 elog "If you experience weird application behavior (missing texts, etc.) run as root:"
259 elog "# chmod 755 -R ${config_path}"
260
261 kde4-base_pkg_postinst
262 }
263
264 pkg_prerm() {
265 # Remove ksycoca4 global database
266 rm -f "${PREFIX}"/share/kde4/services/ksycoca4
267 }
268
269 pkg_postrm() {
270 fdo-mime_mime_database_update
271
272 kde4-base_pkg_postrm
273 }