Bug 254107

Summary: mail/p5-FuzzyOcr-devel install our own gifinter
Product: Ports & Packages Reporter: Mikhail Teterin <mi>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: ismail.yenigul
Priority: --- Flags: bugzilla: maintainer-feedback? (ismail.yenigul)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Add gifinter-shim none

Description Mikhail Teterin freebsd_committer 2021-03-07 18:29:45 UTC
Created attachment 223067 [details]
Add gifinter-shim

The top problem using the tool is that the gifinter executable is no longer installed by graphics/giflib. The recommended workaround -- to declare:

`focr_bin_gifinter ..../convert -interlace`

does not work. When `sa-learn` is invoked, for example, it complaints "Cannot find executable for gifinter".

This patch installs a shim making things work again -- with either ImageMagick's or GraphicsMagick.

I have the following reservations about it:

1. The script is installed into $PREFIX/bin instead of some location private to the port.
2. Perhaps, the script should be provided by giflib instead...
3. The *proper* way to fix this problem is to make the code respect the focr_bin_gifinter-setting...