From 0cd667480bcea9b120ef9d0ba9bf74fda6f556b1 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez <ruben@trisquel.info> Date: Sun, 1 Apr 2018 01:02:58 -0400 Subject: [PATCH] Added support for mate on orca startup system --- helpers/make-gnome-orca | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/helpers/make-gnome-orca b/helpers/make-gnome-orca index ccc75dec..5954562a 100644 --- a/helpers/make-gnome-orca +++ b/helpers/make-gnome-orca @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2017 Ruben Rodriguez <ruben@trisquel.info> +# Copyright (C) 2017-2018 Ruben Rodriguez <ruben@trisquel.info> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,12 +17,29 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -VERSION=1 -EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu zesty universe' +VERSION=2 +EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu artful universe' . ./config -changelog "Backported from zesty" +cat << EOF | patch -p1 +--- a/src/orca/orca.py 2015-11-09 09:07:53.000000000 -0500 ++++ b/src/orca/orca.py 2018-04-01 00:57:01.426307608 -0400 +@@ -40,7 +40,10 @@ + + try: + from gi.repository.Gio import Settings +- a11yAppSettings = Settings(schema_id='org.gnome.desktop.a11y.applications') ++ if os.environ['XDG_SESSION_DESKTOP'] == 'mate': ++ a11yAppSettings = Settings(schema_id='org.mate.applications-at') ++ else: ++ a11yAppSettings = Settings(schema_id='org.gnome.desktop.a11y.applications') + except: + a11yAppSettings = None + +EOF + +changelog "Backported from zesty, added support for mate" compile -- GitLab