[Vala] Vala on Android

2014-03-14 Thread gontzal

Hi Folks!!

Genie is already runing on Android using SDL 2.0.
See an educational app in android playstore named Katamotz Hitzak .
How to compile a genie/vala + SDL 2.0 game-application?
http://manualgenie.blogspot.com.es/
https://github.com/avalanche-games/avalanche/wiki/_pages

thanks... i love Genie. Maintain it please
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] [Genie] Build for windows under linux. Using minwg.

2014-09-16 Thread gontzal

OK.
But... is not easy to find the gstreamer bundle for windows and the 
gtk-clutter bundle. Any body knows about them?

Thanks. I will try it.

Gontzal.

ig., 2014.eko iraren 14a 20:22(e)an, Daniel Espinosa igorleak idatzi zuen:


I can help you. You can see at GXml project in git.gnome.org 
http://git.gnome.org. I've managed to build it under windows with no 
problems.


Just download GTK+ for windows bundle and use see to change prefix 
variable I'm all PC files to point to the Dir you uncompress this 
bundle. You must install mingw-w64 on your distribution.


Then on terminal set PKG_CONFIG_PATH to pont the directory you 
uncompress gtk+ bundle and add to the path lib/pkgconfig directory; 
this is very important, if you don't set correctly, pkg-config will 
find PC files from your Linux Installation and you compilation will 
fail with lot errors on headers.


When configure your software, use --host= to the platform you want to 
use, 32 or 64 bits. On Ubuntu you must use x86_64-w64-mingw32 for 64 
bits and i686-w64-mingw32, if you get lot of errors from included  
headers then the above host targets are wrong.


If most module use gobject introspection, you must disable because 
bundle doesn't include it.


As you can see on GXml, I've use valac to get C code then use the 
mingw-w64 compiler to compile it to get exe and DLLs.


C code must depend on a rule that use valac to get it. But be this is 
not required, may you want to use valac directly, in theory it must 
use mingw-w64 compiler because the host setting.


El sep 14, 2014 8:29 AM, Gontzal Uriarte txasato...@gmail.com 
mailto:txasato...@gmail.com escribió:


Hi!!

I have finished a Katamotz Ejercicios new application for reading
learning and teaching. Is a Genie application and it uses gtk-3,
pango,
cogl, clutter, clutter-gtk and gstreamer. No problems for building
under
linux for linux, but how do it for Windows. I have seen some
tutorials from
Tarnyko and others but... there is anyone for help me?

Thanks. Txasatonga.
___
vala-list mailing list
vala-list@gnome.org mailto:vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list



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


Re: [Vala] [Genie] Build for windows under linux. Using minwg.

2014-09-19 Thread gontzal

Yes, ok!!!
I have tried cross compiling from linux but i think is very difficult 
for me. I dont understand so much the mecanism of compilers, sorry. 
Certanly i wan't use windows but. I have tried the tools of tarnyko 
in windows and is moor easy building in situ. Thanks Tarnyko, your 
tools are so usefull!!!
I'm teacher and almost all computers in the schools uses Windows. I dont 
like this, but is the reality.


Now i'm trying to solve some errors with gtk-clutter in windows... I 
will anounce you if I finish.


Thanks.

or., 2014.eko iraren 19a 12:58(e)an, Tarnyko igorleak idatzi zuen:

Hi gontzal,
Tried to use the procedure from :
http://www.tarnyko.net/en/?q=node/37
?

gontzal writes:

OK.
But... is not easy to find the gstreamer bundle for windows and the 
gtk-clutter bundle. Any body knows about them?

Thanks. I will try it.
Gontzal.
ig., 2014.eko iraren 14a 20:22(e)an, Daniel Espinosa igorleak idatzi 
zuen:


I can help you. You can see at GXml project in git.gnome.org 
http://git.gnome.org. I've managed to build it under windows with 
no problems.
Just download GTK+ for windows bundle and use see to change prefix 
variable I'm all PC files to point to the Dir you uncompress this 
bundle. You must install mingw-w64 on your distribution.
Then on terminal set PKG_CONFIG_PATH to pont the directory you 
uncompress gtk+ bundle and add to the path lib/pkgconfig directory; 
this is very important, if you don't set correctly, pkg-config will 
find PC files from your Linux Installation and you compilation will 
fail with lot errors on headers.
When configure your software, use --host= to the platform you want 
to use, 32 or 64 bits. On Ubuntu you must use x86_64-w64-mingw32 for 
64 bits and i686-w64-mingw32, if you get lot of errors from 
included  headers then the above host targets are wrong.
If most module use gobject introspection, you must disable because 
bundle doesn't include it.
As you can see on GXml, I've use valac to get C code then use the 
mingw-w64 compiler to compile it to get exe and DLLs.
C code must depend on a rule that use valac to get it. But be this 
is not required, may you want to use valac directly, in theory it 
must use mingw-w64 compiler because the host setting.
El sep 14, 2014 8:29 AM, Gontzal Uriarte txasato...@gmail.com 
mailto:txasato...@gmail.com escribió:

Hi!!
I have finished a Katamotz Ejercicios new application for reading
learning and teaching. Is a Genie application and it uses gtk-3,
pango,
cogl, clutter, clutter-gtk and gstreamer. No problems for building
under
linux for linux, but how do it for Windows. I have seen some
tutorials from
Tarnyko and others but... there is anyone for help me?
Thanks. Txasatonga.
___
vala-list mailing list
vala-list@gnome.org mailto:vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


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


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


Re: [Vala] [Genie] Build for windows under linux. Using minwg.

2014-09-19 Thread gontzal
I have a little problem with gtk-clutter. Version: 1.2 of Tarnyko's 
ValaWinPKG tool In windows says me:


(clutter1.exe:2564): Clutter-Gtk-CRITICAL **: Embedding GtkWidget inside 
Clutter

Actor through GtkClutterActor does not yet work on non-X11 platforms.

when I code this:

uses Gtk;
uses Clutter;
uses GtkClutter;

window: Gtk.Window
embed: GtkClutter.Embed ;
stage: Clutter.Actor
actorx:Clutter.Actor
init
if (GtkClutter.init(ref args) != Clutter.InitError.SUCCESS)
GLib.warning(Could not initialize GtkClutter)

else
window = new Gtk.Window();
window.title = Katamotz Clutter;
embed = new GtkClutter.Embed();
var box= new Gtk.Box(Gtk.Orientation.HORIZONTAL, 5)
box.add(embed)
stage = embed.get_stage();

var boton = new Gtk.Button.with_label(Ejercicio 1);
var actorx = new GtkClutter.Actor.with_contents(boton);
actorx.set_reactive(true)
actorx.set_x(100)
actorx.set_y(100)
stage.add_child(actorx)

window.add(box)
window.set_default_size(600, 600);
window.show_all();
Gtk.main();

Anyon knows the reason of the error? Maybe the version? This code goes 
well on linux...


Thanks.




or., 2014.eko iraren 19a 12:58(e)an, Tarnyko igorleak idatzi zuen:

Hi gontzal,
Tried to use the procedure from :
http://www.tarnyko.net/en/?q=node/37
?

gontzal writes:

OK.
But... is not easy to find the gstreamer bundle for windows and the 
gtk-clutter bundle. Any body knows about them?

Thanks. I will try it.
Gontzal.
ig., 2014.eko iraren 14a 20:22(e)an, Daniel Espinosa igorleak idatzi 
zuen:


I can help you. You can see at GXml project in git.gnome.org 
http://git.gnome.org. I've managed to build it under windows with 
no problems.
Just download GTK+ for windows bundle and use see to change prefix 
variable I'm all PC files to point to the Dir you uncompress this 
bundle. You must install mingw-w64 on your distribution.
Then on terminal set PKG_CONFIG_PATH to pont the directory you 
uncompress gtk+ bundle and add to the path lib/pkgconfig directory; 
this is very important, if you don't set correctly, pkg-config will 
find PC files from your Linux Installation and you compilation will 
fail with lot errors on headers.
When configure your software, use --host= to the platform you want 
to use, 32 or 64 bits. On Ubuntu you must use x86_64-w64-mingw32 for 
64 bits and i686-w64-mingw32, if you get lot of errors from 
included  headers then the above host targets are wrong.
If most module use gobject introspection, you must disable because 
bundle doesn't include it.
As you can see on GXml, I've use valac to get C code then use the 
mingw-w64 compiler to compile it to get exe and DLLs.
C code must depend on a rule that use valac to get it. But be this 
is not required, may you want to use valac directly, in theory it 
must use mingw-w64 compiler because the host setting.
El sep 14, 2014 8:29 AM, Gontzal Uriarte txasato...@gmail.com 
mailto:txasato...@gmail.com escribió:

Hi!!
I have finished a Katamotz Ejercicios new application for reading
learning and teaching. Is a Genie application and it uses gtk-3,
pango,
cogl, clutter, clutter-gtk and gstreamer. No problems for building
under
linux for linux, but how do it for Windows. I have seen some
tutorials from
Tarnyko and others but... there is anyone for help me?
Thanks. Txasatonga.
___
vala-list mailing list
vala-list@gnome.org mailto:vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


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


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


