Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: gtk-sharp-module.eclass libtool.eclass poppler.eclass
Date: Sun, 03 May 2009 20:04:22
Message-Id: E1M0hu2-0006eP-BB@stork.gentoo.org
1 loki_val 09/05/03 20:03:10
2
3 Modified: gtk-sharp-module.eclass libtool.eclass
4 poppler.eclass
5 Log:
6 Import patch from Debian http://bugs.debian.org/347650 which hacks around libtool deplib re-ordering, which inhibits -Wl,--as-needed. You have to set -Wl,--as-needed seperately in LDFLAGS for this to do any good, -Wl,--as-needed,--something-else will not do, but you can set -Wl,--something-else afterwards. Also make sure eclasses I 'own' run elibtoolize so they can reap the benefit.
7
8 Revision Changes Path
9 1.24 eclass/gtk-sharp-module.eclass
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gtk-sharp-module.eclass?rev=1.24&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gtk-sharp-module.eclass?rev=1.24&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gtk-sharp-module.eclass?r1=1.23&r2=1.24
14
15 Index: gtk-sharp-module.eclass
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v
18 retrieving revision 1.23
19 retrieving revision 1.24
20 diff -u -r1.23 -r1.24
21 --- gtk-sharp-module.eclass 18 Mar 2009 11:14:09 -0000 1.23
22 +++ gtk-sharp-module.eclass 3 May 2009 20:03:10 -0000 1.24
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.23 2009/03/18 11:14:09 loki_val Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/eclass/gtk-sharp-module.eclass,v 1.24 2009/05/03 20:03:10 loki_val Exp $
28
29 # @ECLASS: gtk-sharp-module.eclass
30 # @MAINTAINER:
31 @@ -14,7 +14,7 @@
32 WANT_AUTOMAKE=none
33 WANT_AUTOCONF=none
34
35 -inherit eutils mono multilib autotools base versionator
36 +inherit eutils mono multilib libtool autotools base versionator
37
38 # @ECLASS-VARIABLE: GTK_SHARP_MODULE
39 # @DESCRIPTION:
40 @@ -456,6 +456,7 @@
41 # If set, EAUTORECONF will be run during src_prepare.
42 [[ ${EAUTORECONF} ]] && eautoreconf
43 phase_hook ${TARBALL}-tarball-post
44 + elibtoolize
45 }
46
47 # @FUNCTION: gtk-sharp-tarball_src_configure
48
49
50
51 1.83 eclass/libtool.eclass
52
53 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/libtool.eclass?rev=1.83&view=markup
54 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/libtool.eclass?rev=1.83&content-type=text/plain
55 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/libtool.eclass?r1=1.82&r2=1.83
56
57 Index: libtool.eclass
58 ===================================================================
59 RCS file: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v
60 retrieving revision 1.82
61 retrieving revision 1.83
62 diff -u -r1.82 -r1.83
63 --- libtool.eclass 14 Mar 2009 13:02:08 -0000 1.82
64 +++ libtool.eclass 3 May 2009 20:03:10 -0000 1.83
65 @@ -1,6 +1,6 @@
66 # Copyright 1999-2007 Gentoo Foundation
67 # Distributed under the terms of the GNU General Public License v2
68 -# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.82 2009/03/14 13:02:08 vapier Exp $
69 +# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.83 2009/05/03 20:03:10 loki_val Exp $
70 #
71 # Maintainer: base-system@g.o
72 #
73 @@ -124,7 +124,7 @@
74 local do_uclibc="yes"
75 local deptoremove=
76 local my_dirlist=
77 - local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross"
78 + local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed"
79 local start_dir=${PWD}
80
81 my_dirlist=$(ELT_find_ltmain_sh)
82 @@ -219,6 +219,10 @@
83 ret=$?
84 fi
85 ;;
86 + "as-needed")
87 + ELT_walk_patches "${x}/ltmain.sh" "${y}"
88 + ret=$?
89 + ;;
90 "uclibc-conf")
91 if [[ -e ${x}/configure && \
92 -n $(grep 'Transform linux' "${x}/configure") ]] ; then
93
94
95
96 1.4 eclass/poppler.eclass
97
98 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/poppler.eclass?rev=1.4&view=markup
99 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/poppler.eclass?rev=1.4&content-type=text/plain
100 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/poppler.eclass?r1=1.3&r2=1.4
101
102 Index: poppler.eclass
103 ===================================================================
104 RCS file: /var/cvsroot/gentoo-x86/eclass/poppler.eclass,v
105 retrieving revision 1.3
106 retrieving revision 1.4
107 diff -u -r1.3 -r1.4
108 --- poppler.eclass 10 Apr 2009 23:18:41 -0000 1.3
109 +++ poppler.eclass 3 May 2009 20:03:10 -0000 1.4
110 @@ -1,6 +1,6 @@
111 # Copyright 1999-2009 Gentoo Foundation
112 # Distributed under the terms of the GNU General Public License v2
113 -# $Header: /var/cvsroot/gentoo-x86/eclass/poppler.eclass,v 1.3 2009/04/10 23:18:41 loki_val Exp $
114 +# $Header: /var/cvsroot/gentoo-x86/eclass/poppler.eclass,v 1.4 2009/05/03 20:03:10 loki_val Exp $
115
116 # @ECLASS: poppler.eclass
117 # @MAINTAINER:
118 @@ -9,7 +9,7 @@
119 # @DESCRIPTION:
120 # Provides an easy template for making modularized poppler-based ebuilds.
121
122 -inherit base multilib
123 +inherit base multilib libtool
124
125 has 2 ${EAPI} || DEPEND="EAPI-TOO-OLD"
126
127 @@ -126,6 +126,7 @@
128 sed -i \
129 -e 's#$(top_builddir)/poppler/libpoppler.la#-lpoppler#' \
130 $(find . -type f -name 'Makefile.in') || die "Failed to sed proper lib into Makefile.am"
131 + elibtoolize
132 }
133
134 # @FUNCTION: poppler_src_configure