1 |
wired 09/11/02 20:57:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: kdelibs-4.3.3.ebuild |
5 |
Log: |
6 |
Version bump KDE 4.3.3 |
7 |
(Portage version: 2.2_rc48/cvs/Linux x86_64, RepoMan options: --force) |
8 |
|
9 |
Revision Changes Path |
10 |
1.634 kde-base/kdelibs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/ChangeLog?rev=1.634&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/ChangeLog?rev=1.634&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/ChangeLog?r1=1.633&r2=1.634 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v |
19 |
retrieving revision 1.633 |
20 |
retrieving revision 1.634 |
21 |
diff -u -r1.633 -r1.634 |
22 |
--- ChangeLog 20 Oct 2009 18:19:03 -0000 1.633 |
23 |
+++ ChangeLog 2 Nov 2009 20:57:50 -0000 1.634 |
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.633 2009/10/20 18:19:03 scarabeus Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.634 2009/11/02 20:57:50 wired Exp $ |
29 |
+ |
30 |
+*kdelibs-4.3.3 (02 Nov 2009) |
31 |
+ |
32 |
+ 02 Nov 2009; Alex Alexander <wired@g.o> +kdelibs-4.3.3.ebuild: |
33 |
+ Version bump |
34 |
|
35 |
*kdelibs-4.3.2-r3 (20 Oct 2009) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 kde-base/kdelibs/kdelibs-4.3.3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/kdelibs-4.3.3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/kdelibs-4.3.3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: kdelibs-4.3.3.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.3.ebuild,v 1.1 2009/11/02 20:57:50 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 ~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-data) |
137 |
$(add_kdebase_dep ktimezoned) |
138 |
" |
139 |
|
140 |
# Blockers added due to packages from old versions, removed in the meanwhile |
141 |
# as well as for file collisions |
142 |
add_blocker kitchensync 4.1.50 |
143 |
add_blocker knewsticker 4.1.50 |
144 |
add_blocker kpercentage 4.1.50 |
145 |
add_blocker ktnef 4.1.50 |
146 |
add_blocker libkworkspace 4.2.50 |
147 |
add_blocker libplasma |
148 |
# Block some old versions of KDE-3.5 packages that don't work well with KDE-4 |
149 |
add_blocker kdebase 0 3.5.9-r4:3.5 |
150 |
add_blocker kdebase-startkde 0 3.5.10:3.5 |
151 |
add_blocker kdelibs 0 '<3.5.10' |
152 |
|
153 |
PATCHES=( |
154 |
"${FILESDIR}/dist/01_gentoo_set_xdg_menu_prefix.patch" |
155 |
"${FILESDIR}/dist/02_gentoo_append_xdg_config_dirs.patch" |
156 |
"${FILESDIR}/dist/23_solid_no_double_build.patch" |
157 |
) |
158 |
|
159 |
src_prepare() { |
160 |
kde4-base_src_prepare |
161 |
|
162 |
# Rename applications.menu (needs 01_gentoo_set_xdg_menu_prefix.patch to work) |
163 |
local menu_prefix="kde-${SLOT}-" |
164 |
sed -e "s|FILES[[:space:]]applications.menu|FILES applications.menu RENAME ${menu_prefix}applications.menu|g" \ |
165 |
-i kded/CMakeLists.txt || die "Sed on CMakeLists.txt for applications.menu failed." |
166 |
sed -e "s|@REPLACE_MENU_PREFIX@|${menu_prefix}|" \ |
167 |
-i kded/vfolder_menu.cpp || die "Sed on vfolder_menu.cpp failed." |
168 |
|
169 |
# FIXME Remove experimental folder from CMakeLists - we have |
170 |
# kde-base/libknotificationitem for now |
171 |
sed -e "/macro_optional_add_subdirectory( experimental )/ s:^:#:" \ |
172 |
-i CMakeLists.txt || die "Failed to sed-out experimental." |
173 |
} |
174 |
|
175 |
src_configure() { |
176 |
if use zeroconf; then |
177 |
if has_version net-dns/avahi; then |
178 |
mycmakeargs="${mycmakeargs} -DWITH_Avahi=ON -DWITH_DNSSD=OFF" |
179 |
elif has_version net-misc/mDNSResponder; then |
180 |
mycmakeargs="${mycmakeargs} -DWITH_Avahi=OFF -DWITH_DNSSD=ON" |
181 |
else |
182 |
die "USE=\"zeroconf\" enabled but neither net-dns/avahi nor net-misc/mDNSResponder were found." |
183 |
fi |
184 |
else |
185 |
mycmakeargs="${mycmakeargs} -DWITH_Avahi=OFF -DWITH_DNSSD=OFF" |
186 |
fi |
187 |
if use kdeprefix; then |
188 |
HME=".kde${SLOT}" |
189 |
else |
190 |
HME=".kde4" |
191 |
fi |
192 |
mycmakeargs="${mycmakeargs} |
193 |
-DWITH_HSPELL=OFF |
194 |
-DKDE_DEFAULT_HOME=${HME} |
195 |
$(cmake-utils_use_build handbook doc) |
196 |
$(cmake-utils_use_has 3dnow X86_3DNOW) |
197 |
$(cmake-utils_use_has altivec PPC_ALTIVEC) |
198 |
$(cmake-utils_use_has mmx X86_MMX) |
199 |
$(cmake-utils_use_has sse X86_SSE) |
200 |
$(cmake-utils_use_has sse2 X86_SSE2) |
201 |
$(cmake-utils_use_with acl) |
202 |
$(cmake-utils_use_with alsa) |
203 |
$(cmake-utils_use_with bzip2 BZip2) |
204 |
$(cmake-utils_use_with fam) |
205 |
$(cmake-utils_use_with jpeg2k Jasper) |
206 |
$(cmake-utils_use_with kerberos GSSAPI) |
207 |
$(cmake-utils_use_with lzma LibLZMA) |
208 |
$(cmake-utils_use_with nls Libintl) |
209 |
$(cmake-utils_use_with openexr OpenEXR) |
210 |
$(cmake-utils_use_with opengl OpenGL) |
211 |
$(cmake-utils_use_with semantic-desktop Soprano) |
212 |
$(cmake-utils_use_with spell ASPELL) |
213 |
$(cmake-utils_use_with spell ENCHANT) |
214 |
$(cmake-utils_use_with ssl OpenSSL) |
215 |
" |
216 |
kde4-base_src_configure |
217 |
} |
218 |
|
219 |
src_compile() { |
220 |
kde4-base_src_compile |
221 |
|
222 |
# The building of apidox is not managed anymore by the build system |
223 |
if use doc; then |
224 |
einfo "Building API documentation" |
225 |
cd "${S}"/doc/api/ |
226 |
./doxygen.sh "${S}" || die "APIDOX generation failed" |
227 |
fi |
228 |
} |
229 |
|
230 |
src_install() { |
231 |
kde4-base_src_install |
232 |
|
233 |
if use doc; then |
234 |
einfo "Installing API documentation. This could take a bit of time." |
235 |
cd "${S}"/doc/api/ |
236 |
docinto /HTML/en/kdelibs-apidox |
237 |
dohtml -r ${P}-apidocs/* || die "Install phase of KDE4 API Documentation failed" |
238 |
fi |
239 |
} |
240 |
|
241 |
pkg_postinst() { |
242 |
fdo-mime_mime_database_update |
243 |
if use zeroconf; then |
244 |
echo |
245 |
elog "To make zeroconf support available in KDE make sure that the 'mdnsd' daemon" |
246 |
elog "is running. Make sure also that multicast dns lookups are enabled by editing" |
247 |
elog "the 'hosts:' line in /etc/nsswitch.conf to include 'mdns', e.g.:" |
248 |
elog " hosts: files mdns dns" |
249 |
echo |
250 |
fi |
251 |
elog "Your homedir is set to "'${HOME}'"/${HME}" |
252 |
elog |
253 |
local config_path="${ROOT}usr/share/config" |
254 |
[[ ${PREFIX} != "${ROOT}usr" ]] && config_path+=" ${PREFIX}/share/config" |
255 |
elog "If you experience weird application behavior (missing texts, etc.) run as root:" |
256 |
elog "# chmod 755 -R ${config_path}" |
257 |
|
258 |
kde4-base_pkg_postinst |
259 |
} |
260 |
|
261 |
pkg_prerm() { |
262 |
# Remove ksycoca4 global database |
263 |
rm -f "${PREFIX}"/share/kde4/services/ksycoca4 |
264 |
} |
265 |
|
266 |
pkg_postrm() { |
267 |
fdo-mime_mime_database_update |
268 |
|
269 |
kde4-base_pkg_postrm |
270 |
} |