Re: Building glib-genmarshal (while building glib)

2017-08-25 Thread John Emmas
On 24/08/2017 18:46, Emmanuele Bassi wrote: Could you please open a bug? Thanks Emmanuele. *Bug 786785* submitted this morning. John ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: Building glib-genmarshal (while building glib)

2017-08-24 Thread Emmanuele Bassi
Could you please open a bug? Ciao, Emmanuele. On 24 August 2017 at 18:37, John Emmas wrote: > On 19/08/2017 12:16, John Emmas wrote: > > > I still don't understand why this line (in commit #fe2a9887a8):- > > elif os.name == 'nt' > > got changed to this:- > >

Re: Building glib-genmarshal (while building glib)

2017-08-24 Thread John Emmas
On 19/08/2017 12:16, John Emmas wrote: I still don't understand why this line (in commit #fe2a9887a8):- elif os.name == 'nt' got changed to this:- elif os.basename(filedir) == 'bin' They clearly don't do the same thing... Any thoughts anyone? Was it maybe intended to be

Re: Building glib-genmarshal (while building glib)

2017-08-19 Thread John Emmas
On 18/08/2017 08:38, John Emmas wrote: AFAICT this problem got introduced by commit #fe2a9887a8 - in particular the change to 'gdbus-codegen.in' (line 30) which previously looked like this:- elif os.name == 'nt': but it got changed to this:- elif os.basename(filedir) ==

Re: Building glib-genmarshal (while building glib)

2017-08-18 Thread John Emmas
On 17/08/2017 16:48, John Emmas wrote: Any other Windows devs able to reproduce this or is it just me..? I've tried with python2.7, python3.1 and python3.3 and I see the same problem with all of them :-( AFAICT this problem got introduced by commit #fe2a9887a8 - in particular the

Re: Building glib-genmarshal (while building glib)

2017-08-17 Thread John Emmas
On 16/08/2017 09:11, John Emmas wrote: Am I right in thinking that the gdbus-godegen stuff does still need to get built (i.e. generated)? [...]. The script ran fine with my older version of gdbus-codegen (and still does) But it won't work with the latest version :-( In case it's any

Re: Building glib-genmarshal (while building glib)

2017-08-16 Thread John Emmas
On 15/08/2017 11:56, John Emmas wrote: if I modify that command to substitute the new 'gdbus-codegen' (rather than the older 'gdbus-codegen.in') I get build errors. I'm guessing that maybe the command itself needs to be modified now? Or if it looks okay to you guys, I'll supply some more

Re: Building glib-genmarshal (while building glib)

2017-08-15 Thread John Emmas
On 14/08/2017 16:47, Chun-wei Fan (范君維) wrote: Take a look at this commit in GLib[1] for glib-genmarshal. So, for Windows, after running the script to generate glib-genmarshal, assuming that you are running it in cmd.exe or your Visual Studio projects, instead of running it as

Re: Building glib-genmarshal (while building glib)

2017-08-14 Thread 范君維
Hi John, Take a look at this commit in GLib[1] for glib-genmarshal. So, for Windows, after running the script to generate glib-genmarshal, assuming that you are running it in cmd.exe or your Visual Studio projects, instead of running it as "glib-genmarshal(.exe) ", you do " arguments to

Re: Building glib-genmarshal (while building glib)

2017-08-12 Thread John Emmas
On 12/08/2017 17:51, Bastien Nocera wrote: There's no C to generate, it's been ported to Python. So 'glib-genmarshal.exe' doesn't need to get generated any more? When I read about the port to python, I assumed it was just that the original perl scripts had been ported to python. For

Re: Building glib-genmarshal (while building glib)

2017-08-12 Thread John Emmas
On 12/08/2017 17:42, Ignacio Casal Quinteiro wrote: Hey John, Have u thought about using gvsbuild so we unite efforts building stuff with msvc? Hi Ignacio, At the moment I'm still building GTK+2 so it might not be relevant? Maybe a year or two ago, Microsoft itself was planning to

Re: Building glib-genmarshal (while building glib)

2017-08-12 Thread Bastien Nocera
On Sat, 2017-08-12 at 16:45 +0100, John Emmas wrote: > On 12/08/2017 14:04, Sébastien Wilmet wrote: > > >From the news file for version 2.53.4: > > > > https://git.gnome.org/browse/glib/tree/NEWS > > > > * glib-genmarshal and glib-mkenums have been rewritten in python. > > Every effort has

Re: Building glib-genmarshal (while building glib)

2017-08-12 Thread John Emmas
On 12/08/2017 14:04, Sébastien Wilmet wrote: >From the news file for version 2.53.4: https://git.gnome.org/browse/glib/tree/NEWS * glib-genmarshal and glib-mkenums have been rewritten in python. Every effort has been made to keep compatibility. Please report problems related to these

Re: Building glib-genmarshal (while building glib)

2017-08-12 Thread Tim-Philipp Müller
On Sat, 2017-08-12 at 13:54 +0100, John Emmas wrote: Hi John, > What's happened to 'glib-genmarshal.c'?  It seems to have been > removed from git master - although (AFAICT) it doesn't get auto- > generated. A new file does get generated (gobject/glib-genmarshal) > but i can't see how that gets

Re: Building glib-genmarshal (while building glib)

2017-08-12 Thread Sébastien Wilmet
On Sat, Aug 12, 2017 at 01:54:29PM +0100, John Emmas wrote: > What's happened to 'glib-genmarshal.c'? It seems to have been removed from > git master - although (AFAICT) it doesn't get auto-generated. A new file > does get generated (gobject/glib-genmarshal) but i can't see how that gets > used