1 |
On 07/26/2010 09:57 PM, Samuli Suominen (ssuominen) wrote: |
2 |
|
3 |
Small change to xfconf.eclass, let me know if you see something wrong |
4 |
with it. |
5 |
|
6 |
- None of xfconf.eclass consumers install static archives (.a) because |
7 |
xfce libs are simply not useful static. |
8 |
- We don't have any plugins/libraries using libltdl. |
9 |
|
10 |
Therefore .la files have been annoying side product. |
11 |
So at the risk of breaking one or two users due to disappearing |
12 |
'libxfce4util.la', this seems to be the cleanest way to be done with it. |
13 |
The fix is obvious to most: lafilefixer |
14 |
|
15 |
> --- xfconf.eclass 13 Jun 2010 16:10:21 -0000 1.16 |
16 |
> +++ xfconf.eclass 26 Jul 2010 18:57:14 -0000 1.17 |
17 |
> @@ -1,6 +1,6 @@ |
18 |
> # Copyright 1999-2009 Gentoo Foundation |
19 |
> # Distributed under the terms of the GNU General Public License v2 |
20 |
> -# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.16 2010/06/13 16:10:21 ssuominen Exp $ |
21 |
> +# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.17 2010/07/26 18:57:14 ssuominen Exp $ |
22 |
> |
23 |
> # @ECLASS: xfconf.eclass |
24 |
> # @MAINTAINER: |
25 |
> @@ -138,6 +138,9 @@ |
26 |
> if [[ -n ${DOCS} ]]; then |
27 |
> dodoc ${DOCS} || die "dodoc failed" |
28 |
> fi |
29 |
> + |
30 |
> + has "${EAPI:-0}" 0 1 2 && ! use prefix && ED="${D}" |
31 |
> + find "${ED}" -name '*.la' -exec rm -f {} + |
32 |
> } |
33 |
> |
34 |
> # @FUNCTION: xfconf_pkg_preinst |
35 |
> |
36 |
> |
37 |
> |
38 |
> |