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.18.2.ebuild
Date: Sun, 19 Oct 2008 02:16:41
Message-Id: E1KrNqP-00072s-UH@stork.gentoo.org
1 leio 08/10/19 02:16:37
2
3 Modified: ChangeLog
4 Added: glib-2.18.2.ebuild
5 Log:
6 New bug fix release, fixing wrong fallback order of mimetype icons and more
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
8
9 Revision Changes Path
10 1.337 dev-libs/glib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.337&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?rev=1.337&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/ChangeLog?r1=1.336&r2=1.337
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v
19 retrieving revision 1.336
20 retrieving revision 1.337
21 diff -u -r1.336 -r1.337
22 --- ChangeLog 18 Oct 2008 22:40:12 -0000 1.336
23 +++ ChangeLog 19 Oct 2008 02:16:37 -0000 1.337
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/glib
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.336 2008/10/18 22:40:12 ranger Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.337 2008/10/19 02:16:37 leio Exp $
29 +
30 +*glib-2.18.2 (19 Oct 2008)
31 +
32 + 19 Oct 2008; Mart Raudsepp <leio@g.o> +glib-2.18.2.ebuild:
33 + New bug fix release, fixing wrong fallback order of mimetype icons and
34 + more
35
36 18 Oct 2008; Brent Baude <ranger@g.o> glib-2.16.5.ebuild:
37 Marking glib-2.16.5 ppc stable for bug 236971
38
39
40
41 1.1 dev-libs/glib/glib-2.18.2.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/glib-2.18.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/glib/glib-2.18.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: glib-2.18.2.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.18.2.ebuild,v 1.1 2008/10/19 02:16:37 leio Exp $
51
52 inherit gnome.org libtool eutils flag-o-matic
53
54 DESCRIPTION="The GLib library of C routines"
55 HOMEPAGE="http://www.gtk.org/"
56
57 LICENSE="LGPL-2"
58 SLOT="2"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
60 IUSE="debug doc fam hardened selinux xattr"
61
62 RDEPEND="virtual/libc
63 virtual/libiconv
64 xattr? ( sys-apps/attr )
65 fam? ( virtual/fam )"
66 DEPEND="${RDEPEND}
67 >=dev-util/pkgconfig-0.16
68 >=sys-devel/gettext-0.11
69 doc? (
70 >=dev-libs/libxslt-1.0
71 >=dev-util/gtk-doc-1.8
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 # Don't fail gio tests when ran without userpriv, upstream bug 552912
94 # This is only a temporary workaround, remove as soon as possible
95 epatch "${FILESDIR}/${PN}-2.18.1-workaround-gio-test-failure-without-userpriv.patch"
96
97 # Fix gmodule issues on fbsd; bug #184301
98 epatch "${FILESDIR}"/${PN}-2.12.12-fbsd.patch
99
100 [[ ${CHOST} == *-freebsd* ]] && elibtoolize
101 }
102
103 src_compile() {
104 local myconf
105
106 epunt_cxx
107
108 # Building with --disable-debug highly unrecommended. It will build glib in
109 # an unusable form as it disables some commonly used API. Please do not
110 # convert this to the use_enable form, as it results in a broken build.
111 # -- compnerd (3/27/06)
112 use debug && myconf="--enable-debug"
113
114 # always build static libs, see #153807
115 econf ${myconf} \
116 $(use_enable xattr) \
117 $(use_enable doc man) \
118 $(use_enable doc gtk-doc) \
119 $(use_enable fam) \
120 $(use_enable selinux) \
121 --enable-static \
122 --with-threads=posix || die "configure failed"
123
124 emake || die "make failed"
125 }
126
127 src_install() {
128 emake DESTDIR="${D}" install || die "Installation failed"
129
130 # Do not install charset.alias even if generated, leave it to libiconv
131 rm -f "${D}/usr/lib/charset.alias"
132
133 dodoc AUTHORS ChangeLog* NEWS* README
134 }