<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/Makefile, branch gitgui-0.10.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=gitgui-0.10.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=gitgui-0.10.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2008-03-12T05:48:32Z</updated>
<entry>
<title>git-gui: Simplify MSGFMT setting in Makefile</title>
<updated>2008-03-12T05:48:32Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2008-03-12T05:29:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=7276607886e99fa3bb5f0ddadb9f0daeb3958d2d'/>
<id>urn:sha1:7276607886e99fa3bb5f0ddadb9f0daeb3958d2d</id>
<content type='text'>
To prepare msg files for Tcl scripts, the command that is set to MSGFMT
make variable needs to be able to grok "--tcl -l &lt;lang&gt; -d &lt;here&gt;" options
correctly.  This patch simplifies the tests done in git-gui's Makefile to
directly test this condition.  If the test run does not exit properly with
zero status (either because you do not have "msgfmt" itself, or your
"msgfmt" is too old to grok --tcl option --- the reason does not matter),
have it fall back to po/po2msg.sh

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Gracefully fall back to po2msg.sh if msgfmt --tcl fails</title>
<updated>2008-03-05T07:13:16Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2008-02-28T00:29:34Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=21623062ab8e2a81dec56c8007a1d147cef1b5e2'/>
<id>urn:sha1:21623062ab8e2a81dec56c8007a1d147cef1b5e2</id>
<content type='text'>
Mac OS X Tiger may have a msgfmt available but it doesn't understand
how to implement --tcl.  Falling back to po2msg.sh on such systems
is a reasonable behavior.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Avoid hardcoded Windows paths in Cygwin package files</title>
<updated>2008-02-22T06:38:32Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2008-02-22T00:27:46Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=df4ec4cf6f68d92d2fbf20e808722d242ab2b894'/>
<id>urn:sha1:df4ec4cf6f68d92d2fbf20e808722d242ab2b894</id>
<content type='text'>
When we are being built by the Cygwin package maintainers we need to
embed the POSIX path to our library files and not the Windows path.
Embedding the Windows path means all end-users who install our Cygwin
package would be required to install Cygwin at the same Windows path
as the package maintainer had Cygwin installed to.  This requirement
is simply not user-friendly and may be infeasible for a large number
of our users.

We now try to auto-detect if the Tcl/Tk binary we will use at runtime
is capable of translating POSIX paths into Windows paths the same way
that cygpath does the translations.  If the Tcl/Tk binary gives us the
same results then it understands the Cygwin path translation process
and should be able to read our library files from a POSIX path name.

If it does not give us the same answer as cygpath then the Tcl/Tk
binary might actually be a native Win32 build (one that is not
linked against Cygwin) and thus requires the native Windows path
to our library files.  We can assume this is not a Cygwin package
as the Cygwin maintainers do not currently ship a pure Win32 build
of Tcl/Tk.

Reported on the git mailing list by Jurko Gospodnetić.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Default TCL_PATH to same location as TCLTK_PATH</title>
<updated>2008-02-22T06:35:44Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2008-02-22T00:17:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=651fbba2d36072b2491bc53628159ff4fb3085dc'/>
<id>urn:sha1:651fbba2d36072b2491bc53628159ff4fb3085dc</id>
<content type='text'>
Most users set TCLTK_PATH to tell git-gui where to find wish, but they
fail to set TCL_PATH to the same Tcl installation.  We use the non-GUI
tclsh during builds so headless systems are still able to create an
index file and create message files without GNU msgfmt.  So it matters
to us that we find a working TCL_PATH at build time.

If TCL_PATH hasn't been set yet we can take a better guess about what
tclsh executable to use by replacing 'wish' in the executable path with
'tclsh'.  We only do this replacement on the filename part of the path,
just in case the string "wish" appears in the directory paths.  Most of
the time the tclsh will be installed alongside wish so this replacement
is a sensible and safe default.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: support Git Gui.app under OS X 10.5</title>
<updated>2008-02-12T07:34:45Z</updated>
<author>
<name>Jay Soffian</name>
<email>jaysoffian@gmail.com</email>
</author>
<published>2008-02-12T02:33:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=20a87ecc5861b0e1b76b99549cfaa965b2b27618'/>
<id>urn:sha1:20a87ecc5861b0e1b76b99549cfaa965b2b27618</id>
<content type='text'>
The Tk Framework moved its location in 10.5 compared to 10.4

