Re: [gentoo-user] How to apply a patch to an ebuild?

2005-09-29 Thread Roy Wright

Holly Bostick wrote:


That's almost it--

1) copy the ebuild and /files folder to your overlay
(/usr/local/portage/media-sound/aumix/, assuming that your
PORTDIR_OVERLAY is /usr/local/portage);

2) copy the patch to the /files folder in the overlay folder with the
other aumix patches;

3) edit the following section of the overlay ebuild copy:

src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-nohome.patch
epatch ${FILESDIR}/${P}-close-dialogs.patch
epatch ${FILESDIR}/${P}-save_load.patch
epatch ${FILESDIR}/${P}-nls.patch

to

src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-nohome.patch
epatch ${FILESDIR}/${P}-close-dialogs.patch
epatch ${FILESDIR}/${P}-save_load.patch
epatch ${FILESDIR}/${P}-nls.patch
== epatch ${FILESDIR}/${P}-autoconf.patch   

Save (of course), redigest (ebuild
/usr/local/portage/media-sound/aumix/aumix-2.8-r2.ebuild digest), emerge.

Hope this helps,
Holly
 


Worked first try!  Thank you!

--
gentoo-user@gentoo.org mailing list



[gentoo-user] How to apply a patch to an ebuild?

2005-09-28 Thread Roy Wright

Howdy,

With Holly's praise of fvwm-crystal I thought I'd give it a try.
But then I hit bug 89594 with aumix.  The sound team provided
a patch, aumix-2.8-autoconf.patch, which will create the two
missing config files (they didn't fix the ebuild because it works
on their systems).  Now I'm trying to figure out what is the
proper way to use this patch?  Any pointers?

I'm guessing I need to dup the ebuild in my local portage,
create a new md5 digest, then emerge aumix.

TIA,
Roy
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to apply a patch to an ebuild?

2005-09-28 Thread Holly Bostick
Roy Wright schreef:
 Howdy,
 
 With Holly's praise of fvwm-crystal I thought I'd give it a try. But
 then I hit bug 89594 with aumix.  The sound team provided a patch,
 aumix-2.8-autoconf.patch, which will create the two missing config
 files (they didn't fix the ebuild because it works on their systems).
 Now I'm trying to figure out what is the proper way to use this
 patch?  Any pointers?
 
 I'm guessing I need to dup the ebuild in my local portage, create a
 new md5 digest, then emerge aumix.
 
 TIA, Roy

That's almost it--

1) copy the ebuild and /files folder to your overlay
(/usr/local/portage/media-sound/aumix/, assuming that your
PORTDIR_OVERLAY is /usr/local/portage);

2) copy the patch to the /files folder in the overlay folder with the
other aumix patches;

3) edit the following section of the overlay ebuild copy:

src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-nohome.patch
epatch ${FILESDIR}/${P}-close-dialogs.patch
epatch ${FILESDIR}/${P}-save_load.patch
epatch ${FILESDIR}/${P}-nls.patch

to

src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-nohome.patch
epatch ${FILESDIR}/${P}-close-dialogs.patch
epatch ${FILESDIR}/${P}-save_load.patch
epatch ${FILESDIR}/${P}-nls.patch
== epatch ${FILESDIR}/${P}-autoconf.patch  

Save (of course), redigest (ebuild
/usr/local/portage/media-sound/aumix/aumix-2.8-r2.ebuild digest), emerge.

Hope this helps,
Holly
-- 
gentoo-user@gentoo.org mailing list