info:development
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| info:development [2009/12/03 20:34] – restore failed mirroring moritz | info:development [2011/08/23 14:42] (current) – [Restoring installed packages] moritz | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| set autoindent | set autoindent | ||
| </ | </ | ||
| + | |||
| + | ===== Eclipse ===== | ||
| + | For many applications, | ||
| ===== C/C++ Development ===== | ===== C/C++ Development ===== | ||
| To get help on C functions like '' | To get help on C functions like '' | ||
| + | |||
| + | [[c_global_local|Variables in C]] | ||
| ==== Make ==== | ==== Make ==== | ||
| Line 28: | Line 33: | ||
| Example to disable a function call in a compiled application. Assume the binary is called '' | Example to disable a function call in a compiled application. Assume the binary is called '' | ||
| - Disassemble the whole program: < | - Disassemble the whole program: < | ||
| - | - Find the function call assuming it is in ''< | + | - Find the function call assuming it is in ''< |
| | | ||
| | | ||
| Line 37: | Line 42: | ||
| - Now the code that needs to be replaced is identified, it is the byte sequence '' | - Now the code that needs to be replaced is identified, it is the byte sequence '' | ||
| - Now replace '' | - Now replace '' | ||
| - | - To test if the patch was successful, use < | + | - To test if the patch was successful, use < |
| - | diff prog.s prog.s2</ | + | diff prog.s prog.s2</ |
| < 8048a30: | < 8048a30: | ||
| --- | --- | ||
| Line 61: | Line 66: | ||
| # generater a lost of installed packages | # generater a lost of installed packages | ||
| PKG_LST=$(aptitude search "~i !~M "|awk ' | PKG_LST=$(aptitude search "~i !~M "|awk ' | ||
| + | DATE=-$(date +" | ||
| cat - <<EOF | cat - <<EOF | ||
| Line 69: | Line 75: | ||
| Package: YOURNAME-environment | Package: YOURNAME-environment | ||
| - | Version: 1.0 | + | Version: 1.0$DATE |
| Maintainer: your name < | Maintainer: your name < | ||
| # Pre-Depends: | # Pre-Depends: | ||
| Line 122: | Line 128: | ||
| This package depends on all packages I expect my system to have installed. | This package depends on all packages I expect my system to have installed. | ||
| </ | </ | ||
| + | |||
| + | |||
| + | ===== Lotus Notes on Debian ===== | ||
| + | At some point in time, Debian decided to rename libcupsys to libcups, breaking Note's dependencies. To make it run with the new library, create a dummy library libcupsys2 that depends on libcups2 and creates a symlink from libcups.so.2 to libcupsys.so.2. | ||
info/development.1259872448.txt.gz · Last modified: by moritz
