From 0b45c68acffc4ca6fb192d820d7aef1b3fbb2f2f7913b367f91348fca5d43eae Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Sat, 25 Feb 2012 14:39:15 +0000 Subject: [PATCH 1/2] Accepting request 106593 from home:vuntz:branches:GNOME:Factory Update to 0.1.17 OBS-URL: https://build.opensuse.org/request/show/106593 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=31 --- colord-0.1.16.tar.xz | 3 --- colord-0.1.17.tar.xz | 3 +++ colord.changes | 21 +++++++++++++++++++++ colord.spec | 4 +--- 4 files changed, 25 insertions(+), 6 deletions(-) delete mode 100644 colord-0.1.16.tar.xz create mode 100644 colord-0.1.17.tar.xz diff --git a/colord-0.1.16.tar.xz b/colord-0.1.16.tar.xz deleted file mode 100644 index ddfe9c0..0000000 --- a/colord-0.1.16.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9489e29e7f5f529f759f7b913ccb8147e702bcdad641dfc1f94a1fc74dd942b1 -size 491252 diff --git a/colord-0.1.17.tar.xz b/colord-0.1.17.tar.xz new file mode 100644 index 0000000..6413f1a --- /dev/null +++ b/colord-0.1.17.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bbd9e2865c7ef7f62e65ba055ca4447d062cc76548328e101d7fd0ed8c22b25d +size 452900 diff --git a/colord.changes b/colord.changes index d88734e..41fc4f8 100644 --- a/colord.changes +++ b/colord.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Thu Feb 23 07:51:54 UTC 2012 - vuntz@opensuse.org + +- Update to version 0.1.17: + + New Features: + - Add an LED sample type + - Add a metadata key to store the calibration brightness + - Show the profile title when using colormgr get-profiles + + Bugfixes: + - Add PrivateNetwork and PrivateTmp to the systemd service file + - Don't leak a GVariantIter when setting the device metadata + - Fix a critical warning if a client tries to get the profile + metadata + - Fix InstallSystemWide() when running as the colord user + - Increase the colorhug sample timeout to 5 seconds + - Make underscores into spaces for the profile title + - Return from cd_profile_has_access() with TRUE for virtual + profiles +- Remove xz BuildRequires now that it comes for free in the build + system. + ------------------------------------------------------------------- Wed Jan 18 10:47:23 UTC 2012 - vuntz@opensuse.org diff --git a/colord.spec b/colord.spec index d8a6ab2..5e62eed 100644 --- a/colord.spec +++ b/colord.spec @@ -17,7 +17,7 @@ Name: colord -Version: 0.1.16 +Version: 0.1.17 Release: 0 Summary: System Daemon for Managing Color Devices License: GPL-2.0+ @@ -29,8 +29,6 @@ BuildRequires: gobject-introspection-devel BuildRequires: intltool BuildRequires: sane-backends-devel BuildRequires: vala -# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467 -BuildRequires: xz BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) From d1a17d3c0e40889540fd7050a81f1e4295536716ce3d28b789e2e1376636ac37 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Mon, 27 Feb 2012 23:11:26 +0000 Subject: [PATCH 2/2] Accepting request 107166 from home:vuntz:branches:GNOME:Factory Fix systemd-related packaging OBS-URL: https://build.opensuse.org/request/show/107166 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=32 --- colord.changes | 8 ++++++++ colord.spec | 14 +++++++++++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/colord.changes b/colord.changes index 41fc4f8..1624e81 100644 --- a/colord.changes +++ b/colord.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Feb 27 13:24:10 UTC 2012 - vuntz@opensuse.org + +- Fix systemd-related packaging: + + Use %{?systemd_requires}. + + Call %service_{add,del}_* macros in scriptlets for + colord.service. + ------------------------------------------------------------------- Thu Feb 23 07:51:54 UTC 2012 - vuntz@opensuse.org diff --git a/colord.spec b/colord.spec index 5e62eed..24ce9c0 100644 --- a/colord.spec +++ b/colord.spec @@ -45,6 +45,7 @@ Requires(pre): pwdutils Requires: shared-color-profiles Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{?systemd_requires} %description colord is a system activated daemon that maps devices to color profiles. @@ -110,12 +111,23 @@ popd %find_lang %{name} %pre +%service_add_pre colord.service +# 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 # 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 +%post +%service_add_post colord.service + +%preun +%service_del_preun colord.service + +%postun +%service_del_postun colord.service + %post -n libcolord1 -p /sbin/ldconfig %postun -n libcolord1 -p /sbin/ldconfig @@ -123,7 +135,7 @@ exit 0 %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README -/lib/systemd/system/colord.service +%{_unitdir}/colord.service /lib/udev/rules.d/*.rules %attr(755,colord,colord) %dir %{_localstatedir}/lib/colord %config(noreplace) %{_sysconfdir}/%{name}.conf