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

Colomban Wendling lists.ban at xxxxx
Tue Jun 26 17:03:04 UTC 2012


Le 26/06/2012 19:02, Colomban Wendling a écrit :
> Le 26/06/2012 18:11, Nick Treleaven a écrit :
>> 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)?
> 
> It applies fine here.  I join the diff from Git after I applied the
> patch in case it helps, maybe your `git apply` will like it better?

... and here's the attachment.

> 
> OT: Nick, could you now merge the tagmanager/ tree rearrangement?
> 
> 
> Regards,
> Colomban
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-MSYS-1.22-1.diff
Type: text/x-patch
Size: 3181 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20120626/262fb6b1/attachment.bin>


More information about the Devel mailing list