Rockbox Technical Forums
Rockbox Development => Starting Development and Compiling => Topic started by: ruben12345 on September 04, 2006, 02:05:52 AM
-
I've downloaded a .c and .h file from the cvs. How do I apply these patches or files to rockbox. Can anyone help me please. I've read the documents but I simple cannot figure out how to handle .h and .c files.
-
These are source files. You don't apply them with patch.
Depending on the files itself you need to add them to the source tree at the correct place and most probably will need to add the appropriate SOURCES file.
-
if you want to make your own rockbox build, you need the full source, not only a few files. You need to set up a development environment (linux or a virtual machine or cygwin), too.
Everything is explained in our wiki, look for "SimpleGuideToCompiling" and "UsingCVS"
-
I have a related question, I've looked at the UsingCVS wiki and I have a handle on how to download the current build. I just need to know how to download a previous build that's no longer on the daily page.
-
use cvs -D date spec.
-
It took me a bit to figure out that -D needed to be a parameter of the command and not cvs but I finally figured it out. Thanks! I recommend updating the wiki to idiot-proof it for guys like me that want to download older sources.
-
I'm going through the same thing and it's not super clear. Just sifted through CVS manual and I think this is working:
cvs -z3 -d:pserver:anonymous@rockbox.haxx.se:/cvsroot/rockbox co -D yyyy-mm-dd rockbox-devel
....well it's downloading something form the repository anyway. Time will tell if it's the right one!
edit: i guess you beat me to it! i'll leave this up in case others are looking for it. I agree it would be great to add this info to the wiki. Perhaps I will complete my current project before getting into wiki crud though!
-
That is exactly what I typed. I probably shoulda left an example instead of waiting on someone else to do it.
-
my compiled rockbox reports version 061017 though. that's today. I thought I was compiling aug 22, 2006. hrmmmmmmm
-
my compiled rockbox reports version 061017 though. that's today. I thought I was compiling aug 22, 2006.
That's ok -- the date reported is the time you compiled it, not the cvs date.
Btw, if you want to have a description of -D in the wiki go ahead and add it -- that's the way a wiki is intended to work.
-
OK that will be my next project. Since this patched build seems to be working now. Sweet!
Thanks for pushing me in the right direction guys
-
I just signed up on the wiki with the intention of editing that very page to include a -D description but apparently I have to be a member of TWikiUsersGroup to do that. So I guess I would ask a member of that group to do so, or allow me membership, whichever seems best to the powers that be.
-
The wiki registration page tells you to ask in IRC after registering to get that done. If you have not already done so, do it and tell them your wiki name so that someone in there can add it.
-
I thought I'd add this in case anybody finds this useful. For some insane reason when I run CVS through my plain ol' dos prompt I always get that 'dying gasps' message with a premature disconnect. I am able to get everything however when I run CVS through the Cygwin bash shell. I have no idea why this is, but somebody might be having a similar problems so this might help.....maybe.
-
Also, please do not continue old threads with an unrelated question. There was a thread not too long ago on the dying gasps message that would be well suited for this post. :)
-
The Thread about dying gasps is here: http://forums.rockbox.org/index.php?topic=6947.0