Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend recommendation expressiveness spec #192

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -568,6 +568,11 @@
<literal>recommends</literal> tag should be used. In this case, AppStream clients should allow the installation of the software
component, but may display a warning before allowing it.
</para>
<para>
To specify that a device is being used, a component can use the <literal>supports</literal> tag. This means that the software component
supports a certain configuration or other item. This is useful in case the client wants to offer components that support a certain feature
exclusively.
</para>
<para>
A <literal>requires</literal> or <literal>recommends</literal> tag contains children describing the type, value and version relation
of the required item.
@@ -647,6 +652,34 @@
</listitem>
</varlistentry>

<varlistentry>
<term>&lt;input/&gt;</term>
<listitem>
<para>
Specifies that a input capability type is supported by the hardware present in the device.
Options here are: keyboard, pointer, touch, tablet-tool, tablet-pad, gesture, switch
<!-- As listed here https://wayland.freedesktop.org/libinput/doc/latest/group__device.html#ga3110cdddce94a1df0b8a3306909c8f15 -->
aleixpol marked this conversation as resolved.
Show resolved Hide resolved
Example:
</para>
<programlisting language="XML"><![CDATA[<recommends>
<input>touch</input> <!-- recommends touch input capability -->
</recommends>]]></programlisting>
</listitem>
</varlistentry>

<varlistentry>
<term>&lt;screen/&gt;</term>
<listitem>
<para>
Specifies a display diagonal size. Should specify the value and the unit (cm or in for centimeters or inches respectively).
Example:
</para>
<programlisting language="XML"><![CDATA[<requires>
<screen compare="ge">7in</screen> <!-- requires a 7 inch display at least-->
</requires>]]></programlisting>
</listitem>
</varlistentry>


</variablelist>
</listitem>