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.4.ebuild
Date: Sun, 25 Nov 2007 15:03:06
Message-Id: E1IwJ0g-0007sT-5T@stork.gentoo.org
1 leio 07/11/25 15:03:02
2
3 Modified: ChangeLog
4 Added: glib-2.14.4.ebuild
5 Log:
6 Version bump for various non-critical bug fixes
7 (Portage version: 2.1.4_rc3)
8
9 Revision Changes Path
10 1.297 dev-libs/glib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.297&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.297&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?r1=1.296&r2=1.297
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v
19 retrieving revision 1.296
20 retrieving revision 1.297
21 diff -u -r1.296 -r1.297
22 --- ChangeLog 23 Nov 2007 17:48:30 -0000 1.296
23 +++ ChangeLog 25 Nov 2007 15:03:01 -0000 1.297
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.296 2007/11/23 17:48:30 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.297 2007/11/25 15:03:01 leio Exp $
29 +
30 +*glib-2.14.4 (25 Nov 2007)
31 +
32 + 25 Nov 2007; Mart Raudsepp <leio@g.o> +glib-2.14.4.ebuild:
33 + Version bump for various non-critical bug fixes
34
35 23 Nov 2007; Jeroen Roovers <jer@g.o> glib-2.14.3.ebuild:
36 Stable for HPPA (bug #198845).
37
38
39
40 1.1 dev-libs/glib/glib-2.14.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/glib-2.14.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/glib-2.14.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: glib-2.14.4.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.4.ebuild,v 1.1 2007/11/25 15:03:01 leio 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.16
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 sed -e "s/MATCH_LIMIT_RECURSION=10000000/MATCH_LIMIT_RECURSION=8192/g" \
90 -i "${S}/glib/pcre/Makefile.in" "${S}/glib/pcre/Makefile.am"
91
92 # Fix gmodule issues on fbsd; bug #184301
93 epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
94
95 [[ ${CHOST} == *-freebsd* ]] && elibtoolize
96 }
97
98 src_compile() {
99 epunt_cxx
100
101 local myconf
102
103 # Building with --disable-debug highly unrecommended. It will build glib in
104 # an unusable form as it disables some commonly used API. Please do not
105 # convert this to the use_enable form, as it results in a broken build.
106 # -- compnerd (3/27/06)
107 use debug && myconf="--enable-debug"
108
109 # always build static libs, see #153807
110 econf \
111 $(use_enable doc gtk-doc) \
112 ${myconf} \
113 --with-threads=posix \
114 --enable-static || die "configure failed"
115
116 emake || die "make failed"
117 }
118
119 src_install() {
120 make DESTDIR="${D}" install || die "Installation failed"
121
122 # Do not install charset.alias even if generated, leave it to libiconv
123 rm -f "${D}/usr/lib/charset.alias"
124
125 dodoc AUTHORS ChangeLog* NEWS* README
126 }
127
128
129
130 --
131 gentoo-commits@g.o mailing list