Rockbox Development > Starting Development and Compiling
Compiling rockbox for Fuze V2 with Meier crossfeed
horizon21:
How do I use that gerrit implementation? As I said, the guide mentions how to implement .patch files but nothing that I saw mentioned gerrit additional patches.
EDIT: I tried
git fetch git://git.rockbox.org/rockbox refs/changes/27/227/6 && git format-patch -1 --stdout FETCH_HEAD
but terminal says: fatal: not a git repository .git
EDIT 2: A friend told me what to do. I applied the patch from git. Now I just have to compile rockbox using the wiki guide.
Thanks to all that responded and helped me!
saratoga:
I posted this link above, but it looks like the spam filter ate it:
http://www.anythingbutipod.com/forum/showthread.php?t=59821
(Google turned that up, never used it)
--- Quote ---EDIT: I tried
git fetch git://git.rockbox.org/rockbox refs/changes/27/227/6 && git format-patch -1 --stdout FETCH_HEAD
but terminal says: fatal: not a git repository .git
--- End quote ---
You have to actually be in the same folder as the source code to use that command. Basically what that command does is download the code you want, then compare it to the code you have, and give you a patch containing the differences.
A more direct way to get the code is to use "pull" link on that page. What that does is take your source code, and then add the Meier crossfeed patch to it automatically.
AlexP:
--- Quote from: horizon21 on May 05, 2012, 03:30:50 PM ---git fetch git://git.rockbox.org/rockbox refs/changes/27/227/6 && git format-patch -1 --stdout FETCH_HEAD
--- End quote ---
That should work, you probably need to be in the directory where you checked out the source to
Alternatively, again from the source directory
"git fetch git://git.rockbox.org/rockbox refs/changes/27/227/6 && git cherry-pick FETCH_HEAD"
Will cherry-pick the patch and apply it to your tree.
saratoga:
Actually, I just noticed there is a regular download link for a .patch file, so I suppose you don't even need to use git for this once you have the source code.
On the gerrit page its under gitweb > patch > right click, save as
horizon21:
thanks, guys. I will probably use the readily made one, just to be sure ^^
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version