Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 228501

Summary: [patch] let user overwrite EGIT_REPO_URI in x-modular.eclass
Product: Gentoo Linux Reporter: Markus Rothe (RETIRED) <corsair>
Component: EclassesAssignee: Donnie Berkholz (RETIRED) <dberkholz>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: x-modular.eclass.patch
xcb-proto-9999.ebuild

Description Markus Rothe (RETIRED) gentoo-dev 2008-06-20 11:19:11 UTC
while writing an ebuild for the git version of xcb-proto I ran into the problem that xcb is not hosted in /git/xorg/, but in /git/xcb/ on anongit.freedesktop.org. Using this path is not possible with current x-modular.eclass.

The attached patch changes x-modular.eclass so the user can define the EGIT_REPO_URI. I'll also attach a sample ebuild for xcb-proto using this feature.
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2008-06-20 11:19:26 UTC
Created attachment 157719 [details, diff]
x-modular.eclass.patch
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2008-06-20 11:19:39 UTC
Created attachment 157721 [details]
xcb-proto-9999.ebuild
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2008-06-25 17:16:01 UTC
Look at http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=blob;f=x11-proto/xcb-proto/xcb-proto-9999.ebuild;h=7063e9d7a964b90ba233681e5d2d12092496a374;hb=HEAD -- it works if you do the inherit on the other side of the variable setting. Does this still provide any value, now that you know that?
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2008-06-25 20:29:22 UTC
Thanks, works perfect.

mark bug as INVALID.