Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package colord.15732 for openSUSE:Leap:15.2:Update checked in at 2021-02-05 18:05:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2:Update/colord.15732 (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.colord.15732.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "colord.15732" Fri Feb 5 18:05:45 2021 rev:1 rq:868647 version:1.4.4 Changes: -------- New Changes file: --- /dev/null 2021-01-11 18:20:20.070723563 +0100 +++ /work/SRC/openSUSE:Leap:15.2:Update/.colord.15732.new.28504/colord.changes 2021-02-05 18:05:46.702417443 +0100 @@ -0,0 +1,1589 @@ +------------------------------------------------------------------- +Thu Jan 14 13:00:13 UTC 2021 - Christian Boltz <[email protected]> + +- allow access to /usr/local/share/color in AppArmor profile (boo#1180898) + +------------------------------------------------------------------- +Sat Jan 25 14:06:23 UTC 2020 - Dominique Leuenberger <[email protected]> + +- No longer recommend -lang: supplements are in use + +------------------------------------------------------------------- +Wed Dec 4 10:15:30 UTC 2019 - Richard Brown <[email protected]> + +- Add add-spyderx.patch for datacolor SpyderX supprot (will be in version 1.4.5) +- Move colord-session.service and tmpfiles config from libcolord-devel to colord package + +------------------------------------------------------------------- +Wed Oct 23 19:30:25 UTC 2019 - Bj??rn Lie <[email protected]> + +- Update to version 1.4.4: + + New Features: + - Actually install the installed tests. + - Allow building without the daemon. + + Bugfixes: + - Consistently search for spotread in $PATH. + - Don't hard-require spotread to build argyll sensor. + - Fix linker argument checks. + - Include C header in Colorhug-1.0.gir. + - Pass -DCD_COMPILATION to gir compiler. + - Port manpages to xsltproc and DocBook 5. +- Replace docbook-utils-minimal with docbook5-xsl-stylesheets + BuildRequires following upstreams port. +- Add _constraints file, avoid random buildfails for i586 and other + arches. + +------------------------------------------------------------------- +Tue Oct 8 19:42:53 UTC 2019 - Christian Boltz <[email protected]> + +- Also allow /var/lib/colord/icc/ in AppArmor profile (boo#1112230) + +------------------------------------------------------------------- +Wed Jun 26 11:17:53 UTC 2019 - Stefan Br??ns <[email protected]> + +- Change BuildRequires to docbook-utils-minimal, otherwise the build + pulls in half of texlive and all its dependencies. Only man pages + and HTML API docs are generated, no need for PS/PDF generation. + +------------------------------------------------------------------- +Mon Feb 11 12:37:27 UTC 2019 - Dominique Leuenberger <[email protected]> + +- Fix meson parameters: -Dargyllcms-sensor=true must be + -Dargyllcms_sensor=true (boo#1124388). + +------------------------------------------------------------------- +Sun Apr 22 16:35:34 UTC 2018 - [email protected] + +- Update to version 1.4.3: + + Bugfixes: + - Make cd_color_get_blackbody_rgb_full safer. + - Update style of Meson build options. + - Update warning about running daemon as root. +- Update options passed to meson following upstream changes. + +------------------------------------------------------------------- +Tue Mar 13 10:27:17 UTC 2018 - [email protected] + +- Update to version 1.4.2: + + New Features: + - Add cd_icc_set_created. + - Add --enable-timestamps option for CREATED header. + + Bugfixes: + - Avoid buffer overflow when reading profile_id. + - Fix the detection of duplicate EDIDs. + - Make udev hwdb optional by using pnp.ids as fallback. + - Raise _XOPEN_SOURCE to 700 to enable C99 on FreeBSD. + - Refactor build directory selection. + - Set cd-create-profile date to SOURCE_DATE_EPOCH. +- Pass new option enable-udev-rules=true to meson. + +------------------------------------------------------------------- +Wed Feb 28 16:24:28 UTC 2018 - [email protected] + +- Modernize spec-file by calling spec-cleaner + +------------------------------------------------------------------- +Fri Oct 6 10:55:06 UTC 2017 - [email protected] + +- Collapse files section for gtk-doc. + +------------------------------------------------------------------- +Mon Oct 2 22:13:40 UTC 2017 - [email protected] + +- Update package summaries. Replace old RPM shell variables. + +------------------------------------------------------------------- +Tue Sep 26 18:42:03 UTC 2017 - [email protected] + +- Add ulimit -Sv 2000000 entry before build, set ~2 GiB limit so + that colprof is forced to work in chunks when generating the + print profile rather than trying to allocate a 3.1 GiB chunk of + RAM to put the entire B-to-A tables in. + +------------------------------------------------------------------- +Mon Sep 11 14:05:14 UTC 2017 - [email protected] + +- Add pkgconfig(vapigen) BuildRequires and pass + enable-session-example=false, enable-bash-completion=true, + enable-systemd=true, enable-libcolordcompat=true, + enable-argyllcms-sensor=true, enable-reverse=false, + enable-sane=false, enable-vala=true, enable-print-profiles=true, + enable-tests=false, enable-installed-tests=false, + with-daemon-user=colord, enable-man=true and enable-docs=true to + meson, ensure we build the feature we want. + +------------------------------------------------------------------- +Thu Sep 7 19:56:12 UTC 2017 - [email protected] + +- Update to version 1.4.1: + + Bugfixes: + - Add back the meson -Denable-systemd=false configure argument. + - Add the fallback rules for older PolicyKit versions. + - Define PATH_MAX if not available. + - Enable C99 support in meson.build. + - Include all the files in the GIR target. + - Include the correct file when using Colord-1.0.gir. + - Use appropriate feature macro for realpath(). + - Use gio-2.0 when generating the VAPI. +- Changes from version 1.4.0: + + New Features: + - Port to the Meson build system. + - Enable Travis CI for Fedora 25 and Debian Stretch. + - Make PolicyKit, gusb and udev a hard requirement. + + Bugfixes: + - Add some experimental tools for the HueyCOLOR sensor as found + in the P70. + - Conditionally build documentation and man pages. + - Correctly build the ICC transfer curve for Rec709. + - Do not build the examples as part of the regular build. + - Do not spin the Huey LEDs when the sensor is embedded. + - Do not use /tmp to create profiles. + - Fix the version numbers in cd-version.h to reflect reality. + - Get the Huey status before trying to unlock. + - Use a different Huey unlock code on the W700 laptop. +- Add meson BuildRequires, and switch autotools macros configure, + make and makeinstall to meson, meson_build and meson_install + following upstream switch to Meson Build System. +- Add gtk-doc and docbook-utils BuildRequires: new dependencies. +- Drop %glib2_gsettings_schema_* post/postun macros: the + functionality is now covered by file triggers. +- Drop intltool and vala BuildRequires: no longer needed. +- Upstream rename of ColorHug-1.0.typelib file to + Colorhug-1.0.typelib, thus its package has been renamed as well. + +------------------------------------------------------------------- +Tue Mar 7 14:35:51 UTC 2017 - [email protected] + +- Apparmor profile (usr.lib.colord): Allow reading / writing + /var/lib/colord/.cache (bsc#1024933). + +------------------------------------------------------------------- +Wed Mar 1 14:04:36 UTC 2017 - [email protected] + +- Update to version 1.3.5: + + New Features: + - Add cd_color_get_blackbody_rgb_full(). + - Add cd_spectrum_multiply_scalar(). + + Bugfixes: Check the parsed context arguments in the session + helper. + +------------------------------------------------------------------- +Tue Jan 24 13:54:20 UTC 2017 - [email protected] + +- Split out color profiles in sub package colord-color-profiles. + Add shared-color-profiles Obsoletes and Provides. +- Replace shared-color-profiles with colord-color-profiles + Requires. +- Pass --enable-libcolordcompat, build compatability lib. +- Pass --enable-print-profiles, build print profiles. +- Pass --disable-examples, ensure we do not build examples. + +------------------------------------------------------------------- +Mon Dec 5 16:38:49 UTC 2016 - [email protected] + +- Update to version 1.3.4: + + New Features: + - colord: + . Add cd_color_rgb_from_wavelength(). + . Add cd_spectrum_resample_to_size(). + - colorhug: + . Add commands for getting the device calibration spectra. + . Increase the size of the EP0 transfer. + . Support enabling the illuminants on the ColorHug+. + + Bugfixes: + - Fix a possible NULL dereference when talking to Spark + devices. + - Fix compile with -Wformat-signedness. + - Fix possible division by zero if parsing /proc/cpuinfo fails. ++++ 1392 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Leap:15.2:Update/.colord.15732.new.28504/colord.changes New: ---- _constraints add-spyderx.patch baselibs.conf colord-1.4.4.tar.xz colord-1.4.4.tar.xz.asc colord.changes colord.keyring colord.spec usr.lib.colord ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ colord.spec ++++++ # # spec file for package colord # # Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d Name: colord Version: 1.4.4 Release: 0 Summary: System Daemon for Managing Color Devices License: GPL-2.0-or-later Group: System/Daemons URL: https://github.com/hughsie/colord/ Source0: https://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz Source1: https://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring # Apparmor profile Source3: usr.lib.colord Source99: baselibs.conf # PATCH-FIX-UPSTREAM add-spyderx.patch -- Add SpyderX Support Patch1: add-spyderx.patch BuildRequires: argyllcms BuildRequires: docbook5-xsl-stylesheets BuildRequires: gobject-introspection-devel BuildRequires: gtk-doc BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(bash-completion) >= 2.0 BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gio-2.0) >= 2.25.9 BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) >= 2.36.0 BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(gusb) >= 0.2.2 BuildRequires: pkgconfig(lcms2) >= 2.6 BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103 BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(vapigen) Requires: argyllcms Requires: colord-color-profiles Requires(pre): pwdutils %{?systemd_requires} %description colord is a system activated daemon that maps devices to color profiles. It is used by gnome-color-manager for system integration and use when there are no users logged in. %package -n libcolord2 Summary: Library for managing color devices Group: System/Libraries Suggests: %{name} %description -n libcolord2 colord is a system activated daemon that maps devices to color profiles. It is used by gnome-color-manager for system integration and use when there are no users logged in. %package -n libcolorhug2 Summary: Library for managing color devices Group: System/Libraries Suggests: %{name} %description -n libcolorhug2 colord is a system activated daemon that maps devices to color profiles. It is used by gnome-color-manager for system integration and use when there are no users logged in. %package color-profiles Summary: Color profiles for colord # Last version of shared-color profiles packaged Group: System/Libraries Obsoletes: shared-color-profiles <= 0.1.6 Provides: shared-color-profiles %description color-profiles colord is a system activated daemon that maps devices to color profiles. It is used by gnome-color-manager for system integration and use when there are no users logged in. This package provides color profiles previously provided by shared-color-profiles %package -n typelib-1_0-Colord-1_0 Summary: Introspection bindings for libcolord Group: System/Libraries %description -n typelib-1_0-Colord-1_0 colord is a system activated daemon that maps devices to color profiles. It is used by gnome-color-manager for system integration and use when there are no users logged in. This package provides the GObject Introspection bindings for the libcolord library. %package -n typelib-1_0-Colorhug-1_0 Summary: Introspection bindings for libcolorhug Group: System/Libraries %description -n typelib-1_0-Colorhug-1_0 colord is a system activated daemon that maps devices to color profiles. It is used by gnome-color-manager for system integration and use when there are no users logged in. This package provides the GObject Introspection bindings for the libcolorhug library. %package -n libcolord-devel Summary: Development files for libcolord Group: Development/Languages/C and C++ Requires: %{name}-color-profiles = %{version} Requires: libcolord2 = %{version} Requires: libcolorhug2 = %{version} Requires: typelib-1_0-Colord-1_0 = %{version} Requires: typelib-1_0-Colorhug-1_0 = %{version} %description -n libcolord-devel colord is a system activated daemon that maps devices to color profiles. It is used by gnome-color-manager for system integration and use when there are no users logged in. %lang_package %prep %setup -q %patch1 -p1 %build # Set ~2 GiB limit so that colprof is forced to work in chunks when # generating the print profile rather than trying to allocate a 3.1 GiB # chunk of RAM to put the entire B-to-A tables in. ulimit -Sv 2000000 %meson \ -Dsession_example=false \ -Dbash_completion=true \ -Dsystemd=true \ -Dlibcolordcompat=true \ -Dargyllcms_sensor=true \ -Dreverse=false \ -Dsane=false \ -Dvapi=true \ -Dprint_profiles=true \ -Dtests=false \ -Dinstalled_tests=false \ -Ddaemon_user=colord \ -Dman=true \ -Ddocs=true \ -Dudev_rules=true \ %{nil} %meson_build %install %meson_install # Create colord rclink mkdir %{buildroot}/%{_sbindir} ln -sf %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name} find %{buildroot} -type f -name "*.la" -delete -print # Install Apparmor profile mkdir -p %{buildroot}%{_sysconfdir}/apparmor.d/ install -c -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/apparmor.d/ %find_lang %{name} %pre # Create colord user getent group colord >/dev/null || groupadd -r colord getent passwd colord >/dev/null || useradd -r -g colord -d %{_localstatedir}/lib/colord -s /sbin/nologin -c "user for colord" colord %service_add_pre %{name}.service # Fix ownership of /var/lib/colord from first packages (in 12.1) test ! -d %{_localstatedir}/lib/colord || chown -R colord:colord %{_localstatedir}/lib/colord exit 0 %preun %service_del_preun %{name}.service %post %service_add_post %{name}.service %postun %service_del_postun %{name}.service %post -n libcolord2 -p /sbin/ldconfig %postun -n libcolord2 -p /sbin/ldconfig %post -n libcolorhug2 -p /sbin/ldconfig %postun -n libcolorhug2 -p /sbin/ldconfig %files %license COPYING %doc AUTHORS NEWS %{_unitdir}/colord.service %{_udevrulesdir}/*.rules %attr(755,colord,colord) %dir %{_localstatedir}/lib/colord %{_datadir}/bash-completion/completions/colormgr %{_bindir}/cd-create-profile %{_bindir}/cd-fix-profile %{_bindir}/cd-iccdump %{_bindir}/cd-it8 %{_bindir}/colormgr %{_libdir}/colord-sensors/ %{_libexecdir}/%{name} %{_libexecdir}/%{name}-session %{_datadir}/%{name}/ %{_datadir}/dbus-1/interfaces/org.freedesktop.ColorHelper.xml %{_datadir}/dbus-1/interfaces/org.freedesktop.ColorManager.* %{_datadir}/dbus-1/services/org.freedesktop.ColorHelper.service %{_datadir}/dbus-1/system-services/org.freedesktop.ColorManager.service %dir %{_datadir}/dbus-1/system.d %{_datadir}/dbus-1/system.d/org.freedesktop.ColorManager.conf %{_datadir}/glib-2.0/schemas/org.freedesktop.ColorHelper.gschema.xml %{_datadir}/polkit-1/actions/org.freedesktop.color.policy %{_mandir}/man1/cd-create-profile.1%{?ext_man} %{_mandir}/man1/cd-fix-profile.1%{?ext_man} %{_mandir}/man1/cd-it8.1%{?ext_man} %{_mandir}/man1/colormgr.1%{?ext_man} %dir %{_sysconfdir}/apparmor.d/ %config %{_sysconfdir}/apparmor.d/usr.lib.colord %dir %{_libdir}/colord-plugins %{_libdir}/libcolordcompat.so %{_libdir}/colord-plugins/libcolord_sensor_camera.so %{_libdir}/colord-plugins/libcolord_sensor_scanner.so %{_sbindir}/rc%{name} %{_userunitdir}/colord-session.service %{_tmpfilesdir}/colord.conf %files color-profiles %{_datadir}/color/ %files -n libcolord2 %{_libdir}/libcolord.so.* %{_libdir}/libcolordprivate.so.* %files -n libcolorhug2 %{_libdir}/libcolorhug.so.* %files -n typelib-1_0-Colord-1_0 %{_libdir}/girepository-1.0/Colord-1.0.typelib %files -n typelib-1_0-Colorhug-1_0 %{_libdir}/girepository-1.0/Colorhug-1.0.typelib %files -n libcolord-devel %{_includedir}/colord-1/ %{_libdir}/libcolord.so %{_libdir}/libcolordprivate.so %{_libdir}/libcolorhug.so %{_libdir}/pkgconfig/colord.pc %{_libdir}/pkgconfig/colorhug.pc %{_datadir}/gir-1.0/Colord-1.0.gir %{_datadir}/gir-1.0/Colorhug-1.0.gir %{_datadir}/vala/vapi/colord.deps %{_datadir}/vala/vapi/colord.vapi %{_datadir}/gtk-doc/html/colord/ %files lang -f %{name}.lang %changelog ++++++ _constraints ++++++ <constraints> <hardware> <disk> <size unit="G">4</size> </disk> <physicalmemory> <size unit="M">8000</size> </physicalmemory> </hardware> <overwrite> <conditions> <arch>armv6l</arch> <arch>armv7l</arch> </conditions> <hardware> <physicalmemory> <size unit="M">3500</size> </physicalmemory> </hardware> </overwrite> <overwrite> <conditions> <arch>riscv64</arch> </conditions> <hardware> <physicalmemory> <size unit="M">7250</size> </physicalmemory> </hardware> </overwrite> </constraints> ++++++ add-spyderx.patch ++++++ diff --git a/lib/colord/cd-enum.c b/lib/colord/cd-enum.c index b1ced1c..00b6e16 100644 --- a/lib/colord/cd-enum.c +++ b/lib/colord/cd-enum.c @@ -71,6 +71,7 @@ static const CdEnumMatch enum_sensor_kind[] = { {CD_SENSOR_KIND_SPYDER3, "spyder3"}, {CD_SENSOR_KIND_SPYDER4, "spyder4"}, {CD_SENSOR_KIND_SPYDER5, "spyder5"}, + {CD_SENSOR_KIND_SPYDERX, "spyderX"}, {CD_SENSOR_KIND_SPYDER, "spyder"}, {CD_SENSOR_KIND_SPARK, "spark"}, {0, NULL} diff --git a/lib/colord/cd-enum.h b/lib/colord/cd-enum.h index f311d26..c9d015b 100644 --- a/lib/colord/cd-enum.h +++ b/lib/colord/cd-enum.h @@ -193,6 +193,7 @@ typedef enum { CD_SENSOR_KIND_COLORHUG2, /* Since: 1.2.2 */ CD_SENSOR_KIND_SPYDER5, /* Since: 1.2.11 */ CD_SENSOR_KIND_SPARK, /* Since: 1.2.11 */ + CD_SENSOR_KIND_SPYDERX, /* Since: 1.4.5 */ /*< private >*/ CD_SENSOR_KIND_LAST } CdSensorKind; diff --git a/src/sensors/argyll/cd-sensor-argyll.c b/src/sensors/argyll/cd-sensor-argyll.c index ef8456d..21b354b 100644 --- a/src/sensors/argyll/cd-sensor-argyll.c +++ b/src/sensors/argyll/cd-sensor-argyll.c @@ -334,6 +334,8 @@ cd_sensor_to_argyll_name (CdSensor *sensor) return "Datacolor Spyder4"; case CD_SENSOR_KIND_SPYDER5: return "Datacolor Spyder5"; + case CD_SENSOR_KIND_SPYDERX: + return "Datacolor SpyderX"; case CD_SENSOR_KIND_HUEY: return "GretagMacbeth Huey"; case CD_SENSOR_KIND_COLORHUG: ++++++ baselibs.conf ++++++ libcolord2 ++++++ usr.lib.colord ++++++ # Last Modified: Thu Oct 17 14:07:52 2013 #include <tunables/global> /usr/lib/colord (attach_disconnected) { #include <abstractions/base> #include <abstractions/nameservice> capability dac_override, deny /usr/share/gvfs/remote-volume-monitors/ r, deny /usr/share/gvfs/remote-volume-monitors/afc.monitor r, deny /usr/share/gvfs/remote-volume-monitors/udisks2.monitor r, /dev/ r, /dev/bus/usb/ r, /dev/bus/usb/[0-9]*/[0-9]* rw, /etc/colord.conf r, /etc/fstab r, /etc/udev/hwdb.bin r, /etc/udev/udev.conf r, /proc/*/fd/ r, /proc/*/mountinfo r, /proc/*/mounts r, /proc/*/cgroup r, /proc/*/cmdline r, # not only @{pid}, bnc#846301 /run/systemd/sessions/[0-9]* r, /run/systemd/sessions/c[0-9]* r, /run/udev/data/* r, /run/udev/queue.bin r, /sys/bus/ r, /sys/bus/usb/devices/ r, /sys/class/ r, /sys/class/drm/ r, /sys/class/video4linux/** r, /sys/class/video4linux/ r, /sys/devices/** r, /usr/bin/spotread ix, # inherit colord profile, needed to support USB colorimeter not natively supported by colord /usr/lib/colord mr, /usr/local/share/mime/** r, /usr/local/share/color/**/ r, /usr/local/share/color/icc/** r, /usr/share/color/**/ r, /usr/share/color/icc/** r, /usr/share/dbus-1/interfaces/org.freedesktop.ColorManager.Device.xml r, /usr/share/dbus-1/interfaces/org.freedesktop.ColorManager.Profile.xml r, /usr/share/dbus-1/interfaces/org.freedesktop.ColorManager.Sensor.xml r, /usr/share/dbus-1/interfaces/org.freedesktop.ColorManager.xml r, /usr/share/gvfs/remote-volume-monitors/gphoto2.monitor r, /usr/share/locale-bundle/**.mo r, /usr/share/mime/** r, /var/lib/color/icc/ r, /var/lib/colord/icc/ r, /var/lib/colord/.cache/ rw, /var/lib/colord/.cache/** rw, /var/lib/colord/mapping.db rwk, /var/lib/colord/mapping.db-journal rw, /var/lib/colord/storage.db rwk, /var/lib/colord/storage.db-journal rw, @{HOME}/.local/share/icc/*.icc r, @{HOME}/.local/share/color/icc/*.icc r, /var/lib/gdm/.local/share/icc/*.icc r, }
