Re: [Vala] Cross compiling vala gtk to win32

2011-05-09 Thread pancake

I have updated the tutorial with information about how to embed GTK themes.

   http://radare.org/cgi-bin/wk/GTK

On 04/30/11 03:06, Martin Leibner wrote:

Thank you very much!
I will be studying Beebop this weekend ;-)

Best regards,
Martin


___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Cross compiling vala gtk to win32

2011-04-30 Thread pancake
I spend some time this morning to write down some notes and upload some blobs 
and examples to build gtk apps for windows and osx.

Have fun

http://radare.org/cgi-bin/wk/GTK

On 30/04/2011, at 0:44, august aug...@alien.mur.at wrote:

 
 I would be very interested in both the mingw cross compile instructions
 and the OSx dmg creation instructions.
 
 (Would be great to work out the GTK3 kinks too.)
 
 best -august.
 
 
 I have crosscompiled big vala+gtk (gtkaml) apps with mingw from linux to 
 windows.
 
 The setup is simple, but requires some tricks. 
 
 I used to install the last gtk blobs for windows and then by setting 
 pkgconfig, cflags and ldflags yo point to the directory containing the liba 
 and include files the projects compiles just fine.
 
 I have a zip somewhere with all this environment prepared (w32 blobs and a 
 test program in valagtl that crosscompiles with 'make') .. I will have to 
 find it because im replying thia from my phone. 
 
 But if someone finds it interesting i can provide instructions and the zip 
 for this.
 
 I have also recently packaged a vala+gtkon app for osx with gtk and quartz 
 (no x11). And stored in a standalone .app in a .dmg image.. 
 
 If someone finds this interesting i can write some instructions to do it.
 
 I still have to play with the themes (to be emedded in the .app) and i would 
 love to switch to gtk3. If someone have any experience with it let me know :)
 
 --pancake
 
 On 29/04/2011, at 17:34, Martin Leibner mleib...@tincorad.com wrote:
 
 Hello,
 
 I'm a GNU beginner learning Vala since a couple of months and after playing
 and enjoying a lot in my Ubuntu desktop installation, now I want to build
 some small apps to be used by MS Windows users.
 I came into MingW32, and with some efforts finally was able to build a
 console-based 'HelloWorld' targeting i586-mingw32msvc
 But it's getting really difficult to build a gtk-based 'HelloWorld', btw I'm
 using autotools stack.
 
 Someone could help me, maybe with a minimal gtk vala sample application
 targeting w32 ?
 
 I looked at valaide source but it uses waf and I'm not really used to it.
 
 Thanks in advance,
 Greetings,
 Martín
 ___
 vala-list mailing list
 vala-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/vala-list
 ___
 vala-list mailing list
 vala-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/vala-list
 
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Cross compiling vala gtk to win32

2011-04-30 Thread august


fantastico.  This is really useful.  Thanks for taking the time and
effort.


 I spend some time this morning to write down some notes and upload some blobs 
 and examples to build gtk apps for windows and osx.
 
 Have fun
 
 http://radare.org/cgi-bin/wk/GTK
 
 On 30/04/2011, at 0:44, august aug...@alien.mur.at wrote:
 
  
  I would be very interested in both the mingw cross compile instructions
  and the OSx dmg creation instructions.
  
  (Would be great to work out the GTK3 kinks too.)
  
  best -august.
  
  
  I have crosscompiled big vala+gtk (gtkaml) apps with mingw from linux to 
  windows.
  
  The setup is simple, but requires some tricks. 
  
  I used to install the last gtk blobs for windows and then by setting 
  pkgconfig, cflags and ldflags yo point to the directory containing the 
  liba and include files the projects compiles just fine.
  
  I have a zip somewhere with all this environment prepared (w32 blobs and a 
  test program in valagtl that crosscompiles with 'make') .. I will have to 
  find it because im replying thia from my phone. 
  
  But if someone finds it interesting i can provide instructions and the zip 
  for this.
  
  I have also recently packaged a vala+gtkon app for osx with gtk and quartz 
  (no x11). And stored in a standalone .app in a .dmg image.. 
  
  If someone finds this interesting i can write some instructions to do it.
  
  I still have to play with the themes (to be emedded in the .app) and i 
  would love to switch to gtk3. If someone have any experience with it let 
  me know :)
  
  --pancake
  
  On 29/04/2011, at 17:34, Martin Leibner mleib...@tincorad.com wrote:
  
  Hello,
  
  I'm a GNU beginner learning Vala since a couple of months and after 
  playing
  and enjoying a lot in my Ubuntu desktop installation, now I want to build
  some small apps to be used by MS Windows users.
  I came into MingW32, and with some efforts finally was able to build a
  console-based 'HelloWorld' targeting i586-mingw32msvc
  But it's getting really difficult to build a gtk-based 'HelloWorld', btw 
  I'm
  using autotools stack.
  
  Someone could help me, maybe with a minimal gtk vala sample application
  targeting w32 ?
  
  I looked at valaide source but it uses waf and I'm not really used to it.
  
  Thanks in advance,
  Greetings,
  Martín
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


