In light of the recent discussion about moving to GIT I would like to let send this email to everyone on wine lists.
Since Christian's last update to his getwinegit script I have tried to improve it to be more general and work in my special setup. I sent him this same email but I haven't heard a reply yet.
---------- Forwarded message ---------- From: Michael [Plouj] Ploujnikov ploujj@gmail.com Date: Jul 26, 2006 10:34 AM Subject: Re: getwinegit.sh v0.4 released! To: Christian Lachner gladiac.lists@gmail.com
I have made some fixes to the script and an example config file:
- Removed the check for root user. The script shouldn't require root access, not to compile wine, not even to install it. I think the best way is to just check that the user running the script has write permissions to install, log, and git checkout folders.
- changed the CONFIGURE variable to be an array to allow for quoted words passed to ./configure. From my configuration that would be something like this:
./configure --x-libraries=/emul/linux/x86/usr/lib/ LDFLAGS="-L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib"
(because I need to compile 32bit wine on a 64bit machine with emulation libraries)
- fixed one typo that I noticed
- added a definition of MAKE to my config file. Without it DEPEND=$MAKE" depend"; and others don't execute make. The same should also be added to the nocolors.config file:
MAKE="make";
Of course, you can ignore the path changes in the config file, unless you want an example of what a non-root user would do.
The changes are attached as unified diffs.
For some reason google made me reply to you rather than wine-devel and I guess it's up to you to post the changes there anyways ... after a thorough review!
Enjoy.