Re: [Vala] vala-list Digest, Vol 46, Issue 2

2011-09-06 Thread Derek Dai
I am using

   - cmake + pkg-config + mingw32 + vala + gtk+ win32 pre-built binaries +
   eclipse + cdt as development environment
   - cmake + nsis for packaging

All these tasks are done in Ubuntu.

   - cmake can be installed with apt-get (powerful make file generator).
   - mingw32 cross toolchain and nsis can be installed with apt-get (to
   generate binaries and packages for win32).
   - gtk+ win32 pre-built binaries can download from
herehttp://www.gtk.org/download/win32.php
   .
   - libgee for win32 can download from
herehttp://code.google.com/p/vala-win32/downloads/detail?name=libgee-0.6.1.zipcan=2q=
   .
   - vala is from vala ppa https://launchpad.net/%7Evala-team/+archive/ppa

After you downloaded gtk+ win32 pre-built binaries, you have to fix pathes
in .pc (mainly prefix, to the root where you put all these win32 binaries)
and .la (mainly libdir, prepend with the root), or pkg-config will report
wrong information.

On Fri, Sep 2, 2011 at 8:00 PM, vala-list-requ...@gnome.org wrote:

 Send vala-list mailing list submissions to
vala-list@gnome.org

 To subscribe or unsubscribe via the World Wide Web, visit
http://mail.gnome.org/mailman/listinfo/vala-list
 or, via email, send a message with subject or body 'help' to
vala-list-requ...@gnome.org

 You can reach the person managing the list at
vala-list-ow...@gnome.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of vala-list digest...


 Today's Topics:

   1. Re: Vala logo symbol voting (Tobias Bernard)
   2. Re: How to make shared library in win32? (Tal Hadad)
   3. vala on a mac (august)
   4. Re: vala on a mac (pancake)


 --

 Message: 1
 Date: Thu, 1 Sep 2011 16:30:26 +0200
 From: Tobias Bernard berto...@gmail.com
 To: Dru Moore d...@dru-id.co.uk, vala-list@gnome.org
 Subject: Re: [Vala] Vala logo symbol voting
 Message-ID:
cafq_nlb-x1ec4cbxuq2gscnjjr9623vdhquwtaaheahzidr...@mail.gmail.com
 
 Content-Type: text/plain; charset=iso-8859-1

 It's never too late for feedback :)

 But as I already wrote here on the mailing list, this voting won't be about
 the VALA text but about the symbol. This text is on the proposals as an
 example, but it will be dicussed later and there will be a separate voting
 on it.
 For now, if you don't like it, ignore it ;)

 tobias

 2011/8/31 Dru Moore d...@dru-id.co.uk

  Probably far too late in the process to come back and comment on this
  but I have a few general comments.
 
  I really like the concept of wings etc and think of the logo marks,
  all but #4 are really very strong, to me #4 is the weakest and is only
  good.
 
  However, I really dislike the font used for VALA.
 
  I totally get that by reducing the number of strokes required to form
  the letters you are trying to evoke simplicity and lightness as shared
  qualities. For me it actually suggests a different, less accurate set
  of ideas:
  Only a few basic tools - 4 unique strokes build the entire word
  Very direct and angular - fast yes, elegant no.
 
  These would seem more to be the qualities of a low level language
  (assembler or c) rather than a modern, high level language. Vala
  provides lot's of tools and high level objects to it's users that
  should let us express ourselves in a much more elegant fashion.
 
  Appreciate these comments may be coming at the least helpful time and
  regardless the outcome will clearly be to a very high standard.
 
  On 31 August 2011 18:20, Tobias Bernard berto...@gmail.com wrote:
   I totally agree with you that war isn't a good symbolism for this, it
 is
  one
   of the reasons I deleted that proposal.
  
   The reason why I created it in the first place was the sound of Vala:
  it
   reminds of Valkyrie or Valhalla (and if you've read the
 Silmarillion
  it
   reminds of the Valar), and ancient weapons are strongly connected to
  those
   topics, so I wanted to try working on that. But since there are better
   symbolisms (which also look better graphically :D), I deleted that
  proposal.
  
   I don't know if you've taken a look at the pdf, but there are several
   proposals which communicate exactly what you said: lightness, easiness,
   flying etc.
   A flying carpet isn't a bad idea but personally, I like a wing better,
   because it's less complex and easier to understand.
   in case you've missed it: symbol proposals pdf
   downloadhttp://ubuntuone.com/p/1DBL/
  
   kind regards
   tobias
  
   2011/8/31 Jim Peters j...@uazu.net
  
   Sam Liddicott wrote:
