This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:development:nxlibs-repository [2012/02/28 10:39] ncryer |
wiki:development:nxlibs-repository [2012/02/28 12:09] morty Make use of DokuWiki formatting |
||
---|---|---|---|
Line 11: | Line 11: | ||
The old sources were downloaded by brute force from the nomachine download server: | The old sources were downloaded by brute force from the nomachine download server: | ||
- | + | <file bash getnx.sh> | |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
- | | + | wget http:// |
+ | </ | ||
These sources are then unpacked in a temporary directory '' | These sources are then unpacked in a temporary directory '' | ||
- | + | <file bash extractnx.sh> | |
- | | + | #!/bin/bash |
- | | + | mkdir t; cd t; |
- | | + | for p in nxcomp{, |
- | | + | for f in ../ |
+ | done | ||
+ | </ | ||
Now clone the nx-libs repo: | Now clone the nx-libs repo: | ||
Line 84: | Line 86: | ||
We now import the sources using the [[http:// | We now import the sources using the [[http:// | ||
+ | <file bash git-load-dirs.sh> | ||
wc=../ | wc=../ | ||
l=`ls -d nxcomp-*(/ | l=`ls -d nxcomp-*(/ | ||
for f in $l; do (cd $wc; git reset --hard ; git clean -dfx); git_load_dirs -w $wc $f; done | for f in $l; do (cd $wc; git reset --hard ; git clean -dfx); git_load_dirs -w $wc $f; done | ||
+ | </ | ||
Now the nxcomp sources have been imported in the ' | Now the nxcomp sources have been imported in the ' | ||
Line 148: | Line 152: | ||
commit your changes with " | commit your changes with " | ||
==== Create new patch ==== | ==== Create new patch ==== | ||
- | apply paches | + | apply paches |
< | < | ||
dquilt push | dquilt push | ||
Line 160: | Line 164: | ||
dquilt add DATEINAME | dquilt add DATEINAME | ||
</ | </ | ||
- | edit files, you want to patch and revoke all patches with | + | edit files, you want to patch and save the changes |
+ | < | ||
+ | dquilt refresh | ||
+ | </ | ||
+ | revoke all patches with | ||
< | < | ||
dquilt pop -a | dquilt pop -a |