Bug 255541

Summary: graphics/gtkam: Removal of the GNOME option breaks package creation
Product: Ports & Packages Reporter: Felix Palmen <zirias>
Component: Individual Port(s)Assignee: Tobias C. Berner <tcberner>
Status: Closed FIXED    
Severity: Affects Only Me CC: tcberner
Priority: --- Flags: tcberner: maintainer-feedback-
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
remove GNOME related entries from pkg-plist none

Description Felix Palmen freebsd_committer freebsd_triage 2021-05-02 08:47:02 UTC
Created attachment 224607 [details]
remove GNOME related entries from pkg-plist

Trying to build gtkam-1.0_5 results in package errors like this:

pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/gtkam/work/stage/usr/local/%%GNOME%%share/gnome/help/gtkam/C/figures/gtkam_add_camera_enhanced_window.png:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/graphics/gtkam/work/stage/usr/local/%%GNOME%%share/gnome/help/gtkam/C/figures/gtkam_add_camera_window.png:No such file or directory
[...]

Simple solution should be to remove all lines related to GNOME from pkg-plist, see attached patch.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2021-05-02 10:49:15 UTC
Maintainer Timeout
Comment 2 Tobias C. Berner freebsd_committer freebsd_triage 2021-05-02 10:54:17 UTC
(In reply to Tobias C. Berner from comment #1)
Sorry, read that date wrong :D
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-05-02 10:54:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=03c11ebfc913d3d461515dfc8f15621d7f20b195

commit 03c11ebfc913d3d461515dfc8f15621d7f20b195
Author:     Felix Palmen <felix@palmen-it.de>
AuthorDate: 2021-05-02 10:49:52 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-05-02 10:53:40 +0000

    graphics/gtkam: fix plist after GNOME option removal

    The GNOME option has been removed in c399c4d1, without adapting the
    plist.

    PR:             255541

 graphics/gtkam/pkg-plist | 20 --------------------
 1 file changed, 20 deletions(-)