Gentoo Archives: gentoo-commits

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