Re: [Vala] libwebkit-dev windows

2012-05-12 Thread Martin Leibner
Hi Edwin,

I think 
here(1)
you may find it, and if you work on Ubuntu/Win7, to open the .rpm files
from windows I use 7-Zip (also works with .deb).  I just found that list by
googling hard but I haven't time to test them yet, so I you make any
progress please share your findings :)

Anyway I myself as I think you're, I'm trying to get a minimal stack of
tools/libs in order to do cross application developments, being the current
stopper to me find a small (binary files sizes)  and working webbrowser
(WebKit if possible) to be used as a UI container in the client's Desktop
apps (mainly Win7, but some Ubuntu's also)
I will love if someone has experience using libseed with gtk3 in Win7 and
if you or any on this list can help me a little bit since I'm pretty new on
Vala and free-software developments in general.

Currently for the crossbuilding part with Vala I'm using cmake macros with
mingw32 and it works pretty well with gtk2 after spending some time to
adjust all configs and helper scripts.

BTW, I'm also learning Python because I've found a lot of documentation on
how to use py2exe and friends to similar goals.
And because many people seem to be using Waf to build Vala apps and Waf is
a Python tool.

(1):
http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Factory/noarch/

Looking forward for your comments,
Greetings,
Martin



2012/5/9 Edwin DLCA 

> Best regards.
> I searched a lot or maybe I'm doing wrong but can not find where to
> download
>  libwebkit.dll libwebkit-dev and windows, libwebkit I managed, but I
> try to compile
> with valac wondows but I can not find it.
> Anyone know where I can download?
>
> ___
> 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 

> 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 
> 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


[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] Failed to include the header file

2011-03-28 Thread Martin Leibner
Hi,

I think a quick hack could be to copy the file gio-2.0.vapi into ./

Maybe someone knows if it's possible to specify more tan one path to search
for .vapi files, when using  "--vapidir=DIR"

Best regards,
Martín

2011/3/29 Joshua Lee 

> Hi All,
> Here's a little example:
>  - libtest.vala
>[DBus (name="com.example.LibTest")]
>public class LibTest: Object{
>  int i;
>  public void method_one()
>  {
>stdout.printf("Hello, world\n");
>  }
>}
>  - test.vala
>
>public class Test{
>  public static void main(){
>LibTest lib = new LibTest();
>lib.method_one();
>  }
>}
>
> Compiling with following command.
> valac -C -H libtest.h  libtest.vala --library libtest --pkg gio-2.0
> valac -C test.vala --vapidir=. --pkg libtest --pkg gio-2.0
> gcc test.c libtest.c  `pkg-config --libs --cflags gio-2.0` -I.
>
> The last gcc compiling command output following error message:
>  In file included from test.c:7:0:
>  ./libtest.h:35:47: error: expected declaration specifiers or ‘...’
>  before ‘GDBusConnection’
>
> From the generated ccode, we found that the c code do not include
> gio.h. How can I do to fix it?
>
> BTW, I'm using the develement vala - Vala 0.11.7.
>
> Thanks a lot.
>
> Best regards,
> Joshua
>
> ___
> 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