Port to gtkmm-3.0

Bug #1445726 reported by Daniel Landau
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Referencer
New
Undecided
Unassigned

Bug Description

Doing this would be in general useful as a future proofing measure, and as a specific example https://bugs.launchpad.net/referencer/+bug/116462 will be easier to solve with a newer GTK.

I started doing this myself, you can follow the progress at https://code.launchpad.net/~daniel-landau/referencer/gtk3

Revision history for this message
Daniel Landau (daniel-landau) wrote :

The porting effort has proceeded to the point where Referencer can be compiled and linked, but it segfaults and there are a number of other known issues (+ unknown ones) too. Now might be a good time to have a look at what I've done so far and give suggestions :)

Revision history for this message
Daniel Landau (daniel-landau) wrote :

With the latest change set at https://code.launchpad.net/~daniel-landau/referencer/gtk3 Referencer starts up successfully with gtkmm-3.0.

Revision history for this message
Dominik Kriegner (dominik-kriegner+lp) wrote :

I know this is an old issue, but might get very important in close future. I think the efforts made in this branch could be very important to keep referencer alive once python2 reaches its end of life. As far as I understand the GTK3 update is required also in order be able to use referencer with python3.

Since this branch already has a running GTK3 version: Are there any plans to merge that back into master and fix eventual missing features?

I did some attempts to port to python3 on top of changes done in this branch. In case there is interest I can provide a patch.

Revision history for this message
Daniel Landau (daniel-landau) wrote :

I have a vague recollection that it wasn't fully functional with GTK3. I left i

Revision history for this message
Daniel Landau (daniel-landau) wrote :

Of, accidental post unfinished.

I left it unfinished as there was no indication that even a finished port would get merged.

Revision history for this message
Mads Chr. Olesen (shiyee) wrote :

Hi, I unfortunately do not use Referencer on a daily basis anymore, but I can still find some time to merge branches if they are stable and tried out by a few people.

Revision history for this message
Mads Chr. Olesen (shiyee) wrote :

Updating the other libraries, such as gconfmm would also be needed. This was the primary reason Referencer was removed from Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891699

Revision history for this message
Dominik Kriegner (dominik-kriegner+lp) wrote :

thats a pity...

I got the branch lp:~daniel-landau/referencer/gtk3 running (at least the base window of referencer). I think once python2 gets deprecated this might need to be revisited.
I upload attached a python3 patch which can be applied to the branch lp:~daniel-landau/referencer/gtk3

The patch includes some recent changes from trunk and the port to python3 of all plugins and plugin-system. mostly these are trivial changes. As mentioned by Daniel this does not yield a finished python3/gtk3 port, but somebody might start from this.

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.