Signed-off-by: Jay Soffian &lt;jaysoffian@gmail.com&gt;
Tested-by: Seth Falcon &lt;seth@userprimary.net&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Correctly cleanup msgfmt '1 message untranslated' output</title>
<updated>2008-01-23T04:56:15Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2008-01-23T04:56:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3b8f19a02c3dd6043a7a6bdd65de2d4610c26b81'/>
<id>urn:sha1:3b8f19a02c3dd6043a7a6bdd65de2d4610c26b81</id>
<content type='text'>
In the multiple message case we remove the word "messages" from the
statistics output of msgfmt as it looks cleaner on the tty when you
are watching the build process.  However we failed to strip the word
"message" when only 1 message was found to be untranslated or fuzzy,
as msgfmt does not produce the 's' suffix.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Fallback to Tcl based po2msg.sh if msgfmt isn't available</title>
<updated>2008-01-23T04:44:36Z</updated>
<author>
<name>Shawn O. Pearce</name>
<email>spearce@spearce.org</email>
</author>
<published>2008-01-23T04:44:36Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=3470adabad8c02be152a8d536d23df692eb386d6'/>
<id>urn:sha1:3470adabad8c02be152a8d536d23df692eb386d6</id>
<content type='text'>
If msgfmt fails with exit code 127 that typically means the program
is not found in the user's PATH and thus cannot be executed by make.
In such a case we can try to fallback to the Tcl based po2msg program
that we distributed with git-gui, as it does a "good enough" job.

We still don't default to po2msg.sh however as it does not perform
a lot of the sanity checks that msgfmt does, and quite a few of
those are too useful to give up.

Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Makefile - Handle $DESTDIR on Cygwin</title>
<updated>2008-01-18T03:58:24Z</updated>
<author>
<name>Mark Levedahl</name>
<email>mdl123@verizon.net</email>
</author>
<published>2008-01-18T03:50:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=a02855711310b553c610fe7ef634f4ceb25fe9f6'/>
<id>urn:sha1:a02855711310b553c610fe7ef634f4ceb25fe9f6</id>
<content type='text'>
gg_libdir is converted to an absolute Windows path on Cygwin,
but a later step attempts to prefix $DESTDIR to install to a
staging directory. Explicitly separate the uses of gg_libdir for
these two purposes so installation to $DESTDIR will work.

Signed-off-by: Mark Levedahl &lt;mdl123@verizon.net&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: Unconditionally use absolute paths with Cygwin</title>
<updated>2007-12-14T06:51:37Z</updated>
<author>
<name>Mark Levedahl</name>
<email>mdl123@verizon.net</email>
</author>
<published>2007-12-13T14:02:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9fe98116a2c7231503e7f5156417c1af84d4a59e'/>
<id>urn:sha1:9fe98116a2c7231503e7f5156417c1af84d4a59e</id>
<content type='text'>
The mapping of Windows vs Cygwin/Posix paths is arbitrary and not knowable
from the Posix side, so logic to determine whether to use relative paths
to locate the git-gui library just does not work on Cygwin. Fix this to
unconditionally use absolute path on Cygwin. (This fixes a regression
from 1.5.4).

Signed-off-by: Mark Levedahl &lt;mdl123@verizon.net&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
<entry>
<title>git-gui: install-sh from automake does not like -m755</title>
<updated>2007-12-03T04:04:02Z</updated>
<author>
<name>Robert Schiele</name>
<email>rschiele@gmail.com</email>
</author>
<published>2007-12-01T17:05:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=74521eee4c9d4c3812b83839d0d98dff72209837'/>
<id>urn:sha1:74521eee4c9d4c3812b83839d0d98dff72209837</id>
<content type='text'>
The install-sh script as shipped with automake requires a space between
the -m switch and its argument.  Since this is also the regular way of
doing it with other install implementations this change inserts the
missing space.

Signed-off-by: Robert Schiele &lt;rschiele@gmail.com&gt;
Signed-off-by: Shawn O. Pearce &lt;spearce@spearce.org&gt;
</content>
</entry>
</feed>
