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

Author Topic: Applying patches  (Read 6559 times)

Offline mschneider

  • Member
  • *
  • Posts: 235
Applying patches
« on: May 03, 2007, 07:08:38 PM »
can anyone please help me about how to apply patches? i cant understand the index very well.
Logged

Offline lights0ut

  • Artist
  • Member
  • *
  • Posts: 382
Re: Applying patches
« Reply #1 on: May 03, 2007, 07:44:51 PM »
http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling
see also:

http://www.rockbox.org/twiki/bin/view/Main/DocsIndex#For_Developers
http://www.rockbox.org/twiki/bin/view/Main/CygwinDevelopment
 
good luck ;)
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Applying patches
« Reply #2 on: May 03, 2007, 09:05:37 PM »
is Cygwin required to apply a patch?
Logged

Offline lights0ut

  • Artist
  • Member
  • *
  • Posts: 382
Re: Applying patches
« Reply #3 on: May 03, 2007, 10:38:10 PM »
Cygwin, VMware, CoLinux or an actual Linux OS will do.
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Applying patches
« Reply #4 on: May 04, 2007, 10:56:22 AM »
So with something like COLinux there is a patch program included?
Logged

Offline Nate!

  • Member
  • *
  • Posts: 235
Re: Applying patches
« Reply #5 on: May 04, 2007, 01:14:55 PM »
Also read this:
http://www.rockbox.org/twiki/bin/view/Main/WorkingWithPatches

Particularly the "Applying a Patch" section.

Reading the above posted links and the one in this post should point you in the right direction.  Applying a patch involves a subsequent compiling of the source code.  Kind of a lengthy set of instructions so it's better that you read the links and post questions on a particular step.

You may want to move this thread to the "Getting Started And Compiling" board at the bottom of the forum.
« Last Edit: May 04, 2007, 01:18:22 PM by Nate! »
Logged

Offline lights0ut

  • Artist
  • Member
  • *
  • Posts: 382
Re: Applying patches
« Reply #6 on: May 04, 2007, 10:44:54 PM »
VMware and Colinux both use a form of hardware emulation with a 'linux image' which is setup by some Rockbox developers for Rockbox. That means that the linux images have everything included in them needed to download the source code (svn), apply patches (patch diff etc.) and compile the actual build (gcc, arm-elf-gcc, make, autoconf, binutils etc.) If you fell like it you can always install other programs on the image as apt-get and aptitude are included as well.
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Applying patches
« Reply #7 on: May 06, 2007, 09:49:49 AM »
'I was reading "Working with patches" and i downloaded the gnuWin32 patch program. Does this work as well?
Logged

Offline lights0ut

  • Artist
  • Member
  • *
  • Posts: 382
Re: Applying patches
« Reply #8 on: May 06, 2007, 10:30:37 AM »
I've heard of that program, but I've never used it. I'm pretty sure all that it does is apply the patch, it wont compile rockbox. So you would still need at least Cygwin to compile, in which case it is better that you go with a dev environment (cygwin etc.)

Cygwin is a little slow, but I think it is easiest to set up, just remember to follow all the steps in the walkthroughs.
Logged

Offline scorche

  • Administrator
  • Member
  • *
  • Posts: 666
Re: Applying patches
« Reply #9 on: May 07, 2007, 05:30:46 PM »
This is the first time I have ever heard that Cygwin is the easiest to set up.  Most people say VMware is because all you do is install VMware and run the image which already has everything set up for it.  ;)
Logged

Offline lights0ut

  • Artist
  • Member
  • *
  • Posts: 382
Re: Applying patches
« Reply #10 on: May 07, 2007, 07:30:48 PM »
I found that VMware, while faster gave me a harder time. I had to keep turning off my internet, then my firewall, then connecting to the image through windoze just to transfer my patches to it, and finally the build when I was done. If I forgot a patch, that meant I had to start my FW, start the internet, get the patch then shut it down again.

The best solution to all this and my other PC problems like spyware was to run a native Linux OS ;D
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Applying patches
« Reply #11 on: May 07, 2007, 07:32:08 PM »
Quote from: scorche on May 07, 2007, 05:30:46 PM
This is the first time I have ever heard that Cygwin is the easiest to set up.  Most people say VMware is because all you do is install VMware and run the image which already has everything set up for it.  

Yep, I'll attest to that. I started with VMware, but got sick of the slow network-only connection that always seemed to go down when I needed it the most. I tried Colinux, but gave up after I couldn't get the networking set up, now I'm using Cygwin and it's the best one so far. It's slower, but that doesn't really matter because I don't stare at the window, watching it compile. I just browse the internet or something, and before I know it, it's done.

I have another PC that I could install linux on, but I don't really need it, and I'm lazy. :P
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

Offline lights0ut

  • Artist
  • Member
  • *
  • Posts: 382
Re: Applying patches
« Reply #12 on: May 07, 2007, 09:49:10 PM »
Quote from: Mad Cow on May 07, 2007, 07:32:08 PM
I have another PC that I could install linux on, but I don't really need it, and I'm lazy.

I'd say that Installing Ubuntu 7.04 (Feisty) was pretty close to painless. ;) It can be done completely with GUI programs, never needed to touch a terminal window.
Logged

Offline mschneider

  • Member
  • *
  • Posts: 235
Re: Applying patches
« Reply #13 on: May 11, 2007, 05:35:22 PM »
Well i've fully installed cygwin, but whenever i click on the icon or start it through the start menu the prompter flashes on screen breifly and then dissapears. Any ideas?
Logged

Offline Mad Cow

  • Member
  • *
  • Posts: 445
Re: Applying patches
« Reply #14 on: May 11, 2007, 05:37:25 PM »
Quote from: evilg123 on May 07, 2007, 09:49:10 PM
Quote from: Mad Cow on May 07, 2007, 07:32:08 PM
I have another PC that I could install linux on, but I don't really need it, and I'm lazy.

I'd say that Installing Ubuntu 7.04 (Feisty) was pretty close to painless. ;) It can be done completely with GUI programs, never needed to touch a terminal window.

I was thinking of installing Ubuntu for a while now, I'll probably do that when I have a free weekend or something. How about setting up the rockbox build environment? How hard is that?
Logged
iRiver H10 5GB, Gigabeat F40, Gigabeat S60, all rockboxed. :P

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

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

Page created in 0.097 seconds with 16 queries.