Re: [Vala] [Genie] Build for windows under linux. Using minwg.

2014-09-19 Thread gontzal
I have a little problem with gtk-clutter. Version: 1.2 of Tarnyko's 
ValaWinPKG tool In windows says me:


(clutter1.exe:2564): Clutter-Gtk-CRITICAL **: Embedding GtkWidget inside 
Clutter

Actor through GtkClutterActor does not yet work on non-X11 platforms.

when I code this:

uses Gtk;
uses Clutter;
uses GtkClutter;

window: Gtk.Window
embed: GtkClutter.Embed ;
stage: Clutter.Actor
actorx:Clutter.Actor
init
if (GtkClutter.init(ref args) != Clutter.InitError.SUCCESS)
GLib.warning(Could not initialize GtkClutter)

else
window = new Gtk.Window();
window.title = Katamotz Clutter;
embed = new GtkClutter.Embed();
var box= new Gtk.Box(Gtk.Orientation.HORIZONTAL, 5)
box.add(embed)
stage = embed.get_stage();

var boton = new Gtk.Button.with_label(Ejercicio 1);
var actorx = new GtkClutter.Actor.with_contents(boton);
actorx.set_reactive(true)
actorx.set_x(100)
actorx.set_y(100)
stage.add_child(actorx)

window.add(box)
window.set_default_size(600, 600);
window.show_all();
Gtk.main();

Anyone knows the reason of the error? Maybe the version? This code goes 
well on linux...


Thanks.
or., 2014.eko iraren 19a 12:58(e)an, Tarnyko igorleak idatzi zuen:

Hi gontzal,
Tried to use the procedure from :
http://www.tarnyko.net/en/?q=node/37
?

gontzal writes:

OK.
But... is not easy to find the gstreamer bundle for windows and the 
gtk-clutter bundle. Any body knows about them?

Thanks. I will try it.
Gontzal.
ig., 2014.eko iraren 14a 20:22(e)an, Daniel Espinosa igorleak idatzi 
zuen:


I can help you. You can see at GXml project in git.gnome.org 
http://git.gnome.org. I've managed to build it under windows with 
no problems.
Just download GTK+ for windows bundle and use see to change prefix 
variable I'm all PC files to point to the Dir you uncompress this 
bundle. You must install mingw-w64 on your distribution.
Then on terminal set PKG_CONFIG_PATH to pont the directory you 
uncompress gtk+ bundle and add to the path lib/pkgconfig directory; 
this is very important, if you don't set correctly, pkg-config will 
find PC files from your Linux Installation and you compilation will 
fail with lot errors on headers.
When configure your software, use --host= to the platform you want 
to use, 32 or 64 bits. On Ubuntu you must use x86_64-w64-mingw32 for 
64 bits and i686-w64-mingw32, if you get lot of errors from 
included  headers then the above host targets are wrong.
If most module use gobject introspection, you must disable because 
bundle doesn't include it.
As you can see on GXml, I've use valac to get C code then use the 
mingw-w64 compiler to compile it to get exe and DLLs.
C code must depend on a rule that use valac to get it. But be this 
is not required, may you want to use valac directly, in theory it 
must use mingw-w64 compiler because the host setting.
El sep 14, 2014 8:29 AM, Gontzal Uriarte txasato...@gmail.com 
mailto:txasato...@gmail.com escribió:

Hi!!
I have finished a Katamotz Ejercicios new application for reading
learning and teaching. Is a Genie application and it uses gtk-3,
pango,
cogl, clutter, clutter-gtk and gstreamer. No problems for building
under
linux for linux, but how do it for Windows. I have seen some
tutorials from
Tarnyko and others but... there is anyone for help me?
Thanks. Txasatonga.
___
vala-list mailing list
vala-list@gnome.org mailto:vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


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


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


Re: [Vala] [Genie] Build for windows under linux. Using minwg.

2014-09-19 Thread gontzal

I have recived a message from Emmanuel Bassi, and says...

 if you update to Clutter ≥ 1.5.2 (or current master) then embedding 
*should* work on non-X11 platforms, but it hasn't been thoroughly tested 
yet. ciao, Emmanuele.


So, it will be cool to upgrade clutter in ValaWinPKG. But Tarnyko is 
always busy :-.

Gontzal.

or., 2014.eko iraren 19a 12:58(e)an, Tarnyko igorleak idatzi zuen:

