From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/canna/
Date: Sat, 8 Jul 2017 06:59:00 +0000 (UTC) [thread overview]
Message-ID: <1499497113.6a4f353f033ae652c443132d2296035d9cc2702f.hattya@gentoo> (raw)
commit: 6a4f353f033ae652c443132d2296035d9cc2702f
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 8 06:58:33 2017 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Jul 8 06:58:33 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a4f353f
app-i18n/canna: update pkg_postinst
Package-Manager: Portage-2.3.6, Repoman-2.3.1
app-i18n/canna/canna-3.7_p3-r1.ebuild | 12 ++++++++----
app-i18n/canna/canna-3.7_p3-r2.ebuild | 13 +++----------
2 files changed, 11 insertions(+), 14 deletions(-)
diff --git a/app-i18n/canna/canna-3.7_p3-r1.ebuild b/app-i18n/canna/canna-3.7_p3-r1.ebuild
index 51effafc6b7..2d56ee7ccd6 100644
--- a/app-i18n/canna/canna-3.7_p3-r1.ebuild
+++ b/app-i18n/canna/canna-3.7_p3-r1.ebuild
@@ -112,8 +112,12 @@ src_install() {
pkg_postinst() {
update-cannadic-dir
- elog
- elog "Canna dictionary format has been changed."
- elog "You should rebuild app-dict/canna-* after emerge."
- elog
+
+ if ! locale -a | grep -iq "ja_JP.eucjp"; then
+ elog "Some dictionary tools in this package require ja_JP.EUC-JP locale."
+ elog
+ elog "# echo 'ja_JP.EUC-JP EUC-JP' >> /etc/locale.gen"
+ elog "# locale-gen"
+ elog
+ fi
}
diff --git a/app-i18n/canna/canna-3.7_p3-r2.ebuild b/app-i18n/canna/canna-3.7_p3-r2.ebuild
index 0f222e9dac2..0a609c5c94e 100644
--- a/app-i18n/canna/canna-3.7_p3-r2.ebuild
+++ b/app-i18n/canna/canna-3.7_p3-r2.ebuild
@@ -124,16 +124,9 @@ src_install() {
pkg_postinst() {
update-cannadic-dir
- elog
- elog "Canna dictionary format has been changed."
- elog "You should rebuild app-dict/canna-* after emerge."
- elog
-
- local localearchive="${ROOT}usr/$(get_libdir)/locale/locale-archive"
- if [ -f "${localearchive}" -a -x /usr/bin/localedef ] && \
- ! /usr/bin/localedef --list-archive "${localearchive}" | grep -i 'ja_JP.eucjp' >/dev/null 2>&1 ; then
- elog "Some dictionary tools in this package require ja_JP.eucJP locale."
- elog "Please add ja_JP.eucJP locale to /etc/locale.gen:"
+
+ if ! locale -a | grep -iq "ja_JP.eucjp"; then
+ elog "Some dictionary tools in this package require ja_JP.EUC-JP locale."
elog
elog "# echo 'ja_JP.EUC-JP EUC-JP' >> /etc/locale.gen"
elog "# locale-gen"
next reply other threads:[~2017-07-08 6:59 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-08 6:59 Akinori Hattori [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-19 23:48 [gentoo-commits] repo/gentoo:master commit in: app-i18n/canna/ Sam James
2021-06-19 22:54 David Seifert
2021-06-19 21:40 David Seifert
2021-04-22 12:18 Sam James
2021-04-22 12:18 Sam James
2021-04-21 18:53 Sam James
2021-04-20 17:06 Sergei Trofimovich
2020-06-06 12:57 Sergei Trofimovich
2019-07-27 12:54 Aaron Bauman
2018-03-05 20:26 Sergei Trofimovich
2017-09-07 19:28 Markus Meier
2017-08-10 21:05 Sergei Trofimovich
2017-07-24 17:44 Markus Meier
2017-07-23 12:26 Akinori Hattori
2017-07-11 7:51 Sergei Trofimovich
2017-07-09 13:06 Akinori Hattori
2017-07-08 8:11 Akinori Hattori
2017-07-08 8:06 Akinori Hattori
2017-07-08 7:58 Akinori Hattori
2017-07-08 7:58 Akinori Hattori
2017-07-08 7:08 Akinori Hattori
2017-07-08 7:04 Akinori Hattori
2017-07-08 6:50 Akinori Hattori
2017-06-22 11:48 Alexis Ballier
2017-06-11 11:27 Alexis Ballier
2016-06-14 2:29 Yixun Lan
2015-09-27 11:51 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1499497113.6a4f353f033ae652c443132d2296035d9cc2702f.hattya@gentoo \
--to=hattya@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox