Bug 263577 - graphics/evince: v42.2 fails to open pdf
Summary: graphics/evince: v42.2 fails to open pdf
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-26 09:56 UTC by Rainer Hurling
Modified: 2022-04-26 18:55 UTC (History)
2 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Hurling freebsd_committer freebsd_triage 2022-04-26 09:56:00 UTC
The newest version 42.2[1] of graphics/evince fails to open pdf files due to graphics/poppler[-glib] being too old. It turns out that poppler version >= 22.02.0 is needed:

[1] https://cgit.freebsd.org/ports/commit/?id=fe838ad373e26eb5880b1f3450af1350cf9b5904



===>  Configuring for evince-42.2
The Meson build system
Version: 0.62.1
Source dir: /usr/ports/graphics/evince/work-full/evince-42.2
Build dir: /usr/ports/graphics/evince/work-full/evince-42.2/_build
Build type: native build
Project name: evince
Project version: 42.2

[..snip..]
Dependency poppler-glib found: NO found 22.01.0 but need: '>= 22.02.0'
Run-time dependency poppler-glib found: NO (tried pkgconfig and cmake)
Run-time dependency libxml-2.0 found: YES 2.9.13
meson.build:416: WARNING: PDF support is disabled since poppler-glib version >= 22.02.0 or libxml-2.0 version >= 2.5.0 not found

[..snip..]
  Backends
    PDF........................: NO



Poppler 22.04.0 is on the way (bug #263009).

BTW: evince configure does not seem to be able to properly evaluate the version of textproc/libxml2. It asks for libxml-2.0 version >= 2.5.0, v2.9.13 is present and is not accepted?
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2022-04-26 12:02:50 UTC
Moin moin 

Thanks for the report -- I think I will push poppler-22.04 a bit quicker in that case.


mfg Tobias
Comment 2 Rainer Hurling freebsd_committer freebsd_triage 2022-04-26 12:09:43 UTC
(In reply to Tobias C. Berner from comment #1)
Hi Tobias,

To be honest, I was hoping that this would give the update for Poppler a little more momentum :P

Actually, it should have been noticeable when preparing the update for graphics/evince that the most important file format cannot be supported ...

Thanks for taking care!
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-04-26 17:08:59 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=793bdb42523e8d9ef10ad2d1eeb9be22b59efe2b

commit 793bdb42523e8d9ef10ad2d1eeb9be22b59efe2b
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-04-26 14:58:54 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-04-26 16:57:01 +0000

    graphics/evince: reinstate PDF backend

    The PDF backend was dropped, as evince was updated to 42.2
    which requires poppler >=22.02 while that one still being
    at 22.01 in fe838ad373e26eb5880b1f3450af1350cf9b5904.

    While here, add missing plist-subs to the @lite plist

    PR:             263009
    PR:             263536
    PR:             263577

 graphics/evince/Makefile       |  1 +
 graphics/evince/pkg-plist      |  3 +++
 graphics/evince/pkg-plist-lite | 15 +++++++++------
 3 files changed, 13 insertions(+), 6 deletions(-)
Comment 4 Rainer Hurling freebsd_committer freebsd_triage 2022-04-26 17:42:43 UTC
Many thanks for this very fast reaction and the update of poppler. 

evince works again with pdf!   \o/
Comment 5 Tobias C. Berner freebsd_committer freebsd_triage 2022-04-26 18:55:53 UTC
No worries :)