summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* trivial: Update the CI to Fedora 31wip/hughsie/ci-f31Richard Hughes2019-12-091-1/+1
|
* Add support for datacolor SpyderXRichard Brown2019-12-033-0/+4
|
* tests: Fix cd-sensor-dummyChristopher James Halse Rogers2019-08-191-4/+6
| | | | | | `g_autoptr(GTask) task` will be unreffed when it leaves scope. If we want it to be available in 2 seconds' time in the idle callback we'll need to explicitly transfer ownership.
* trivial: Downgrade a trivial warning to a debug statementRichard Hughes2019-08-131-4/+4
| | | | | | This avoids spamming logs if system seats are set up incorrectly. If the user is using virtual desktops it's highly unlikely they want the session devices managed by colord.
* trivial: Fix error checking for sd_pid_get_session and sd_session_get_seatJan Alexander Steffens (heftig)2019-04-281-2/+2
| | | | | | | These functions can return a positive integer on success. Fix the conditions to only regard negative return values as errors. Fixes commit 6ffe2f6aae4bdc8331cab1fd9379ed8aef759749.
* trivial: Fix some typos spotted using codespellRichard Hughes2019-04-0834-52/+52
|
* trivial: Update downstream spec fileRichard Hughes2019-03-221-3/+2
|
* data: fix owner & permissions on existing state filesWill Thompson2019-03-151-0/+1
| | | | | | | | | | | | | | | | If colord was previously configured to run as root, and subsequently made to run as a different user, it will be unable to write to its state files: colord[668]: CdDevice: failed to save mapping to database: SQL error: attempt to write a readonly database 'd' creates a directory if missing, and fixes its permissions if it already exists, but it is not recursive. 'Z' recursively adjusts the permission of the given directory and its children, but only if it already exists. Together, these rules ensure that @localstatedir@/lib/colord and @localstatedir@/lib/colord/icc both exist, and that @localstatedir@/lib/colord and all its descendents are owned by the correct user.
* data: set @localstatedir@ in tmpfiles.d/colord.confWill Thompson2019-03-152-3/+4
| | | | It's not guaranteed to be /var.
* data: set correct username in tmpfiles.d/colord.confWill Thompson2019-03-153-8/+10
| | | | | | The daemon is not guaranteed to run as a user named 'colord', since the default is -Ddaemon_user=root. Generate the file and interpolate @daemon_user@ in the same way as is done for the .service file.
* trivial: post release version bumpRichard Hughes2019-03-082-4/+4
|
* Release colord 1.4.41.4.4Richard Hughes2019-03-0813-338/+361
|
* Allow building without the daemonRichard Hughes2019-02-132-4/+11
| | | | This is useful for flathub.
* Include C header in Colorhug-1.0.girTomasz Miąsko2019-02-131-0/+1
|
* 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