[Vala] Cross compiling vala gtk to win32

2011-04-29 Thread Martin Leibner
Hello,

I'm a GNU beginner learning Vala since a couple of months and after playing
and enjoying a lot in my Ubuntu desktop installation, now I want to build
some small apps to be used by MS Windows users.
I came into MingW32, and with some efforts finally was able to build a
console-based 'HelloWorld' targeting i586-mingw32msvc
But it's getting really difficult to build a gtk-based 'HelloWorld', btw I'm
using autotools stack.

Someone could help me, maybe with a minimal gtk vala sample application
targeting w32 ?

I looked at valaide source but it uses waf and I'm not really used to it.

Thanks in advance,
Greetings,
Martín
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Cross compiling vala gtk to win32

2011-04-29 Thread Andrea Bolognani
On Fri, Apr 29, 2011 at 12:34:31PM -0300, Martin Leibner wrote:

 Hello,
 
 I'm a GNU beginner learning Vala since a couple of months and after playing
 and enjoying a lot in my Ubuntu desktop installation, now I want to build
 some small apps to be used by MS Windows users.
 I came into MingW32, and with some efforts finally was able to build a
 console-based 'HelloWorld' targeting i586-mingw32msvc
 But it's getting really difficult to build a gtk-based 'HelloWorld', btw I'm
 using autotools stack.
 
 Someone could help me, maybe with a minimal gtk vala sample application
 targeting w32 ?

I found myself in the same situation not long ago because of an application
I had to write.

I collected some notes along the way, with the idea of writing a more
comprehensive guide in the near future; then along came GTK+ 3, which is
AFAIK not really ready for use on Windows yet, and then the maintainer of
the current GTK+ 2 binary release for Windows decided to stop working on
that, so I never took the time to improve my notes, seeing it as work on
soon–to–be–obsolete technology. I would be glad to share what I have,
though, if you are interested.

You can take a look at the sources for the application I was referring
to[1], which, despite not being exactly a minimal example (you can avoid
some of the things I did if you don’t need Cairo and libxml2), could give
you some hints about how to cross–compile a win32 application.


[1] http://git.roundhousecode.com/cgi-bin/browse.cgi?p=beebop.git;a=summary
-- 
Andrea Bolognani e...@kiyuko.org
Resistance is futile, you will be garbage collected.


signature.asc
Description: Digital signature
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Cross compiling vala gtk to win32

2011-04-29 Thread pancake
I have crosscompiled big vala+gtk (gtkaml) apps with mingw from linux to 
windows.

The setup is simple, but requires some tricks. 

I used to install the last gtk blobs for windows and then by setting pkgconfig, 
cflags and ldflags yo point to the directory containing the liba and include 
files the projects compiles just fine.

I have a zip somewhere with all this environment prepared (w32 blobs and a test 
program in valagtl that crosscompiles with 'make') .. I will have to find it 
because im replying thia from my phone. 

But if someone finds it interesting i can provide instructions and the zip for 
this.

I have also recently packaged a vala+gtkon app for osx with gtk and quartz (no 
x11). And stored in a standalone .app in a .dmg image.. 

If someone finds this interesting i can write some instructions to do it.

I still have to play with the themes (to be emedded in the .app) and i would 
love to switch to gtk3. If someone have any experience with it let me know :)

--pancake

On 29/04/2011, at 17:34, Martin Leibner mleib...@tincorad.com wrote:

 Hello,
 
 I'm a GNU beginner learning Vala since a couple of months and after playing
 and enjoying a lot in my Ubuntu desktop installation, now I want to build
 some small apps to be used by MS Windows users.
 I came into MingW32, and with some efforts finally was able to build a
 console-based 'HelloWorld' targeting i586-mingw32msvc
 But it's getting really difficult to build a gtk-based 'HelloWorld', btw I'm
 using autotools stack.
 
 Someone could help me, maybe with a minimal gtk vala sample application
 targeting w32 ?
 
 I looked at valaide source but it uses waf and I'm not really used to it.
 
 Thanks in advance,
 Greetings,
 Martín
 ___
 vala-list mailing list
 vala-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/vala-list
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Cross compiling vala gtk to win32

