Re: has the sun set ?

Duncan <[email protected]> Thu, 4 Jun 2015 03:18:34 +0000 (UTC)
Newsgroups gmane.linux.gentoo.desktop
Message-ID <[email protected]>
Jonathan Callen posted on Wed, 03 Jun 2015 20:45:17 -0400 as excerpted:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>=20
> On 2015-06-03 12:08, Duncan wrote:

>> It's even possible to get the ebuild out of a binpkg if necessary --
>> open the binpkg in a text-editor, and while the first part will be a
>> bunch of compressed garbage, near the end you'll find the ebuild in
>> plain-text, followed by some additional metadata.  You can then delete
>> the stuff before and after the ebuild in the editor (don't save it bac=
k
>> to the original binpkg file) and save the remaining ebuild to a normal
>> ebuild file.
>>=20
>>=20
> An easier method, if you have portage-utils installed, is to use `qtbz2
> -s package-ver.tbz2` to split the .tbz2 binpkg into a .tar.bz2 with the
> contents and a .xpak with the metadata, then use `qxpak -x
> package-ver.xpak package-ver.ebuild` to extract just the ebuild from th=
e
> xpak.

I guess "easier" is defined by the person doing it. =3D:^)

Obviously, were I doing it frequently it'd be worth scripting your=20
commands, thus avoiding both having to remember the specific command=20
details /and/ the manual editing, but I don't end up doing it enough to=20
remember the commands and their options or to be worth scripting it, and=20
absent a script supplying the specific command and options I need, in the=
=20
time it would take me to look it up, type them in, and verify correctness=
=20
before actually hitting enter, I can edit the file manually and be on to=20
something else.

But thanks.  TIMTOWTDI (common perl camp abbreviation: there is more than=
=20
one way to do it), and the more options posted, the easier it should be=20
to find something that works best for them. =3D:^)

--=20
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman