From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/
Date: Thu, 7 Feb 2019 13:31:38 +0000 (UTC) [thread overview]
Message-ID: <1549546287.3e06dd4dbcd2bb33f3d75f20c64ea64f105b3afe.fordfrog@gentoo> (raw)
commit: 3e06dd4dbcd2bb33f3d75f20c64ea64f105b3afe
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 7 13:31:04 2019 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Feb 7 13:31:27 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e06dd4d
media-gfx/xsane-0.999-r2: fixed gimptool handling
Closes: https://bugs.gentoo.org/666639
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
media-gfx/xsane/xsane-0.999-r2.ebuild | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/media-gfx/xsane/xsane-0.999-r2.ebuild b/media-gfx/xsane/xsane-0.999-r2.ebuild
index 65a365cff25..c45649a3a83 100644
--- a/media-gfx/xsane/xsane-0.999-r2.ebuild
+++ b/media-gfx/xsane/xsane-0.999-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -76,10 +76,9 @@ src_install() {
# link xsane so it is seen as a plugin in gimp
if use gimp; then
local plugindir
- if [ -x "${EPREFIX}"/usr/bin/gimptool ]; then
- plugindir="$(gimptool --gimpplugindir)/plug-ins"
- elif [ -x "${EPREFIX}"/usr/bin/gimptool-2.0 ]; then
- plugindir="$(gimptool-2.0 --gimpplugindir)/plug-ins"
+ local gimptool=$(ls "${EPREFIX}"/usr/bin/gimptool* | head -n1)
+ if [ -n "${gimptool}" ]; then
+ plugindir="$(${gimptool} --gimpplugindir)/plug-ins"
else
die "Can't find GIMP plugin directory."
fi
next reply other threads:[~2019-02-07 13:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-07 13:31 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-06-23 20:12 [gentoo-commits] repo/gentoo:master commit in: media-gfx/xsane/ David Seifert
2021-06-30 10:15 Ulrich Müller
2020-11-15 10:12 Michał Górny
2020-11-08 12:50 Sam James
2020-11-08 12:02 Sam James
2020-10-11 19:21 Sam James
2020-07-23 5:15 Kent Fredric
2017-02-21 19:57 Pacho Ramos
2017-02-18 18:50 Pacho Ramos
2017-02-11 12:03 Pacho Ramos
2015-11-22 8:15 Markus Meier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1549546287.3e06dd4dbcd2bb33f3d75f20c64ea64f105b3afe.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox