Re: [Vala] glib-2.0 debian lenny 64

2009-10-12 Thread Frederik
Quikee wrote: > On Mon, Oct 12, 2009 at 9:51 PM, bb wrote: >> >> I cannot find that package glib-2.0 (or glib2) in any debian repository. > > http://packages.debian.org/lenny/libglib2.0-0 For development it must be http://packages.debian.org/lenny/libglib2.0-dev , of course. Best regards, Fr

Re: [Vala] [Genie] Convert string to uchar[]

2009-10-12 Thread Nicolas
Thank you so much Jamie, that build ! Nicolas. I have just committed fix in master - if it does not work pls let me know jamie ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] [Genie] Convert string to uchar[]

2009-10-12 Thread Jamie McCracken
I have just committed fix in master - if it does not work pls let me know jamie On Mon, 2009-10-12 at 21:48 +0200, Nicolas wrote: > Thank you Jamie for your response. > > I really need to use this , so i hope you find a solution quickly so > that I can continue developing my program. > > If I

Re: [Vala] glib-2.0 debian lenny 64

2009-10-12 Thread Quikee
On Mon, Oct 12, 2009 at 9:51 PM, bb wrote: > Hello, > I actually tried to compile vala from source on lenny 64 bit and get the > following error: >             ... >       checking pkg-config is at least version 0.9.0... yes >       checking for GLIB... configure: error: Package requirements >    

[Vala] glib-2.0 debian lenny 64

2009-10-12 Thread bb
Hello, I actually tried to compile vala from source on lenny 64 bit and get the following error: ... checking pkg-config is at least version 0.9.0... yes checking for GLIB... configure: error: Package requirements (glib-2.0 >= 2.12.0 gobject-2.0 >= 2.12.0) were

Re: [Vala] [Genie] Convert string to uchar[]

2009-10-12 Thread Nicolas
Thank you Jamie for your response. I really need to use this , so i hope you find a solution quickly so that I can continue developing my program. If I can help, please don't hesitate to ask, Thank you again, Nicolas. looks like a bug - I will try and get a fix soon jamie ___

Re: [Vala] [Genie] Convert string to uchar[]

2009-10-12 Thread Jamie McCracken
On Mon, 2009-10-12 at 18:19 +0200, Nicolas wrote: > Thanks, but already tested and this: > > data_string : string > testing : array of uchar > testing = (array of uchar) data_string > > Return: > > error: syntax error, expected identifier > testing = (array of uchar) data_string >

Re: [Vala] [Genie] Convert string to uchar[]

2009-10-12 Thread Nicolas
Thanks Jürg, but if i've got my string as char[], i need to convert it to uchar[], so same problem no ? Nicolas. There is a string.to_utf8 method that returns a copy of the string as char[]. Jürg ___ Vala-list mailing list Vala-list@gnome.org htt

Re: [Vala] [Genie] Convert string to uchar[]

2009-10-12 Thread Jürg Billeter
On Mon, 2009-10-12 at 16:29 +0200, Nicolas wrote: > I need to convert string to array of uchar in genie. > I know under vala it's "(uchar[]) testing" where testing is the string, > so how can i do this under genie ? There is a string.to_utf8 method that returns a copy of the string as char[]. Jü

Re: [Vala] [Genie] Convert string to uchar[]

2009-10-12 Thread Nicolas
Thanks, but already tested and this: data_string : string testing : array of uchar testing = (array of uchar) data_string Return: error: syntax error, expected identifier testing = (array of uchar) data_string ^ Another idea ? Nicolas. try (array of uchar) testing

Re: [Vala] [Genie] Convert string to uchar[]

2009-10-12 Thread Jamie McCracken
On Mon, 2009-10-12 at 16:29 +0200, Nicolas wrote: > Hi, > > I need to convert string to array of uchar in genie. > I know under vala it's "(uchar[]) testing" where testing is the string, > so how can i do this under genie ? > try (array of uchar) testing

[Vala] [Genie] Convert string to uchar[]

2009-10-12 Thread Nicolas
Hi, I need to convert string to array of uchar in genie. I know under vala it's "(uchar[]) testing" where testing is the string, so how can i do this under genie ? Thanks in advance for your response, Nicolas. ___ Vala-list mailing list Vala-list@g