LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-03-2019, 02:45 PM   #1
trite
Member
 
Registered: Feb 2016
Location: Sweden
Distribution: Slackware64-current
Posts: 74

Rep: Reputation: 52
-current and Lutris 0.5.0.1


Code:
$ lutris
Traceback (most recent call last):
  File "/usr/bin/lutris", line 31, in <module>
    from lutris.gui.application import Application
  File "/usr/lib/python3.7/site-packages/lutris/gui/application.py", line 30, in <module>
    gi.require_version("GnomeDesktop", "3.0")
  File "/usr/lib/python3.7/site-packages/gi/__init__.py", line 129, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace GnomeDesktop not available

https://github.com/lutris/lutris/issues/1679

This.

Just removed all the calls for GnomeDesktop and WebKit2, then switched places on LegacyDisplayManager() and DisplayManager(). Anyone know any better solution?

I dont know how to get the same as these ones which seems to be the ones for debian.
Code:
gir1.2-gnomedesktop-3.0
gir1.2-webkit2-4.0

At least it runs now.

Maybe I will try some deb2tgz thingy later on and see if it works.

Last edited by trite; 02-04-2019 at 06:01 AM.
 
Old 02-08-2019, 10:40 AM   #2
trite
Member
 
Registered: Feb 2016
Location: Sweden
Distribution: Slackware64-current
Posts: 74

Original Poster
Rep: Reputation: 52
Installed these, not all of them are needed because I just took a chance with some:
Code:
gir1.2-gdesktopenums-3.0_3.22.0-1_amd64.deb
gir1.2-gdkpixbuf-2.0_2.36.5-2+deb9u2_amd64.deb
gir1.2-gnomedesktop-3.0_3.22.2-1_amd64.deb
gir1.2-gtk-3.0_3.22.11-1_amd64.deb
gir1.2-javascriptcoregtk-4.0_2.18.6-1~deb9u1_amd64.deb
gir1.2-soup-2.4_2.56.0-2+deb9u2_amd64.deb
gir1.2-webkit2-4.0_2.18.6-1~deb9u1_amd64.deb
libgdk-pixbuf2.0-0_2.36.5-2+deb9u2_amd64.deb
libgirepository-1.0-1_1.50.0-1+b1_amd64.deb
libgnome-desktop-3-12_3.22.2-1_amd64.deb
Now its stuck on this:
Code:
bash-5.0$ lutris
Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/lutris/gui/application.py", line 174, in do_activate
    if not self.window:
AttributeError: 'Application' object has no attribute 'window'
Segmentation fault (core dumped)

The only thing I can think of now is to check dependencies for all the .deb I installed and try to continue. But it feels like I'll more or less end up with a debian system if I even get it to work.

...bleh, ideas?

*edit* tbh I thinks the most effortless way to make it run is to comment out tose lines in the py for GnomeDesktop and Webkit2 since it doesnt seem to affect lutris other than for GoG and some Gnome display thingy?.

nope, it became unstabble unable to open properties of a game. back to 0.4.23

Last edited by trite; 02-09-2019 at 09:40 AM.
 
Old 03-24-2019, 04:18 AM   #3
gbschenkel
LQ Newbie
 
Registered: Nov 2010
Location: Porto Alegre, RS - Brazil
Distribution: Slackware64-current & Proxmox
Posts: 16

Rep: Reputation: 8
I manage to built it.

You will need the package gnome-desktop(which are in my repo) and the webkitgtk from sbo. The webkitgtk have a few dependencies, I hope you use sbopkg to handle it. I didn't have time to check the webkitgtk and dependencies versions if are up-to-date.

https://gitlab.com/gbschenkel/slackbuilds
 
2 members found this post helpful.
Old 04-19-2019, 08:29 AM   #4
ReFracture
Member
 
Registered: Oct 2007
Location: Utah
Distribution: Slackware-current
Posts: 98

Rep: Reputation: 137Reputation: 137
As usual I find my answer here on LQ.. thanks gbschenkel. Lutris 0.5 has been a real adventure to get working, I was happy to be able to find a pre compiled package for webkitgtk (took the better part of a day last time to compile that..) so I could compile gnome-desktop, but Lutris itself needed webkit2gtk in order to run.. that one took a while to compile, but Lutris is running now.
 
1 members found this post helpful.
Old 04-19-2019, 11:29 PM   #5
gbschenkel
LQ Newbie
 
Registered: Nov 2010
Location: Porto Alegre, RS - Brazil
Distribution: Slackware64-current & Proxmox
Posts: 16

Rep: Reputation: 8
Sorry, my link for gnome-desktop was pointing to a branch which I renamed. It only work on current, for 14.2 I manage to built a old package, 3.18 I think but I need check if it will work with Lutris, didn't have time.

https://gitlab.com/gbschenkel/slackb.../gnome-desktop

https://gitlab.com/gbschenkel/slackb...t/games/lutris

Last edited by gbschenkel; 04-19-2019 at 11:30 PM.
 
1 members found this post helpful.
Old 04-22-2019, 11:14 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,555

Rep: Reputation: 4265Reputation: 4265Reputation: 4265Reputation: 4265Reputation: 4265Reputation: 4265Reputation: 4265Reputation: 4265Reputation: 4265Reputation: 4265Reputation: 4265
I ended up reinventing all this because I didn't check the forum. Here's my Lutris 5 SlackBuild for -current:

https://github.com/duganchen/my_slac...ris.SlackBuild

Goes well with my Winetricks SlackBuild. Just make sure you have zenity (which really should be shipped with Slackware) installed.

vhttps://github.com/duganchen/my_slackbuilds/blob/master/winetricks.SlackBuild

Last edited by dugan; 04-22-2019 at 11:15 PM.
 
1 members found this post helpful.
Old 03-01-2020, 01:06 AM   #7
gbschenkel
LQ Newbie
 
Registered: Nov 2010
Location: Porto Alegre, RS - Brazil
Distribution: Slackware64-current & Proxmox
Posts: 16

Rep: Reputation: 8
Lutris 0.5.4 is borked, use my lutris-git for latest version of Lutris on Current-PAM.

https://gitlab.com/gbschenkel/slackb...es/lutris-git/
 
1 members found this post helpful.
Old 03-20-2020, 01:04 PM   #8
414N
Member
 
Registered: Sep 2011
Location: Italy
Distribution: Slackware
Posts: 638

Rep: Reputation: 186Reputation: 186
Quote:
Originally Posted by gbschenkel View Post
Sorry, my link for gnome-desktop was pointing to a branch which I renamed. It only work on current, for 14.2 I manage to built a old package, 3.18 I think but I need check if it will work with Lutris, didn't have time.

https://gitlab.com/gbschenkel/slackb.../gnome-desktop

https://gitlab.com/gbschenkel/slackb...t/games/lutris
I managed to get it to compile on 14.2 by using this patch that lowers version requirements in the meson.build file:
Code:
--- a/meson.build
+++ b/meson.build
@@ -17,11 +17,11 @@
 libversion = '19.0.2'
 soversion = libversion.split('.')[0]
 
-gdk_pixbuf_req = '>= 2.36.5'
+gdk_pixbuf_req = '>= 2.30.0'
 gtk_req = '>= 3.3.6'
-glib_req = '>= 2.53.0'
+glib_req = '>= 2.20.0'
 xrandr_req = '>= 1.3'
-schemas_req = '>= 3.27.0'
+schemas_req = '>= 3.15.0'
 xext_req = '>= 1.1'
 
 gnome = import('gnome')
After building the webkit2gtk package from SBo, Lutris 0.5.4 seems to be running fine now.
 
Old 03-23-2020, 01:21 PM   #9
Nille_kungen
Member
 
Registered: Jul 2005
Distribution: Slackware64-current
Posts: 548

Rep: Reputation: 187Reputation: 187
If anyone run current then they need to patch Lutris 0.5.4 or use git master.
https://github.com/lutris/lutris/issues/2669
 
2 members found this post helpful.
Old 03-25-2020, 08:08 PM   #10
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 158

Rep: Reputation: 28
Here's the patch Nille_kungen referred to, if anybody wants it:

Code:
--- lutris/gui/views/store.py   2020-03-25 19:57:38.018444041 -0500
+++ lutris/gui/views/store.py   2020-03-25 20:00:25.599428529 -0500
@@ -130,7 +130,11 @@
         self.prevent_sort_update = False  # prevent recursion with signals
         self.modelfilter = self.store.filter_new()
         self.modelfilter.set_visible_func(self.filter_view)
-        self.modelsort = Gtk.TreeModelSort.sort_new_with_model(self.modelfilter)
+        try:
+            self.modelsort = Gtk.TreeModelSort.sort_new_with_model(self.modelfilter)
+        except AttributeError:
+            # Apparently some API breaking changes on GTK minor versions.
+            self.modelsort = Gtk.TreeModelSort.new_with_model(self.modelfilter)
         self.modelsort.connect("sort-column-changed", self.on_sort_column_changed)
         self.modelsort.set_sort_func(sort_col, sort_func, sort_col)
         self.sort_view(sort_key, sort_ascending)

Last edited by Spinlock; 03-25-2020 at 08:09 PM. Reason: Code tag
 
Old 04-01-2020, 08:48 PM   #11
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 158

Rep: Reputation: 28
Lutris 0.5.5 is out and includes this fix.
 
1 members found this post helpful.
Old 04-02-2020, 07:16 AM   #12
gbschenkel
LQ Newbie
 
Registered: Nov 2010
Location: Porto Alegre, RS - Brazil
Distribution: Slackware64-current & Proxmox
Posts: 16

Rep: Reputation: 8
Quote:
Originally Posted by Spinlock View Post
Lutris 0.5.5 is out and includes this fix.
https://gitlab.com/gbschenkel/slackb...t/games/lutris
 
2 members found this post helpful.
Old 04-11-2020, 11:14 PM   #13
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 2,756

Rep: Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875Reputation: 2875
UPDATE - Although I still have my modded 14.2 install, for the past week I've been working with the latest -Current w/ KTown. I'm using kernel 5.5.12 and nVidia-64-440.82 and DXVK v1.6 and it runs REALLY great... I'm even getting better framerates in Dalaran on Wow-3.3.5a and it looks better too.

Incidentally dugan's wine-staging script built a great working package for Wine-Stagiung 5.5 and tonight I'll try for 5.6.... and maybe Lutris.
 
Old 04-22-2020, 09:43 PM   #14
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 145

Rep: Reputation: Disabled
i built wekkit2gtk today on current

1-libseccomp
2-gnome-desktop
3-libwpe
4-wpebackend-fdo
5-xdg-dbus-proxy
6-bubblewrap
7-enchant2
8-webkit2gtk
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Install And Play Overwatch With Lutris On Ubuntu 18.04 LXer Syndicated Linux News 0 06-29-2018 09:00 AM
LXer: Play Hearthstone On Linux With Lutris LXer Syndicated Linux News 0 06-22-2018 03:00 PM
Problem with The Sims 2 and Lutris flyingchicken95 Linux - Software 1 06-18-2018 09:01 AM
LXer: Manage Your Linux Game Library With Lutris LXer Syndicated Linux News 0 07-18-2017 05:54 AM
LXer: Lutris: A New Universal Gaming Platform for Linux is in Development LXer Syndicated Linux News 3 01-15-2011 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration