summaryrefslogtreecommitdiff
path: root/debian/patches/03_usb-db.diff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 13:56:46 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-09-01 13:56:46 +0200
commit22f703cab05b7cd368f4de9e03991b7664dc5022 (patch)
tree6f4d50beaa42328e24b1c6b56b6ec059e4ef21a5 /debian/patches/03_usb-db.diff
Initial import of argyll version 1.5.1-8debian/1.5.1-8
Diffstat (limited to 'debian/patches/03_usb-db.diff')
-rw-r--r--debian/patches/03_usb-db.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/03_usb-db.diff b/debian/patches/03_usb-db.diff
new file mode 100644
index 0000000..ebbc47b
--- /dev/null
+++ b/debian/patches/03_usb-db.diff
@@ -0,0 +1,15 @@
+Description: Use hwdb builtin, instead of the obsolete usb-db in the udev rules.
+Author: Dmitrijs Ledkovs <dmitrij.ledkov@ubuntu.com>
+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1200185
+Last-Update: 2014-02-03
+
+--- a/usb/55-Argyll.rules
++++ b/usb/55-Argyll.rules
+@@ -85,6 +85,6 @@ TEST=="/var/run/ConsoleKit/database", EN
+ ENV{COLOR_MEASUREMENT_DEVICE}=="*?", ENV{ACL_MANAGE}!="*?", MODE="660", GROUP="plugdev"
+
+ # Set ID_VENDOR and ID_MODEL acording to VID and PID
+-IMPORT{program}="usb-db %p"
++IMPORT{builtin}="hwdb --subsystem=usb"
+
+ LABEL="argyll_rules_end"