Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Evince and Poppler
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
tehdarkknight
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2005
Posts: 80
Location: /dev/college

PostPosted: Sat Jun 21, 2008 10:02 pm    Post subject: [Solved] Evince and Poppler Reply with quote

I started a new Gentoo install from scratch, so I decided to try out KDE4.
Just for something stable to fall back on, I installed Gnome as well.

My problem is that the Gnome meta package pulls in app-text/evince-2.20.2, which fails to compile with app-text/poppler-0.8.3
I can't downgrade poppler since the keyword masked version is required by the kde4 ebuilds.

Just to be thorough, this is where Evince fails:

Code:
ev-poppler.cc: In function ‘EvLink* ev_link_from_action(PdfDocument*, PopplerAction*)’:
ev-poppler.cc:938: warning: enumeration value ‘POPPLER_ACTION_NONE’ not handled in switch
ev-poppler.cc: In function ‘GList* pdf_document_images_get_images(EvDocumentImages*, gint)’:
ev-poppler.cc:1176: error: ‘struct _PopplerImageMapping’ has no member named ‘image’
ev-poppler.cc: In function ‘GdkPixbuf* pdf_document_thumbnails_get_thumbnail(EvDocumentThumbnails*, EvRenderContext*, gboolean)’:
ev-poppler.cc:1236: error: cannot convert ‘cairo_surface_t*’ to ‘GdkPixbuf*’ in assignment
ev-poppler.cc: In function ‘void pdf_selection_render_selection(EvSelection*, EvRenderContext*, cairo_surface_t**, EvRectangle*, EvRectangle*, EvSelectionStyle, GdkColor*, GdkColor*)’:
ev-poppler.cc:1841: error: cannot convert ‘GdkColor*’ to ‘PopplerColor*’ for argument ‘6’ to ‘void poppler_page_render_selection(PopplerPage*, cairo_t*, PopplerRectangle*, PopplerRectangle*, PopplerSelectionStyle, PopplerColor*, PopplerColor*)’
ev-poppler.cc: In function ‘GdkRegion* pdf_selection_get_selection_region(EvSelection*, EvRenderContext*, EvSelectionStyle, EvRectangle*)’:
ev-poppler.cc:1910: error: cannot convert ‘GList*’ to ‘GdkRegion*’ in assignment
ev-poppler.cc: In function ‘GdkRegion* pdf_selection_get_selection_map(EvSelection*, EvRenderContext*)’:
ev-poppler.cc:1932: error: cannot convert ‘GList*’ to ‘GdkRegion*’ in assignment
make[3]: *** [ev-poppler.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-text/evince-2.20.2/work/evince-2.20.2/backend/pdf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-text/evince-2.20.2/work/evince-2.20.2/backend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-text/evince-2.20.2/work/evince-2.20.2'
make: *** [all] Error 2

_________________
There are 10 kinds of people in the world: People who understand binary and those that don't.
Feel free to IM me to discuss anything as opposed to posting.


Last edited by tehdarkknight on Mon Jun 23, 2008 8:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
Rcomian
Apprentice
Apprentice


Joined: 10 Jan 2004
Posts: 174
Location: Uk, Northwest

PostPosted: Mon Jun 23, 2008 12:14 pm    Post subject: Reply with quote

Yeah, this has been biting me for months, finally taken a look at it.

It is, as you suspected - evince 2.20 doesn't work with poppler 8.3.
However, evince 2.22.2 does work with poppler 8.3, so go unmask the latest version of evince and you should be ok.

This should be raised as a bug, as evince 2.20 should require older versions of poppler.
Back to top
View user's profile Send private message
tehdarkknight
Tux's lil' helper
Tux's lil' helper


Joined: 17 Oct 2005
Posts: 80
Location: /dev/college

PostPosted: Mon Jun 23, 2008 8:47 pm    Post subject: Reply with quote

You were right, evince-2.22.2 compiles, thanks!

Marking as solved.
_________________
There are 10 kinds of people in the world: People who understand binary and those that don't.
Feel free to IM me to discuss anything as opposed to posting.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum