Transition from pygth to python-gobject necessary in the long term

Bug #789452 reported by PeterPall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Back In Time
Won't Fix
Undecided
Unassigned
backintime (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The next version of ubuntu will switch to gnome3.

Backintime-gnome is using pygtk. According to http://blog.rabbitvcs.org/archives/293 pygtk will never be ported to gnome3. http://www.pygtk.org/ does acknowledge that pygtk will no more be actively developed but does not tell about it being not supported at all in gnome3: "Existing authors of PyGTK applications are also recommended to port their applications to PyGObject to take advantage of new features appearing in GTK-3 and beyond.". Seems like they are right since on Ubuntu Oneiric backintime-gtk is still working under gnome3.

The successor of pygtk is http://live.gnome.org/PyGObject. The good news is that according to http://live.gnome.org/PyGObject/IntrospectionPorting (you have to scroll down a bit about to find any valid information on porting) porting seems to be doable, at least. The result of the first few porting steps can be found in the bazaar branch lp:~peterpall/backintime/gnome3/

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: backintime-gnome (not installed)
ProcVersionSignature: Ubuntu 2.6.39-3.9-generic 2.6.39
Uname: Linux 2.6.39-3-generic i686
NonfreeKernelModules: nvidia wl
Architecture: i386
Date: Sat May 28 07:12:15 2011
EcryptfsInUse: Yes
SourcePackage: backintime
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
PeterPall (peterpall) wrote :
Revision history for this message
PeterPall (peterpall) wrote :

Did try to convert the application.
Most of the gtk functions seem not ho have changed their name. But the gnome.* and vfs.* functions have. The latter seem to have moved to Gio. But I cannot find
 mime_type = gnomevfs.get_mime_type( gnomevfs.escape_path_string( path ) )
and
    gnome_props = { gnome.PARAM_APP_DATADIR : '/usr/share' }
    gnome.program_init( 'backintime', cfg.VERSION, properties = gnome_props )
anywhere.

PeterPall (peterpall)
description: updated
PeterPall (peterpall)
summary: - Missing gnome3 support (transition from pygth to python-gobject
- necessary?)
+ Transition from pygth to python-gobject necessary in the long term
description: updated
Revision history for this message
Germar (germar) wrote :

Hi,
it looks like you never pushed your changes to your branch ~peterpall/backintime/gnome3. If you still have your changes could you please push it with 'bzr push ~peterpall/backintime/gnome3'?
BIT changed a lot since you've posted this but your changes still might be very helpful.

Thanks you very much.
Germar

Revision history for this message
Germar (germar) wrote :

We decide to drop Gtk+ GUI for a pure Qt4 GUI. This will come with next major version 1.1.0

Changed in backintime:
status: New → Won't Fix
Changed in backintime (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.