New upstream version

- Add a user suffix to the object path of user-created devices and profiles
This commit is contained in:
Richard Hughes 2012-04-17 22:58:14 +01:00
parent a3f05c646f
commit c96a2eac7a
4 changed files with 8 additions and 35 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@
/colord-0.1.16.tar.xz /colord-0.1.16.tar.xz
/colord-0.1.17.tar.xz /colord-0.1.17.tar.xz
/colord-0.1.18.tar.xz /colord-0.1.18.tar.xz
/colord-0.1.19.tar.xz

View File

@ -1,30 +0,0 @@
From 4e28e25feaf611a4366fef88fec885657bfd76bc Mon Sep 17 00:00:00 2001
From: Richard Hughes <richard@hughsie.com>
Date: Thu, 29 Mar 2012 15:56:48 +0100
Subject: [PATCH] Do not enable PrivateNetwork=yes as it breaks hotplugging
devices
We think that udev's AF_NETLINK messages are being filtered when network
namespacing is on.
---
data/colord.service.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/data/colord.service.in b/data/colord.service.in
index 8a4b43d..8301b40 100644
--- a/data/colord.service.in
+++ b/data/colord.service.in
@@ -6,7 +6,9 @@ Type=dbus
BusName=org.freedesktop.ColorManager
ExecStart=@servicedir@/colord
User=@daemon_user@
-PrivateNetwork=yes
+# We think that udev's AF_NETLINK messages are being filtered when
+# network namespacing is on.
+# PrivateNetwork=yes
PrivateTmp=yes
[Install]
--
1.7.9.3

View File

@ -1,11 +1,10 @@
Summary: Color daemon Summary: Color daemon
Name: colord Name: colord
Version: 0.1.18 Version: 0.1.19
Release: 2%{?dist} Release: 1%{?dist}
License: GPLv2+ and LGPLv2+ License: GPLv2+ and LGPLv2+
URL: http://www.freedesktop.org/software/colord/ URL: http://www.freedesktop.org/software/colord/
Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz Source0: http://www.freedesktop.org/software/colord/releases/%{name}-%{version}.tar.xz
Patch0: 0001-Do-not-enable-PrivateNetwork-yes-as-it-breaks-hotplu.patch
BuildRequires: dbus-devel BuildRequires: dbus-devel
BuildRequires: docbook-utils BuildRequires: docbook-utils
@ -39,7 +38,6 @@ Files for development with %{name}.
%prep %prep
%setup -q %setup -q
%patch0 -p1 -b .fix-device-hotplug
%build %build
%configure \ %configure \
@ -113,6 +111,10 @@ exit 0
%{_datadir}/vala/vapi/*.vapi %{_datadir}/vala/vapi/*.vapi
%changelog %changelog
* Tue Apr 17 2012 Richard Hughes <richard@hughsie.com> 0.1.19-1
- New upstream version
- Add a user suffix to the object path of user-created devices and profiles
* Thu Mar 29 2012 Richard Hughes <richard@hughsie.com> 0.1.18-2 * Thu Mar 29 2012 Richard Hughes <richard@hughsie.com> 0.1.18-2
- Disable PrivateNetwork=1 as it breaks sensor hotplug. - Disable PrivateNetwork=1 as it breaks sensor hotplug.

View File

@ -1 +1 @@
8c9bf54733e9862544860f1a8a9a61f9 colord-0.1.18.tar.xz 38f04d3882826d403f03a971bb54148a colord-0.1.19.tar.xz