Hi gontzal,
Tried to use the procedure from :
http://www.tarnyko.net/en/?q=node/37
?

gontzal writes:

OK.
But... is not easy to find the gstreamer bundle for windows and the 
gtk-clutter bundle. Any body knows about them?

Thanks. I will try it.
Gontzal.
ig., 2014.eko iraren 14a 20:22(e)an, Daniel Espinosa igorleak idatzi 
zuen:


I can help you. You can see at GXml project in git.gnome.org 
http://git.gnome.org. I've managed to build it under windows with 
no problems.
Just download GTK+ for windows bundle and use see to change prefix 
variable I'm all PC files to point to the Dir you uncompress this 
bundle. You must install mingw-w64 on your distribution.
Then on terminal set PKG_CONFIG_PATH to pont the directory you 
uncompress gtk+ bundle and add to the path lib/pkgconfig directory; 
this is very important, if you don't set correctly, pkg-config will 
find PC files from your Linux Installation and you compilation will 
fail with lot errors on headers.
When configure your software, use --host= to the platform you want 
to use, 32 or 64 bits. On Ubuntu you must use x86_64-w64-mingw32 for 
64 bits and i686-w64-mingw32, if you get lot of errors from 
included  headers then the above host targets are wrong.
If most module use gobject introspection, you must disable because 
bundle doesn't include it.
As you can see on GXml, I've use valac to get C code then use the 
mingw-w64 compiler to compile it to get exe and DLLs.
C code must depend on a rule that use valac to get it. But be this 
is not required, may you want to use valac directly, in theory it 
must use mingw-w64 compiler because the host setting.
El sep 14, 2014 8:29 AM, Gontzal Uriarte txasato...@gmail.com 
mailto:txasato...@gmail.com escribió:

Hi!!
I have finished a Katamotz Ejercicios new application for reading
learning and teaching. Is a Genie application and it uses gtk-3,
pango,
cogl, clutter, clutter-gtk and gstreamer. No problems for building
under
linux for linux, but how do it for Windows. I have seen some
tutorials from
Tarnyko and others but... there is anyone for help me?
Thanks. Txasatonga.
___
vala-list mailing list
vala-list@gnome.org mailto:vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


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


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


[Vala] Process.spawn_command_line_async; do nothing in windows

2015-01-22 Thread gontzal

Hello!!

Using Process.spawn_command_line_async in vala (windows) give me an error.
When i use it with the instaled libraries it goes well, but if i use 
Tarnyk's ValaWinPKG's libraries for a portable app, don't work!.
I suposse that is the same problem he had with GSettings and 
Filechooser. Isn't?

Any ideas?

Thanks Gontzal.



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


Re: [Vala] vala-list Digest, Vol 86, Issue 5

2015-01-22 Thread gontzal


ar., 2015.eko urtren 20a 13:00(e)an, vala-list-requ...@gnome.org 
igorleak idatzi zuen:

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

To subscribe or unsubscribe via the World Wide Web, visit
https://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. Windows compiling; Error with GSettings usen FileChooser.
   (Gontzal Uriarte)
2. Re: Windows compiling; Error with GSettings usen
   FileChooser. (Tarnyko)


--

Message: 1
Date: Tue, 20 Jan 2015 10:16:20 +0100
From: Gontzal Uriarte txasato...@gmail.com
To: vala-list@gnome.org
Subject: [Vala] Windows compiling; Error with GSettings usen
FileChooser.
Message-ID:
CADsu+Bbp+VWVKJHTT1-xWvLdReupLU3ZsLutho=12osgujo...@mail.gmail.com
Content-Type: text/plain; charset=UTF-8

Hello!
I hate windows
But there is no way, when all my school teaches using it!!!
I have finished one free program in Genie. Is like a Interactive Activity
Book but offline. (there is a lot of them online)
named kataderno (see at gitorious)
Ubuntu instalers for teachers book constructor
https://www.dropbox.com/s/xr71tia01ofiiq3/katadernoconstructor_1.0-1_i386.deb?dl=0
and learners book
https://www.dropbox.com/s/ce0ts4tlaw2l8xr/katadernouser_1.0-1_i386.deb?dl=0
.
I have compiled for windows with Tarnyko's tools (ValaWinPKG). All went all
right, but when the program want to show a
Filechooser... Blop... error message: Glib-gio-ERROR No GSettings schemas
are installed on the system.

Note: My application is portable.
Any Ideas about this?

Gontzal.


--

