Bug 258026 - x11-fm/caja: Fix pkg check checksum mismatch
Summary: x11-fm/caja: Fix pkg check checksum mismatch
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: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-24 17:14 UTC by Ting-Wei Lan
Modified: 2022-01-17 18:44 UTC (History)
2 users (show)

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


Attachments
Patch (1.03 KB, patch)
2021-08-24 17:14 UTC, Ting-Wei Lan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ting-Wei Lan 2021-08-24 17:14:39 UTC
Created attachment 227405 [details]
Patch

Please see the patch. Generated files shouldn't be included in pkg-plist.
Comment 1 Ting-Wei Lan 2021-08-24 17:15:34 UTC
This fixes checksum errors reported by pkg check:

caja-1.24.1_1: checksum mismatch for /usr/local/share/mime/XMLnamespaces
caja-1.24.1_1: checksum mismatch for /usr/local/share/mime/aliases
caja-1.24.1_1: checksum mismatch for /usr/local/share/mime/generic-icons
caja-1.24.1_1: checksum mismatch for /usr/local/share/mime/globs
caja-1.24.1_1: checksum mismatch for /usr/local/share/mime/globs2
caja-1.24.1_1: checksum mismatch for /usr/local/share/mime/icons
caja-1.24.1_1: checksum mismatch for /usr/local/share/mime/magic
caja-1.24.1_1: checksum mismatch for /usr/local/share/mime/mime.cache
caja-1.24.1_1: checksum mismatch for /usr/local/share/mime/subclasses
caja-1.24.1_1: checksum mismatch for /usr/local/share/mime/treemagic
caja-1.24.1_1: checksum mismatch for /usr/local/share/mime/types
Comment 2 EKA 2021-12-29 20:06:20 UTC
I got tired of seeing the checksum errors on this and ran 'pkg check -r caja' just to make it go away. However, having a patched caja package to download would be nice.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-01-01 22:09:34 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4dfd9ec0c5032a12da74c7a84762d0006f599d1c

commit 4dfd9ec0c5032a12da74c7a84762d0006f599d1c
Author:     Eric Turgeon <ericbsd@FreeBSD.org>
AuthorDate: 2022-01-01 22:07:54 +0000
Commit:     Eric Turgeon <ericbsd@FreeBSD.org>
CommitDate: 2022-01-01 22:08:15 +0000

    x11-fm/caja: Fix pkg check checksum mismatch

    PR:          258026
    Reported by: Ting-Wei Lan

 x11-fm/caja/Makefile  |  1 +
 x11-fm/caja/pkg-plist | 13 -------------
 2 files changed, 1 insertion(+), 13 deletions(-)
Comment 4 Ting-Wei Lan 2022-01-10 15:50:09 UTC
(In reply to commit-hook from comment #3)
The commit wrongly removes share/pixmaps/caja/audio.svg from the plist:

====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: share/pixmaps/caja/audio.svg
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
Comment 5 commit-hook freebsd_committer freebsd_triage 2022-01-17 18:44:01 UTC
A commit in branch main references this bug:

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

commit edb7e46dffdb944f6cc59276742e07ff13e5e7c8
Author:     Eric Turgeon <ericbsd@FreeBSD.org>
AuthorDate: 2022-01-17 18:41:55 +0000
Commit:     Eric Turgeon <ericbsd@FreeBSD.org>
CommitDate: 2022-01-17 18:41:55 +0000

    x11-fm/caja: fixed plist

    PR: 258026
    Reported by: Ting-Wei Lan

 x11-fm/caja/Makefile  | 2 +-
 x11-fm/caja/pkg-plist | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)