Skip to content

Building

Albertas Vyšniauskas edited this page Mar 22, 2015 · 2 revisions

gpick uses SCons build system, so first of all you need SCons installed (http://www.scons.org)

Check that you have all required dependencies

Typing scons should successfully compile all source files and create executable file in build/source directory

You can actually run gpick without installing it, just type ./build/source/gpick (Linux) or build/source/gpick.exe (Windows)

Installation is operating system dependent:

  • Windows
    1. typing scons nsis will write gpick version information into NSIS script
    2. now you can compile NSIS script file installer/script.nsi
    3. use generated installer file to install gpick
  • Linux
    1. typing scons install will install gpick into default installation directory /usr/local (most probably root access will be required). If you want to install into different directory, you can do it in two ways:
    2. type scons install DESTDIR=/mydir where /mydir is your directory
    3. create a user-config.py file in project directory and write the following into it: DESTDIR="/mydir" where /mydir is your directory. Now typing scons install will install gpick into your directory
    4. you will have to type update-menus to add gpick entry to your menu
Clone this wiki locally