| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This is useful for flathub.
|
|
|
|
|
|
|
|
|
|
| |
Allows compilation when cross building, as Void Linux is doing so.
Other packages that also do it:
libgusb -> -DGUSB_COMPILATION
atk -> -DATK_COMPILATION
appstream-glib -> -DAS_COMPILATION
|
| |
|
|
|
|
| |
Fixes https://github.com/hughsie/colord/issues/83
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Elsewhere we look for spotread in $PATH, and the meson check is for spotread in
$PATH, so consistently use non-absolute paths for spawning spotread
|
|
|
|
|
| |
The sensor can be built fine without it installed, and for packagers it is
necessary to specify a manual dependency anyway.
|
|
|
|
|
|
|
|
|
|
| |
This is part of more broader commitment Red Hat along with IBM, Google, and
Facebook made in November 2017.
More on this can be found online:
https://www.redhat.com/en/blog/fostering-greater-open-source-development &
https://www.redhat.com/en/about/gplv3-enforcement-statement
|
|
|
|
|
| |
Since we now require meson 0.46, we can use this function
that was added in 0.44.
|
|
|
|
| |
Fixes: https://github.com/hughsie/colord/issues/69
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
File triggers FTW.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Validate arguments:
- temp == NaN would fail the bounds checks and could result in
out-of-bounds reads.
- result == NULL is an obvious error.
Avoid calling cd_color_rgb_interpolate if the second point would be
outside the data array. This only happens for temp == 10000, which makes
the alpha 0, so one would think that the garbage read has no effect on
the result. However, if the garbage happens to contain NaNs they would
propagate to the output. Besides, asan and valgrind still complain.
|
|
|
|
|
|
| |
Following the style guidelines here: https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting
Also update the README with meson instructions for compiling on Linux.
|
|
|
|
| |
To point gettext to .its/.loc files.
|
| |
|
| |
|
|
|
|
| |
If we return with NULL, we have to set an error...
|
| |
|
|
|
|
|
| |
Damned Lies should be able to handle our po/meson.build now,
so this workaround is no longer needed.
|
|
|
|
|
|
|
| |
FreeBSD libudev-devd doesn't implement udev hwdb, and I cannot find any
way to do the conversion in the FreeBSD source tree. Therefore, the
fallback code removed in commit c9650c0bb7324c32d82fa6d7d898e236f10ea63b
is brought back to use the pnp.ids file.
|
|
|
|
|
|
| |
udev rules are only useful on Linux and udevdir is the only variable
provided by udev.pc. It is not meaningful to ask other operating systems
which reimplement udev API to provide a dummy udev.pc file.
|
|
|
|
|
|
| |
Defining _XOPEN_SOURCE to 500 limits the supported C standard version
to C89 on FreeBSD, which causes compilation error because colord
requires C99 features such as fpclassify and FP_ZERO.
|
| |
|
|
|
|
| |
The hardware has been discontinued and was designed for OEMs to repackage.
|
| |
|
|
|
|
|
|
|
|
|
| |
Since cd-create-profile is transforming existing data into an ICC profile it
makes sense for the creation timestamp of the ICC profile to be the modification
time of the source data.
It also respects the SOURCE_DATE_EPOCH environment variable for ease of
reproducible package builds.
|
|
|
|
|
|
|
| |
For the same input `cd-it8 create-cmf` and `cd-it8 create-sp`
will create the exact same output except for the creation time.
As the header is optional and prevents CMF and spectra to be built
reproducibly, disable it by default.
|
|
|
|
|
| |
This allows clients to override the creation time of an ICC profile,
particularly useful for code that tries to build deterministically.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Prevent certain attacks, and save one redirect by using the more secure
HTTPS URLs.
```
$ curl -I http://www.freedesktop.org/
HTTP/1.1 302 Found
Date: Mon, 18 Dec 2017 09:31:43 GMT
Server: Apache/2.4.10 (Debian)
Location: https://www.freedesktop.org/
Content-Type: text/html; charset=iso-8859-1
```
Run the command below to update all freedeskto.org URLs.
```
$ git grep -l 'http://www.freedesktop.org' | xargs sed -i 's,http://www.freedesktop.org,https://www.freedesktop.org,g'
```
Fixes: https://github.com/hughsie/colord/issues/63
|
|
|
|
|
|
| |
Based on a patch by Jan Alexander Steffens, many thanks.
Fixes half of: https://bugs.freedesktop.org/show_bug.cgi?id=104294
|
|
|
|
|
|
|
|
|
| |
Previously, the various install paths were obtained using get_option
as needed. This lead to the directories sometimes not prepended with
prefix.
This patch unifies the directory selection inside the top-level meson
file.
|
|
|
|
| |
Fixes: https://github.com/hughsie/colord/issues/60
|
|
|
|
|
|
| |
We don't actually need to pass this at all, so just drop it.
Fixes https://github.com/hughsie/colord/issues/59
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Compiling with systemd is turned on by default, obviously. If you turn this
configure option off, and colord breaks, you get to keep all the shards of
broken glass. It's 100% untested, so caveat emptor.
|
|
|
|
| |
Fixes https://github.com/hughsie/colord/issues/57
|
| |
|
|
|
|
|
| |
The realpath() function is only available if _XOPEN_SOURCE is defined to
a value larger than 500.
|