gnomeprint deperecated

Bug #415427 reported by Emilio Pozuelo Monfort
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scribes
Fix Released
Medium
Unassigned

Bug Description

gnomeprint is deprecated. GtkPrint should be used instead.

Mystilleef (mystilleef)
Changed in scribes:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Mystilleef (mystilleef) wrote :

That's correct. I wonder what version of GTK has a stable version of GtkPrint. Maybe Scribes should depend on the latest stable release of GTK+/PyGTK at the time of release. The bad thing about this is that it's going exclude a lot of users who are using older versions of GTK+/PyGTK.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

According to http://library.gnome.org/devel/pygtk/stable/, gtk.Print* are available since 2.10.

Debian Lenny (stable) has 2.12.
Ubuntu Hardy (LTS) has 2.12 too.

I think it's time to move forward and simply require PyGTK 2.10 :)

Revision history for this message
Mystilleef (mystilleef) wrote :

I agree. Or even 2.12.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

python-gnomeprint is going to be removed from Debian soon, so this will be an issue then...

Revision history for this message
Mystilleef (mystilleef) wrote :

Scribes is going to use gtk.Print for 0.4

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote : Re: [Bug 415427] Re: gnomeprint deperecated

Mystilleef wrote:
> Scribes is going to use gtk.Print for 0.4

Cool. Is there a timeline for 0.4?

Revision history for this message
Mystilleef (mystilleef) wrote :

Tentatively, the summer of 2010

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Mystilleef wrote:
> Tentatively, the summer of 2010

Hmm that's too late for us. We are already using bzr snapshots as 0.3.x was too
old and buggy, so if this was fixed soon I could package a new snapshot with the
fix :)

Revision history for this message
Mystilleef (mystilleef) wrote :

Okay, I'll make this top priority. I'll look into implementing this next.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Has there been any progress on the port by any chance?

Revision history for this message
Mystilleef (mystilleef) wrote :

There has not been any progress. I've been very busy with other projects. Someone promised to work on this. I'll check with him to see how things are coming.

Revision history for this message
Mystilleef (mystilleef) wrote :

I have preliminary printing support ready. Should be in build 525. I'll push to launchpad shortly. Sorry for the long delay.

Changed in scribes:
status: Confirmed → In Progress
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Great work. I look forward to see the final commit that removes the gnomeprint imports from scribes :)

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

I saw there was some printing job on trunk. Was it finally finished? And if not, is there a lot of work remaining?

Revision history for this message
Mystilleef (mystilleef) wrote :

Yeah, I think printing is complete. If you have a problems let me know. Thanks.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Ah cool! I guess the check for gnomeprint can be removed from depcheck.py then, and this bug can be closed.

Thanks for porting scribes!

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

Actually the whole gnome-python-desktop check can be removed, it seems scribes doesn't use any gnome-python-desktop module anymore.

Revision history for this message
Mystilleef (mystilleef) wrote :

It think the depencies for scribes are

-- python-dbus
-- pygtk,
-- python-gtksourceview2
-- python-gtkspell (Enchant very soon)

So we don't need the python-gnome-* packages anymore, I think.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :

That sounds right. Thus the checks for python-gnome and python-gnome-desktop can be removed (and the gnome check in CommandLineInfo.py). See attached patches.

Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :
Revision history for this message
Emilio Pozuelo Monfort (pochu) wrote :
Mystilleef (mystilleef)
Changed in scribes:
status: In Progress → Fix Released
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.