Ticket #1900 (accepted defect)

Opened 5 months ago

Last modified 9 days ago

Read doesn't work with gnome-python-evince-2.30.0

Reported by: alsroot Owned by: lucian
Priority: Immediate Milestone: Unspecified by Release Team
Component: Read Version: 0.88.x
Severity: Blocker Keywords: r?
Cc: pbrobinson, mchua, sdz, sascha_silbe, tomeu, sayamindu Distribution/OS:
Bug Status: Assigned

Description

Having:
gnome-python-evince-2.30.0-1mdv2010.1
libevince2-2.30.0-1mdv2010.1
evince-2.30.0-1mdv2010.1

Read-78 (looks like older versions as well since they use the same API) doesn't work. It can't find at least:

* evince.View.set_screen_dpi
* evince.factory_get_document (should be evince.document_factory_get_document)
* evince.View.props.zoom

I'm setting Severity to Critical since Read-78(and looks like older versions) can't work in recent distributions.

Change History

  Changed 4 months ago by sdz

  • cc pbrobinson, mchua added
  • priority changed from Unspecified by Maintainer to Immediate
  • severity changed from Critical to Blocker
  • status_field changed from Unconfirmed to Assigned

This simply prevents Read from working on Fedora 13 - and hence in SoaS - and will presumably cause it to be removed, since it got noticed past final freeze.

  Changed 4 months ago by sdz

  • cc sdz added

follow-up: ↓ 5   Changed 4 months ago by sayamindu

Ouch - it looks like a huge portion of the Evince API has changed (a quick look seem to suggest that the entire document loading model is different).
I'm not sure how easy it would be port to the new API, but it looks like it will take some time.

  Changed 3 months ago by sascha_silbe

  • cc sascha_silbe added
  • distribution Mandriva deleted

in reply to: ↑ 3   Changed 2 months ago by tomeu

  • cc tomeu added

Replying to sayamindu:

Ouch - it looks like a huge portion of the Evince API has changed (a quick look seem to suggest that the entire document loading model is different).
I'm not sure how easy it would be port to the new API, but it looks like it will take some time.

This suggests that the python bindings have been updated already to the new API:

 http://mail.gnome.org/archives/release-team/2010-June/msg00029.html

  Changed 6 weeks ago by lucian

Yeah, the evince python binding in f12 and f13 follows  http://library.gnome.org/devel/libevview/2.30/

The changes aren't major, just a few renamed methods and a separation between Documents and Models.

  Changed 6 weeks ago by lucian

After trying my hand at porting Read, I found out that the following are truly gone:
* evince.View.set_screen_dpi
* evince.View.props.zoom

I've reported this as a bug  https://bugzilla.gnome.org/show_bug.cgi?id=624780

  Changed 6 weeks ago by lucian

  • owner changed from sayamindu to lucian
  • status changed from new to accepted

I ported Read to libevview 2.80. The only lost feature is set_screen_dpi, but it's possible that libevview 2.80 can do that itself.

Note that I've made two merge requests, the first one has the wrong branch.

  Changed 6 weeks ago by lucian

My mistake, I meant 2.30, not 2.80.

  Changed 9 days ago by lfaraone

  • keywords r? added

  Changed 9 days ago by alsroot

  • cc sayamindu added
Note: See TracTickets for help on using tickets.