Gentoo Archives: gentoo-commits

From: "Timo Gurr (tgurr)" <tgurr@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kdelibs: ChangeLog kdelibs-3.5.8-r3.ebuild
Date: Fri, 11 Jan 2008 20:32:41
Message-Id: E1JDQYQ-0008Cy-3E@stork.gentoo.org
1 tgurr 08/01/11 20:32:38
2
3 Modified: ChangeLog
4 Added: kdelibs-3.5.8-r3.ebuild
5 Log:
6 Add kdelibs-3.5.8-r3.ebuild, fixes regression caused by the flash compatibility patch, see bug #205070. Thanks Markos Chandras for reporting.
7 (Portage version: 2.1.4_rc14)
8
9 Revision Changes Path
10 1.495 kde-base/kdelibs/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/ChangeLog?rev=1.495&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/ChangeLog?rev=1.495&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/ChangeLog?r1=1.494&r2=1.495
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v
19 retrieving revision 1.494
20 retrieving revision 1.495
21 diff -u -r1.494 -r1.495
22 --- ChangeLog 29 Dec 2007 17:29:14 -0000 1.494
23 +++ ChangeLog 11 Jan 2008 20:32:37 -0000 1.495
24 @@ -1,6 +1,12 @@
25 # ChangeLog for kde-base/kdelibs
26 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.494 2007/12/29 17:29:14 tgurr Exp $
28 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/ChangeLog,v 1.495 2008/01/11 20:32:37 tgurr Exp $
30 +
31 +*kdelibs-3.5.8-r3 (11 Jan 2008)
32 +
33 + 11 Jan 2008; Timo Gurr <tgurr@g.o> +kdelibs-3.5.8-r3.ebuild:
34 + Add kdelibs-3.5.8-r3.ebuild, fixes regression caused by the flash
35 + compatibility patch, see bug #205070. Thanks Markos Chandras for reporting.
36
37 *kdelibs-3.5.8-r2 (29 Dec 2007)
38
39
40
41
42 1.1 kde-base/kdelibs/kdelibs-3.5.8-r3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.8-r3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.8-r3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: kdelibs-3.5.8-r3.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-3.5.8-r3.ebuild,v 1.1 2008/01/11 20:32:37 tgurr Exp $
52
53 inherit kde flag-o-matic eutils multilib
54 set-kdedir 3.5
55
56 DESCRIPTION="KDE libraries needed by all KDE programs."
57 HOMEPAGE="http://www.kde.org/"
58 SRC_URI="mirror://kde/stable/${PV}/src/${P}.tar.bz2
59 mirror://gentoo/kdelibs-3.5-patchset-14.tar.bz2
60 mirror://gentoo/${P}-seli-xinerama.patch.bz2"
61
62 LICENSE="GPL-2 LGPL-2"
63 SLOT="3.5"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="acl alsa arts bindist branding cups doc jpeg2k kerberos legacyssl utempter openexr spell tiff
66 avahi kernel_linux fam lua kdehiddenvisibility"
67
68 # Added aspell-en as dependency to work around bug 131512.
69 # Made openssl and zeroconf mandatory dependencies, see bug #172972 and #175984
70 RDEPEND="$(qt_min_version 3.3.3)
71 arts? ( >=kde-base/arts-3.5.5 )
72 app-arch/bzip2
73 >=media-libs/freetype-2
74 media-libs/fontconfig
75 >=dev-libs/libxslt-1.1.16
76 >=dev-libs/libxml2-2.6.6
77 >=dev-libs/libpcre-6.6
78 media-libs/libart_lgpl
79 net-dns/libidn
80 >=dev-libs/openssl-0.9.7d
81 acl? ( kernel_linux? ( sys-apps/acl ) )
82 alsa? ( media-libs/alsa-lib )
83 cups? ( >=net-print/cups-1.1.19 )
84 tiff? ( media-libs/tiff )
85 kerberos? ( virtual/krb5 )
86 jpeg2k? ( media-libs/jasper )
87 openexr? ( >=media-libs/openexr-1.2.2-r2 )
88 !avahi? ( !bindist? ( net-misc/mDNSResponder !kde-misc/kdnssd-avahi ) )
89 fam? ( virtual/fam )
90 virtual/ghostscript
91 utempter? ( sys-libs/libutempter )
92 !kde-base/kde-env
93 lua? ( dev-lang/lua )
94 spell? ( >=app-text/aspell-0.60.5 >=app-dicts/aspell-en-6.0.0 )
95 >=sys-apps/portage-2.1.2.11
96 !kde-base/ksync"
97
98 DEPEND="${RDEPEND}
99 doc? ( app-doc/doxygen )
100 sys-devel/gettext"
101
102 RDEPEND="${RDEPEND}
103 x11-apps/rgb
104 x11-apps/iceauth"
105
106 PDEPEND="avahi? ( kde-misc/kdnssd-avahi )
107 bindist? ( kde-misc/kdnssd-avahi )"
108
109 # Testing code is rather broken and merely for developer purposes, so disable it.
110 RESTRICT="test"
111
112 pkg_setup() {
113 if use legacyssl ; then
114 echo ""
115 elog "You have the legacyssl use flag enabled, which fixes issues with some broken"
116 elog "sites, but breaks others instead. It is strongly discouraged to use it."
117 elog "For more information, see bug #128922."
118 echo ""
119 fi
120
121 if ! use utempter ; then
122 echo ""
123 elog "On some setups, which rely on the correct update of utmp records, not using"
124 elog "utempter might not update them correctly. If you experience unexpected"
125 elog "behaviour, try to rebuild kde-base/kdelibs with utempter use-flag enabled."
126 echo ""
127 fi
128
129 if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
130 eerror "The alsa USE flag in this package enables ALSA support"
131 eerror "for libkmid, KDE midi library."
132 eerror "For this reason, you have to merge media-libs/alsa-lib"
133 eerror "with the midi USE flag enabled, or disable alsa USE flag"
134 eerror "for this package."
135 die "Missing midi USE flag on media-libs/alsa-lib"
136 fi
137 }
138
139 src_unpack() {
140 kde_src_unpack
141
142 if use legacyssl ; then
143 # This patch won't be included upstream, see bug #128922.
144 epatch "${WORKDIR}/patches/kdelibs_3.5.4-kssl-3des.patch"
145 fi
146
147 if use utempter ; then
148 # Bug #135818 is the eternal reference.
149 epatch "${WORKDIR}/patches/kdelibs-3.5_libutempter.patch"
150 fi
151
152 if use branding ; then
153 # Add "(Gentoo)" to khtml user agent.
154 epatch "${WORKDIR}/patches/kdelibs_3.5-cattlebrand.diff"
155 fi
156
157 # Xinerama patch from Lubos Lunak.
158 # http://ktown.kde.org/~seli/xinerama/
159 epatch "${WORKDIR}/${P}-seli-xinerama.patch"
160 }
161
162 src_compile() {
163 rm -f "${S}/configure"
164
165 myconf="--with-distribution=Gentoo --disable-fast-malloc
166 --with-libart --with-libidn --with-ssl
167 --without-hspell
168 $(use_enable fam libfam) $(use_enable kernel_linux dnotify)
169 $(use_with acl) $(use_with alsa)
170 $(use_with arts) $(use_enable cups)
171 $(use_with kerberos gssapi) $(use_with tiff)
172 $(use_with jpeg2k jasper) $(use_with openexr)
173 $(use_with utempter) $(use_with lua)
174 $(use_enable kernel_linux sendfile) --enable-mitshm
175 $(use_with spell aspell)"
176
177 if use avahi || use bindist ; then
178 myconf="${myconf} --disable-dnssd"
179 else
180 myconf="${myconf} --enable-dnssd"
181 fi
182
183 if has_version x11-apps/rgb; then
184 myconf="${myconf} --with-rgbfile=/usr/share/X11/rgb.txt"
185 fi
186
187 # fix bug 58179, bug 85593
188 # kdelibs-3.4.0 needed -fno-gcse; 3.4.1 needs -mminimal-toc; this needs a
189 # closer look... - corsair
190 use ppc64 && append-flags "-mminimal-toc"
191
192 # work around bug #120858, gcc 3.4.x -Os miscompilation
193 use x86 && replace-flags "-Os" "-O2" # see bug #120858
194
195 replace-flags "-O3" "-O2" # see bug #148180
196
197 export BINDNOW_FLAGS="$(bindnow-flags)"
198
199 kde_src_compile
200
201 if use doc; then
202 make apidox || die
203 fi
204 }
205
206 src_install() {
207 kde_src_install
208
209 if use doc; then
210 make DESTDIR="${D}" install-apidox || die
211 fi
212
213 # Needed to create lib -> lib64 symlink for amd64 2005.0 profile
214 if [ "${SYMLINK_LIB}" = "yes" ]; then
215 dosym $(get_abi_LIBDIR ${DEFAULT_ABI}) ${KDEDIR}/lib
216 fi
217
218 # Get rid of the disabled version of the kdnsd libraries
219 if use avahi || use bindist ; then
220 rm -rf "${D}/${PREFIX}"/$(get_libdir)/libkdnssd.*
221 fi
222
223 dodir /etc/env.d
224
225 # List all the multilib libdirs
226 local libdirs
227 for libdir in $(get_all_libdirs); do
228 libdirs="${libdirs}:${PREFIX}/${libdir}"
229 done
230
231 # Please note that the KDE install path has to be the last value in KDEDIRS.
232 cat <<EOF > "${D}"/etc/env.d/45kdepaths-${SLOT} # number goes down with version upgrade
233 PATH=${PREFIX}/bin
234 ROOTPATH=${PREFIX}/sbin:${PREFIX}/bin
235 LDPATH=${libdirs:1}
236 MANPATH=${PREFIX}/share/man
237 CONFIG_PROTECT="${PREFIX}/share/config ${PREFIX}/env ${PREFIX}/shutdown /usr/share/config"
238 KDEDIRS="/usr:/usr/local:${PREFIX}"
239 #KDE_IS_PRELINKED=1
240 XDG_DATA_DIRS="/usr/share:${PREFIX}/share:/usr/local/share"
241 COLON_SEPARATED="XDG_DATA_DIRS"
242 EOF
243
244 # Make sure the target for the revdep-rebuild stuff exists. Fixes bug 184441.
245 dodir /etc/revdep-rebuild
246
247 cat <<EOF > "${D}"/etc/revdep-rebuild/50-kde3
248 SEARCH_DIRS="${PREFIX}/bin ${PREFIX}/lib*"
249 EOF
250 }
251
252
253
254 --
255 gentoo-commits@l.g.o mailing list