2011-04-29 Thread august

I would be very interested in both the mingw cross compile instructions
and the OSx dmg creation instructions.

(Would be great to work out the GTK3 kinks too.)

best -august.


 I have crosscompiled big vala+gtk (gtkaml) apps with mingw from linux to 
 windows.
 
 The setup is simple, but requires some tricks. 
 
 I used to install the last gtk blobs for windows and then by setting 
 pkgconfig, cflags and ldflags yo point to the directory containing the liba 
 and include files the projects compiles just fine.
 
 I have a zip somewhere with all this environment prepared (w32 blobs and a 
 test program in valagtl that crosscompiles with 'make') .. I will have to 
 find it because im replying thia from my phone. 
 
 But if someone finds it interesting i can provide instructions and the zip 
 for this.
 
 I have also recently packaged a vala+gtkon app for osx with gtk and quartz 
 (no x11). And stored in a standalone .app in a .dmg image.. 
 
 If someone finds this interesting i can write some instructions to do it.
 
 I still have to play with the themes (to be emedded in the .app) and i would 
 love to switch to gtk3. If someone have any experience with it let me know :)
 
 --pancake
 
 On 29/04/2011, at 17:34, Martin Leibner mleib...@tincorad.com wrote:
 
  Hello,
  
  I'm a GNU beginner learning Vala since a couple of months and after playing
  and enjoying a lot in my Ubuntu desktop installation, now I want to build
  some small apps to be used by MS Windows users.
  I came into MingW32, and with some efforts finally was able to build a
  console-based 'HelloWorld' targeting i586-mingw32msvc
  But it's getting really difficult to build a gtk-based 'HelloWorld', btw I'm
  using autotools stack.
  
  Someone could help me, maybe with a minimal gtk vala sample application
  targeting w32 ?
  
  I looked at valaide source but it uses waf and I'm not really used to it.
  
  Thanks in advance,
  Greetings,
  Martín
  ___
  vala-list mailing list
  vala-list@gnome.org
  http://mail.gnome.org/mailman/listinfo/vala-list
 ___
 vala-list mailing list
 vala-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/vala-list

___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Cross compiling vala gtk to win32

2011-04-29 Thread Martin Leibner
Thank you very much!
I will be studying Beebop this weekend ;-)

Best regards,
Martin

2011/4/29 Andrea Bolognani e...@kiyuko.org

 On Fri, Apr 29, 2011 at 12:34:31PM -0300, Martin Leibner wrote:

  Hello,
 
  I'm a GNU beginner learning Vala since a couple of months and after
 playing
  and enjoying a lot in my Ubuntu desktop installation, now I want to build
  some small apps to be used by MS Windows users.
  I came into MingW32, and with some efforts finally was able to build a
  console-based 'HelloWorld' targeting i586-mingw32msvc
  But it's getting really difficult to build a gtk-based 'HelloWorld', btw
 I'm
  using autotools stack.
 
  Someone could help me, maybe with a minimal gtk vala sample application
  targeting w32 ?

 I found myself in the same situation not long ago because of an application
 I had to write.

 I collected some notes along the way, with the idea of writing a more
 comprehensive guide in the near future; then along came GTK+ 3, which is
 AFAIK not really ready for use on Windows yet, and then the maintainer of
 the current GTK+ 2 binary release for Windows decided to stop working on
 that, so I never took the time to improve my notes, seeing it as work on
 soon–to–be–obsolete technology. I would be glad to share what I have,
 though, if you are interested.

 You can take a look at the sources for the application I was referring
 to[1], which, despite not being exactly a minimal example (you can avoid
 some of the things I did if you don’t need Cairo and libxml2), could give
 you some hints about how to cross–compile a win32 application.


 [1]
 http://git.roundhousecode.com/cgi-bin/browse.cgi?p=beebop.git;a=summary
 --
 Andrea Bolognani e...@kiyuko.org
 Resistance is futile, you will be garbage collected.

 ___
 vala-list mailing list
 vala-list@gnome.org
 http://mail.gnome.org/mailman/listinfo/vala-list


___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list