From 0a13609598138a856e552ca3f35ea2d6fa433865 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 20 May 2019 08:44:02 +0200 Subject: [PATCH] Add content_rating to AppData files At least building on Flathub makes presence of this information a hard requirement now (see and witness the failed ). The suggested way to calculate that information is via the form at , which I filled in as follows (the answers I selected are prefixed with "=>"): > By answering all the questions you can generate AppStream-compatible markup > for the upstream AppData file. > > If the user is able to "enable" NSFW or "adult" content, then this should be > included in the assessment even if it is turned off by default. > > What type of component are you generating content for: => Application that can connect to the Internet > OARS has multiple versions, and the newer versions include more questions > involving specific cultural and religious sensitivities. What version of OARS > metadata do you want to produce: => 1.0 (works with all clients) > Advertising > > Defined as the activity of producing advertisements for commercial products or > services. > > For example, this would include banners showing the Coca-Cola logo shown in a > Soccer game. => None > Gambling > > Defined as taking a risky action in the hope of a desired result. > > For example, this would include spinning a wheel to get in-app credits. => None > In-App Purchases > > Defined as items or points that a user can buy for use within a virtual world > to improve a character or enhance the playing experience. => None > Online Text-only Messaging > > Defined as any messaging system connected to the Internet. => None > Online Audio and Video Messaging > > Defined as any multimedia messaging system connected to the Internet. => None > Contact Details > > Defined as sharing identifiable details with other users to allow out-of-band > communication. => None > Information Sharing > > Defined as sharing information with a legal entity typically used for > advertising or for sending back diagnostic data. > > For example, this would include sending your purchasing history to Amazon. => None > Location Sharing > > Defined as sharing your physical real-time location. > > For example, this would include uploading the GPS co-ordinates of your current > location. NOTE: This does not include heuristic based location services, e.g. > GeoIP and others. => None > The following markup can be pasted into the existing application AppData file. > > Change-Id: I063484d8031892c20f88999c5a9beeae3666511c Reviewed-on: https://gerrit.libreoffice.org/72581 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- solenv/bin/assemble-flatpak.sh | 1 + sysui/desktop/appstream-appdata/libreoffice-base.appdata.xml | 1 + sysui/desktop/appstream-appdata/libreoffice-calc.appdata.xml | 1 + sysui/desktop/appstream-appdata/libreoffice-draw.appdata.xml | 1 + sysui/desktop/appstream-appdata/libreoffice-impress.appdata.xml | 1 + sysui/desktop/appstream-appdata/libreoffice-writer.appdata.xml | 1 + 6 files changed, 6 insertions(+) diff --git a/solenv/bin/assemble-flatpak.sh b/solenv/bin/assemble-flatpak.sh index 6c0734178662..b4bce2d4d172 100755 --- a/solenv/bin/assemble-flatpak.sh +++ b/solenv/bin/assemble-flatpak.sh @@ -142,6 +142,7 @@ cat </app/share/appdata/org.libreoffice.LibreOffice.appdata.xml ModernToolkit UserDocs + ModernToolkit UserDocs + diff --git a/sysui/desktop/appstream-appdata/libreoffice-calc.appdata.xml b/sysui/desktop/appstream-appdata/libreoffice-calc.appdata.xml index 6753773bcccb..8cf2755abe6a 100644 --- a/sysui/desktop/appstream-appdata/libreoffice-calc.appdata.xml +++ b/sysui/desktop/appstream-appdata/libreoffice-calc.appdata.xml @@ -43,4 +43,5 @@ worrying about compatibility. ModernToolkit UserDocs + diff --git a/sysui/desktop/appstream-appdata/libreoffice-draw.appdata.xml b/sysui/desktop/appstream-appdata/libreoffice-draw.appdata.xml index 3655e959cbc0..df2c93e2deee 100644 --- a/sysui/desktop/appstream-appdata/libreoffice-draw.appdata.xml +++ b/sysui/desktop/appstream-appdata/libreoffice-draw.appdata.xml @@ -48,4 +48,5 @@ worrying about compatibility. ModernToolkit UserDocs + diff --git a/sysui/desktop/appstream-appdata/libreoffice-impress.appdata.xml b/sysui/desktop/appstream-appdata/libreoffice-impress.appdata.xml index 23fdc1154e0e..ec6b4fb4c89b 100644 --- a/sysui/desktop/appstream-appdata/libreoffice-impress.appdata.xml +++ b/sysui/desktop/appstream-appdata/libreoffice-impress.appdata.xml @@ -44,4 +44,5 @@ worrying about compatibility. ModernToolkit UserDocs + diff --git a/sysui/desktop/appstream-appdata/libreoffice-writer.appdata.xml b/sysui/desktop/appstream-appdata/libreoffice-writer.appdata.xml index df0ce289a839..d6b10cff9e59 100644 --- a/sysui/desktop/appstream-appdata/libreoffice-writer.appdata.xml +++ b/sysui/desktop/appstream-appdata/libreoffice-writer.appdata.xml @@ -50,4 +50,5 @@ worrying about compatibility. ModernToolkit UserDocs +