File: 1000-appstream-metainfo.patch

package info (click to toggle)
colord 1.4.7-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 8,932 kB
  • sloc: ansic: 48,892; xml: 24,169; sh: 86; python: 79; makefile: 46; cpp: 38
file content (89 lines) | stat: -rw-r--r-- 3,378 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
From: Petter Reinholdtsen <pere@hungry.com>
Date: Sat, 18 Jan 2025 09:36:04 +0000
Subject: Added AppStream metainfo XML with hardware provide info.

Instal it in /usr/share/metainfo/.  This allow isenkram to
propose this package the right hardware is present.

The provides list was generated using

  for m in $(grep ATT rules/69-cd-sensors.rules.in|cut -d\" -f2,4 | \
    tr a-z A-Z|tr \" p); do echo "<modalias>usb:v${m}d*</modalias>"
  done

This issue started in https://bugs.debian.org/1077046 .

Origin: upstream, after 1.4.7
---
 meson.build                         |  4 +++
 org.freedesktop.colord.metainfo.xml | 49 +++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 org.freedesktop.colord.metainfo.xml

diff --git a/meson.build b/meson.build
index b0b1af8..886f88b 100644
--- a/meson.build
+++ b/meson.build
@@ -280,3 +280,7 @@ endif
 
 meson.add_install_script('meson_post_install.sh',
                          localstatedir, get_option('daemon_user'))
+
+install_data('org.freedesktop.colord.metainfo.xml',
+  install_dir : join_paths(datadir, 'metainfo')
+  )
diff --git a/org.freedesktop.colord.metainfo.xml b/org.freedesktop.colord.metainfo.xml
new file mode 100644
index 0000000..ac5f148
--- /dev/null
+++ b/org.freedesktop.colord.metainfo.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component>
+  <id>org.freedesktop.colord</id>
+  <metadata_license>MIT</metadata_license>
+  <name>colord</name>
+  <summary>system service to manage device colour profiles -- system daemon</summary>
+  <description>
+    <p>colord is a system service that makes it easy to manage,
+    install and generate colour profiles to accurately colour manage
+    input and output devices.</p>
+    <p>It provides a D-Bus API for system frameworks to query, a
+    persistent data store, and a mechanism for session applications to
+    set system policy.</p>
+    <p>This package contains the dbus-activated colord system
+    daemon.</p>
+  </description>
+  <url type="homepage">https://www.freedesktop.org/software/colord/</url>
+  <provides>
+    <modalias>usb:v0765pD020d*</modalias>
+    <modalias>usb:v0765pD092d*</modalias>
+    <modalias>usb:v0765pD094d*</modalias>
+    <modalias>usb:v0670p0001d*</modalias>
+    <modalias>usb:v0971p2003d*</modalias>
+    <modalias>usb:v0971p2001d*</modalias>
+    <modalias>usb:v0971p2000d*</modalias>
+    <modalias>usb:v0765p5020d*</modalias>
+    <modalias>usb:v0765p6003d*</modalias>
+    <modalias>usb:v0971p2007d*</modalias>
+    <modalias>usb:v04DBp005Bd*</modalias>
+    <modalias>usb:v085Cp0100d*</modalias>
+    <modalias>usb:v085Cp0200d*</modalias>
+    <modalias>usb:v085Cp0300d*</modalias>
+    <modalias>usb:v085Cp0400d*</modalias>
+    <modalias>usb:v085Cp0500d*</modalias>
+    <modalias>usb:v085Cp0A00d*</modalias>
+    <modalias>usb:v0971p2005d*</modalias>
+    <modalias>usb:v0765p5001d*</modalias>
+    <modalias>usb:v0765p5010d*</modalias>
+    <modalias>usb:v04D8pF8DAd*</modalias>
+    <modalias>usb:v273Fp1000d*</modalias>
+    <modalias>usb:v273Fp1005d*</modalias>
+    <modalias>usb:v273Fp1001d*</modalias>
+    <modalias>usb:v273Fp1004d*</modalias>
+    <modalias>usb:v273Fp1002d*</modalias>
+    <modalias>usb:v273Fp1006d*</modalias>
+    <modalias>usb:v273Fp1007d*</modalias>
+    <modalias>usb:v273Fp1008d*</modalias>
+  </provides>
+</component>