Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 475432 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.9.1: fixup l10n support
0001-sys-devel-gdb-7.9.1-Fixup-l10n-support.patch (text/plain), 1.43 KB, created by
Jan Vesely
on 2017-06-07 07:50:37 UTC
(
hide
)
Description:
gdb-7.9.1: fixup l10n support
Filename:
MIME Type:
Creator:
Jan Vesely
Created:
2017-06-07 07:50:37 UTC
Size:
1.43 KB
patch
obsolete
>From 8f855f004bc3d58c081174193adb42789458433e Mon Sep 17 00:00:00 2001 >From: Jan Vesely <jano.vesely@gmail.com> >Date: Sun, 27 Sep 2015 19:05:28 -0500 >Subject: [PATCH 1/2] sys-devel/gdb-7.9.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.9.1.ebuild | 10 +++++++++- > 1 file changed, 9 insertions(+), 1 deletion(-) > >diff --git a/sys-devel/gdb/gdb-7.9.1.ebuild b/sys-devel/gdb/gdb-7.9.1.ebuild >index 4ea6b30f34..c6302272ed 100644 >--- a/sys-devel/gdb/gdb-7.9.1.ebuild >+++ b/sys-devel/gdb/gdb-7.9.1.ebuild >@@ -82,6 +82,8 @@ DEPEND="${RDEPEND} > )" > > S=${WORKDIR}/${PN}-${MY_PV} >+PLOCALES="da de es fi fr ga id it ja nl pt_BR ro ru rw sv tr uk vi zh_CN" >+inherit l10n > > pkg_setup() { > use python && python-single-r1_pkg_setup >@@ -91,7 +93,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() { >@@ -205,6 +206,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