All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: openembedded-core@lists.openembedded.org
Subject: [RFC DO NOT APPLY][PATCH 3/2] vim: Add a work-around for some locale issues
Date: Wed, 24 Apr 2019 17:08:54 -0400	[thread overview]
Message-ID: <1556140134-15963-1-git-send-email-trini@konsulko.com> (raw)
In-Reply-To: <1555869425-7613-2-git-send-email-trini@konsulko.com>

We do not support fully / correctly the certain locales.  Attempting
to use these with msgfmt in order to update the ".desktop" files exposes
this problem and leads to the compile failing.

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 meta/recipes-support/vim/vim_8.1.1198.bb | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/meta/recipes-support/vim/vim_8.1.1198.bb b/meta/recipes-support/vim/vim_8.1.1198.bb
index d7b864ee8b94..6b17a3c90e68 100644
--- a/meta/recipes-support/vim/vim_8.1.1198.bb
+++ b/meta/recipes-support/vim/vim_8.1.1198.bb
@@ -36,6 +36,16 @@ do_configure () {
     touch src/auto/config.mk src/auto/config.h
 }
 
+do_compile() {
+    # We do not support fully / correctly the following locales.  Attempting
+    # to use these with msgfmt in order to update the ".desktop" files exposes
+    # this problem and leads to the compile failing.
+    for LOCALE in cs fr ko pl sk zh_CN zh_TW;do
+        echo -n > src/po/${LOCALE}.po
+    done
+    autotools_do_compile
+}
+
 #Available PACKAGECONFIG options are gtkgui, acl, x11, tiny
 PACKAGECONFIG ??= ""
 PACKAGECONFIG += " \
-- 
2.7.4



      parent reply	other threads:[~2019-04-24 21:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-21 17:57 [PATCH 1/2] vim: Rework to not rely on relative directories Tom Rini
2019-04-21 17:57 ` [PATCH 2/2] vim: Update to 8.1.1198 Tom Rini
2019-04-23 15:02   ` Richard Purdie
2019-04-23 22:01     ` Tom Rini
2019-04-23 22:22       ` richard.purdie
2019-04-23 22:29         ` Tom Rini
2019-04-24  1:17         ` Tom Rini
2019-04-24  5:24           ` Tim Orling
2019-04-24 12:01             ` Tom Rini
2019-04-24  7:40           ` richard.purdie
2019-04-24 11:29             ` Tom Rini
2019-04-24 13:50               ` richard.purdie
2019-04-24 13:53                 ` Tom Rini
2019-04-24 21:08   ` Tom Rini [this message]

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=1556140134-15963-1-git-send-email-trini@konsulko.com \
    --to=trini@konsulko.com \
    --cc=openembedded-core@lists.openembedded.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.