summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow building without the daemonwip/hughsie/daemonRichard Hughes2019-02-072-4/+11
| | | | This is useful for flathub.
* lib/color{d,hug}/meson.build: pass -DCD_COMPILATION to gir compilermaxice82019-02-042-0/+4
| | | | | | | | | | 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
* trivial: Add a quirk for the renamed 'LG Electronics'Richard Hughes2019-01-011-0/+1
|
* Actually install the installed testsRichard Hughes2019-01-014-6/+23
| | | | Fixes https://github.com/hughsie/colord/issues/83
* man: Clean up & fix typosJan Tojnar2018-10-294-23/+23
|
* man: Port to xsltprocJan Tojnar2018-10-295-25/+37
|
* man: Port to DocBook 5Jan Tojnar2018-10-295-156/+52
|
* trivial: Fix Fedora CIRichard Hughes2018-09-211-0/+1
|
* cd-sensor-argyll: Consistently search for spotread in $PATHChristopher James Halse Rogers2018-09-201-1/+1
| | | | | 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
* Don't hard-require spotread to build argyll sensor.Christopher James Halse Rogers2018-09-201-1/+4
| | | | | The sensor can be built fine without it installed, and for packagers it is necessary to specify a manual dependency anyway.
* Add COMMITMENT file as part of GPL Common Cure Rights CommitmentRichard Hughes2018-06-181-0/+45
| | | | | | | | | | 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
* Change our message to use the warning functionSoapux2018-06-041-1/+1
| | | | | Since we now require meson 0.46, we can use this function that was added in 0.44.
* build: Fix linker argument checksTing-Wei Lan2018-05-242-3/+3
| | | | Fixes: https://github.com/hughsie/colord/issues/69
* trivial: post release version bumpRichard Hughes2018-04-182-5/+5
|
* Release colord 1.4.31.4.3Richard Hughes2018-04-1840-1538/+1741
|
* Update warning about running daemon as rootSoapux2018-04-131-1/+1
|
* trivial: Fix a couple of whitespace issuesRichard Hughes2018-03-291-9/+9
|
* trivial: Fix a GObjectIntrospection markup mistakeRichard Hughes2018-03-291-1/+1
|
* trivial: Update the reference spec fileRichard Hughes2018-03-291-2/+0
| | | | File triggers FTW.
* Make cd_color_get_blackbody_rgb_full saferJan Alexander Steffens (heftig)2018-03-271-7/+20
| | | | | | | | | | | | | 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.
* Update style of Meson build optionsSoapux2018-03-2719-69/+69
| | | | | | Following the style guidelines here: https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting Also update the README with meson instructions for compiling on Linux.
* build: Add data_dirs to po/meson.buildPiotr Drąg2018-03-121-1/+2
| | | | To point gettext to .its/.loc files.
* trivial: post release version bumpRichard Hughes2018-03-122-4/+4
|
* Release colord 1.4.21.4.2Richard Hughes2018-03-1210-415/+1854
|
* Fix crash when parsing an invalid country codeRichard Hughes2018-03-121-5/+30
| | | | If we return with NULL, we have to set an error...
* Drop obsolete configure scriptRichard Hughes2018-03-121-142/+0
|
* Remove po/MakevarsPiotr Drąg2018-01-261-78/+0
| | | | | Damned Lies should be able to handle our po/meson.build now, so this workaround is no longer needed.
* Make udev hwdb optional by using pnp.ids as fallbackTing-Wei Lan2018-01-163-0/+29
| | | | | | | 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.
* Make udev rules installation optionalTing-Wei Lan2018-01-162-2/+8
| | | | | | 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.
* build: Raise _XOPEN_SOURCE to 700 to enable C99 on FreeBSDTing-Wei Lan2018-01-161-1/+1
| | | | | | 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.
* trivial: Resolve a clang force positiveRichard Hughes2017-12-281-2/+2
|
* trivial: Remove the spark sensor driverRichard Hughes2017-12-2811-11910/+0
| | | | The hardware has been discontinued and was designed for OEMs to repackage.
* trivial: Fix a harmless clang warningRichard Hughes2017-12-281-10/+4
|
* Set cd-create-profile date to SOURCE_DATE_EPOCH or input timestampChristopher James Halse Rogers2017-12-281-0/+52
| | | | | | | | | 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.
* Add --enable-timestamps option for CREATED headerJérémy Bobbio2017-12-281-0/+8
| | | | | | | 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.
* libcolord: Add cd_icc_set_createdChristopher James Halse Rogers2017-12-282-0/+64
| | | | | This allows clients to override the creation time of an ICC profile, particularly useful for code that tries to build deterministically.
* Use more secure HTTPS URLs for freedesktop.org URLsPaul Menzel2017-12-1813-22/+22
| | | | | | | | | | | | | | | | | | | | | | | 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
* Avoid buffer overflow when reading profile_idRichard Hughes2017-12-171-33/+29
| | | | | | Based on a patch by Jan Alexander Steffens, many thanks. Fixes half of: https://bugs.freedesktop.org/show_bug.cgi?id=104294
* build: Refactor directory selectionJan Tojnar2017-11-1725-69/+60
| | | | | | | | | 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.
* Fix the detection of duplicate EDIDs by comparing the hash value, not the IDRichard Hughes2017-11-061-1/+1
| | | | Fixes: https://github.com/hughsie/colord/issues/60
* trivial: Fix meson c_args issueRichard Hughes2017-09-182-6/+0
| | | | | | We don't actually need to pass this at all, so just drop it. Fixes https://github.com/hughsie/colord/issues/59
* Create CODE_OF_CONDUCT.mdRichard Hughes2017-09-121-0/+46
|
* trivial: Bring back the missing translations from the broken exportRichard Hughes2017-08-2114-639/+639
|
* trivial: post release version bumpRichard Hughes2017-08-212-4/+4
|
* Release colord 1.4.11.4.1Richard Hughes2017-08-2141-1849/+18227
|
* Add the fallback PolicyKit rules for older versionsRichard Hughes2017-08-153-8/+37
|
* Add the meson -Denable-systemd=false configure argumentRichard Hughes2017-08-155-20/+36
| | | | | | 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.
* Include the correct file when using Colord-1.0.girRichard Hughes2017-08-131-0/+3
| | | | Fixes https://github.com/hughsie/colord/issues/57
* trivial: Enable Vala in CI and the Fedora packageRichard Hughes2017-08-134-4/+5
|
* Use appropriate feature macro for realpath()Emmanuele Bassi2017-08-131-0/+4
| | | | | The realpath() function is only available if _XOPEN_SOURCE is defined to a value larger than 500.