Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 475434 Details for
Bug 402309
sys-devel/gdb-7.4 doesn't honor LINGUAS for locale files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gdb-7.10.1: fixup l10n support
0002-sys-devel-gdb-7.10.1-Fixup-l10n-support.patch (text/plain), 1.53 KB, created by
Jan Vesely
on 2017-06-07 07:51:14 UTC
(
hide
)
Description:
gdb-7.10.1: fixup l10n support
Filename:
MIME Type:
Creator:
Jan Vesely
Created:
2017-06-07 07:51:14 UTC
Size:
1.53 KB
patch
obsolete
>From e094e084dfd7a6bbd346b1eee670487104c6bdc4 Mon Sep 17 00:00:00 2001 >From: Jan Vesely <jano.vesely@gmail.com> >Date: Mon, 25 Jan 2016 04:00:36 -0500 >Subject: [PATCH 2/2] sys-devel/gdb-7.10.1: Fixup l10n support > >Gentoo Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=402309 >Signed-off-by: Jan Vesely <jano.vesely@gmail.com> >--- > sys-devel/gdb/gdb-7.10.1.ebuild | 11 +++++++++-- > 1 file changed, 9 insertions(+), 2 deletions(-) > >diff --git a/sys-devel/gdb/gdb-7.10.1.ebuild b/sys-devel/gdb/gdb-7.10.1.ebuild >index c662f0cffd..26bcf052ac 100644 >--- a/sys-devel/gdb/gdb-7.10.1.ebuild >+++ b/sys-devel/gdb/gdb-7.10.1.ebuild >@@ -3,8 +3,9 @@ > > EAPI="5" > PYTHON_COMPAT=( python{2_7,3_4,3_5} ) >+PLOCALES="da de es fi fr ga id it ja nl pt_BR ro ru rw sv tr uk vi zh_CN" > >-inherit flag-o-matic eutils python-single-r1 >+inherit l10n flag-o-matic eutils python-single-r1 > > export CTARGET=${CTARGET:-${CHOST}} > if [[ ${CTARGET} == ${CHOST} ]] ; then >@@ -93,7 +94,6 @@ src_prepare() { > [[ -n ${RPM} ]] && rpm_spec_epatch "${WORKDIR}"/gdb.spec > ! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch > epatch_user >- strip-linguas -u bfd/po opcodes/po > } > > gdb_branding() { >@@ -219,6 +219,13 @@ src_install() { > > # Remove shared info pages > rm -f "${ED}"/usr/share/info/{annotate,bfd,configure,standards}.info* >+ >+ # Remove disabled locales >+ # build fails if we remove all languages in src_prepare >+ rm_loc() { >+ rm -r "${ED}/usr/share/locale/${1}" || die >+ } >+ l10n_for_each_disabled_locale_do rm_loc > } > > pkg_postinst() { >-- >2.13.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 402309
:
322474
|
475432
| 475434