Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 108463 Details for
Bug 146882
sys-libs/glibc locale generation should be done in src_*() instead of pkg_postinst()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
run locale-gen in src_install sanely
glibc-locale-gen-src-install.patch (text/plain), 985 bytes, created by
SpanKY
on 2007-01-29 07:36:25 UTC
(
hide
)
Description:
run locale-gen in src_install sanely
Filename:
MIME Type:
Creator:
SpanKY
Created:
2007-01-29 07:36:25 UTC
Size:
985 bytes
patch
obsolete
>--- glibc-2.5.ebuild 27 Jan 2007 02:21:17 -0000 1.22 >+++ glibc-2.5.ebuild 29 Jan 2007 07:31:55 -0000 >@@ -468,6 +468,13 @@ toolchain-glibc_src_install() { > # creation of the "factory" symlink in pkg_postinst(). > rm -f "${D}"/etc/localtime > >+ # Generate all locales if this is a native build as locale generation >+ if [[ ${CBUILD} == ${CHOST} ]] ; then >+ local x jobs >+ for x in ${MAKEOPTS} ; do [[ ${x} == -j* ]] && jobs=${x#-j} ; done >+ "${D}"/usr/sbin/locale-gen -j ${jobs:-1} --all --destdir "${D}" >+ fi >+ > # simple test to make sure our new glibc isnt completely broken. > # for now, skip the multilib scenario. also make sure we don't > # test with statically built binaries since they will fail. >@@ -544,7 +551,7 @@ toolchain-glibc_pkg_postinst() { > fi > local x jobs > for x in ${MAKEOPTS} ; do [[ ${x} == -j* ]] && jobs=${x#-j} ; done >- locale-gen -j ${jobs:-1} --config "${locale_list}" >+ locale-gen -j ${jobs:-1} --update --config "${locale_list}" > fi > > echo
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 146882
:
108463
|
257908
|
287099