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 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2020-2021 Sanford Rockowitz rockowitz@minsoft.com> -->
<!-- The use of this file varies by implementation.
The extensive inline comments document this variability.
In particular, when building with COPR, the supplied ddcutil.appdata.xml file is modified.
-->
<!-- gnome-software does not display if console-application -->
<component type="console-application">
<metadata_license>CC0-1.0</metadata_license>
<!-- if id is ddcutil or com.ddcutil.ddcutil, the .desktop file name must match -->
<!-- if eliminate atribute 'type="desktop"', COPR accepts the id, but gnome-software doesn't show -->
<!-- if ddcutil.desktop -> com.ddcutil.ddcutil: COPR accepts, gnome-sotware doesn't show -->
<id>com.ddcutil.ddcutil</id>
<!-- Verified that COPR does not change the name -->
<name>ddcutil</name>
<project_license>GPL-2.0-or-later</project_license>
<summary>Command line program to control monitor settings</summary>
<description>
<p>ddcutil is a command line program for querying and changing monitor
settings, such as brightness color levels, and power on hours.
Most mointors, other than lapdop displays, have a Virtual Control Panel (VCP),
which implements features defined in the Montor Control Command Set (MCCS)
specification. Typically, ddcutil communicates with the monitor's VCP over an
I2C bus, as per the Display Data Channel/Command Interface Standard (DDC/CI). </p>
<p>The corresponding desktop application is ddcui.</p>
</description>
<!-- provides appears to be unchanged by COPR -->
<provides>
<binary>ddcutil</binary>
</provides>
<!--screenshots unchanged by COPR -->
<screenshots>
<screenshot type="default">
<image> https://www.ddcutil.com/images/ddcutil_screenshot1.jpg</image>
<!-- <image>image height="708" width="1000">https://raw.githubusercontent.com/ddcutilproject/ddcutil/master/doc/en/images/ andt2.png</image> -->
<caption>Get all settings for a monitor</caption>
</screenshot>
</screenshots>
<!-- launchable appears to be unchanged by COPR -->
<launchable type="desktop-id">ddcutil.desktop</launchable>
<!-- tags that COPR copies unchanged: update_contact, url, developer_name -->
<update_contact>rockowitz@minsoft.com></update_contact>
<url type="homepage">https://www.ddcutil.com</url>
<url type="bugtracker">https://github.com/rockowitz/ddcutil/issues</url>
<url type="faq">https://www.ddcutil.com/faq</url>
<developer_name>Sanford Rockowitz</developer_name>
<!-- COPR replaces <releases> with its own list from COPR history
The release elements have tags version and timestamp, no date -->
<releases>
<release version="1.0.0" date="2021-01-27"/>
<release version="0.9.9" date="2019-12-09"/>
<release version="0.9.8" date="2019-12-06"/>
<release version="0.9.7" date="2019-09-04"/>
<release version="0.9.6" date="2019-08-25"/>
</releases>
<!-- with no icons here, appstream.xml emitted by COPR contains 64 and 128 bit icons of type "cached" -->
<!-- icon tag is invalid if component type = desktop-application" -->
<!-- <icon type="url">https://www.ddcutil.com/images/ddcutil-48px.png</icon> --> <!-- COPR build does not find -->
<!-- 14: enable stock icon -->
<!-- 14: appstreamcli: no errors
COPR emits the stock icon, also <icon>ddcutil</icon>
appstream-builder: WARNING: AppData problem: tag-invalid : stock icon is not valid [xfburn]
gnome-software: does not show ddcutil
-->
<!-- 15: comment out stock icon, i.e. no there are no icons
appstreamcli validate: no errors
appstream-builder: no warnings
file emitted by copr: no vetoes,
has kudos HiDpiIcon
but not ModernToolkit - why is this different from ddcui?
has generated 64 and 128 bit cached icons
gnome-software does not find
-->
<!-- 16: comment out Exec and TryExec in ddcutil.desktop
n. desktop file apparently the source of the icon "ddcutil"
appstrem-builder - no errors no warnings
xml file reported has <icon type="cached" height="64" width="64">com.ddcutil.ddcutil.png</icon>
appstream.xml generated by COPR has 64 and 128 bit icons, same name as appsrteram-builder
gnome-software doesn't show ddcutil
-->
<!-- 17: add <icon>ddcutil</icon> with no type, comment out launchable
appstreamcli error: type-property-required icon (ddcutil)
-->
<!-- 18: replace icon "ddcutil" with icon type="url" www.ddcutil.com/images
appstreamcli validate: E: com.ddcutil.ddcutil:70: metainfo-invalid-icon-type url
-->
<!-- 19: change icon type to remote
appstreamcli: no errors
COPR: <veto>Failed to find icon: Failed to find icon ddcutil-48px.png</veto>
<veto>Has no Icon</veto>
-->
<!-- 20: change ddcutil-test setting to Enable internet access during build
COPR output:
<vetos>
<veto>Failed to find icon: Failed to find icon www.ddcutil.com/.../ddcutil-48px.png</veto>
<veto>Has no Icon</veto>
</vetos>
-->
<!-- 21: try another possibly stock icon: eog
appstreamcli: ok
COPR generated appdata: icon unchanged from eog, ddcutil icon not generated
-->
<!-- 22: back to no icon, comment out launchable
appstreamcli validate ok
COPR: failed.xml:
<vetos>
<veto>Has no Icon</veto>
</vetos>
-->
<!-- 23: re-enable lauchable
appstreamcli validate ok
COPR: kudos HiDpiIcon
refers to 64 and 128 bit cached icons com.ddcutil.ddcutil.png
appstream-builder : ok, but only has 64 bit icon
gnome-software: only ddcui
-->
<!-- 24: try icon generated by metainfo generator -
appstreaamcli validate ok
COPR outputs:
<icon type="stock">ddcutil</icon>
<icon>ddcutil</icon>
appstream-builder:
Adding tag-invalid 'stock icon is not valid [ddcutil]'
WARNING: AppData problem: tag-invalid : stock icon is not valid [ddcutil]
gnome-software: only ddcui
-->
<!-- <icon type="stock">ddcutil</icon> -->
<!-- <icon type="stock">eog</icon> -->
<!-- <icon type="remote">https://www.ddcutil.com/images/ddcutil-48px.png</icon> -->
<!-- <icon>ddcutil</icon> -->
<!-- <icon type="stock">xfburn</icon> --> <!-- stock icon works: -->
<!-- <icon type="local">/usr/share/pixmaps/monitor.png</icon> --> <!-- works, then no, COPR cannot find, also complains about type local -->
<!-- 13: comment out launchable: neither appstreamcli verity or appstream-builder show errors,
COPR appstream-failed shows veto: Has no Icon
14: re-enable launchable, also enable stock icon
appstreamcli validate shows no errors
-->
<!-- 25: The following stock icons found in org.kde.kdialog.metainfo.xml which is of type console-application
n. neighter of these icons exist for theme hicolor, but do for other themes
appstreamcli validate: ok
appstream-util validate-relax: ok
COPR: generated appstream.xml contains both <icon> elements,
also the generated <icon>ddcutil</icon>
appstream-builder: no errors or warnigns
just noticed: COPR creates a <categories> element out of the ddcuti.desktop categories entry
-->
<icon type="stock">utilities-terminal</icon>
<icon type="stock">system-run</icon>
<!--
<icon type="remote" width="64" height="64">https://www.ddcutil.com/images/ddcutil-64.png</icon>
<icon type="url" width="64" height="64">https://www.ddcutil.com/images/ddcutil-64.png</icon>
-->
</component>
|