From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/
Date: Sat, 2 Sep 2017 09:32:34 +0000 (UTC) [thread overview]
Message-ID: <1504344688.0aaf72027909a79fbd65145451b5a03f33ae99cf.mgorny@gentoo> (raw)
commit: 0aaf72027909a79fbd65145451b5a03f33ae99cf
Author: Virgil Dupras <hsoft <AT> hardcoded <DOT> net>
AuthorDate: Tue Aug 22 12:13:41 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Sep 2 09:31:28 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aaf7202
app-emulation/lxd: Remove PLOCALES definition
as per mgorny's suggestion in https://github.com/gentoo/gentoo/pull/5483
I have tested that, after a merge of that ebuild, localizations still worked (at least the `fr` one).
Closes: https://github.com/gentoo/gentoo/pull/5503
Package-Manager: Portage-2.3.6, Repoman-2.3.1
app-emulation/lxd/lxd-2.16.ebuild | 20 ++------------------
1 file changed, 2 insertions(+), 18 deletions(-)
diff --git a/app-emulation/lxd/lxd-2.16.ebuild b/app-emulation/lxd/lxd-2.16.ebuild
index 60e19a973a2..17d8d477ef3 100644
--- a/app-emulation/lxd/lxd-2.16.ebuild
+++ b/app-emulation/lxd/lxd-2.16.ebuild
@@ -45,12 +45,9 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
-# Portage complains about zh_Hans missing, but repoman doesn't like it when it's there.
-PLOCALES="de el fr it ja nl ru sr sv tr zh"
IUSE="+daemon nls test"
-# IUSE and PLOCALES must be defined before l10n inherited
-inherit bash-completion-r1 golang-build l10n linux-info systemd user golang-vcs-snapshot
+inherit bash-completion-r1 golang-build linux-info systemd user golang-vcs-snapshot
SRC_URI="${ARCHIVE_URI}
${EGO_VENDOR_URI}"
@@ -117,17 +114,9 @@ PATCHES=(
"${FILESDIR}/${P}-dont-go-get.patch"
)
-# KNOWN ISSUES:
-# - Translations may not work. I've been unsuccessful in forcing
-# localized output. Anyway, upstream (Canonical) doesn't install the
-# message files.
-
src_prepare() {
default_src_prepare
- # Warn on unhandled locale changes
- l10n_find_plocales_changes "${S}/src/${EGO_PN}/po" "" .po
-
# Examples in go-lxc make our build fail.
rm -rf "${S}/src/${EGO_PN}/vendor/gopkg.in/lxc/go-lxc.v2/examples" || die
}
@@ -170,12 +159,7 @@ src_install() {
cd "src/${EGO_PN}" || die "can't cd into ${S}/src/${EGO_PN}"
if use nls; then
- local lingua
- for lingua in ${PLOCALES}; do
- if use linguas_${lingua}; then
- domo po/${lingua}.mo
- fi
- done
+ domo po/*.mo
fi
if use daemon; then
next reply other threads:[~2017-09-02 9:33 UTC|newest]
Thread overview: 86+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-02 9:32 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-12-11 7:17 [gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/ Joonas Niilola
2021-11-17 6:29 Joonas Niilola
2021-11-10 7:02 Joonas Niilola
2021-11-10 7:02 Joonas Niilola
2021-10-22 17:21 Joonas Niilola
2021-10-10 6:29 Joonas Niilola
2021-10-10 6:29 Joonas Niilola
2021-10-04 5:40 Joonas Niilola
2021-08-25 7:09 Joonas Niilola
2021-08-19 6:23 Joonas Niilola
2021-07-19 11:15 Joonas Niilola
2021-07-19 11:15 Joonas Niilola
2021-07-14 13:05 Joonas Niilola
2021-06-30 4:48 Joonas Niilola
2021-06-01 8:43 Joonas Niilola
2021-05-01 5:38 Joonas Niilola
2021-04-28 5:57 Joonas Niilola
2021-04-26 10:08 Joonas Niilola
2021-03-09 9:26 Joonas Niilola
2021-03-08 10:25 Sam James
2021-03-07 9:03 Joonas Niilola
2021-02-19 7:37 Joonas Niilola
2021-01-30 6:38 Joonas Niilola
2021-01-30 6:38 Joonas Niilola
2021-01-30 6:38 Joonas Niilola
2021-01-14 4:20 Joonas Niilola
2021-01-04 5:18 Joonas Niilola
2020-12-15 7:18 Joonas Niilola
2020-12-09 8:04 Joonas Niilola
2020-10-23 7:37 Joonas Niilola
2020-10-20 5:43 Joonas Niilola
2020-09-22 6:54 Joonas Niilola
2020-09-14 5:11 Joonas Niilola
2020-09-14 5:11 Joonas Niilola
2020-08-15 6:19 Joonas Niilola
2020-08-12 13:03 Joonas Niilola
2020-07-17 8:14 Joonas Niilola
2020-07-13 7:19 Joonas Niilola
2020-07-13 7:16 Joonas Niilola
2020-06-26 8:13 Joonas Niilola
2020-06-21 17:02 Joonas Niilola
2020-05-29 13:15 Joonas Niilola
2020-05-15 8:57 Joonas Niilola
2020-05-15 8:30 Joonas Niilola
2019-11-18 20:54 Tim Harder
2019-09-09 2:58 Erik Mackdanz
2019-09-08 22:47 Erik Mackdanz
2019-07-05 19:05 Virgil Dupras
2019-07-01 14:25 Erik Mackdanz
2019-07-01 14:25 Erik Mackdanz
2019-07-01 13:52 Erik Mackdanz
2019-04-07 3:59 Erik Mackdanz
2019-04-02 4:15 Erik Mackdanz
2019-04-02 4:00 Erik Mackdanz
2019-04-02 3:57 Erik Mackdanz
2019-02-08 3:55 Erik Mackdanz
2019-01-19 17:25 Erik Mackdanz
2019-01-19 17:12 Erik Mackdanz
2018-12-15 22:23 Erik Mackdanz
2018-12-15 21:41 Erik Mackdanz
2018-12-15 21:38 Erik Mackdanz
2018-11-11 21:23 Erik Mackdanz
2018-11-11 21:15 Erik Mackdanz
2018-11-04 4:03 Erik Mackdanz
2018-10-13 22:43 Erik Mackdanz
2018-09-09 22:51 Erik Mackdanz
2018-08-19 22:23 Erik Mackdanz
2018-07-27 3:57 Erik Mackdanz
2018-07-27 3:52 Erik Mackdanz
2018-07-03 12:23 Virgil Dupras
2018-04-02 2:15 Erik Mackdanz
2018-04-02 2:12 Erik Mackdanz
2018-02-21 8:47 Agostino Sarubbo
2018-01-26 21:22 Patrice Clement
2018-01-05 19:21 Ulrich Müller
2017-09-24 11:18 Agostino Sarubbo
2017-09-21 12:41 Amy Liffey
2017-09-21 12:41 Amy Liffey
2017-08-14 21:41 Patrice Clement
2017-07-30 11:24 David Seifert
2017-04-14 8:25 Zac Medico
2016-10-04 12:11 Erik Mackdanz
2016-07-14 2:48 Erik Mackdanz
2016-03-18 19:11 Michał Górny
2015-08-10 21:06 Zac Medico
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=1504344688.0aaf72027909a79fbd65145451b5a03f33ae99cf.mgorny@gentoo \
--to=mgorny@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