From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 31C65138AF3 for ; Tue, 19 Feb 2013 00:12:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B4CB7E002D; Tue, 19 Feb 2013 00:12:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3720AE002D for ; Tue, 19 Feb 2013 00:12:04 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EA4B833D3D9 for ; Tue, 19 Feb 2013 00:12:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 09534E4073 for ; Tue, 19 Feb 2013 00:12:00 +0000 (UTC) From: "Alexandre Rostovtsev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexandre Rostovtsev" Message-ID: <1361232695.8f4d58290d434d6ea4fbd3790c63b7b3a8b39743.tetromino@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: dev-libs/glib/ X-VCS-Repository: proj/gnome X-VCS-Files: dev-libs/glib/glib-9999.ebuild dev-libs/glib/metadata.xml X-VCS-Directories: dev-libs/glib/ X-VCS-Committer: tetromino X-VCS-Committer-Name: Alexandre Rostovtsev X-VCS-Revision: 8f4d58290d434d6ea4fbd3790c63b7b3a8b39743 X-VCS-Branch: master Date: Tue, 19 Feb 2013 00:12:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7c6c3039-f948-47a7-a74a-baa30d9ba734 X-Archives-Hash: f9554a3d641e0de8e7c5a124ffacb4db commit: 8f4d58290d434d6ea4fbd3790c63b7b3a8b39743 Author: Alexandre Rostovtsev gentoo org> AuthorDate: Tue Feb 19 00:11:35 2013 +0000 Commit: Alexandre Rostovtsev gentoo org> CommitDate: Tue Feb 19 00:11:35 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=8f4d5829 dev-libs/glib: sync with gx86, add metadata.xml --- dev-libs/glib/glib-9999.ebuild | 13 +++++++++---- dev-libs/glib/metadata.xml | 11 +++++++++++ 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/dev-libs/glib/glib-9999.ebuild b/dev-libs/glib/glib-9999.ebuild index 4ad1bf9..f55ba9c 100644 --- a/dev-libs/glib/glib-9999.ebuild +++ b/dev-libs/glib/glib-9999.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="4" +EAPI="5" PYTHON_DEPEND="utils? 2" # Avoid runtime dependency on python when USE=test @@ -122,6 +122,8 @@ src_prepare() { # bashcomp goes in /usr/share/bash-completion epatch "${FILESDIR}/${PN}-2.32.4-bashcomp.patch" + epatch_user + # disable pyc compiling use test && python_clean_py-compile_files @@ -179,7 +181,8 @@ src_configure() { $(use_enable systemtap systemtap) \ --enable-man \ --with-pcre=internal \ - --with-threads=posix + --with-threads=posix \ + --with-xml-catalog="${EPREFIX}/etc/xml/catalog" } src_install() { @@ -204,7 +207,7 @@ src_install() { # Completely useless with or without USE static-libs, people need to use # pkg-config - find "${D}" -name '*.la' -exec rm -f {} + + prune_libtool_files --modules } src_test() { @@ -236,6 +239,7 @@ pkg_preinst() { # * The user has gobject-introspection # * Has glib already installed # * Previous version was different from new version + # TODO: add a subslotted virtual to trigger this automatically if has_version "dev-libs/gobject-introspection" && ! has_version "=${CATEGORY}/${PF}"; then ewarn "You must rebuild gobject-introspection so that the installed" ewarn "typelibs and girs are regenerated for the new APIs in glib" @@ -244,6 +248,7 @@ pkg_preinst() { pkg_postinst() { # Inform users about possible breakage when updating glib and not dbus-glib, bug #297483 + # TODO: add a subslotted virtual to trigger this automatically if has_version dev-libs/dbus-glib; then ewarn "If you experience a breakage after updating dev-libs/glib try" ewarn "rebuilding dev-libs/dbus-glib" diff --git a/dev-libs/glib/metadata.xml b/dev-libs/glib/metadata.xml new file mode 100644 index 0000000..7224311 --- /dev/null +++ b/dev-libs/glib/metadata.xml @@ -0,0 +1,11 @@ + + + + gnome + + Build support for profiling and tracing using + dev-util/systemtap + Install gtester-report utility to generate test + report files for your software. + +