Reply
Thread Tools
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#71
Thanks Jaffa for the Vala 0.7.3, had lots of issues with bad c code with the older versions, but latest fixed them. Anyways, few questions:

What the heck can I use for IO? Only FileUtils seems to work for basic file reading, but I need better than that. Diablo GLib seems to be too old for gio/gio-unix that I need. I installed libgio-dev, but it fails to compile with:

Code:
/usr/lib/libgio-2.0.so: undefined reference to `IA__g_app_info_get_default_for_type'
Why is that in repos if it doesn't work or am I missing a lib it needs? Error seems to point to a newer GLib.

What about UDP? I need multicast udp and can't find a lib for that either. I had to do it C so I can add it to c code, but I'd rather use Vala for that too.

Also libsoup-2.2 seems to be buggy, I get all kinds of weird stuff in body like extra chars and even headers etc, so I had to add ugly separators to rule them out.

Vala ain't that bad once you get the hang of it and I do love the speed, but these issues are really making it unsuitable for my needs. Any advice especially for my io-problem?
 

The Following User Says Thank You to ukki For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#72
You will also have those issues with C you know The problem is the old libraries on the NIT and Vala can't change that. At least in Frematle they updated at last.

What are you trying to do with files that requres GIO?
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#73
Originally Posted by Bundyo View Post
What are you trying to do with files that requres GIO?
Actually I need it for this:

http://valadoc.org/?pkg=glib-2.0&ele...ync_with_pipes
 

The Following User Says Thank You to ukki For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#74
I don't see anything related to GIO in Process.spawn_async_with_pipes?
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#75
Originally Posted by Bundyo View Post
I don't see anything related to GIO in Process.spawn_async_with_pipes?
It returns a file descriptor for the input and I need a way to write to that.

Last edited by ukki; 2009-06-14 at 07:25.
 

The Following User Says Thank You to ukki For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#76
http://library.gnome.org/devel/glib/...annel-unix-new
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following 2 Users Say Thank You to Bundyo For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#77
Thank you!!1
 

The Following User Says Thank You to ukki For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#78
Okay Jaffa, I managed to get Tear compiling on 0.7.3 without any additional changes, I'm using WAF for building (and deb building), so how can I get mud builder to use WAF?
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following 3 Users Say Thank You to Bundyo For This Useful Post:
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#79
Originally Posted by Bundyo View Post
Okay Jaffa, I managed to get Tear compiling on 0.7.3 without any additional changes, I'm using WAF for building (and deb building), so how can I get mud builder to use WAF?
You might not need to use mud-builder to use WAF. As long as you've got a debian/rules file in your tarball which has a number of simple targets (the vala-sample example is pretty minimal ;-)) you should be able to upload the tarball straight to the auto-builder.
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org
 

The Following User Says Thank You to Jaffa For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#80
That overall means that I shouldn't use WAF at all, eh? Because if I should have a Makefile and a rules file then I should do all the build config again, only this time through make/dpkg-buildpackage and a lot harder and confusing...
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 
Reply


 
Forum Jump


All times are GMT. The time now is 14:14.