Date: Fri, 12 Nov 2021 12:42:57 GMT From: =?utf-8?Q?Fernando Apestegu=C3=ADa?= <fernape@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a01abc9d5520 - main - graphics/xsane: Fix GIMP plugin install instructions Message-ID: <202111121242.1ACCgvgN033990@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=a01abc9d55203c84e47d9a8b4b458165ed5099c1 commit a01abc9d55203c84e47d9a8b4b458165ed5099c1 Author: Aoek <pr@aoek.com> AuthorDate: 2021-11-12 07:40:57 +0000 Commit: Fernando ApesteguĂa <fernape@FreeBSD.org> CommitDate: 2021-11-12 12:41:53 +0000 graphics/xsane: Fix GIMP plugin install instructions update pkg-message to install GIMP plugin in the correct location. While here, pet linters. PR: 259747 Reported by: pr@aoek.com --- graphics/xsane/Makefile | 6 +++--- graphics/xsane/files/pkg-message.in | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile index a84cfb7c8bac..7b8116a28fd8 100644 --- a/graphics/xsane/Makefile +++ b/graphics/xsane/Makefile @@ -29,16 +29,16 @@ GNU_CONFIGURE= yes PORTDOCS= *.html *.jpg OPTIONS_DEFINE= DOCS GIMP NLS -GIMP_DESC= GIMP plugin support OPTIONS_DEFAULT= GIMP - OPTIONS_SUB= yes +GIMP_DESC= GIMP plugin support + GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app GIMP_CONFIGURE_ENABLE= gimp2 gimp GIMP_SUB_FILES= pkg-message -NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext +NLS_CONFIGURE_ENABLE= nls NLS_LIBS= -L${LOCALBASE}/lib -lintl post-patch: diff --git a/graphics/xsane/files/pkg-message.in b/graphics/xsane/files/pkg-message.in index d1c2d7817cfd..62eab4f6d1bd 100644 --- a/graphics/xsane/files/pkg-message.in +++ b/graphics/xsane/files/pkg-message.in @@ -1,9 +1,9 @@ [ { type: install message: <<EOM -To install XSane as a GIMP plug-in, please type: +To install XSane as a GIMP plug-in, please type the following from a /bin/sh shell: - ln -sf %%LOCALBASE%%/bin/xsane ~/.gimp-*/plug-ins/xsane + cd ~/.config/GIMP && for i in *; { ln -sf %LOCALBASE%%/bin/xsane "$i/plug-ins/xsane"; } Then run the GIMP, and a new "XSane" menu item should appear in the "File -> Create" menu.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111121242.1ACCgvgN033990>