← Back to team overview

openshot.developers team mailing list archive

Re: GTK3 port

 

Another error on my Kubuntu 11.04.
olivier@Olivier-Laptop-Acer:~/Bazaar/gtk3/openshot$ python openshot.py
--------------------------------
   OpenShot (version 1.3.1)
--------------------------------
Process no longer exists: 17625.  Creating new pid lock file.
ERROR:root:Could not find any typelib for GooCanvas
Traceback (most recent call last):
  File "openshot.py", line 72, in <module>
    main()
  File "openshot.py", line 61, in main
    from classes import project
  File "/home/olivier/Bazaar/gtk3/openshot/classes/project.py", line 23, in
<module>
    from classes import profiles, files, thumbnail, open_project,
save_project, state_project, restore_state, sequences, video, theme
  File "/home/olivier/Bazaar/gtk3/openshot/classes/sequences.py", line 21,
in <module>
    from gi.repository import GooCanvas
ImportError: cannot import name GooCanvas

I am going to check if GTK3 is installed.
2011/7/1 eolinwen@xxxxxxxxx <eolinwen@xxxxxxxxx>

> Effectively, GTK 3 is not only not installed but too not available in the
> repository. I will ask at Gmaq if we can install it without break it. And
> with this little experience, you understand better why I was saying in my
> first  comment why it will be better to wait until the 2.0. Just some few
> distribution have included it. In several mouths, it will be more common.
> I am going to test on my Kubuntu, my Natty is just installed, not yet
> functionnal. I must said too that since I installed AV Linux 5.0 the last
> Week-end, I'm turning the malnly time on it. This one is really great and
> Gmaq have done a good job. Adn the nasty bug with MLT 0.7.2 is not present
> with the 0.7.3 git version. See here
> <http://openshotusers.com/forum/viewtopic.php?f=11&t=937>
>
> 2011/7/1 Maël Lavault <moimael@xxxxxxx>
>
>> Is gtk3 present on AV Linux 5 ? You need gobject-introspection too, and
>> you will need to compile goocanvas2 introspection branch and
>> set ./autogen.sh --prefix=/usr --enable-introspection to compile.
>>
>> Le vendredi 01 juillet 2011 à 21:29 +0200, eolinwen@xxxxxxxxx a écrit :
>> > @mael
>> >
>> > I imported your branch on my AV Linux 5.0 and I can not run it. I have
>> > this error in the terminal. Any idea to resolve it ?
>> >
>> > olivier@neytiri:~/Bazaar/gtk3/openshot$ python openshot.py
>> > Traceback (most recent call last):
>> >   File "openshot.py", line 21, in <module>
>> >     from gi.repository import Gtk
>> > ImportError: No module named gi.repository
>> > olivier@neytiri:~/Bazaar/gtk3/openshot$
>> >
>> >
>> > 2011/7/1 Maël Lavault <moimael@xxxxxxx>
>> >         I uploaded the gtk3 port : lp:~moimael/openshot/gtk3
>> >
>> >         Here is a screenshot
>> >
>> >         Le jeudi 30 juin 2011 à 18:07 +0200, eolinwen@xxxxxxxxx a
>> >         écrit :
>> >
>> >         > Hi maël,
>> >         >
>> >         > You have began a huge work and as it is so important, that
>> >         it will be
>> >         > more efficient to be released for the 2.0 openshot. Like
>> >         this we will
>> >         > have a stable version, perfect in the frame of this release
>> >          and in
>> >         > the time lapse, more distributions will include GTK3.
>> >         >
>> >         > It it is for another method, I am not the good person but
>> >         perhaps, as
>> >         > you are speaking in the introduction of Goocanvas2, Clutter
>> >         could you
>> >         > give the solution for your problem.
>> >         >
>> >         > 2011/6/30 <moimael@xxxxxxx>
>> >         >         Hi,
>> >         >
>> >         >         Here are some news on my actual work.
>> >         >         I'm working on the GTK3 version of openshot.
>> >         Yesterday, i
>> >         >         managed to get a first (almost) working
>> >         >         Pygobject/GTK3/GooCanvas2 version of openshot. It
>> >         required lot
>> >         >         of changes to actually display the UI.
>> >         >
>> >         >         I'm planning to make some modification to start on
>> >         sane
>> >         >         basis :
>> >         >
>> >         >         - Port settings to GSetting(multi-os) and make them
>> >         non-ui
>> >         >         dependant (to fix a bug with openshot render)
>> >         >         - Remove the melt dependency (as distribution whose
>> >         ship GTK3
>> >         >         come only with new version of mlt)
>> >         >         - Remove the embeded gdata api for youtube and use
>> >         the system
>> >         >         one.
>> >         >         - Some UI refinment to use all the GTK3 power (take
>> >         advantage
>> >         >         on the new height for width layout system, use new
>> >         widgets)
>> >         >         - Maybe some long time standing bug will be fixed
>> >         with the
>> >         >         port
>> >         >
>> >         >         The biggest problem i encounter in this preliminary
>> >         version is
>> >         >         the get_xid() function to embed the sdl window in
>> >         our
>> >         >         drawingarea, now it popup a new window for the sdl
>> >         preview. It
>> >         >         seems that get_xid() is not introspectable
>> >         -introspection = 0
>> >         >         in the gir file), so i have to find a replacement.
>> >         Any idea ?
>> >         >
>> >         >         Maybe this work can end up in a 2.0 openshot
>> >         release ? What do
>> >         >         you think ?
>> >         >
>> >         >         I think the transition in GTK3 should not happend
>> >         with the
>> >         >         transition from mlt to our new video library. It
>> >         will be to
>> >         >         much changes. A two step transition is better.
>> >         >
>> >         >         Thanks !
>> >         >
>> >         >
>> >         >         _______________________________________________
>> >         >         Mailing list:
>> >         https://launchpad.net/~openshot.developers
>> >         >         Post to     :
>> >         openshot.developers@xxxxxxxxxxxxxxxxxxx
>> >         >         Unsubscribe :
>> >         https://launchpad.net/~openshot.developers
>> >         >         More help   : https://help.launchpad.net/ListHelp
>> >         >
>> >         >
>> >         >
>> >         >
>> >         > --
>> >         > Olivier
>> >         > Cenwen un elfe sur la banquise/ an elve on the ice
>> >         > Mon blog perso  sur le multimédia, Ubuntu, Linux et
>> >         OpenShot :
>> >         > http://linuxevolution.wordpress.com/
>> >         > Le forum d'Openshot où vous me trouverez :
>> >         http://openshotusers.com/
>> >         > http://openshotusers.com/forum/index.php
>> >
>> >
>> >
>> >
>> >
>> > --
>> > Olivier
>> > Cenwen un elfe sur la banquise/ an elve on the ice
>> > Mon blog perso  sur le multimédia, Ubuntu, Linux et OpenShot :
>> > http://linuxevolution.wordpress.com/
>> > Le forum d'Openshot où vous me trouverez : http://openshotusers.com/
>> > http://openshotusers.com/forum/index.php
>>
>>
>>
>>
>
>
> --
> Olivier
> Cenwen un elfe sur la banquise/ an elve on the ice
> Mon blog perso  sur le multimédia, Ubuntu, Linux et OpenShot :
> http://linuxevolution.wordpress.com/
> Le forum d'Openshot où vous me trouverez : http://openshotusers.com/
> http://openshotusers.com/forum/index.php
>



-- 
Olivier
Cenwen un elfe sur la banquise/ an elve on the ice
Mon blog perso  sur le multimédia, Ubuntu, Linux et OpenShot :
http://linuxevolution.wordpress.com/
Le forum d'Openshot où vous me trouverez : http://openshotusers.com/
http://openshotusers.com/forum/index.php

Follow ups

References