| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
PATH_MAX is not standard, and it's definitely not defined in limits.h,
even if we include it twice to be sure.
Let's get a fallback in place.
|
|
|
|
|
| |
This prevents the parsing of Gio-2.0.gir, which would require additional
metadata to succeed.
|
|
|
|
|
|
|
| |
We need realpath() (and PATH_MAX) for the tests, both of which need the
_XOPEN_SOURCE feature test macro. Define it.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
| |
|
|
|
|
|
|
|
|
| |
We use C99 features (cd-spectrum.c:760), so need to explicitly enable them
in meson.build, as some compilers will not enable them automatically,
and will instead error when they encounter usage of C99.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When generating the ch-version.h header, we need to replace a set of
symbols at configuration time. The configuration_data object we are
using does not contain them.
Meson warns about this in newer versions:
WARNING: The variable(s) 'CD_MAJOR_VERSION', 'CD_MICRO_VERSION',
'CD_MINOR_VERSION' in the input file 'lib/colorhug/ch-version.h.in'
are not present in the given configuration data
And the generated header is also invalid.
|
|
|
|
|
| |
In order to avoid the gtk-doc dependency, we need to optionally disable
documentation.
|
|
|
|
|
|
| |
Not all build environments are interested in man pages, or are willing
to install docbook2man and its dependencies in order to generate man
pages.
|
|
|
|
|
|
| |
If we don't add the generated resource files as a source dependency,
Meson won't know that it has to build them first; this means that in
some cases, parallel builds will fail.
|
|
|
|
|
| |
This doesn't actually add a colord sensor driver as the color sensor is actually
not very good. See the details in the README.md...
|
|
|
|
| |
This reverts commit 952a307af0277e9b58528f4791ceb6dbc442469a.
|
|
|
|
| |
This means in the future we can check the model.
|
| |
|
|
|
|
| |
It was translatable before the move to gettext/Meson.
|
|
|
|
|
| |
Until we get a proper fix for
https://bugzilla.gnome.org/show_bug.cgi?id=783099
|
| |
|
|
|
|
|
|
| |
The gnome-settings-daemon project wasn't building.
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
| |
|
| |
|