[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-desktop
Subject:    Re: [gentoo-desktop] Apply patch to XFree Sources
From:       Tom Prado <tprado () charter ! net>
Date:       2002-10-14 23:19:11
[Download RAW message or body]

> 
> And here is my Question: How do i apply this patch using the 
Gentoo portage system?
> 

Here's a short answer (okay, maybe not so short)  for applying the patch 
using the portage system.

1) make a /usr/portage.local directory.
2) copy the ebuild for XFree86, including it's tree from /usr/portage 
(i.e. cp -r /usr/portage/x11-base/xfree/usr/portage.local/x11-base/xfree

3) copy the ebuild into a newer version in your portage.local directory 
and modify it adding the logic to apply your patch.  the xfree ebuild already 
has other patches that you can refer to. (i.e. cp xfree-4.2.0-r12.ebuild 
xfree-4.2.0-r50.ebuild)  

4) add PORTDIR_OVERLAY=/usr/portage.local to /usr/make.conf
5) build the digest for your new ebuild ( ebuild xfree-4.2.0-r50.ebuild 
digest)
6) emerge xfree86 -p to make sure it picks up your new custom version.
7) emerge xfree  and enjoy

That's it!

Tom Prado


_______________________________________________
gentoo-desktop mailing list
gentoo-desktop@gentoo.org
http://lists.gentoo.org/mailman/listinfo/gentoo-desktop
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic