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/01/30 12:49] sunweaver |
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 141: | Line 145: | ||
dquilt pop -a | dquilt pop -a | ||
</ | </ | ||
- | check your changes with "git status" | + | check your changes with "git status" |
< | < | ||
- | * Update patch: 202_nx-x11_enable-xinerama.full.patch, | + | * Update patch: 202_nx-x11_enable-xinerama.full.patch, |
+ | < | ||
+ | </ | ||
+ | commit your changes with " | ||
+ | ==== Create new patch ==== | ||
+ | apply paches until you reach the code state where you want to begin with your new patch | ||
+ | < | ||
+ | dquilt push | ||
+ | </ | ||
+ | create new patch NUMBER_NXCOMPONENT_DESCRIPTION.full.patch, | ||
+ | < | ||
+ | dquilt new 203_nxagent_disable-rootless-exit.full.patch | ||
+ | </ | ||
+ | add files, which you want to patch with | ||
+ | < | ||
+ | dquilt add DATEINAME | ||
+ | </ | ||
+ | edit files, you want to patch and save the changes | ||
+ | < | ||
+ | dquilt refresh | ||
+ | </ | ||
+ | revoke all patches with | ||
+ | < | ||
+ | dquilt pop -a | ||
+ | </ | ||
+ | check your changes with "git status" | ||
+ | < | ||
+ | * Create patch: 203_nxagent_disable-rootless-exit.full.patch, | ||
+ | | ||
</ | </ | ||
commit your changes with " | commit your changes with " | ||
- |