Bug 193735

Summary: Allow to build graphics/evince without gnome support
Product: Ports & Packages Reporter: Matthieu Volat <mazhe>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me CC: riggs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
add a bunch of options, v1
none
add a bunch of options, v1
none
147425: add a bunch of options, v1.1 none

Description Matthieu Volat 2014-09-18 07:46:01 UTC
Created attachment 147424 [details]
add a bunch of options, v1

Hello,

As graphics/epdfview continue to rot, there is little choice for a relatively featured pdf viewer that do not sell a whole desktop environment.

Evince was supposedly modified to allow this by making the heaviest gnome dependencies optional, but graphics/evince do not reflect this.

Would it be possible to have such an option? In the past, it would have taken the form of a graphics/evince-lite slave port, but I had the impression those kind of port were more or less dropped.

So here is a tentative for refactoring the evince makefile with a few gnome options that can be turned off (it would have been simpler to have a single GNOME option that turned on GCONF/GNOMEHELP/GNOMEKEYRING/NAUTILUS, but I thought that it would be more helpful to have more options).

Of course, I suppose more refactoring is somehow needed and that it won't be committed as such, but it's a start.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-18 07:46:01 UTC
Auto-assigned to maintainer gnome@FreeBSD.org
Comment 2 Matthieu Volat 2014-09-18 07:47:16 UTC
Created attachment 147425 [details]
add a bunch of options, v1

Damnit, wrong svn command, fixing the attachment.
Comment 3 Thomas Zander freebsd_committer freebsd_triage 2014-10-05 15:51:36 UTC
Actually, I'd love to see evince without gnome support. That would make the port usable for other desktop environments such as XFCE.

But maybe you could have a look at the plist:
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: etc/gconf/schemas/evince-thumbnailer-comics.schemas
Error: Missing: etc/gconf/schemas/evince-thumbnailer-ps.schemas
Error: Missing: etc/gconf/schemas/evince-thumbnailer.schemas
===> Error: Plist issues found.
*** [check-plist] Error code 1
Comment 4 Matthieu Volat 2014-10-05 18:08:37 UTC
Created attachment 148000 [details]
147425: add a bunch of options, v1.1

Thanks, this is the aim :)

I've looked into this this problem, it was simply that I updated the gconf schemas when gconf was enabled (seemed logical at the time) when they need at least the GNOME option to be set.

New diff fixes that.
Comment 5 Thomas Zander freebsd_committer freebsd_triage 2014-10-06 10:44:06 UTC
After removing all the @dirrm(try)s, pkg-plist looks good, I get successful builds using various OPTIONS permutations in poudriere.

@gnome-team: Could you double-check and commit if you are fine with the patch?
Comment 6 Matthieu Volat 2014-11-08 08:59:00 UTC
Any news on that front?
Comment 7 Antoine Brodin freebsd_committer freebsd_triage 2014-11-08 17:25:54 UTC
There is currently an exp-run to update gnome and evince to version 3.14.0

So the change you propose will not happen soon in my opinion.
Comment 8 Matthieu Volat 2015-01-30 14:31:58 UTC
Indeed, I had a look at evince 3 and thing changed a lot, I'm giving up on this one, and opening a similar feature request with graphics/atril instead.