Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 428328 Details for
Bug 454584
dev-vcs/git-1.8.1.2 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]
dev-vsc/git: add support for LINGUAS
0001-dev-vcs-git-Add-LINGUAS-support.patch (text/plain), 1.31 KB, created by
Jan Vesely
on 2016-03-16 12:09:05 UTC
(
hide
)
Description:
dev-vsc/git: add support for LINGUAS
Filename:
MIME Type:
Creator:
Jan Vesely
Created:
2016-03-16 12:09:05 UTC
Size:
1.31 KB
patch
obsolete
>From 0a5bc0bcf158b668fba6db847e9247ded601648e Mon Sep 17 00:00:00 2001 >From: Jan Vesely <jano.vesely@gmail.com> >Date: Wed, 16 Mar 2016 08:03:29 -0400 >Subject: [PATCH] dev-vcs/git: Add LINGUAS support > >Signed-off-by: Jan Vesely <jano.vesely@gmail.com> >--- > dev-vcs/git/git-2.7.3.ebuild | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > >diff --git a/dev-vcs/git/git-2.7.3.ebuild b/dev-vcs/git/git-2.7.3.ebuild >index 7144c9b..bdb95a3 100644 >--- a/dev-vcs/git/git-2.7.3.ebuild >+++ b/dev-vcs/git/git-2.7.3.ebuild >@@ -11,8 +11,9 @@ PYTHON_COMPAT=( python2_7 ) > [[ ${PV} == *9999 ]] && SCM="git-2" > EGIT_REPO_URI="git://git.kernel.org/pub/scm/git/git.git" > EGIT_MASTER=pu >+PLOCALES="bg ca de fr is it ko pt_PT ru sv vi zh_CN" > >-inherit toolchain-funcs eutils elisp-common perl-module bash-completion-r1 python-single-r1 systemd ${SCM} >+inherit toolchain-funcs eutils elisp-common l10n perl-module bash-completion-r1 python-single-r1 systemd ${SCM} > > MY_PV="${PV/_rc/.rc}" > MY_P="${PN}-${MY_PV}" >@@ -534,6 +535,14 @@ src_install() { > fi > > perl_delete_localpod >+ >+ # Remove disabled linguas >+ # we could remove sources in src_prepare, but install does not >+ # handle missing locale dir well >+ rm_loc() { >+ rm -r "${ED}/usr/share/locale/${1}" || die >+ } >+ l10n_for_each_disabled_locale_do rm_loc > } > > src_test() { >-- >2.7.3 >
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 454584
: 428328