From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B9C7B13835A for ; Fri, 18 Dec 2020 22:05:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1D6FE07DB; Fri, 18 Dec 2020 22:05:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 42E03E07C5 for ; Fri, 18 Dec 2020 22:05:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5EA60341156 for ; Fri, 18 Dec 2020 22:05:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C8A1CB for ; Fri, 18 Dec 2020 22:05:32 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1608328805.b973a74b41a709e48d7d3c707bfb7c0b104321df.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/glib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/glib/glib-2.62.6.ebuild dev-libs/glib/glib-2.64.5.ebuild dev-libs/glib/glib-2.66.2.ebuild dev-libs/glib/glib-2.66.3.ebuild X-VCS-Directories: dev-libs/glib/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: b973a74b41a709e48d7d3c707bfb7c0b104321df X-VCS-Branch: master Date: Fri, 18 Dec 2020 22:05:32 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b14a5f1b-4e19-4de3-a4c0-7f09a3727b27 X-Archives-Hash: d9532d7e89de010b486632c2968feb02 commit: b973a74b41a709e48d7d3c707bfb7c0b104321df Author: David Michael gmail com> AuthorDate: Tue Dec 8 23:00:10 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri Dec 18 22:00:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b973a74b dev-libs/glib: drop redundant cross-compiled cache check This test was moved to gnome2-utils.eclass so other packages can have the same behavior when cross-compiling. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: David Michael gmail.com> Signed-off-by: Matt Turner gentoo.org> dev-libs/glib/glib-2.62.6.ebuild | 9 +-------- dev-libs/glib/glib-2.64.5.ebuild | 9 +-------- dev-libs/glib/glib-2.66.2.ebuild | 9 +-------- dev-libs/glib/glib-2.66.3.ebuild | 9 +-------- 4 files changed, 4 insertions(+), 32 deletions(-) diff --git a/dev-libs/glib/glib-2.62.6.ebuild b/dev-libs/glib/glib-2.62.6.ebuild index 57adaa59054..654ff3b9d44 100644 --- a/dev-libs/glib/glib-2.62.6.ebuild +++ b/dev-libs/glib/glib-2.62.6.ebuild @@ -250,14 +250,7 @@ pkg_postinst() { gnome2_giomodule_cache_update \ || die "Update GIO modules cache failed (for ${ABI})" } - if ! tc-is-cross-compiler ; then - multilib_foreach_abi multilib_pkg_postinst - else - ewarn "Updating of GIO modules cache skipped due to cross-compilation." - ewarn "You might want to run gio-querymodules manually on the target for" - ewarn "your final image for performance reasons and re-run it when packages" - ewarn "installing GIO modules get upgraded or added to the image." - fi + multilib_foreach_abi multilib_pkg_postinst } pkg_postrm() { diff --git a/dev-libs/glib/glib-2.64.5.ebuild b/dev-libs/glib/glib-2.64.5.ebuild index 0f1b0aee616..6e3a6137257 100644 --- a/dev-libs/glib/glib-2.64.5.ebuild +++ b/dev-libs/glib/glib-2.64.5.ebuild @@ -257,14 +257,7 @@ pkg_postinst() { gnome2_giomodule_cache_update \ || die "Update GIO modules cache failed (for ${ABI})" } - if ! tc-is-cross-compiler ; then - multilib_foreach_abi multilib_pkg_postinst - else - ewarn "Updating of GIO modules cache skipped due to cross-compilation." - ewarn "You might want to run gio-querymodules manually on the target for" - ewarn "your final image for performance reasons and re-run it when packages" - ewarn "installing GIO modules get upgraded or added to the image." - fi + multilib_foreach_abi multilib_pkg_postinst for v in ${REPLACING_VERSIONS}; do if ver_test "$v" "-lt" "2.63.6"; then diff --git a/dev-libs/glib/glib-2.66.2.ebuild b/dev-libs/glib/glib-2.66.2.ebuild index c7debe737f8..af3ca09f98b 100644 --- a/dev-libs/glib/glib-2.66.2.ebuild +++ b/dev-libs/glib/glib-2.66.2.ebuild @@ -259,14 +259,7 @@ pkg_postinst() { gnome2_giomodule_cache_update \ || die "Update GIO modules cache failed (for ${ABI})" } - if ! tc-is-cross-compiler ; then - multilib_foreach_abi multilib_pkg_postinst - else - ewarn "Updating of GIO modules cache skipped due to cross-compilation." - ewarn "You might want to run gio-querymodules manually on the target for" - ewarn "your final image for performance reasons and re-run it when packages" - ewarn "installing GIO modules get upgraded or added to the image." - fi + multilib_foreach_abi multilib_pkg_postinst for v in ${REPLACING_VERSIONS}; do if ver_test "$v" "-lt" "2.63.6"; then diff --git a/dev-libs/glib/glib-2.66.3.ebuild b/dev-libs/glib/glib-2.66.3.ebuild index 10400fd0dd1..6d419aa86b6 100644 --- a/dev-libs/glib/glib-2.66.3.ebuild +++ b/dev-libs/glib/glib-2.66.3.ebuild @@ -259,14 +259,7 @@ pkg_postinst() { gnome2_giomodule_cache_update \ || die "Update GIO modules cache failed (for ${ABI})" } - if ! tc-is-cross-compiler ; then - multilib_foreach_abi multilib_pkg_postinst - else - ewarn "Updating of GIO modules cache skipped due to cross-compilation." - ewarn "You might want to run gio-querymodules manually on the target for" - ewarn "your final image for performance reasons and re-run it when packages" - ewarn "installing GIO modules get upgraded or added to the image." - fi + multilib_foreach_abi multilib_pkg_postinst for v in ${REPLACING_VERSIONS}; do if ver_test "$v" "-lt" "2.63.6"; then