From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ReYKH-0005vS-31 for garchives@archives.gentoo.org; Sat, 24 Dec 2011 20:36:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0895E21C02F; Sat, 24 Dec 2011 20:36:02 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id DF5CD21C02F for ; Sat, 24 Dec 2011 20:35:01 +0000 (UTC) Received: by werm12 with SMTP id m12so5501779wer.40 for ; Sat, 24 Dec 2011 12:35:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=m+rrIHhdfSdBl+XQkNyOpKIO/Aw3HVhfZdsPJHL7yvA=; b=n/YLjWL2feumUbch7Ytvz99j1SXGGwXPw4riop5f2Gk8cvYbGWEBts5yQwMmjNO/vv HoJZf6NUnkj9LSO9qQHogKLWELPH7t4KP6axM3x44WV5w3kjau2LH4vl0SXcrnAyu864 2yphuZKQZCsaGfEQ+7MH3oGSoVi24VugA113o= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.137.195 with SMTP id y45mr16543626wei.45.1324758900015; Sat, 24 Dec 2011 12:35:00 -0800 (PST) Received: by 10.223.160.73 with HTTP; Sat, 24 Dec 2011 12:34:59 -0800 (PST) In-Reply-To: References: Date: Sat, 24 Dec 2011 12:34:59 -0800 Message-ID: Subject: Re: [gentoo-user] Modifying ebuilds, and dependency thoughts between hugin and luminance-hdr. From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 83a459bf-6f93-4cc3-921b-6c07da4f1d7e X-Archives-Hash: 2665a18d7f1f17027a48880d31b0ab2b On Sat, Dec 24, 2011 at 12:23 PM, 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. > > Then there are some additional realizations I had. > > 1) Pulling in hugin pulls in gtk and a bunch of additional > dependencies. Luminance-hdr is a qt app; having a qt app trigger > pulling in gtk seems silly. > 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. > 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. > > Now, both hugin and luminance-hdr are both tools I've messed with a > great deal...enough to be frustrated with aspects which lead me to > dive into their source code to try to fix things. I'm pretty confident > I could do just about all of it, code-wise and logic-wise. What I > don't know is anything about ebuild and app development on Gentoo.* > > So...where do I go from here? > > * This also comes in on my desire to play The Old Republic, but WINE > 1.3.x has trouble with it. Day job as a Win32 coder comes in handy > here... > > -- > :wq > I haven't tried this in years but from this link: http://www.gentoo.org/doc/en/handbook/2004.2/handbook-x86.xml?part=3&chap=6 there is this text: [QUOTE] If you are certain that the sources you've fetched and the ebuild itself are valid, you can regenerate the Manifest and digest- file using ebuild's digest functionality: Code Listing 2.3: Regenerate Manifest and digest # ebuild path/to/ebuild digest [QUOTE] HTH, Mark