Message: 2
Date: Tue, 20 Jan 2015 11:06:24 +0100
From: Tarnyko tarn...@tarnyko.net
To: Gontzal Uriarte txasato...@gmail.com
Cc: vala-list@gnome.org
Subject: Re: [Vala] Windows compiling; Error with GSettings usen
FileChooser.
Message-ID: e1ydvhy-00021x...@s15847124.domainepardefaut.fr
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Gontzal,

This usually means GTK+'s schemas have not been correctly installed. Try
this :

glib-compile-schemas share\glib-2.0\schemas

when the schemas folder contains the
org.gtk.Settings.FileChooser.gschema.xml file.

Regards,
Tarnyko

Gontzal Uriarte writes:


Hello!
I hate windows
But there is no way, when all my school teaches using it!!!
I have finished one free program in Genie. Is like a Interactive Activity
Book but offline. (there is a lot of them online)
named kataderno (see at gitorious)
Ubuntu instalers for teachers book constructor
https://www.dropbox.com/s/xr71tia01ofiiq3/katadernoconstructor_1.0-1_i386.deb?dl=0
and learners book
https://www.dropbox.com/s/ce0ts4tlaw2l8xr/katadernouser_1.0-1_i386.deb?dl=0
.
I have compiled for windows with Tarnyko's tools (ValaWinPKG). All went all
right, but when the program want to show a
Filechooser... Blop... error message: Glib-gio-ERROR No GSettings schemas
are installed on the system.

Note: My application is portable.
Any Ideas about this?

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


--

Subject: Digest Footer

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


--

End of vala-list Digest, Vol 86, Issue 5

Ok...thanks Tarnyko!!. I have created a new directory in the portable 
app directory named:shaere/glib-2.0/schemas and there i have compiled 
the schemas as you write.

I goes!!!
thanks!!
But, i have another one question may be in other question mail.
Thanks!!
Gontzal.
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Process.spawn_command_line_async; do nothing in windows

2015-01-29 Thread gontzal

I have solved myself!!!
When you need to use Process.spawn_command_line_async you must copy 
into the

executable folder those files:
gspawn-win32-helper.exe
gspawn-win32-helper-console.exe

Bye.:-

og., 2015.eko urtren 22a 13:18(e)an, gontzal igorleak idatzi zuen:

Hello!!

Using Process.spawn_command_line_async in vala (windows) give me an 
error.
When i use it with the instaled libraries it goes well, but if i use 
Tarnyk's ValaWinPKG's libraries for a portable app, don't work!.
I suposse that is the same problem he had with GSettings and 
Filechooser. Isn't?

Any ideas?

Thanks Gontzal.





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


Re: [Vala] Genie Wiki and logo

2017-01-19 Thread Gontzal

Hello!

I have recently ported all my Katamotz proyects to Genie. You can see 
them on Gitlab.


https://gitlab.com/users/Gontzal/projects


In addition, thanks to Ducko because your Genie Wiki in spanish is 
fantastic!!! May be Al Thomas can add it to the Genie blog/wiki list. 
isn't?


By other hand!! I have recently discovered Msys2 for building apps for 
windows using pcman console on windows. Is really easy and fast. I use 
it for built my sdl/Gtk/gstreamer apps for windows without problems.


Bye and thanks to all!!









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


[Vala] [Genie] Build for windows under linux. Using minwg.

2014-09-14 Thread Gontzal Uriarte
Hi!!

I have finished a Katamotz Ejercicios new application for reading
learning and teaching. Is a Genie application and it uses gtk-3, pango,
cogl, clutter, clutter-gtk and gstreamer. No problems for building under
linux for linux, but how do it for Windows. I have seen some tutorials from
Tarnyko and others but... there is anyone for help me?

Thanks. Txasatonga.
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


[Vala] Windows compiling; Error with GSettings usen FileChooser.

2015-01-20 Thread Gontzal Uriarte
Hello!
I hate windows
But there is no way, when all my school teaches using it!!!
I have finished one free program in Genie. Is like a Interactive Activity
Book but offline. (there is a lot of them online)
named kataderno (see at gitorious)
Ubuntu instalers for teachers book constructor
https://www.dropbox.com/s/xr71tia01ofiiq3/katadernoconstructor_1.0-1_i386.deb?dl=0
and learners book
https://www.dropbox.com/s/ce0ts4tlaw2l8xr/katadernouser_1.0-1_i386.deb?dl=0
.
I have compiled for windows with Tarnyko's tools (ValaWinPKG). All went all
right, but when the program want to show a
Filechooser... Blop... error message: Glib-gio-ERROR No GSettings schemas
are installed on the system.

Note: My application is portable.
Any Ideas about this?

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