[Geany-devel] Remove MSYS dependency of Geany on Win~1

Nick Treleaven nick.treleaven at xxxxx
Tue Jun 26 16:11:47 UTC 2012


On 25/06/2012 20:33, Dimitar Zhekov wrote:
> Hi. Here is a small diff (for makefile.win32 and src/makefile.win32
> only) that makes Geany 1.22 Win~1 compilation and installation
> independent of MSYS. Usage:
>
> C>  mingw32-make -f makefile.win32
> C>  mingw32-make -f makefile.win32 install
>
> Tested with mingw, cmd/tcc. Should work with MSYS make too... but I had
> to use backslashes in the install: target, and am not sure if/how MSYS
> make escapes them. Win~1 fully supports forward slashes internally, but
> the command interpreters have only partial support.

MSYS does treat backslashes as escapes, and I think that is a worse 
problem than cmd.exe interpreting forward slashes as command options, as 
it can occur in more situations. I think we should use forward slashes 
throughout.

Unfortunately I can't get your patch to apply against current Git, but 
I'm not sure why (see attached file for errors). Can you/someone test if 
it applies (maybe there's something weird happening on my Windows setup)?
-------------- next part --------------
old~/no-MSYS-1.22.diff:8: trailing whitespace.
MD = mkdir
old~/no-MSYS-1.22.diff:9: trailing whitespace.
CP = copy /Y
old~/no-MSYS-1.22.diff:12: trailing whitespace.
MAKE = mingw32-make
old~/no-MSYS-1.22.diff:23: trailing whitespace.
	$(MAKE) -C tagmanager/mio -f makefile.win32
old~/no-MSYS-1.22.diff:24: trailing whitespace.
	$(MAKE) -C tagmanager -f makefile.win32
error: patch failed: makefile.win32:14
error: makefile.win32: patch does not apply
error: patch failed: src/makefile.win32:77
error: src/makefile.win32: patch does not apply


More information about the Devel mailing list