Re: [Geany-Devel] Autotools and Waf options (Was: Re: Msys2 to compile on win32)

2015-06-06 Thread Colomban Wendling
Le 06/06/2015 14:57, Colomban Wendling a écrit :
 […]
 
 And we could probably relatively easily add a flag similar you the
 current Waf's `--enable-plugins` -- this was mentioned yesterday on IRC,
 we could try and add e.g. --disable-all so to build a single plugin it
 could be --disable-all --enable-this-one, but we could probably also
 have the --enable-plugins=list semantic.

Proposed implementation: https://github.com/geany/geany-plugins/pull/236

Cheers,
Colomban
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Msys2 to compile on win32

2015-06-06 Thread Dimitar Zhekov

On 05.6.2015 г. 19:52, Enrico Tröger wrote:

On 29/05/15 11:00, Thomas Martitz wrote:


Msys2 is a successor to msys which offers a unix-like environment on
Windows combined with a pacman-based package manager. [...]


My standard test:

[D:]grep 00A0 uni\*.uni
grep: uni*.uni: No such file or directory

[D:]grep 00A0 uni\\*.uni
grep: uni\*.uni: No such file or directory

Why?..

[D:]grep 00A0 uni/*.uni
uni/10646-1.uni:00A0
...

It's actually an *improvement* over MSYS, which required UNI/*.UNI (i.e. 
a short name if the short and long names are identical).


I don't know about pacman, but the 20MB maintenancetool.exe does not 
look like something that can be used to manage the MSYS2 components. Out 
of the box, only Remove all components works; the Default 
repositories are empty and read-only, and I can't even see a list of 
the installed MSYS2 components. Not very impressive, compared against 
mingw-get, which is  200KB (.exe + guimain.exe).



Hopefully, this enables us to eventually remove the Waf build system in
the longterm.


I'm using waf under Linux as well, since it keeps the source tree clean, 
and allows compiling only selected plugins without a super-long list of 
--disable-plugin-s.


Also note that MSYS2 by itself does not include any development stack. 
Not even a make, like MSYS.


--
E-gards: Jimmy
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Msys2 to compile on win32

2015-06-06 Thread Yury Siamashka


06/06/15 14:07, Dimitar Zhekov пишет:


Also note that MSYS2 by itself does not include any development stack. 
Not even a make, like MSYS.


You can install it easily using pacman:

pacman -S make

Actually it is great to have sane packet manager in windows environment 
since compiling dependences was always hell in windows.


Best regards,
Yury Siamashka
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


[Geany-Devel] Autotools and Waf options (Was: Re: Msys2 to compile on win32)

2015-06-06 Thread Colomban Wendling
Le 06/06/2015 13:07, Dimitar Zhekov a écrit :
 […]
 
 I'm using waf under Linux as well, since it keeps the source tree clean,

You can do the same with Autotools, though it admittedly doesn't enforce
it.  Just run configure from the directory you want the build files in, e.g:

$ mkdir _build
$ cd _build
$ ../configure [options]

 and allows compiling only selected plugins without a super-long list of
 --disable-plugin-s.

With Autotools you can indeed not (yet) easily only configure a specific
plugin, but you can very easily only build one, by running Make inside
the plugin's subdirectory (e.g. `make -C theplugin`).

And we could probably relatively easily add a flag similar you the
current Waf's `--enable-plugins` -- this was mentioned yesterday on IRC,
we could try and add e.g. --disable-all so to build a single plugin it
could be --disable-all --enable-this-one, but we could probably also
have the --enable-plugins=list semantic.

Regards,
Colomban
___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel


Re: [Geany-Devel] Autotools and Waf options (Was: Re: Msys2 to compile on win32)

2015-06-06 Thread Matthew Brush

On 2015-06-06 05:57 AM, Colomban Wendling wrote:

Le 06/06/2015 13:07, Dimitar Zhekov a écrit :

[…]

I'm using waf under Linux as well, since it keeps the source tree clean,


You can do the same with Autotools, though it admittedly doesn't enforce
it.  Just run configure from the directory you want the build files in, e.g:

$ mkdir _build
$ cd _build
$ ../configure [options]



That's only partially true, at least when using a Git clone. autogen.sh 
script puts quite a few files in the source directory, and then make 
will put even more, if building any of the Vala plugin.


It is true for the release tarball though, if you don't mind using Vala 
compiler of the person making the tarball.


Cheers,
Matthew Brush

___
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel