Gentoo Archives: gentoo-commits

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