git-slave for windows

git-slave documentation only has the following not-so-helpful comment regarding installation on Windows:

* Limited windows support

Multiple users have been successful in using gitslave with Windows.
This is "supported" only in the sense that people have reported it to
work and we accept bugfixes, not that you can `make` install or check,
or that it is QAed on this platform prior to release."

When I try to download and run 'nmake install' I get the equally cryptic error:

makefile(2) : fatal error U1001: syntax error : illegal character '{' in macro 

Does anyone have any experience with this and can point me in the right direction?


The Makefile for git-slave has only been used with GNU Make - as it is a rather simple makefile, there is no reason it shouldn't work with Microsoft nmake as well, except for "gratuitous" use of Make extensions that are not supported by Microsoft nmake. ( How similar/different are gnu make, microsoft nmake and posix standard make? has a good summary of the differences).

On lines 2-4 of gitslave/Makefile, if you replace ${prefix} with $(prefix) and ${mandir} with $(mandir) [essentially replace braces with parentheses (brackets)] nmake should no longer choke on Makefile. However, unless you have installed a bunch of POSIX utilities or something that allows commands like mkdir -p, rm -f, and sed to work, fixing the nmake incompatibility would only allow (at best) make testcheck to work.

None of the gitslave developers have regular(?) access to Windows development machines, so like the documentation says: "we accept bugfixes, [but do] not [claim] that you can make install or check, or that it is QAed on this platform."

I imagine that the other people who have used git-slave on windows just made sure that Perl and gitslave and any POSIX utilities that gitslave depends on (e.g. grep and rm) are installed somewhere in PATH.

Need Your Help

pango_cairo_layout_path method does not respect kerning

gtk# pango kerning pangocairo

I'm using pango library to do some text layout and cairo backend for rendering. It seems to me that the pango_cairo_layout_path method does not respect kerning.

Rails simple_form label above input

ruby-on-rails css input label simple-form

Using simple_form -- is there a way to change where the input field's label is placed? If for example, I wanted to place the label above the field, how would I do that?