2) The symbolism of ancient warfare is hard to
understand. Probably too hard to be understood instantly by most
people, so I put that proposal away too.
   
The presentation is very good.
   
I think that symbols of weapons, killing and/or warfare should be
avoided, having very current and unpleasant connotations for many
people in specific locales.
  
   War happens 

[Vala] live.gnome.org is down

2011-09-06 Thread rastersoft

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all

The server live.gnome.org is down, and so all the pages about Vala.

Does someone know when will it be active again?

Thanks.

- -- 
Nos leemos
 RASTER(Linux user #228804)
ras...@rastersoft.com  http://www.rastersoft.com

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5lyk0ACgkQXEZvyfy1ha9JuQCfUzhk/HVVONOVIe11yvqgJwkt
d+oAoLn1t/wnAtEFcm90KrJ20GQVj8ti
=Tz+X
-END PGP SIGNATURE-

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


Re: [Vala] vala-list Digest, Vol 46, Issue 2

2011-09-06 Thread Rodrigo Esteban Cares Guarda
Hi, can you make a tutorial on live.gnome.org/Vala about how to develop
under Win32.

Thanks.

El mar, 06-09-2011 a las 14:06 +0800, Derek Dai escribió:
 I am using
 
- cmake + pkg-config + mingw32 + vala + gtk+ win32 pre-built binaries +
eclipse + cdt as development environment
- cmake + nsis for packaging
 
 All these tasks are done in Ubuntu.
 
- cmake can be installed with apt-get (powerful make file generator).
- mingw32 cross toolchain and nsis can be installed with apt-get (to
generate binaries and packages for win32).
- gtk+ win32 pre-built binaries can download from
 herehttp://www.gtk.org/download/win32.php
.
- libgee for win32 can download from
 herehttp://code.google.com/p/vala-win32/downloads/detail?name=libgee-0.6.1.zipcan=2q=
.
- vala is from vala ppa https://launchpad.net/%7Evala-team/+archive/ppa
 
 After you downloaded gtk+ win32 pre-built binaries, you have to fix pathes
 in .pc (mainly prefix, to the root where you put all these win32 binaries)
 and .la (mainly libdir, prepend with the root), or pkg-config will report
 wrong information.
 
 On Fri, Sep 2, 2011 at 8:00 PM, vala-list-requ...@gnome.org wrote:
 
  Send vala-list mailing list submissions to
 vala-list@gnome.org
 
  To subscribe or unsubscribe via the World Wide Web, visit
 http://mail.gnome.org/mailman/listinfo/vala-list
  or, via email, send a message with subject or body 'help' to
 vala-list-requ...@gnome.org
 
  You can reach the person managing the list at
 vala-list-ow...@gnome.org
 
  When replying, please edit your Subject line so it is more specific
  than Re: Contents of vala-list digest...
 
 
  Today's Topics:
 
1. Re: Vala logo symbol voting (Tobias Bernard)
2. Re: How to make shared library in win32? (Tal Hadad)
3. vala on a mac (august)
4. Re: vala on a mac (pancake)
 
 
  --
 
  Message: 1
  Date: Thu, 1 Sep 2011 16:30:26 +0200
  From: Tobias Bernard berto...@gmail.com
  To: Dru Moore d...@dru-id.co.uk, vala-list@gnome.org
  Subject: Re: [Vala] Vala logo symbol voting
  Message-ID:
 cafq_nlb-x1ec4cbxuq2gscnjjr9623vdhquwtaaheahzidr...@mail.gmail.com
  
  Content-Type: text/plain; charset=iso-8859-1
 
  It's never too late for feedback :)
 
  But as I already wrote here on the mailing list, this voting won't be about
  the VALA text but about the symbol. This text is on the proposals as an
  example, but it will be dicussed later and there will be a separate voting
  on it.
  For now, if you don't like it, ignore it ;)
 
  tobias
 
  2011/8/31 Dru Moore d...@dru-id.co.uk
 
   Probably far too late in the process to come back and comment on this
   but I have a few general comments.
  
   I really like the concept of wings etc and think of the logo marks,
   all but #4 are really very strong, to me #4 is the weakest and is only
   good.
  
   However, I really dislike the font used for VALA.
  
   I totally get that by reducing the number of strokes required to form
   the letters you are trying to evoke simplicity and lightness as shared
   qualities. For me it actually suggests a different, less accurate set
   of ideas:
   Only a few basic tools - 4 unique strokes build the entire word
   Very direct and angular - fast yes, elegant no.
  
   These would seem more to be the qualities of a low level language
   (assembler or c) rather than a modern, high level language. Vala
   provides lot's of tools and high level objects to it's users that
   should let us express ourselves in a much more elegant fashion.
  
   Appreciate these comments may be coming at the least helpful time and
   regardless the outcome will clearly be to a very high standard.
  
   On 31 August 2011 18:20, Tobias Bernard berto...@gmail.com wrote:
I totally agree with you that war isn't a good symbolism for this, it
  is
   one
of the reasons I deleted that proposal.
   
The reason why I created it in the first place was the sound of Vala:
   it
reminds of Valkyrie or Valhalla (and if you've read the
  Silmarillion
   it
reminds of the Valar), and ancient weapons are strongly connected to
   those
topics, so I wanted to try working on that. But since there are better
symbolisms (which also look better graphically :D), I deleted that
   proposal.
   
I don't know if you've taken a look at the pdf, but there are several
proposals which communicate exactly what you said: lightness, easiness,
flying etc.
A flying carpet isn't a bad idea but personally, I like a wing better,
because it's less complex and easier to understand.
in case you've missed it: symbol proposals pdf
downloadhttp://ubuntuone.com/p/1DBL/
   
kind regards
tobias
   
2011/8/31 Jim Peters j...@uazu.net
   
Sam Liddicott wrote:
 2) The symbolism of ancient warfare is hard to
 understand. Probably too hard to be understood instantly by 

