From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Modifying ebuilds, and dependency thoughts between hugin and luminance-hdr.
Date: Sun, 25 Dec 2011 03:26:24 +0000 [thread overview]
Message-ID: <844D1AC5-5256-4CF9-8E76-194F5471A886@stellar.eclipse.co.uk> (raw)
In-Reply-To: <CA+czFiBg2Z9FJs4T7=ve762wo4JJnNEpdCYO2L1tsFz-qpmqEw@mail.gmail.com>
On 24 December 2011, at 20:23, Michael Mol wrote:
> So, media-gfx/luminance-hdr uses hugin's align_image_stack by default.
> Except the ebuild doesn't list a dependency on hugin. I tried
> modifying its ebuild file to add the dependency, but Portage
> complained about a failed digest verification. So I don't know how to
> work around that.
# grep -i overlay /etc/make.conf
PORTDIR_OVERLAY=/usr/local/portage
# mkdir -p /usr/local/portage/media-gfx/luminance-hdr/
# cp /usr/portage/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild /usr/local/portage/media-gfx/luminance-hdr/
# vi /usr/local/portage/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild
# ebuild /usr/local/portage/media-gfx/luminance-hdr/luminance-hdr-2.1.0.ebuild manifest
> 2) The tool that luminance-hdr needs is a CLI tool. It doesn't need
> the GUI side of hugin. So it should be possible to build that hugin
> tool without the rest of its GUI. Sounds like another USE flag, or
> perhaps splitting align_image_stack into a separate ebuild and having
> both luminance-hdr and hugin pull that in.
Sounds reasonable. Create a new ebuild for Hugin also, and add a USE=-X option.
> 3) Luminance-hdr doesn't *need* hugin; it has a builtin tool that
> fills the same role, but behaves a bit differently. It should be
> perfectly possible to remove hugin's tool from the list of options,
> based on a USE flag.
I'd have current behaviour depend on USE=hugin in that case. USE=-hugin by default.
Stroller.
prev parent reply other threads:[~2011-12-25 3:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-24 20:23 [gentoo-user] Modifying ebuilds, and dependency thoughts between hugin and luminance-hdr Michael Mol
2011-12-24 20:34 ` Mark Knecht
2011-12-24 21:25 ` Dale
2011-12-25 3:26 ` Stroller [this message]
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=844D1AC5-5256-4CF9-8E76-194F5471A886@stellar.eclipse.co.uk \
--to=stroller@stellar.eclipse.co.uk \
--cc=gentoo-user@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