The first problem is one of paths. nwresources129.tar.gz was tarred from the parent directory of nwn, while nwclient129.tar.gz was tarred from within it (thus, the unpack statement which decompresses the stuff for people with "nowin" set does so into an extra "nwn" subdirectory). I fixed this in src_unpack. The second is the fact that files in the nwn/lib and nwn/miles directories wind-up not owned by games:games as they should be. I spent hours trying to figure out why, and still have not. It does not bite Windows users because they run fixinstall, which more than takes care of that. "nowin" users are not told they have to though. I added something at the end to fix this. I would have done so earlier in the ebuild, but I couldn't get it to stick, and am tired of it. Make it more elegant if you don't like it. ::) All this is fine and dandy, but with my final ebuild nwn no longer accepts my CD Keycode. I don't know why. Maybe we should just break-down and run fixinstall at the end for "nowin" users? Or even all users? An extra run wouldn't hurt. I don't feel like tracking- down which file needs the chmod that fixinstall does to save my keycode, bu fixinstall is probably over-kill. In any case, I'm tired of it and I was supposed to get up early next (this, now) morning. Debugging ebuilds which shuffle gigs of data is time-consuming. :;) -- Daniel Mannarino Reproducible: Always Steps to Reproduce: 1.USE=nowin sudo emerge nwn 2.nwn 3. Actual Results: ./nwmain: error while loading shared libraries: libmss.so.6: cannot open shared object file: No such file or directory Expected Results: Fun ::)
Created attachment 15387 [details] nwn-1.30.ebuild (Fixed ebuild) Sorry, I forgot to attach the ebuild :;) This one runs fixinstall for nowin users at the end, and fixes the path issue. Tested. -- Daniel Mannarino
Created attachment 15389 [details] nwn-1.30.ebuild (Fixed ebuild) Oops, sorry I forgot to attach this last week. :;) Both issues fixed though. -- Daniel Mannarino
Created attachment 16070 [details] new nwn ebuild I fixed this myself before looking, my fix is much more gracefull and proper, so that is why I am submitting it. Please update portage, possibly without bumping it to r1, so people who didn't use nowin won't have to re-emerge ;) Tony
Created attachment 16071 [details] new nwn ebuild I fixed this myself before looking, my fix is much more gracefull and proper, so that is why I am submitting it. Please update portage, possibly without bumping it to r1, so people who didn't use nowin won't have to re-emerge ;) Tony
Sorry, about the double post... My ebuild seems to work, except the permessions need to be changed chmod -R g+w /opt/nwn to make it work...
ok, ive been trying to make space on my hd so i can test this out, but thats really never gonna happen :/ so i apologize for the time lag in getting this into cvs, but it is there now thanks :)