Re: [Vala] live.gnome.org is down

2011-09-06 Thread bsquared
On Tue, Sep 6, 2011 at 12:22 AM, rastersoft ras...@rastersoft.com wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi all

 The server live.gnome.org is down, and so all the pages about Vala.

 Does someone know when will it be active again?

 Thanks.

 - --
 Nos leemos
                 RASTER    (Linux user #228804)
 ras...@rastersoft.com              http://www.rastersoft.com

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.11 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

 iEYEARECAAYFAk5lyk0ACgkQXEZvyfy1ha9JuQCfUzhk/HVVONOVIe11yvqgJwkt
 d+oAoLn1t/wnAtEFcm90KrJ20GQVj8ti
 =Tz+X
 -END PGP SIGNATURE-

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


They have been for almost a week.  You can use Google to a get cached copy.

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


Re: [Vala] vala on a mac

2011-09-06 Thread august


wow.  This is also very helpful.  Thanks for this.

Do you happen to know if GTK3 will be maintained on OSX?  Are the bugs
you mention ones that can be squashed?  It would be great to eventually
put together a workflow that is completely cross-compilable using vala.

-august.

 On Sat, Sep 3, 2011 at 5:29 PM, august aug...@alien.mur.at wrote:
  Thanks for this.  There's some good info in there.
 
  I'm sure there will be some differences with GTK+3, but this gives me a
  great place to starts.
 
 fyi GTK 3 is still pretty buggy on OS X, with rendering bugs, crashes
 etc, but it does work somewhat, and each new bug opened in bugzilla is
 a win for all of us who are determined to stick with GTK for UI on OS
 X as well :)
 
 For integrating with the menu, dock etc, and also .app packaging, you
 can find some stuff over here:
 
 https://github.com/jralls
 
 -- 
 Daniel Svensson

-- 
http://aug.ment.org
GPG: 0A8D 2BC7 243D 57D0 469D  9736 C557 458F 003E 6952

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


[Vala] code does not compile with 0.13.2+, did with 0.13.1

2011-09-06 Thread Iñigo Serna
Hello,

I have some code that compiled ok with 0.13.1 but which doesn't
compile with 0.13.2 or 0.13.3
I also noted that new .c files are bigger, with many more temp vars

My code is a bit complex, bindings of some libs for an e-ink device.
In fact I'm using an ARM cross-compiler from a x86_64 linux machine.


This is how I run the vala:

$ valac --vapidir=../irex --pkg=gtk+-2.0 --pkg=gdk-x11-2.0
--pkg=gconf-2.0 --pkg=liberipc --pkg=posix --pkg=sqlite3 --pkg=MyUtils
--cc=arm-poky-linux-gnueabi-gcc -X -mcpu=arm1136jf-s -X
-mtune=arm1136jf-s -X -O3  --enable-experimental --save-temps
navigator.vala ../irex/irex.vala ../irex/irexplus.vala -o navigator

