Mageia Bugzilla – Attachment 8510 Details for
Bug 19498
mcc doesn't start on Wayland ("No protocol specified")
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
fix checking for Wayland (mga#19498)
0001-fix-checking-for-Wayland-mga-19498.patch (text/plain), 787 bytes, created by
Thierry Vignaud
on 2016-10-09 16:57:17 CEST
(
hide
)
Description:
fix checking for Wayland (mga#19498)
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2016-10-09 16:57:17 CEST
Size:
787 bytes
patch
obsolete
>From f06163b3d91c955dfef66c9a8300c316073fca7e Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Sun, 9 Oct 2016 16:55:51 +0200 >Subject: [PATCH] fix checking for Wayland (mga#19498) > >--- > perl-install/common.pm | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/perl-install/common.pm b/perl-install/common.pm >index ddffb53..83ce5f9 100644 >--- a/perl-install/common.pm >+++ b/perl-install/common.pm >@@ -608,8 +608,9 @@ sub check_for_xserver() { > if (!defined $::xtest) { > $::xtest = 0; > eval { >- require xf86misc::main; >- $::xtest = xf86misc::main::Xtest($ENV{DISPLAY}); >+ require Gtk3; >+ Gtk3->import; >+ $::xtest = Gtk3::init_check(); > } if $ENV{DISPLAY}; > } > return $::xtest; >-- >2.10.1 >
From f06163b3d91c955dfef66c9a8300c316073fca7e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Sun, 9 Oct 2016 16:55:51 +0200 Subject: [PATCH] fix checking for Wayland (mga#19498) --- perl-install/common.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/perl-install/common.pm b/perl-install/common.pm index ddffb53..83ce5f9 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -608,8 +608,9 @@ sub check_for_xserver() { if (!defined $::xtest) { $::xtest = 0; eval { - require xf86misc::main; - $::xtest = xf86misc::main::Xtest($ENV{DISPLAY}); + require Gtk3; + Gtk3->import; + $::xtest = Gtk3::init_check(); } if $ENV{DISPLAY}; } return $::xtest; -- 2.10.1
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19498
: 8510 |
8792