From 2d4e8e001265e84dd1332407bb0017e037cdeeca Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 9 Jun 2020 11:07:54 +0100 Subject: [PATCH] gs-content-rating: Backport OARS/CSM mapping changes from appstream-glib MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a backport of commit 01e9ee8113 from appstream-glib: as-content-rating: Lower the OARS/CSM mapping of sex-homosexuality/intense This rationalises it with the OARS/CSM mapping of sex-themes/intense, and with many western societal norms. It is against the laws and morals of various western countries to discriminate on sexual orientation, so the mappings for sex-homosexuality/intense and sex-themes/intense should be the same. The mappings for the other values of sex-homosexuality and sex-themes remain different, as their descriptions aren’t as comparable (for example, for `mild`, the descriptions are “Indirect references to homosexuality” vs “Provocative references or descriptions”). The sex-homosexuality ratings category does need to continue to exist, though, as it’s illegal in some countries to *not* discriminate on sexual orientation. Those countries can provide and maintain their own OARS/age mappings. See https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/21. This issue is now being solved in appstream-glib as the content rating code has been moved there so it can be shared between malcontent and gnome-software. Signed-off-by: Philip Withnall Fixes: https://gitlab.freedesktop.org/pwithnall/malcontent/-/issues/21 --- libmalcontent-ui/gs-content-rating.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmalcontent-ui/gs-content-rating.c b/libmalcontent-ui/gs-content-rating.c index 8351501..ced6a92 100644 --- a/libmalcontent-ui/gs-content-rating.c +++ b/libmalcontent-ui/gs-content-rating.c @@ -567,7 +567,7 @@ static const struct { { "social-info", OARS_1_0, 0, 0, 13, 13 }, { "social-location", OARS_1_0, 0, 13, 13, 13 }, /* v1.1 additions */ - { "sex-homosexuality", OARS_1_1, 0, 10, 13, 18 }, + { "sex-homosexuality", OARS_1_1, 0, 10, 13, 15 }, { "sex-prostitution", OARS_1_1, 0, 12, 14, 18 }, { "sex-adultery", OARS_1_1, 0, 8, 10, 18 }, { "sex-appearance", OARS_1_1, 0, 10, 10, 15 },