maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Vala for Maemo development (https://talk.maemo.org/showthread.php?t=18968)

qwerty12 2009-06-22 20:15

Re: Vala for Maemo development
 
Quote:

Originally Posted by Bundyo (Post 298738)
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... :(

I don't know WAF but using a Makefile, generallly, isn't a forced requirement of debian/ :)

This is just stuff OTOH and not guaranteed to be accurate but instead of $(MAKE), you'd use waf build and instead of $(MAKE) install, you'd use waf install --prefix=/usr --destdir=$(CURDIR)/debian/tear etc :)

midori package in debian uses waf btw :)

qwerty12 2009-06-23 16:23

Re: Vala for Maemo development
 
Packaged it for Mer: http://trac.tspre.org/qwerty12/tear/

It's not going to help you directly as it uses debhelper 7 (compared to Diablo's 5) and it has some dirty tricks applied to it. I had to force quilt patching as it didn't seem to do it otherwise for some odd reason, and you have no include/wscript so I just install the required files from debian/rules.

I have done some minor things to save space though - tear.png is installed to /usr/share/pixmaps but it's then symlinked to the other folders as opposed to copying it again and the binary is stripped bringing it from ~700KB to ~300KB.

It's dirtily done but it does produce a working package.

Bundyo 2009-06-23 16:48

Re: Vala for Maemo development
 
What do you mean by "you have no include/wscript"? :)

qwerty12 2009-06-23 16:50

Re: Vala for Maemo development
 
Well, you install files into /usr/share/ (desktop file, service file, etc) that are from the include/ folder but you don't have a wscript covering those files so a waf install won't touch those files. I see that you install them with waf dist but it doesn't help me when it comes to doing it from debian/ :)

Bundyo 2009-06-23 17:07

Re: Vala for Maemo development
 
You can build the deb and then install it :p

Jaffa 2009-06-24 12:36

Re: Vala for Maemo development
 
Quote:

Originally Posted by Bundyo (Post 298738)
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... :(

I'm not an expert on the innards of Debian packaging (why I wrote mud to make it easier for me ;-)). I'd start with what I know, which is probably the worst case scenario: invoke waf from the debian/rules makefile.

Bundyo 2009-07-03 18:47

Re: Vala for Maemo development
 
@Jaffa: Looks like 0.7.4 is out:
http://live.gnome.org/Vala/Release

Jaffa 2009-07-04 12:13

Re: Vala for Maemo development
 
Quote:

Originally Posted by Bundyo (Post 301852)
@Jaffa: Looks like 0.7.4 is out:
http://live.gnome.org/Vala/Release

Now in Extras-devel for chinook, diablo and fremantle. Will push to Extras in a couple of days.

Bundyo 2009-07-14 13:40

Re: Vala for Maemo development
 
Another Vala GEdit plugin:
http://yorba.org/valencia/

Bundyo 2009-11-24 22:37

Re: Vala for Maemo development
 
1 Attachment(s)
Attaching libzeemote vapi, not very tested, patches welcome :)

This actually needs -lbluetooth -lpthread added on linking (I modified my libzeemote.pc to include them) because there's no direct bluez and pthread support in Vala.

Bundyo 2009-11-24 22:39

Re: Vala for Maemo development
 
Oh, before I forget, Jaffa, can you add vapigen in the Vala package?

Bundyo 2009-12-13 22:38

Re: Vala for Maemo development
 
There's now gtkaml in Fremantle's Extras-devel.

http://code.google.com/p/gtkaml/
http://code.google.com/p/gtkaml/wiki/Example

Bundyo 2010-04-29 20:16

Re: Vala for Maemo development
 
One interesting thing - there's now MeeGo package in MonoDevelop's SVN... My configure finished like this:

Code:

Configuration Summary
---------------------

MonoDevelop has been configured with
    prefix = /usr
    profile = all

Packages included in the build:
    main
    extras/JavaBinding
    extras/BooBinding
    extras/ValaBinding
    extras/AspNetEdit
    extras/GeckoWebBrowser
    extras/WebKitWebBrowser
    extras/MonoDevelop.Database
    extras/MonoDevelop.Profiling
    extras/MonoDevelop.CodeAnalysis
    extras/MonoDevelop.Debugger.Mdb
    extras/MonoDevelop.Debugger.Gdb
    extras/PyBinding
    extras/MonoDevelop.MeeGo

Unfortunately it doesn't build... :)

http://tirania.org/blog/archive/2010/Feb-22.html

Looks like C# is coming to MeeGo...

manavs 2011-01-10 08:03

Re: Vala for Maemo development
 
Anymore development on this? Noticed that 0.11.3 is out with a lot more bindings.


All times are GMT. The time now is 09:32.

vBulletin® Version 3.8.8