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