The Colord GTK package contains GTK+ bindings for Colord.
This package is known to build and work properly using an LFS 12.2 platform.
Download (HTTP): https://www.freedesktop.org/software/colord/releases/colord-gtk-0.3.1.tar.xz
Download MD5 sum: d436740c06e42af421384f16b2a9a0a7
Download size: 24 KB
Estimated disk space required: 2.1 MB
Estimated build time: less than 0.1 SBU
GLib-2.80.4 (with GObject Introspection), GTK-4.14.5, and Vala-0.56.17
If building the documentation ninja -j1 must be used.
Install Colord GTK by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr \ --buildtype=release \ -D gtk4=true \ -D vapi=true \ -D docs=false \ -D man=false \ .. && ninja
To test the results, issue: ninja test. The tests need to be run from an X session, and may require a color profile for your primary display.
Now, as the root
user:
ninja install
--buildtype=release
:
Specify a buildtype suitable for stable releases of the package, as
the default may produce unoptimized binaries.
-D vapi=true
: This switch
enables building of the Vala bindings. Remove this switch if you
don't have Vala-0.56.17 installed.
-D gtk4=true
: This switch
enables building the GTK-4 bindings for colord. Set this option to
'false' if you do not have GTK-4.14.5 installed.
-D docs=false
: This switch
disables building gtk-doc based documentation. Even if gtk-doc is
installed, you will need the namespaced versions of the Docbook XSL
stylesheets.
-D man=false
: This switch
disables generating the manual pages for this package. Remove this
switch if you have namespaced versions of the Docbook XSL
stylesheets installed.