summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2006-09-04 06:02:53 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2006-09-04 06:02:53 +0000
commitaa0ec3f635797c8721e5aa5e327ad4b7d0ea8929 (patch)
tree5653f1c4218d655a53b54208ed4863669abbf076 /dev-libs/glib
parentstable x86; having a cisco product even if it doesn't save its configuration ... (diff)
downloadgentoo-2-aa0ec3f635797c8721e5aa5e327ad4b7d0ea8929.tar.gz
gentoo-2-aa0ec3f635797c8721e5aa5e327ad4b7d0ea8929.tar.bz2
gentoo-2-aa0ec3f635797c8721e5aa5e327ad4b7d0ea8929.zip
version bump from upstream
(Portage version: 2.1.1_rc1-r2)
Diffstat (limited to 'dev-libs/glib')
-rw-r--r--dev-libs/glib/ChangeLog7
-rw-r--r--dev-libs/glib/files/digest-glib-2.12.33
-rw-r--r--dev-libs/glib/glib-2.12.3.ebuild72
3 files changed, 81 insertions, 1 deletions
diff --git a/dev-libs/glib/ChangeLog b/dev-libs/glib/ChangeLog
index 00f4e184d08f..262b7d02843f 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.212 2006/08/18 22:18:31 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/glib/ChangeLog,v 1.213 2006/09/04 06:02:53 compnerd Exp $
+
+*glib-2.12.3 (04 Sep 2006)
+
+ 04 Sep 2006; Saleem Abdulrasool <compnerd@gentoo.org> +glib-2.12.3.ebuild:
+ version bump from upstream (bug #146208)
18 Aug 2006; Tim Yamin <plasmaroo@gentoo.org> glib-2.10.3.ebuild,
+files/glib-2.10.3-ia64-atomic-ops.patch:
diff --git a/dev-libs/glib/files/digest-glib-2.12.3 b/dev-libs/glib/files/digest-glib-2.12.3
new file mode 100644
index 000000000000..50f654e01f96
--- /dev/null
+++ b/dev-libs/glib/files/digest-glib-2.12.3
@@ -0,0 +1,3 @@
+MD5 cbf663f8bc733e2f6c90599942f6616a glib-2.12.3.tar.bz2 2896345
+RMD160 65c6d717742add451af769299428f4597effb4a8 glib-2.12.3.tar.bz2 2896345
+SHA256 6839e2ad0b2ca10d4219918ed099ede460d1b5d84e8acacf01ccaca3cb33e3b9 glib-2.12.3.tar.bz2 2896345
diff --git a/dev-libs/glib/glib-2.12.3.ebuild b/dev-libs/glib/glib-2.12.3.ebuild
new file mode 100644
index 000000000000..7e78a267fded
--- /dev/null
+++ b/dev-libs/glib/glib-2.12.3.ebuild
@@ -0,0 +1,72 @@
+# 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.3.ebuild,v 1.1 2006/09/04 06:02:53 compnerd 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
+}