Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in eclass: xfconf.eclass
Date: Mon, 26 Jul 2010 19:02:00
Message-Id: 4C4DDBEE.6060700@gentoo.org
On 07/26/2010 09:57 PM, Samuli Suominen (ssuominen) wrote:

Small change to xfconf.eclass, let me know if you see something wrong
with it.

- None of xfconf.eclass consumers install static archives (.a) because
xfce libs are simply not useful static.
- We don't have any plugins/libraries using libltdl.

Therefore .la files have been annoying side product.
So at the risk of breaking one or two users due to disappearing
'libxfce4util.la', this seems to be the cleanest way to be done with it.
The fix is obvious to most: lafilefixer

> --- xfconf.eclass 13 Jun 2010 16:10:21 -0000 1.16 > +++ xfconf.eclass 26 Jul 2010 18:57:14 -0000 1.17 > @@ -1,6 +1,6 @@ > # Copyright 1999-2009 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > -# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.16 2010/06/13 16:10:21 ssuominen Exp $ > +# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.17 2010/07/26 18:57:14 ssuominen Exp $ > > # @ECLASS: xfconf.eclass > # @MAINTAINER: > @@ -138,6 +138,9 @@ > if [[ -n ${DOCS} ]]; then > dodoc ${DOCS} || die "dodoc failed" > fi > + > + has "${EAPI:-0}" 0 1 2 && ! use prefix && ED="${D}" > + find "${ED}" -name '*.la' -exec rm -f {} + > } > > # @FUNCTION: xfconf_pkg_preinst > > > >

Replies