* [gentoo-user] Manually compiling a gentoo package
@ 2006-05-23 4:17 Anthony E. Caudel
2006-05-23 4:48 ` Matthew Cline
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Anthony E. Caudel @ 2006-05-23 4:17 UTC (permalink / raw
To: Gentoo mailing list
I need to make a change in the code for a gentoo package (pgcalc2) to
check whether it corrects a problem. If I simply download it with
emerge -f pgcalc2, make the correction and then try to finish the
emerge, it will fail the md5 check.
How can I do this?
Tony
--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Manually compiling a gentoo package
2006-05-23 4:17 [gentoo-user] Manually compiling a gentoo package Anthony E. Caudel
@ 2006-05-23 4:48 ` Matthew Cline
2006-05-23 4:53 ` Richard Fish
2006-05-23 5:20 ` Shaochun Wang
2 siblings, 0 replies; 8+ messages in thread
From: Matthew Cline @ 2006-05-23 4:48 UTC (permalink / raw
To: gentoo-user
I am not a portage expert, but would it be possible to re-tar the
fixed source, then re-generate the ebuild digest using:
# ebuild <path to ebuild> digest
Then you should be able to continue with the emerge?
HTH,
Matt
On 5/23/06, Anthony E. Caudel <acaudel@gt.rr.com> wrote:
> I need to make a change in the code for a gentoo package (pgcalc2) to
> check whether it corrects a problem. If I simply download it with
> emerge -f pgcalc2, make the correction and then try to finish the
> emerge, it will fail the md5 check.
>
> How can I do this?
>
> Tony
> --
> Those who would give up essential Liberty, to purchase a little temporary
> Safety, deserve neither Liberty nor Safety.
> -- Benjamin Franklin
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Manually compiling a gentoo package
2006-05-23 4:17 [gentoo-user] Manually compiling a gentoo package Anthony E. Caudel
2006-05-23 4:48 ` Matthew Cline
@ 2006-05-23 4:53 ` Richard Fish
2006-05-23 6:16 ` Anthony E. Caudel
2006-05-23 5:20 ` Shaochun Wang
2 siblings, 1 reply; 8+ messages in thread
From: Richard Fish @ 2006-05-23 4:53 UTC (permalink / raw
To: gentoo-user
On 5/22/06, Anthony E. Caudel <acaudel@gt.rr.com> wrote:
> I need to make a change in the code for a gentoo package (pgcalc2) to
> check whether it corrects a problem. If I simply download it with
> emerge -f pgcalc2, make the correction and then try to finish the
> emerge, it will fail the md5 check.
>
> How can I do this?
Assuming you have a fairly standard setup:
ebuild /usr/portage/sci-calculators/pgcalc2/pgcalc2-2.2.4.ebuild unpack
<make change in /var/tmp/portage/pgcalc2-2.2.4/work>
ebuild /usr/portage/sci-calculators/pgcalc2/pgcalc2-2.2.4.ebuild compile
ebuild /usr/portage/sci-calculators/pgcalc2/pgcalc2-2.2.4.ebuild install
See "man ebuild".
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Manually compiling a gentoo package
2006-05-23 4:53 ` Richard Fish
@ 2006-05-23 6:16 ` Anthony E. Caudel
2006-05-23 8:21 ` Richard Fish
0 siblings, 1 reply; 8+ messages in thread
From: Anthony E. Caudel @ 2006-05-23 6:16 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
> On 5/22/06, Anthony E. Caudel <acaudel@gt.rr.com> wrote:
>
>> I need to make a change in the code for a gentoo package (pgcalc2) to
>> check whether it corrects a problem. If I simply download it with
>> emerge -f pgcalc2, make the correction and then try to finish the
>> emerge, it will fail the md5 check.
>>
>> How can I do this?
>
>
> Assuming you have a fairly standard setup:
>
> ebuild /usr/portage/sci-calculators/pgcalc2/pgcalc2-2.2.4.ebuild unpack
> <make change in /var/tmp/portage/pgcalc2-2.2.4/work>
> ebuild /usr/portage/sci-calculators/pgcalc2/pgcalc2-2.2.4.ebuild compile
> ebuild /usr/portage/sci-calculators/pgcalc2/pgcalc2-2.2.4.ebuild install
>
> See "man ebuild".
>
> -Richard
>
Thanks, Richard. Those steps did the trick. And the author's
correction fixed the problem also.
So, with a final "ebuild ... qmerge", I have a working pgcalc2.
Tony
--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Manually compiling a gentoo package
2006-05-23 6:16 ` Anthony E. Caudel
@ 2006-05-23 8:21 ` Richard Fish
2006-05-24 3:22 ` Anthony E. Caudel
2006-05-26 15:48 ` Anthony E. Caudel
0 siblings, 2 replies; 8+ messages in thread
From: Richard Fish @ 2006-05-23 8:21 UTC (permalink / raw
To: gentoo-user
On 5/22/06, Anthony E. Caudel <acaudel@gt.rr.com> wrote:
> Thanks, Richard. Those steps did the trick. And the author's
> correction fixed the problem also.
Cool. If upstream is going to apply the patch to a future release
that may be some weeks off, you might consider filing a bug report on
bugs.gentoo.org with the patch to get it added to the current ebuild
and release.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Manually compiling a gentoo package
2006-05-23 8:21 ` Richard Fish
@ 2006-05-24 3:22 ` Anthony E. Caudel
2006-05-26 15:48 ` Anthony E. Caudel
1 sibling, 0 replies; 8+ messages in thread
From: Anthony E. Caudel @ 2006-05-24 3:22 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
> On 5/22/06, Anthony E. Caudel <acaudel@gt.rr.com> wrote:
>
>> Thanks, Richard. Those steps did the trick. And the author's
>> correction fixed the problem also.
>
>
> Cool. If upstream is going to apply the patch to a future release
> that may be some weeks off, you might consider filing a bug report on
> bugs.gentoo.org with the patch to get it added to the current ebuild
> and release.
>
> -Richard
>
Done. Bug 134167
Tony
--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Manually compiling a gentoo package
2006-05-23 8:21 ` Richard Fish
2006-05-24 3:22 ` Anthony E. Caudel
@ 2006-05-26 15:48 ` Anthony E. Caudel
1 sibling, 0 replies; 8+ messages in thread
From: Anthony E. Caudel @ 2006-05-26 15:48 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
> On 5/22/06, Anthony E. Caudel <acaudel@gt.rr.com> wrote:
>
>> Thanks, Richard. Those steps did the trick. And the author's
>> correction fixed the problem also.
>
>
> Cool. If upstream is going to apply the patch to a future release
> that may be some weeks off, you might consider filing a bug report on
> bugs.gentoo.org with the patch to get it added to the current ebuild
> and release.
>
> -Richard
>
Should I put my self-fixed pgcalc2 in an overlay?
--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] Manually compiling a gentoo package
2006-05-23 4:17 [gentoo-user] Manually compiling a gentoo package Anthony E. Caudel
2006-05-23 4:48 ` Matthew Cline
2006-05-23 4:53 ` Richard Fish
@ 2006-05-23 5:20 ` Shaochun Wang
2 siblings, 0 replies; 8+ messages in thread
From: Shaochun Wang @ 2006-05-23 5:20 UTC (permalink / raw
To: gentoo-user
ebuild
On Mon, May 22, 2006 at 11:17:03PM -0500, Anthony E. Caudel wrote:
> I need to make a change in the code for a gentoo package (pgcalc2) to
> check whether it corrects a problem. If I simply download it with
> emerge -f pgcalc2, make the correction and then try to finish the
> emerge, it will fail the md5 check.
>
> How can I do this?
>
> Tony
> --
> Those who would give up essential Liberty, to purchase a little temporary
> Safety, deserve neither Liberty nor Safety.
> -- Benjamin Franklin
> --
> gentoo-user@gentoo.org mailing list
--
Wang ShaoChun(王绍春) <scwang@ios.ac.cn>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-05-26 15:56 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-23 4:17 [gentoo-user] Manually compiling a gentoo package Anthony E. Caudel
2006-05-23 4:48 ` Matthew Cline
2006-05-23 4:53 ` Richard Fish
2006-05-23 6:16 ` Anthony E. Caudel
2006-05-23 8:21 ` Richard Fish
2006-05-24 3:22 ` Anthony E. Caudel
2006-05-26 15:48 ` Anthony E. Caudel
2006-05-23 5:20 ` Shaochun Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox