Reply
Thread Tools
Posts: 37 | Thanked: 7 times | Joined on Nov 2009 @ Netherlands
#1
Dear forum members,

I recently filed the following feature request on bugzilla; https://bugs.maemo.org/show_bug.cgi?id=6995#c3
As you can see, Ralph replied with a solution in the form of a patch which i would like to test for him, but, i can't find a way to apply the patch.

Can someone please inform me how to do that?

Kind regards
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#2
No offense meant, but if you don't already know how to apply a patch then you probably shouldn't be looking at doing so. Having said that, here's a brief rundown.

The patch is applied to the source code, so you'll need a full SDK setup. The patch is then applied using GNU patch:
Code:
patch -p1 < file.patch
You can then build a patched version of the package to install.
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#3
and of course the -p# can differ as well
__________________
For any repos or anything else I might have working on my N900 see:
http://wiki.maemo.org/User:Ruskie
A quick list of what I have in the repos
zsh|xmms2|fcron|gtar|gcoreutils
 
Posts: 37 | Thanked: 7 times | Joined on Nov 2009 @ Netherlands
#4
Originally Posted by Rob1n View Post
No offense meant, but if you don't already know how to apply a patch then you probably shouldn't be looking at doing so.
How so, statements like these are all over the forum. How can one learn if he shouldn't be looking at doing so...
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#5
Originally Posted by GiGi. View Post
How so, statements like these are all over the forum. How can one learn if he shouldn't be looking at doing so...
I'm not saying that you shouldn't learn - it's just that patch is a long way along the learning process, and by the time you get to that stage you should also know how to find the documentation for this sort of thing (if it's not maemo specific then you're better off looking at general Linux documentation anyway).
 
Posts: 37 | Thanked: 7 times | Joined on Nov 2009 @ Netherlands
#6
Originally Posted by Rob1n View Post
I'm not saying that you shouldn't learn - it's just that patch is a long way along the learning process, and by the time you get to that stage you should also know how to find the documentation for this sort of thing (if it's not maemo specific then you're better off looking at general Linux documentation anyway).

You are probably right, but then again, i am trying to help with the development of maemo by submitting bugs and thinking of additional features and learn about it in the process. When someone asks if i could try the patch he made in response to MY feature request it would be kind of lame not to do so

Well thanks for your small summary of how to apply a patch anyway!
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:10.