summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-07-24 21:10:00 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-07-24 21:10:00 +0000
commit50c9feb07d60a4ed033bb38fdf07f7284062f39c (patch)
tree1d9c4a8231d79e8e090db0b8be22717b2f9aeb41 /dev-libs/glib
parentRemove doc USE flag, kernel docs and manpages are now provided by sys-kernel/... (diff)
downloadgentoo-2-50c9feb07d60a4ed033bb38fdf07f7284062f39c.tar.gz
gentoo-2-50c9feb07d60a4ed033bb38fdf07f7284062f39c.tar.bz2
gentoo-2-50c9feb07d60a4ed033bb38fdf07f7284062f39c.zip
version bump
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'dev-libs/glib')
-rw-r--r--dev-libs/glib/ChangeLog7
-rw-r--r--dev-libs/glib/files/digest-glib-2.12.13
-rw-r--r--dev-libs/glib/glib-2.12.1.ebuild78
3 files changed, 87 insertions, 1 deletions
diff --git a/dev-libs/glib/ChangeLog b/dev-libs/glib/ChangeLog
index 8e62e913a940..91d9cbb9db88 100644
--- a/dev-libs/glib/ChangeLog
+++ b/dev-libs/glib/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/glib
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.208 2006/07/17 16:25:35 dang Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.209 2006/07/24 21:09:59 genstef Exp $
+
+*glib-2.12.1 (24 Jul 2006)
+
+ 24 Jul 2006; Stefan Schweizer <genstef@gentoo.org> +glib-2.12.1.ebuild:
+ version bump
17 Jul 2006; Daniel Gryniewicz <dang@gentoo.org> glib-2.10.3.ebuild:
Marked stable on amd64 for bug #139612
diff --git a/dev-libs/glib/files/digest-glib-2.12.1 b/dev-libs/glib/files/digest-glib-2.12.1
new file mode 100644
index 000000000000..747b8e4ebc5a
--- /dev/null
+++ b/dev-libs/glib/files/digest-glib-2.12.1
@@ -0,0 +1,3 @@
+MD5 97786d2a03f0f190bd782749139dc10c glib-2.12.1.tar.bz2 2870280
+RMD160 d4e9fe18b02bd5836c3c3c0ff23448ba2234b84a glib-2.12.1.tar.bz2 2870280
+SHA256 ac3aa4d0b1159f0b13e74e4807149be50ed8a6787e34ec72828b01761e2739ee glib-2.12.1.tar.bz2 2870280
diff --git a/dev-libs/glib/glib-2.12.1.ebuild b/dev-libs/glib/glib-2.12.1.ebuild
new file mode 100644
index 000000000000..92449c93905f
--- /dev/null
+++ b/dev-libs/glib/glib-2.12.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/glib-2.12.1.ebuild,v 1.1 2006/07/24 21:10:00 genstef Exp $
+
+inherit gnome.org libtool eutils flag-o-matic debug
+
+DESCRIPTION="The GLib library of C routines"
+HOMEPAGE="http://www.gtk.org/"
+
+LICENSE="LGPL-2"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="debug doc hardened"
+
+RDEPEND="virtual/libc
+ virtual/libiconv"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.14
+ >=sys-devel/gettext-0.11
+ doc? (
+ >=dev-util/gtk-doc-1.4
+ ~app-text/docbook-xml-dtd-4.1.2
+ )"
+
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+
+ if use ppc64 && use hardened; then
+ replace-flags -O[2-3] -O1
+ epatch "${FILESDIR}"/glib-2.6.3-testglib-ssp.patch
+ fi
+
+ epatch ${FILESDIR}/${PN}-2.8.3-macos.patch
+
+}
+
+src_compile() {
+
+ epunt_cxx
+ elibtoolize
+
+ local myconf
+
+ # Building with --disable-debug highly unrecommended. It will build glib in
+ # an unusable form as it disables some commonly used API. Please do not
+ # convert this to the use_enable form, as it results in a broken build.
+ # -- compnerd (3/27/06)
+ use debug && myconf="--enable-debug"
+
+ econf \
+ $(use_enable doc gtk-doc) \
+ ${myconf} \
+ --with-threads=posix || die "configure failed"
+
+ emake || die "make failed"
+
+}
+
+src_install() {
+
+ make DESTDIR="${D}" install || die "Installation failed"
+
+ # Do not install charset.alias even if generated, leave it tol libiconv
+ rm -f ${D}/usr/lib/charset.alias
+
+ # Consider invalid UTF-8 filenames as locale-specific.
+ # TODO :: Eventually get rid of G_BROKEN_FILENAMES
+ dodir /etc/env.d
+ echo "G_BROKEN_FILENAMES=1" > ${D}/etc/env.d/50glib2
+ echo "G_FILENAME_ENCODING=UTF-8" >> ${D}/etc/env.d/50glib2
+
+ dodoc AUTHORS ChangeLog* NEWS* README
+
+}