It took quite a bit of work, but trac works in prefix. ebuilds to add: app-text/silvercity-0.9.7 app-admin/webapp-config-1.50.16-r2 www-apps/trac-10.4 webapp-config took _alot_ of work to get it working in prefix. Whether or not its all correct, I am not sure. It might be something for the team working with it closer to take a look at. I feel like its only a build/install time dependency though.
Created attachment 141544 [details, diff] fix for trac preferring sqlite2 to sqlite3...
Created attachment 141548 [details, diff] attempt at a fix to make webapp-config work in prefix The reason I say "attempt" is because I attempted to find all places where a reference to the root filesystem and replaced it with @GENTOO_PORTAGE_EPREFIX@ so that it would get written into the prefix. It seems to make webapp-config work, but I'm not sure if I caught all the references to the root filesystem. It would probably be better if the team that works on webapp-config looked into this, but this patch should do for now.
Created attachment 141550 [details, diff] patch rooted between the original overlay and the fixed overlay this patch consists of the changes needed for the webapp-config ebuild, trac ebuild, and webapp eclass. ie: trac-current is the directory with the code just created by ecopy ( eapify,... ) trac-fixes is the patched directory of ebuilds and eclasses hopefully this makes sense, if not, I can resubmit as seperate patches for each ebuild and eclass.
BTW, I think I got all the ebuild's trac tries to pull in, but if I didn't, they should be a simple ecopy away from working. If not, just post which one didn't work and I can work on it.
FWIW, I have tested his fixes as well.
(In reply to comment #0) > webapp-config took _alot_ of work to get it working in prefix. Whether or not > its all correct, I am not sure. I found this bug today: Bug 195771 where webapp-config has already been worked on for prefix. That doesn't mean your work is invalid, but rather..maybe it is more complete now?
Just found out someone was already working on making webapp-config work for prefix... I have some patches that may be of use... but looks like the other bug is working on that also.
> ebuilds to add: > app-text/silvercity-0.9.7 > app-admin/webapp-config-1.50.16-r2 > www-apps/trac-10.4 silvercity already in prefix, looking at the rest now.
webapp-config in tree: Committed revision 22211. I will look at trac and webapp.eclass at a later time.
www-apps/trac: Committed revision 22254. webapp.eclass fixed up. I imported a newer version, you will have to unmask this one to use. Tested on x86-linux, works fine. (I won't add a older version). Thanks for the initial porting! It helped me figure out what needed to be done..