Skip to content
/ gpick Public
forked from thezbyg/gpick

Advanced color picker written in C++ using GTK+ toolkit

License

Notifications You must be signed in to change notification settings

DanyRdia/gpick

 
 

Repository files navigation

Gpick - advanced color picker and palette editor.

Build Status

Gpick is an application that allows you to sample any color from anywhere on the desktop, and use it to create palettes (i.e. collections of colors) for use in graphic design applications. Gpick also has other features that help in the creation of color palettes, such as:

  • The ability to create a palette from an imported image
  • Automatic naming of colors
  • Color scheme generator
  • Import and export from various file formats

Building from source

Compiler

Some of C++14 features are required. Compilation is currently only tested on following compilers:

  • GCC 7.5 and 10.2.
  • Clang 10.0.

Build dependencies

CMake 3.1 or newer: build process management application (https://cmake.org/).

SCons 2.4 or newer: a software construction tool (http://www.scons.org).

Either CMake or SCons can be used. Package maintainers should use CMake, because SCons support is deprecated and will be removed at some point in the future.

Ragel 6.8 or newer: state machine compiler (http://www.colm.net/open-source/ragel).

Dependencies

GTK+ 3.0 (http://www.gtk.org).

GTK+ 2.24 (http://www.gtk.org).

Either GTK+ 3.x or GTK+ 2.x can be used.

Lua 5.4, 5.3 or 5.2 (http://www.lua.org).

Expat (http://expat.sourceforge.net).

Boost 1.58 or newer (http://www.boost.org). Used libraries:

  • Filesystem.
  • System.
  • Interprocess.
  • Test (only when building/running tests).

Optional dependencies

gettext (http://www.gnu.org/s/gettext). Required if ENABLE_NLS is enabled. Required by default.

Building

Using CMake:

mkdir build && cd build to create out-of-source build directory.

cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local to prepare build files for installation to '/usr/local'.

make to compile all files.

make install to install executable and resources to DESTDIR. Default DESTDIR value is set by CMAKE_INSTALL_PREFIX variable.

Using SCons:

scons to compile all files and place executable file in build/source/.

scons install to install executable and resources to DESTDIR. By default DESTDIR is /usr/local.

Build options

ENABLE_NLS - compile with gettext support. Enabled by default.

USE_GTK3 - use GTK3 instead of GTK2. Enabled by default.

About

Advanced color picker written in C++ using GTK+ toolkit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 82.5%
  • C 12.4%
  • Python 1.9%
  • Lua 1.0%
  • NSIS 0.8%
  • CMake 0.8%
  • Other 0.6%