Rockbox Technical Forums

Support and General Use => Plugins/Viewers => Topic started by: drumthrasher109 on January 08, 2007, 05:23:29 PM

Title: prebuilt patches
Post by: drumthrasher109 on January 08, 2007, 05:23:29 PM
is there a place where i can get pre-made patches in .rock form (or something)? i tried to compile some patches a while ago and it didn't work out.
Title: Re: prebuilt patches
Post by: Febs on January 08, 2007, 05:28:04 PM
Unsupported Builds (http://forums.rockbox.org/index.php?board=36.0)
Title: Re: prebuilt patches
Post by: drumthrasher109 on January 08, 2007, 05:42:41 PM
thanks i guess. i'll just download someones build and take what i need out of it.

actually what file would i need for the piezzo and stuff.
Title: Re: prebuilt patches
Post by: Febs on January 08, 2007, 06:11:00 PM
I'm not sure what you mean by "taking what you need" from another build.  You either need to (a) find a build that already contains the patches you're interested in, and use that build, or (b) patch the source and compile it yourself.
Title: Re: prebuilt patches
Post by: drumthrasher109 on January 08, 2007, 06:13:49 PM
oh i see. in order to use a certain patch that you may want you have to compile a whole new build. thats retarded. i don't want to have to go through this 'compiling' process just for 1 little thing.
Title: Re: prebuilt patches
Post by: bluebrother on January 08, 2007, 06:46:21 PM
a patch in the open source world is usually a source patch, which means it contains the changes to the source needed to change or implement something. Binary patches are uncommon; they are also mostly unneeded as you can distribute the source form. Binary patches are always dependent on a specific binary which makes it quite problematic for certain distribution forms.

You can't just add some binary bit. Even for binary patches, you would always need to use everything or nothing. If you want to control every single bit you need to compile yourself...
Title: Re: prebuilt patches
Post by: drumthrasher109 on January 08, 2007, 08:12:49 PM
all i wanted was the chopper game. now i have it cause of someone elses build.
Title: Re: prebuilt patches
Post by: mlind on January 09, 2007, 10:42:11 AM
Would there be any problems using PLUGINS from one build in another - assuming the difference is only in the plugin code?
Title: Re: prebuilt patches
Post by: drumthrasher109 on January 09, 2007, 12:27:28 PM
?
all i was wondering was if i could just get the .rock file for whatever patch i want instead of making a whole new build.
i tried making my own build before but it didn't work...half the plugins wouldn't go in and i couldn't actually compile into a zip.
Title: Re: prebuilt patches
Post by: nls on January 09, 2007, 04:26:08 PM
If your patch is just a _plugin_ that doesn't modify the plugin API (or any other part of the core of rockbox) a prebuilt .rock (for your specific player) will most likely work.
The reason you're told you have to compile to use patches is that most of them modify the rockbox core.
Title: Re: prebuilt patches
Post by: mlind on January 09, 2007, 04:46:52 PM
actually what file would i need for the piezzo and stuff.

The piezo driver for iPod is not a plugin, so the only way for you to get it is by adding the patch and compile yourself, or use someone else's prepatched build.

Quote
...and stuff
?
Title: Re: prebuilt patches
Post by: drumthrasher109 on January 09, 2007, 05:18:12 PM
wheres the link to the 'how to compile' thread.
Title: Re: prebuilt patches
Post by: scorche on January 10, 2007, 02:21:03 AM
If your patch is just a _plugin_ that doesn't modify the plugin API (or any other part of the core of rockbox) a prebuilt .rock (for your specific player) will most likely work.

And don't forget that it will eventually come up with the "Incompatible Version" error when certain parts of the core change.

wheres the link to the 'how to compile' thread.

Searching is good.  There are pages both in the wiki and under the Compiling forum (imagine that...).

However, keep in mind that they are likely wrong at the moment, as we are switching to SVN.
Title: Re: prebuilt patches
Post by: drumthrasher109 on January 10, 2007, 05:10:11 PM
i have no idea what that is.
Title: Re: prebuilt patches
Post by: bluebrother on January 10, 2007, 05:54:42 PM
i have no idea what that is.
What what is? svn? It's a version control system used to manage the Rockbox code. We used to use cvs (another version control system) before and are currently switching to svn. This means that tutorials and similar need updating, and most likely haven't been updated (as the transition is still in progress).