Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 228501 - [patch] let user overwrite EGIT_REPO_URI in x-modular.eclass
Summary: [patch] let user overwrite EGIT_REPO_URI in x-modular.eclass
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Donnie Berkholz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-20 11:19 UTC by Markus Rothe (RETIRED)
Modified: 2008-06-25 20:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
x-modular.eclass.patch (x-modular.eclass.patch,444 bytes, patch)
2008-06-20 11:19 UTC, Markus Rothe (RETIRED)
Details | Diff
xcb-proto-9999.ebuild (xcb-proto-9999.ebuild,646 bytes, text/plain)
2008-06-20 11:19 UTC, Markus Rothe (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.