Gentoo Archives: gentoo-commits

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