Re: Help creating patches (was Tabs bug...)

That's the easiest way:

1. go to some directory where you will work on patches.
2. svn checkout svn://
3. edit the files that you want to modify
4. svn diff > my_patch.diff

That's a debian way which I'm using, and allows to install sawfish
directly as a debian package:

/bin/bash instructions:

0*. make sure that /etc/apt/sources.list contains:
  deb-src lenny main non-free contrib
1*. apt-get source sawfish
2*. sudo apt-get build-dep sawfish ; aptitude install automake quilt
3*. rm -rf sawfish-1.3.3
4*. svn checkout svn:// sawfish-1.3.3
5*. gunzip sawfish_1.3.3-1.diff.gz ; patch -p0 < sawfish_1.3.3-1.diff
6. cd sawfish-1.3.3
7*. chmod 755 debian/rules
8. edit some files.
9. svn diff > my_patch.diff
10. fakeroot debian/rules binary
11. sudo dpkg -i ../*deb
12. middle-click on desktop, select 'restart' from menu.


0*. make sure that /etc/apt/sources.list contains correct deb-src.
    it can be "lenny", "sid" or "testing" - just make sure that latest
    debian sawfish package is there (currently it's 1.3.3)
1*. downlaod debian sawfish package (doesn't matter that it is 1.3.3) 
2*. make sure that it will compile
3*. get rid of old 1.3.3 version
4*. download a new one in its place
5*. debianize it
7*. need access rights
8. edit some files.
9. generate a patch
10. compile it
11. install it
12. middle-click on desktop, select 'restart' from menu.

Steps marked with '*' are done only once. Steps without '*' are
performed in an infinite loop.


PS: I don't know if you are using debian :)
Janek Kozicki                                                         |

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]