... | ... | @@ -45,10 +45,37 @@ Linux distributions contain FOSS software binary packages. Distributors take th |
|
|
|
|
|
##Installing tuxpaint from distribution sources
|
|
|
|
|
|
Distribution source packages usually include a "pristine" source archive of the original upstream source code, along with some metadata and/or patches for building corresponding distribution binary package(s).
|
|
|
|
|
|
Run `apt source tuxpaint`. Use `ls` to see what has been downloaded. Also note that the downloaded files have been unpacked into a directory. Use `cd` to change into that directory and have a look around.
|
|
|
|
|
|
Use the editor of your choice to edit `Makefile` in this directory. Append something to the value of `VER_VERSION` in this file. For example:
|
|
|
|
|
|
```
|
|
|
VER_VERSION:=0.9.22-hacked
|
|
|
```
|
|
|
|
|
|
Now build binary packages by running `dpkg-buildpackage -n -nc`.
|
|
|
|
|
|
Find the created packages and install them (using `dpkg -i`). This will cause the packages you installed earlier to by replaced by the ones you just built.
|
|
|
|
|
|
Now, run `tuxpaint` and note the version number on the splash screen. Do you notice anything different?
|
|
|
|
|
|
Uninstall the tuxpaint packages:
|
|
|
|
|
|
```
|
|
|
sudo dpkg -P $(dpkg -l | grep tuxpaint | awk '{print $2}')
|
|
|
```
|
|
|
|
|
|
:-)
|
|
|
|
|
|
## Installing tuxpaint from a tarball
|
|
|
|
|
|
FIXME
|
|
|
|
|
|
## Testing tuxpaint
|
|
|
As the name suggests, tuxpaint is a simple paint program. After building and installing it, just start it by running "tuxpaint" in a terminal window.
|
|
|
## Installing tuxpaint from git
|
|
|
|
|
|
FIXME
|
|
|
|
|
|
## Source Code Management (SCM) Tips
|
|
|
|
... | ... | |