Gentoo Archives: gentoo-commits

From: "Remi Cardona (remi)" <remi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/glib: ChangeLog glib-2.14.1.ebuild
Date: Fri, 21 Sep 2007 17:13:05
Message-Id: E1IYlw5-0007LN-Nu@stork.gentoo.org
1 remi 07/09/21 17:05:01
2
3 Modified: ChangeLog
4 Added: glib-2.14.1.ebuild
5 Log:
6 add glib-2.14.1 from the gnome-experimental overlay
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.284 dev-libs/glib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.284&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.284&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?r1=1.283&r2=1.284
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v
19 retrieving revision 1.283
20 retrieving revision 1.284
21 diff -u -r1.283 -r1.284
22 --- ChangeLog 21 Sep 2007 01:40:20 -0000 1.283
23 +++ ChangeLog 21 Sep 2007 17:05:01 -0000 1.284
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/glib
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.283 2007/09/21 01:40:20 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.284 2007/09/21 17:05:01 remi Exp $
29 +
30 +*glib-2.14.1 (21 Sep 2007)
31 +
32 + 21 Sep 2007; RĂ©mi Cardona <remi@g.o> +glib-2.14.1.ebuild:
33 + add glib-2.14.1 from the gnome-experimental overlay
34
35 21 Sep 2007; Brent Baude <ranger@g.o> glib-2.12.13.ebuild:
36 Marking glib-2.12.13 ppc64 for bug#190019
37
38
39
40 1.1 dev-libs/glib/glib-2.14.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/glib-2.14.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/glib-2.14.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: glib-2.14.1.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.14.1.ebuild,v 1.1 2007/09/21 17:05:01 remi Exp $
50
51 inherit gnome.org libtool eutils flag-o-matic
52
53 DESCRIPTION="The GLib library of C routines"
54 HOMEPAGE="http://www.gtk.org/"
55
56 LICENSE="LGPL-2"
57 SLOT="2"
58 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
59 IUSE="debug doc hardened"
60
61 RDEPEND="virtual/libc
62 virtual/libiconv"
63 DEPEND="${RDEPEND}
64 >=dev-util/pkgconfig-0.14
65 >=sys-devel/gettext-0.11
66 doc? (
67 >=dev-util/gtk-doc-1.4
68 ~app-text/docbook-xml-dtd-4.1.2
69 )"
70
71 src_unpack() {
72 unpack ${A}
73 cd ${S}
74
75 if use ppc64 && use hardened ; then
76 replace-flags -O[2-3] -O1
77 epatch "${FILESDIR}/glib-2.6.3-testglib-ssp.patch"
78 fi
79
80 if use ia64 ; then
81 # Only apply for < 4.1
82 local major=$(gcc-major-version)
83 local minor=$(gcc-minor-version)
84 if (( major < 4 || ( major == 4 && minor == 0 ) )); then
85 epatch "${FILESDIR}/glib-2.10.3-ia64-atomic-ops.patch"
86 fi
87 fi
88 }
89
90 src_compile() {
91 epunt_cxx
92
93 local myconf
94
95 # Building with --disable-debug highly unrecommended. It will build glib in
96 # an unusable form as it disables some commonly used API. Please do not
97 # convert this to the use_enable form, as it results in a broken build.
98 # -- compnerd (3/27/06)
99 use debug && myconf="--enable-debug"
100
101 # always build static libs, see #153807
102 econf \
103 $(use_enable doc gtk-doc) \
104 ${myconf} \
105 --with-threads=posix \
106 --enable-static || die "configure failed"
107
108 emake || die "make failed"
109 }
110
111 src_install() {
112 make DESTDIR="${D}" install || die "Installation failed"
113
114 # Do not install charset.alias even if generated, leave it tol libiconv
115 rm -f ${D}/usr/lib/charset.alias
116
117 dodoc AUTHORS ChangeLog* NEWS* README
118 }
119
120
121
122 --
123 gentoo-commits@g.o mailing list