[Bug 278875] graphics/shotwell fails to install with face detection disabled due to pkg-plist issue

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 May 2024 16:41:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278875

            Bug ID: 278875
           Summary: graphics/shotwell fails to install with face detection
                    disabled due to pkg-plist issue
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: cmt@freebsd.org
          Reporter: russo@bogodyn.org
             Flags: maintainer-feedback?(cmt@freebsd.org)
          Assignee: cmt@freebsd.org

Created attachment 250552
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250552&action=edit
Patch to fix shotwell pkg-plist when face detection is off

As of commit 54f51b39, two files that are only created when face detection is
enabled are unconditionally included in pkg-plist.

The result is a failure to install due to missing file in the stage directory:

-----
pkg-static: Unable to access file
/usr/ports/graphics/shotwell/work/stage/usr/local/share/dbus-1/services/org.gnome.Shotwell.Faces1.service:No
such file or directory
pkg-static: Unable to access file
/usr/ports/graphics/shotwell/work/stage/usr/local/share/shotwell/facedetect/deploy.prototxt:No
such file or directory
-----

These lines in pkg-plist should be prefaced with %%FACED%%.  The attached patch
fixes that.

-- 
You are receiving this mail because:
You are the assignee for the bug.