Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  how to use cvs and patches
« previous next »
  • Print
Pages: [1] 2

Author Topic: how to use cvs and patches  (Read 5839 times)

Offline ruben12345

  • Member
  • *
  • Posts: 23
how to use cvs and patches
« 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.

Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: how to use cvs and patches
« Reply #1 on: September 04, 2006, 09:47:19 AM »
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.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Rincewind

  • Member
  • *
  • Posts: 266
Re: how to use cvs and patches
« Reply #2 on: September 04, 2006, 10:45:53 AM »
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"
Logged
Iriver H120, Sansa e280

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: how to use cvs and patches
« Reply #3 on: October 17, 2006, 12:56:14 AM »
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.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: how to use cvs and patches
« Reply #4 on: October 17, 2006, 06:51:45 AM »
use cvs -D date spec.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: how to use cvs and patches
« Reply #5 on: October 18, 2006, 12:08:01 AM »
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.
« Last Edit: October 18, 2006, 12:20:32 AM by tdtooke »
Logged

Offline larry_llama

  • Member
  • *
  • Posts: 83
Re: how to use cvs and patches
« Reply #6 on: October 18, 2006, 12:25:08 AM »
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!
« Last Edit: October 18, 2006, 12:26:44 AM by larry_llama »
Logged

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: how to use cvs and patches
« Reply #7 on: October 18, 2006, 12:46:09 AM »
That is exactly what I typed.  I probably shoulda left an example instead of waiting on someone else to do it.
Logged

Offline larry_llama

  • Member
  • *
  • Posts: 83
Re: how to use cvs and patches
« Reply #8 on: October 18, 2006, 01:12:22 AM »
my compiled rockbox reports version 061017 though. that's today. I thought I was compiling aug 22, 2006. hrmmmmmmm
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: how to use cvs and patches
« Reply #9 on: October 18, 2006, 05:21:07 AM »
Quote from: larry_llama on October 18, 2006, 01:12:22 AM
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.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline larry_llama

  • Member
  • *
  • Posts: 83
Re: how to use cvs and patches
« Reply #10 on: October 18, 2006, 12:03:44 PM »
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
Logged

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: how to use cvs and patches
« Reply #11 on: October 19, 2006, 11:55:33 PM »
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.
Logged

Offline scorche

  • Administrator
  • Member
  • *
  • Posts: 666
Re: how to use cvs and patches
« Reply #12 on: October 20, 2006, 12:02:35 AM »
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.
Logged

Offline tdtooke

  • Member
  • *
  • Posts: 151
Re: how to use cvs and patches
« Reply #13 on: October 21, 2006, 03:15:41 AM »
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.
Logged

Offline scorche

  • Administrator
  • Member
  • *
  • Posts: 666
Re: how to use cvs and patches
« Reply #14 on: October 21, 2006, 03:55:11 AM »
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.  :)
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  how to use cvs and patches
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.185 seconds with 21 queries.