Fix the MacOS X compile of gitk by pinching po2msg.sh from git-gui
PATCH 1/1 Fix the MacOS X compile of gitk by pinching po2msg.sh from git-gui
Make the behaviour of a top level make NO_MSGFMT=Yes consistent when performing the subdirectory builds in gitk-git and git-gui.
---
gitk-git/Makefile | 7 ++++++-
{git-gui => gitk-git}/po/.gitignore | 0
{git-gui => gitk-git}/po/po2msg.sh | 0
3 files changed, 6 insertions(+), 1 deletions(-)
copy {git-gui => gitk-git}/po/.gitignore (100%)
copy {git-gui => gitk-git}/po/po2msg.sh (100%)gitk-git/Makefile +6 -1
@@ -18,7 +18,12 @@ TCLTK_PATH_SQ = $(subst ','\'',$(TCLTK_PATH)) ## po-file creation rules XGETTEXT ?= xgettext -MSGFMT ?= msgfmt +ifdef NO_MSGFMT + MSGFMT ?= $(TCL_PATH) po/po2msg.sh +else + MSGFMT ?= msgfmt +endif + PO_TEMPLATE = po/gitk.pot ALL_POFILES = $(wildcard po/*.po) ALL_MSGFILES = $(subst .po,.msg,$(ALL_POFILES))
gitk-git/po/.gitignore renamed from git-gui/po/.gitignore +0 -0
gitk-git/po/po2msg.sh renamed from git-gui/po/po2msg.sh +0 -0
Signature · 1 line
1.5.4.rc2.60.gb2e62
Hi,
Quoted 11 lines · Charles Bailey
Make the behaviour of a top level make NO_MSGFMT=Yes consistent when performing the subdirectory builds in gitk-git and git-gui.
Signed-off-by Charles Bailey <[email protected]>--- gitk-git/Makefile | 7 ++++++- {git-gui => gitk-git}/po/.gitignore | 0 {git-gui => gitk-git}/po/po2msg.sh | 0 3 files changed, 6 insertions(+), 1 deletions(-) copy {git-gui => gitk-git}/po/.gitignore (100%) copy {git-gui => gitk-git}/po/po2msg.sh (100%)
Since gitk and git-gui are separate projects (pulled at irregular intervals into git.git), your patch looks sane, but would be better done as a patch against gitk.git.
Ciao,
Dscho
Quoted 4 lines · Johannes Schindelin
Hi,
On Wed, 9 Jan 2008, Charles Bailey wrote:
Quoted 8 lines
Quoted 1 line
--- snip ---
Since gitk and git-gui are separate projects (pulled at irregular intervals into git.git), your patch looks sane, but would be better done as a patch against gitk.git.
Ciao,
Dscho
I'm sorry, I think I knew this once, but had forgotten. Of course, as a patch against gitk, I think it gets quite verbose as the patch includes a full copy of the po2msg.sh script.
Is there a simple way to generate a gitk.git patch from a git.git clone, or do I need to clone a gitk repository from somewhere?
Perhaps I could just flag this as a reasonably important MacOS X 1.5.4-rc issue until I can sort out a more suitable patch?
Thanks,
Charles.
Hi,
Quoted 11 lines · Charles Bailey
Quoted 7 lines · Johannes Schindelin
Quoted 1 line · Charles Bailey
--- snip ---
Since gitk and git-gui are separate projects (pulled at irregular intervals into git.git), your patch looks sane, but would be better done as a patch against gitk.git.
I'm sorry, I think I knew this once, but had forgotten.
Oh, my critique was not meant as harsh as it was apparently received: for reviewing purposes, your way was perfect, as it shows your intent better than the technically correct patch.
All I'm saying is that you should send the (verbose) patch, too, possibly referring to the smaller patch in the space between the three dashes and the diffstat.
(I would also prefix this patch with "gitk:", instead of writing "of gitk", so that people reading the log of git.git get a better idea what this is about.)
Ciao,
Dscho