Bug 268405 - graphics/evince: links with gnome-desktop if installed, not handled by makefile
Summary: graphics/evince: links with gnome-desktop if installed, not handled by makefile
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-16 06:55 UTC by Ivan Rozhuk
Modified: 2024-01-13 02:58 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments
Quick&dirty build fix for NAUTILUS=off (421 bytes, patch)
2023-08-02 00:33 UTC, fullermd
no flags Details | Diff
Add OPTION for thumbnail_cache (1.43 KB, patch)
2024-01-13 02:58 UTC, fullermd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2022-12-16 06:55:32 UTC
make configure
...
Run-time dependency gnome-desktop-3.0 found: YES 42.4
...

that dep does not handled by port makefile.
Comment 1 Steve Peurifoy 2023-05-03 14:35:24 UTC
I concur on this.  In my case, a poudriere build of evince fails because gnome-desktop was not present since the Makefile doesn't include it in the dependencies.
Comment 2 fullermd 2023-08-02 00:32:04 UTC
Specifically, this hangs off the NAUTILUS option; when it's enabled, the chain of dependancies pulls in gnome-desktop-3 anyway, but when it's disabled, it doesn't.  And it looks like evince still wants it based on the thumbnail_cache option.

So, the Rightest solution is probably to make a separate OPTION for that, but the cheap hack is to just kill that off on the far side of NAUTILUS too.
Comment 3 fullermd 2023-08-02 00:33:05 UTC
Created attachment 243787 [details]
Quick&dirty build fix for NAUTILUS=off
Comment 4 Ivan Rozhuk 2023-09-17 00:08:25 UTC
Yes, this works, thanks!
Comment 5 fullermd 2024-01-13 02:58:37 UTC
Created attachment 247610 [details]
Add OPTION for thumbnail_cache

Here's an updated variant adding an OPTION for evince's thumbnail_cache build option.  Since the gnomedesktop dependancy is pulled in transitively by NAUTILUS, and that's on by default, this patch leaves it on by default too.