-
Notifications
You must be signed in to change notification settings - Fork 34
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
- typing
scons nsis
will write gpick version information into NSIS script - now you can compile NSIS script file installer/script.nsi
- use generated installer file to install gpick
- typing
- Linux
- 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: - type
scons install DESTDIR=/mydir
where/mydir
is your directory - create a user-config.py file in project directory and write the following into it:
DESTDIR="/mydir"
where/mydir
is your directory. Now typingscons install
will install gpick into your directory - you will have to type
update-menus
to add gpick entry to your menu
- typing