From 9e7d9e844f2067ce28092e9d996a4ab6dbabc46f Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Fri, 13 Oct 2017 15:19:29 +0300 Subject: [PATCH 1/2] spec: Clarify some icon details in the collection data --- docs/sources/collection/xmldata.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/collection/xmldata.xml b/docs/sources/collection/xmldata.xml index 0052b8ae..720baa50 100644 --- a/docs/sources/collection/xmldata.xml +++ b/docs/sources/collection/xmldata.xml @@ -283,8 +283,8 @@ This icon type may have width and height properties. - remote icons loaded from a remote URL. Currently, at least HTTP urls must be supported. - This icon type may have width and height properties. + remote icons loaded from a remote URL. Currently, only HTTP urls are supported. + This icon type should have width and height properties. Examples of the different methods to specify an icon: From 388fedcd3453902331841f4300eef3c55aa5eea5 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Tue, 19 Sep 2017 14:24:12 +0300 Subject: [PATCH 2/2] spec: Allow tags in generic components And not just in the collection metadata. This way, components of type "service" and any other other component can specify icons upstream in a standardized way. --- docs/sources/metainfo/component.xml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/sources/metainfo/component.xml b/docs/sources/metainfo/component.xml index b8d958a6..157ebb97 100644 --- a/docs/sources/metainfo/component.xml +++ b/docs/sources/metainfo/component.xml @@ -143,6 +143,30 @@ + + <icon/> + + + The <icon/> tag describes the component icon. It is mostly used for GUI applications (component-type desktop-application). + It can be of the type stock, local, + or url. + + + stock icons are loaded from stock. The icon name should never include any file-extension or path. + + + local icons are loaded from a file in the filesystem. + They should specify a full file path. + This icon type may have width and height + properties. + + + remote icons loaded from a remote URL. Currently, only HTTP urls are supported. + This icon type should have width and height properties. + + + + <description/>