Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage
Date: Mon, 16 Aug 2010 03:04:33
Message-Id: 4C68A0E3.5080805@gmail.com
In Reply to: Re: [gentoo-user] Handbrake: Is it is or is it ain't in portage by Stroller
1 Stroller wrote:
2 >
3 > On 16 Aug 2010, at 01:43, Kevin O'Gorman wrote:
4 >
5 >> There's a program I really want to use, and I was hoping it existed
6 >> in Gentoo.
7 >> It's called handbrake. eix can't find it. equery cannot find it.
8 >> But there's
9 >> a bug (#89432) filed against it, with the last comment (#111) just 4
10 >> days ago.
11 >>
12 >> So where in the portage is handbrake-0.9.4.ebuild?
13 >
14 > To expand on Dale's answer, Handbrake is unlikely ever to be in Portage.
15 >
16 > The Handbrake developers use the poor practice of snapshotting the
17 > upstream libraries they depend upon (I'm not sure if they also patch
18 > or modify them, instead of pushing those changes upstream) and then
19 > packaging those libs with Handbrake (in a particularly ugly way, too,
20 > one might add).
21 >
22 > So when you install Handbrake you download a bunch of additional
23 > libraries (which you likely already have installed on your system) and
24 > it is compiled against those versions.
25 >
26 > The correct way to do this would be for the handbrake developers to
27 > simply specify which libraries are required and link against the ones
28 > already installed on your system. If a specific version of a library
29 > is required - but generally speaking it shouldn't be - then that can
30 > be done as part of the ebuild / makefile dependency checking.
31 >
32 > The link you posted to handbrake-0.9.4.ebuild is an ebuild. You can
33 > install it something like this:
34 >
35 > # mkdir -p /usr/local/portage/media-video/handbrake/
36 > # curl http://bugs.gentoo.org/attachment.cgi?id=229397 > \
37 > /usr/local/portage/media-video/handbrake/handbrake-0.9.4.ebuild
38 > # ebuild manifest
39 > /usr/local/portage/media-video/handbrake/handbrake-0.9.4.ebuild
40 > # emerge handbrake
41 >
42 > It's a shitty ebuild, and it has to be, because that's inherent in the
43 > way the Handbrake devs "package" their program, but the ebuild does
44 > install and work the way the Handbrake devs intended.
45 >
46 > I would have thought you'd already know this if you had fully read bug
47 > #89432.
48 >
49 > I know that transcoding is a bit of a black art, but I'm not convinced
50 > Handbrake is actually that good.
51 >
52 > Stroller.
53 >
54
55 Now I'm curious. Basically the programmers have a crappy way of making
56 their package and Gentoo doesn't need the headache? Based on your
57 explanation, I can't blame the Gentoo devs for that. They got enough
58 headaches already.
59
60 I also noticed that bug report was started about 5 years ago. I really
61 think you are right that it won't ever be added, unless the people at
62 handbrake do things differently.
63
64 Didn't Googleearth start out this way tho? I know it used to be a huge
65 mess.
66
67 Dale
68
69 :-) :-)