Gentoo Archives: gentoo-commits

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