maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [Announce] GTK + Python+GTK for Harmattan (https://talk.maemo.org/showthread.php?t=79229)

MartinK 2011-10-20 00:28

[Announce] GTK + Python+GTK for Harmattan
 
Yes, GTK and its Python bindings now both work on Harmattan. :D

Acknowledgement: Some packages come from aaporantalainen's home project as they looked cleaner as the ones ported by myself. :)

What GTK version is this ?
gtk 2.0_2.14.7-1maemo33+0m5, the same as on Maemo 5 Fremantle.

Where to get it ?
GTK and its assorted packages are available from the home:MartinK:gtk project.

How to add the repository ?

NOTE: the meego repository got shut down so the following instructions for adding a repository don't work at the moment

Following the instructions on MeeGo wiki, create a file called for example martink-gtk.list in /etc/apt/sources.list.d/
This file should contain the following line:
Code:

deb http://repo.pub.meego.com//home:/MartinK:/gtk/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard ./
Run:
Code:

apt-get update
And that's it, you can now install gtk, python-gtk or even modrana using apt-get install. :)

Was there some testing ?
I have started modRana on my N950 and it run fine, thus verifying the functionality of both GTK and its Python bindings.

Known issues
Text entry dialogues are not themed and look UGLY. They also not trigger the virtual keyboard, which might be an issue on the N9, the N950 hardware keyboard works fine.

When will GTK be available in rzr's temporary community repo ?
As soon as these annoying build issues are solved - any help will be much appreciated ! :)

HtheB 2011-10-20 00:38

Re: [Announce] GTK + Python+GTK for Harmattan
 
Woohoo!!! Hopefully soon we will have Pidgin on Harmattan !!! :D

bccwvfwcw 2011-10-20 03:59

Re: [Announce] GTK + Python+GTK for Harmattan
 
that will be work on n900 too?

skykooler 2011-10-20 04:23

Re: [Announce] GTK + Python+GTK for Harmattan
 
Quote:

Originally Posted by bccwvfwcw (Post 1111174)
that will be work on n900 too?

GTK is already installed on the N900.

t1nym3 2011-10-20 10:32

Re: [Announce] GTK + Python+GTK for Harmattan
 
Thanks MartinK for working on this porting. With this, I suppose N9 users will have a lot more apps to choose from (especially when the virtual keyboard issue can be solved).

HtheB 2011-10-24 11:41

Re: [Announce] GTK + Python+GTK for Harmattan
 
Did you already solved the problem?

Makeclick 2011-10-24 16:05

Re: [Announce] GTK + Python+GTK for Harmattan
 
Just buyed N9 and this is soooo goood!!!! Nice work MartinK and pals!
I have N900 and i like to see those good app to N9 too.

MartinK 2011-10-25 09:27

Re: [Announce] GTK + Python+GTK for Harmattan
 
Quote:

Originally Posted by HtheB (Post 1112795)
Did you already solved the problem?

Unfortunately not - the build is still failing in the same projects.
I also did some further tests with other packages and it seems like if the COBS projects had some hidden state changing over time that prevents or enables build in a changing set of projects.
For example, I tried to compile soprano from djzapis home repo (home:djszapi) which was failing in his project in one of my projects to see if it builds or fails.
About half of the dependencies just failed to build - of course they built just fine in his project some months ago.

This non-deterministic behaviour should just not be happening. An OBS package that is resolvable, either should build fine or fail, every time. Not this basically random behaviour.

eber42 2011-11-01 19:49

Re: [Announce] GTK + Python+GTK for Harmattan
 
Quote:

Originally Posted by MartinK (Post 1111137)
Yes, GTK and its Python bindings now both work on Harmattan. :D

Software keyboard is not activated on text fields, so this makes a lot of applications unusable on the N9. Can this be fixed ?

MartinK 2011-11-02 14:46

Re: [Announce] GTK + Python+GTK for Harmattan
 
Quote:

Originally Posted by eber42 (Post 1117024)
Software keyboard is not activated on text fields, so this makes a lot of applications unusable on the N9. Can this be fixed ?

Yes of course - the input handling code in GTK needs to be changed to activate the Harmattan on-screen keyboard and get characters from it.

Unfortunately, I have no experience with modifying the GTKs source and don't really know how the Harmattan input method (Malit ?) works.

Maybe some of the people porting SDL might help with this ? IIRC they also had to solve some software keyboard issues.

BTW, glad to hear that my package works not only on the N950 but also on the N9. :)


All times are GMT. The time now is 21:00.

vBulletin® Version 3.8.8