and the errors:
[...]
/home/devel/mine/ereader/dr-vala/navigator/irex.c: In function
‘irex_ipc_get_battery_state’:
/home/devel/mine/ereader/dr-vala/navigator/irex.c:654: error:
‘liberipcArgString’ undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c:654: error: (Each
undeclared identifier is reported only once
/home/devel/mine/ereader/dr-vala/navigator/irex.c:654: error: for each
function it appears in.)
/home/devel/mine/ereader/dr-vala/navigator/irex.c:654: error: expected
‘;’ before ‘_tmp4_’
/home/devel/mine/ereader/dr-vala/navigator/irex.c:658: error: expected
‘;’ before ‘_tmp8_’
/home/devel/mine/ereader/dr-vala/navigator/irex.c:665: warning:
assignment discards qualifiers from pointer target type
/home/devel/mine/ereader/dr-vala/navigator/irex.c:667: error: ‘_tmp4_’
undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c:670: warning:
assignment discards qualifiers from pointer target type
/home/devel/mine/ereader/dr-vala/navigator/irex.c:672: error: ‘_tmp8_’
undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c: In function
‘irex_ipc_on_menu_item’:
/home/devel/mine/ereader/dr-vala/navigator/irex.c:715: error:
‘liberipcArgString’ undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c:715: error: expected
‘;’ before ‘_tmp3_’
/home/devel/mine/ereader/dr-vala/navigator/irex.c:722: error: expected
‘;’ before ‘_tmp9_’
/home/devel/mine/ereader/dr-vala/navigator/irex.c:729: error: expected
‘;’ before ‘_tmp15_’
/home/devel/mine/ereader/dr-vala/navigator/irex.c:736: error: expected
‘;’ before ‘_tmp21_’
/home/devel/mine/ereader/dr-vala/navigator/irex.c:745: warning:
assignment discards qualifiers from pointer target type
/home/devel/mine/ereader/dr-vala/navigator/irex.c:747: error: ‘_tmp3_’
undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c:752: warning:
assignment discards qualifiers from pointer target type
/home/devel/mine/ereader/dr-vala/navigator/irex.c:754: error: ‘_tmp9_’
undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c:759: warning:
assignment discards qualifiers from pointer target type
/home/devel/mine/ereader/dr-vala/navigator/irex.c:761: error:
‘_tmp15_’ undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c:766: warning:
assignment discards qualifiers from pointer target type
/home/devel/mine/ereader/dr-vala/navigator/irex.c:768: error:
‘_tmp21_’ undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c: In function
‘irex_ipc_on_window_activated’:
/home/devel/mine/ereader/dr-vala/navigator/irex.c:785: error:
‘liberipcArgString’ undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c:785: error: expected
‘;’ before ‘_tmp3_’
/home/devel/mine/ereader/dr-vala/navigator/irex.c:796: warning:
assignment discards qualifiers from pointer target type
/home/devel/mine/ereader/dr-vala/navigator/irex.c:798: error: ‘_tmp3_’
undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c: In function
‘irex_ipc_on_window_deactivated’:
/home/devel/mine/ereader/dr-vala/navigator/irex.c:814: error:
‘liberipcArgString’ undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c:814: error: expected
‘;’ before ‘_tmp3_’
/home/devel/mine/ereader/dr-vala/navigator/irex.c:825: warning:
assignment discards qualifiers from pointer target type
/home/devel/mine/ereader/dr-vala/navigator/irex.c:827: error: ‘_tmp3_’
undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c: In function
‘irex_ipc_on_file_open’:
/home/devel/mine/ereader/dr-vala/navigator/irex.c:843: error:
‘liberipcArgString’ undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c:843: error: expected
‘;’ before ‘_tmp3_’
/home/devel/mine/ereader/dr-vala/navigator/irex.c:861: warning:
assignment discards qualifiers from pointer target type
/home/devel/mine/ereader/dr-vala/navigator/irex.c:863: error: ‘_tmp3_’
undeclared (first use in this function)
/home/devel/mine/ereader/dr-vala/navigator/irex.c: In function
‘irex_ipc_on_file_close’:

[Vala] Gentoo overlays has moved

2011-09-06 Thread Гаврилов Максим
Hi everyone,

Good news for Gentoo users:  vala-overlay has moved from svn to git.

The project page has also changed from http://code.google.com/p/gentoo-vala/ to
http://code.google.com/p/vala-overlay/
Moving to git means that the overlay now is easier for me to maintain,
easier for
you to add and easier for you to propose new ebuilds.

To switch to a new repo just do this:

  # layman -d vala
  # layman -L
  # layman -a vala

(playman users, you don't need any explanations,do you?)

I'm also glad to say that I have recently updated Vala to 0.13.3,
Shotwell to 0.11 and Valaterm to 0.4.2.

Everyone who has a GoogleCode account can now create a clone of a repo and try
to write his own ebuild based on two new eclasses: vala.eclass and waf.eclass.
Then you just create a pull request and I'll merge your ebuild into the overlay.

P.S.: Old project page will remain unmaintained till Nov 1, 2011 and
then it will be deleted.

___
Best regards,
Max.
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list