Bug 255541 - graphics/gtkam: Removal of the GNOME option breaks package creation
Summary: graphics/gtkam: Removal of the GNOME option breaks package creation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias C. Berner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-02 08:47 UTC by Felix Palmen
Modified: 2021-05-02 10:54 UTC (History)
1 user (show)

See Also:
tcberner: maintainer-feedback-


Attachments
remove GNOME related entries from pkg-plist (1.80 KB, patch)
2021-05-02 08:47 UTC, Felix Palmen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)