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 BE30213881D for ; Sat, 26 Sep 2015 18:15:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0D6021C050; Sat, 26 Sep 2015 18:15:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 148AD21C0C1 for ; Sat, 26 Sep 2015 18:15:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33A0B340C21 for ; Sat, 26 Sep 2015 18:15:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C0E0239 for ; Sat, 26 Sep 2015 18:15:15 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1443291306.21049b7dd9e07fc5320d8e28348d8e1b46dc5bc5.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/gdb/gdb-7.10-r1.ebuild sys-devel/gdb/gdb-7.10.ebuild sys-devel/gdb/gdb-9999.ebuild X-VCS-Directories: sys-devel/gdb/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 21049b7dd9e07fc5320d8e28348d8e1b46dc5bc5 X-VCS-Branch: master Date: Sat, 26 Sep 2015 18:15:15 +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: 14b5e9f1-10fd-4ddc-ba0f-a98ce9ff261a X-Archives-Hash: a83314f8efc2ec074d108795bfe2f880 commit: 21049b7dd9e07fc5320d8e28348d8e1b46dc5bc5 Author: Mike Frysinger gentoo org> AuthorDate: Sat Sep 26 17:38:21 2015 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Sat Sep 26 18:15:06 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21049b7d sys-devel/gdb: stop installing bfd/opcodes translations #528088 The binutils-libs package will install the canonical files for the various binutils libraries and that includes translations. Delete the copies in gdb until we can figure out how to localize them. sys-devel/gdb/{gdb-7.10.ebuild => gdb-7.10-r1.ebuild} | 8 ++++++++ sys-devel/gdb/gdb-9999.ebuild | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/sys-devel/gdb/gdb-7.10.ebuild b/sys-devel/gdb/gdb-7.10-r1.ebuild similarity index 96% rename from sys-devel/gdb/gdb-7.10.ebuild rename to sys-devel/gdb/gdb-7.10-r1.ebuild index 5cd44b4..ec3031d 100644 --- a/sys-devel/gdb/gdb-7.10.ebuild +++ b/sys-devel/gdb/gdb-7.10-r1.ebuild @@ -170,6 +170,14 @@ src_install() { use client && find "${ED}"/usr -name libiberty.a -delete cd "${S}" + # Delete translations that conflict with binutils-libs. #528088 + # Note: Should figure out how to store these in an internal gdb dir. + if use nls ; then + find "${ED}" \ + -regextype posix-extended -regex '.*/(bfd|opcodes)[.]g?mo$' \ + -delete + fi + # Don't install docs when building a cross-gdb if [[ ${CTARGET} != ${CHOST} ]] ; then rm -r "${ED}"/usr/share/{doc,info,locale} diff --git a/sys-devel/gdb/gdb-9999.ebuild b/sys-devel/gdb/gdb-9999.ebuild index 5cd44b4..ec3031d 100644 --- a/sys-devel/gdb/gdb-9999.ebuild +++ b/sys-devel/gdb/gdb-9999.ebuild @@ -170,6 +170,14 @@ src_install() { use client && find "${ED}"/usr -name libiberty.a -delete cd "${S}" + # Delete translations that conflict with binutils-libs. #528088 + # Note: Should figure out how to store these in an internal gdb dir. + if use nls ; then + find "${ED}" \ + -regextype posix-extended -regex '.*/(bfd|opcodes)[.]g?mo$' \ + -delete + fi + # Don't install docs when building a cross-gdb if [[ ${CTARGET} != ${CHOST} ]] ; then rm -r "${ED}"/usr/share/{doc,info,locale}