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
| | |-+  Patching Problems
« previous next »
  • Print
Pages: [1]

Author Topic: Patching Problems  (Read 2797 times)

Offline CJ85

  • Member
  • *
  • Posts: 7
Patching Problems
« on: August 21, 2008, 08:43:36 PM »
Hello All.

I cannot get the Windows version of Patch to run on my system.  And as I don't currently have any intentions of developing (yet I hope) I was wondering if someone could apply a certain patch for me to the newest build for the IHP120.

Anyone willing shoot me a PM.

Thanks again.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Patching Problems
« Reply #1 on: August 22, 2008, 08:10:48 AM »
Once you have patched the source code, you then need to compile it into a Rockbox build.  Therefore the windows patch utility isn't particularly useful on its own.

In order to do patching/building etc., even without any intention of taking it further and developing, you need a development environment set up.

See www.rockbox.org/wiki/SimpleGuideToCompiling
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline CJ85

  • Member
  • *
  • Posts: 7
Re: Patching Problems
« Reply #2 on: August 22, 2008, 12:04:24 PM »
Quote from: BigBambi on August 22, 2008, 08:10:48 AM
Once you have patched the source code, you then need to compile it into a Rockbox build.  Therefore the windows patch utility isn't particularly useful on its own.

In order to do patching/building etc., even without any intention of taking it further and developing, you need a development environment set up.

See www.rockbox.org/wiki/SimpleGuideToCompiling

Thats what I wanted to avoid to be honest.   I didn't think I wanted to go through the trouble of getting a build environment set up just to apply a patch.   Then again I'm not completely sure how much of a pita I would be passing along asking someone to patch it for me XD

Logged

Offline yapper

  • Rockbox Expert
  • Member
  • *
  • Posts: 794
Re: Patching Problems
« Reply #3 on: August 22, 2008, 12:25:24 PM »
If you mention the patch you are interested in, you might 'lure' someone into doing it ;)
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Patching Problems
« Reply #4 on: August 22, 2008, 02:03:58 PM »
Quote from: CJ85 on August 22, 2008, 12:04:24 PM
Quote from: BigBambi on August 22, 2008, 08:10:48 AM
Once you have patched the source code, you then need to compile it into a Rockbox build.  Therefore the windows patch utility isn't particularly useful on its own.

In order to do patching/building etc., even without any intention of taking it further and developing, you need a development environment set up.

See www.rockbox.org/wiki/SimpleGuideToCompiling

Thats what I wanted to avoid to be honest.   I didn't think I wanted to go through the trouble of getting a build environment set up just to apply a patch.   Then again I'm not completely sure how much of a pita I would be passing along asking someone to patch it for me XD

The problem is that someone could build it for you, but everytime you want to upgrade you need to do a new build with the patch included.  Honestly, it'd be much simpler to do it yourself, it really isn't very difficult and would give you a great sense of achievement :)
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline CJ85

  • Member
  • *
  • Posts: 7
Re: Patching Problems
« Reply #5 on: August 22, 2008, 05:36:19 PM »
Quote from: BigBambi on August 22, 2008, 02:03:58 PM
Quote from: CJ85 on August 22, 2008, 12:04:24 PM
Quote from: BigBambi on August 22, 2008, 08:10:48 AM
Once you have patched the source code, you then need to compile it into a Rockbox build.  Therefore the windows patch utility isn't particularly useful on its own.

In order to do patching/building etc., even without any intention of taking it further and developing, you need a development environment set up.

See www.rockbox.org/wiki/SimpleGuideToCompiling

Thats what I wanted to avoid to be honest.   I didn't think I wanted to go through the trouble of getting a build environment set up just to apply a patch.   Then again I'm not completely sure how much of a pita I would be passing along asking someone to patch it for me XD

The problem is that someone could build it for you, but everytime you want to upgrade you need to do a new build with the patch included.  Honestly, it'd be much simpler to do it yourself, it really isn't very difficult and would give you a great sense of achievement :)

I had this same thought.  Then I heard about 3.0 release soon and I again thought I might as well do it myself.  However, the guide is a bit cryptic at parts, as I am quite the amateur.

The patch in question is the Multifont patch.  The last time it was syncd was at the beginning of July, so I'm not even positive the code is all in the right places.

    Also a few questions.   Where can I get a working version of subversion, so I can get the source?   Second, when I do get the source and want to apply a .diff, what is the command I need to use in Patch?  I thought I had it right, but apparently not.

Third,  when getting a cygwin setup, and your selecting the packages, the wiki tells you which ones to install, it also mentions to leave the "base" ones untouched.   Do I need to untick all the other ones that come preselected?


Thanks!
« Last Edit: August 22, 2008, 05:47:03 PM by CJ85 »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Patching Problems
« Reply #6 on: August 22, 2008, 07:38:34 PM »
If it were me I'd use the VMWare image and not cygwin:

www.rockbox.org/wiki/VMwareDevelopmentPlatform

It is both faster and comes with all the necessary tools installed and set up for you.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline CJ85

  • Member
  • *
  • Posts: 7
Re: Patching Problems
« Reply #7 on: August 22, 2008, 11:48:18 PM »
Downloading it now.  I'll see how that works for me.  Thanks for the tip.   
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Patching Problems
 

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

Page created in 0.077 seconds with 15 queries.