Commit 4055531b authored by Vitezslav Humpa's avatar Vitezslav Humpa

Update headless-next and bump development specfile

parent b88a087e
Pipeline #223693194 failed with stages
in 0 seconds
......@@ -5,7 +5,7 @@
Summary: GUI test tool and automation framework
Name: dogtail
Version: 1.0.0
Release: 0.7.aea8065e%{?dist}
Release: 0.8.aea8065e%{?dist}
License: GPLv2
URL: https://gitlab.com/dogtail/dogtail/
Source0: https://gitlab.com/dogtail/dogtail/raw/released/%{name}-%{version}.tar.gz
......@@ -58,7 +58,7 @@ Requires: python3-gobject
Requires: python3-cairo
Requires: xorg-x11-xinit
Requires: hicolor-icon-theme
Requires: python3-dogtail >= 0.10.0
Requires: python3-dogtail >= 1.0.0
%description -n python3-dogtail-scripts
GUI test tool and automation framework that uses assistive technologies to
......
......@@ -181,7 +181,8 @@ class DisplayManagerSession:
if force_xorg:
config.set(self.options["section"], "WaylandEnable", "false")
else:
config.set(self.options["section"], "WaylandEnable", "true")
pass
#config.set(self.options["section"], "WaylandEnable", "true")
else:
config.remove_option(
self.options["section"], self.options["enable"])
......@@ -201,7 +202,7 @@ class DisplayManagerSession:
except Exception:
pass
subprocess.Popen("echo 'export QT_ACCESSIBILITY=1' > ~/.kde/env/qt-at-spi.sh",
subprocess.Popen("echo 'export QT_ACCESSIBILITY=1' > ~/.kde/env/qt-at-spi.sh",
shell=True).wait()
if self.display_manager == "gdm":
......@@ -448,6 +449,13 @@ def main():
script = Script(script_command_list)
if os.path.isfile('/tmp/headless_enable_fatal_criticals'):
os.environ['G_DEBUG'] = 'fatal-criticals'
# fatal_wanings has bigger priority than criticals, so will ovewrite the variable should both be set
if os.path.isfile('/tmp/headless_enable_fatal_warnings'):
os.environ['G_DEBUG'] = 'fatal-warnings'
script_process_id = script.start()
print("dogtail-run-headless-next: Started the script with PID %d" % (script_process_id))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment