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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Problems applying Scrolling Margins and Album Art Patch
« previous next »
  • Print
Pages: [1]

Author Topic: Problems applying Scrolling Margins and Album Art Patch  (Read 1492 times)

Offline ldmes

  • Member
  • *
  • Posts: 3
Problems applying Scrolling Margins and Album Art Patch
« on: May 31, 2007, 11:20:58 PM »
Hi! I'm kind of new to this (I had a fellow rockbox user compile a custom build for me, but now want to be able to update it on my own), and have had problems applying the following patches:

album_art_20070426.patch
scroll-margins_2007426.patch

I also had the progressbar_ycoord_rewrite.patch applied to that customn build, but I read that it has now been commited to and is a part of Rockbox.
I would be totally golden if they added the two other patches as well, but for now if I can get some help with this it would be great.

I downloaded the current SVN version of Rockbox to C:\Rockbox\Home\Guest\rockboxMMDDYY\rockbox (have the 05/27/2007 version) and then drop the patch files into that directory. Then I went into CYGWIN and cd .. to that directory and then did the patch --binary -p0 < patchfilename.patch command and every hunk said it failed for both patches.

When I first installed CYGWIN and SVN, I downloaded at the time the current version of rockbox and compiled it to make sure everything was working, before attempting to patch files. And yes I am trying to patch the files to NON-COMPILED files.

I have read on the Flyspray patch pages for those patches that people are able to patch these patches, so I wondering what I may be doing wrong? Or are those patches now not compatible with the current SVN version of Rockbox?
Logged

Offline Mikerman

  • Artist
  • Member
  • *
  • Posts: 721
Re: Problems applying Scrolling Margins and Album Art Patch
« Reply #1 on: June 01, 2007, 11:11:01 AM »
It could simply be that the patch files are out of sync with the current Rockbox code.

Did you try increasing the p value 1 by 1 up to 3 or so (that at least used to be explained in the Simple Guide to Compiling instructions)?

I also sometimes have had luck in placing a patch in the directories to which it will be applied (note:  this sometimes will be multiple directories for a patch--open the patch and scroll through it to see where it will be applied), use cd to change to the directories, and apply the patch command in those directories.

Finally, you can open the patch up and see what needs to be modified, and then go into the files to be modded manually, and make the changes yourself.  Although it sounds a bit intimidating, it can be done fairly easily if the patch is not too complex--an editor's text search function is your friend here.

Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Problems applying Scrolling Margins and Album Art Patch
 

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

Page created in 0.062 seconds with 15 queries.