public inbox for git@vger.kernel.org
 help / color / mirror / Atom feed
From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: Kim Scarborough <kim@scarborough.kim>
Cc: git@vger.kernel.org
Subject: Re: Git and gettext
Date: Sat, 3 Aug 2024 17:34:47 +0000	[thread overview]
Message-ID: <Zq5qNwmTpL1H5LH0@tapette.crustytoothpaste.net> (raw)
In-Reply-To: <7d507ea2-08e1-4597-bff8-8a2b40a01747@scarborough.kim>

[-- Attachment #1: Type: text/plain, Size: 971 bytes --]

On 2024-08-03 at 17:24:43, Kim Scarborough wrote:
> > I believe you can use NO_GETTEXT=1 and NO_MSGFMT=1 (both must be set) to
> > remove the need for gettext and msgfmt.  The latter can be omitted if
> > you're not building git-gui.  You can see other configuration options at
> > the top of the Makefile.
> 
> I tried setting both but it still errors out. A little later in the build,
> though.

Hmm, I can't remove msgfmt from my system, but if I put a `msgfmt`
script in `$TMP/path` that contains just a shebang and `exit 1` and do
this, the build succeeds:

---
PATH="$TMP/path:$PATH" make -j12 NO_GETTEXT=1 NO_MSGFMT=1
---

Note that `config.mak` is not read by git-gui, so you do really have
to set `NO_MSGFMT=1` on the command line.

Can you show exactly the commands you're running and exactly the output
you're getting?  Also, what OS and version are you running this on?
-- 
brian m. carlson (they/them or he/him)
Toronto, Ontario, CA

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2024-08-03 17:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-03  7:58 Git and gettext Kim Scarborough
2024-08-03 16:00 ` brian m. carlson
2024-08-03 17:24   ` Kim Scarborough
2024-08-03 17:34     ` brian m. carlson [this message]
2024-08-04 21:26       ` Kim Scarborough
2024-08-05  0:53         ` Jeff King
2024-08-06  9:52           ` Kim Scarborough
2024-08-12 14:48             ` Jeff King

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=Zq5qNwmTpL1H5LH0@tapette.crustytoothpaste.net \
    --to=sandals@crustytoothpaste.net \
    --cc=git@vger.kernel.org \
    --cc=kim@scarborough.kim \
    /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