]> Frank Brehm's Git Trees - config/samara/etc.git/commitdiff
committing changes in /etc after emerge run
authorfbrehm <fbrehm@samara.profitbricks.localdomain>
Tue, 27 Mar 2012 19:36:36 +0000 (21:36 +0200)
committerroot <root@samara.profitbricks.localdomain>
Tue, 27 Mar 2012 19:36:36 +0000 (21:36 +0200)
Package changes:
+x11-misc/colord-0.1.15

.etckeeper
colord.conf [new file with mode: 0644]
dbus-1/system.d/org.freedesktop.ColorManager.conf [new file with mode: 0644]

index 8b8b23af4858b31c7a4f77fbbe287dd27cacae8e..51b4841700f812e03e987c9e7ce93daf96efb98f 100755 (executable)
@@ -217,6 +217,7 @@ maybe chmod 0755 './ca-certificates/update.d'
 maybe chmod 0644 './chktexrc'
 maybe chmod 0755 './chromium'
 maybe chmod 0644 './chromium/default'
+maybe chmod 0644 './colord.conf'
 maybe chmod 0644 './colordiffrc'
 maybe chmod 0644 './colordiffrc-lightbg'
 maybe chmod 0755 './conf.d'
@@ -514,6 +515,7 @@ maybe chmod 0444 './dbus-1/system.d/cups.conf'
 maybe chmod 0644 './dbus-1/system.d/nm-avahi-autoipd.conf'
 maybe chmod 0644 './dbus-1/system.d/nm-dhcp-client.conf'
 maybe chmod 0644 './dbus-1/system.d/nm-dispatcher.conf'
+maybe chmod 0644 './dbus-1/system.d/org.freedesktop.ColorManager.conf'
 maybe chmod 0644 './dbus-1/system.d/org.freedesktop.ModemManager.conf'
 maybe chmod 0644 './dbus-1/system.d/org.freedesktop.PolicyKit1.conf'
 maybe chmod 0644 './dbus-1/system.d/org.freedesktop.UDisks.conf'
diff --git a/colord.conf b/colord.conf
new file mode 100644 (file)
index 0000000..6b1aedb
--- /dev/null
@@ -0,0 +1,24 @@
+[colord]
+
+# This controls whether we search external volumes for color profiles.
+#
+# default=false
+SearchVolumes=false
+
+# If we should use SANE to add scanner and camera devices.
+#
+# default=true
+UseSANE=true
+
+# If we should create a dummy sensor for testing
+#
+# default=false
+CreateDummySensor=false
+
+# Known profiles are specific colorspaces that applications may request,
+# e.g. 'AdobeRGB' or 'sRGB'.
+# This key sets up any manual overrides that are not automatically added
+# using the profile dictionary metadata.
+#
+# default=
+StandardSpaces=adobe-rgb:/usr/share/color/icc/Argyll/ClayRGB1998.icm;srgb:/usr/share/color/icc/Argyll/sRGB.icm;prophoto-rgb:/usr/share/color/icc/Argyll/ProPhotoRGB.icc
diff --git a/dbus-1/system.d/org.freedesktop.ColorManager.conf b/dbus-1/system.d/org.freedesktop.ColorManager.conf
new file mode 100644 (file)
index 0000000..0518bd7
--- /dev/null
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- -->
+
+<!DOCTYPE busconfig PUBLIC
+ "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+  <!-- This configuration file specifies the required security policies
+       for the ColorManager to work. -->
+
+  <!-- Only user root or user colord can own the colord service -->
+  <policy user="root">
+    <allow own="org.freedesktop.ColorManager"/>
+  </policy>
+  <policy user="colord">
+    <allow own="org.freedesktop.ColorManager"/>
+  </policy>
+
+ <!-- Use at_console policy rather than PolicyKit to allow running as colord user -->
+  <policy at_console="true">
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.ColorManager"/>
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.ColorManager.Profile"/>
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.ColorManager.Device"/>
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.ColorManager.Sensor"/>
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.DBus.Properties"/>
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.DBus.Introspectable"/>
+  </policy>
+
+  <!-- Also allow root to access the API; cupsd needs to talk to colord -->
+  <policy user="root">
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.ColorManager"/>
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.ColorManager.Profile"/>
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.ColorManager.Device"/>
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.ColorManager.Sensor"/>
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.DBus.Properties"/>
+    <allow send_destination="org.freedesktop.ColorManager"
+           send_interface="org.freedesktop.DBus.Introspectable"/>
+  </policy>
+</busconfig>
+