Install
Build process
For to build and install the GtkAdi library you need to do these steps:
- Download latest source package
- Unpack it
- Configure
$ ./autogen.sh
$ ./configure -prefix=/usr --enable-widgets=yes
Notes
-
-prefix=/usr - Debian specific option.
-
--enable-widgets=yes - Enables toolbar and menu bar (disabled by default).
You need this option to compile test program.
- Compile
$ make
- Install
$ sudo make install
Build process automation
There is a way to speedup the build process a little.
- A script build_source.sh in $HOME/bin directory:
#!/bin/sh
./autogen.sh
./configure -prefix=/usr --enable-widgets=yes
make
sudo make install
- Alias in $HOME/.bashrc
alias bs='~/bin/build_source.sh'
- Type 'bs' in the source directory and press enter.