LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   -current and Lutris 0.5.0.1 (https://www.linuxquestions.org/questions/slackware-14/current-and-lutris-0-5-0-1-a-4175647567/)

trite 02-03-2019 02:45 PM

-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.

trite 02-08-2019 10:40 AM

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

gbschenkel 03-24-2019 04:18 AM

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

ReFracture 04-19-2019 08:29 AM

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.

gbschenkel 04-19-2019 11:29 PM

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

dugan 04-22-2019 11:14 PM

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

gbschenkel 03-01-2020 01:06 AM

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/

414N 03-20-2020 01:04 PM

Quote:

Originally Posted by gbschenkel (Post 5986849)
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.

Nille_kungen 03-23-2020 01:21 PM

If anyone run current then they need to patch Lutris 0.5.4 or use git master.
https://github.com/lutris/lutris/issues/2669

Spinlock 03-25-2020 08:08 PM

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)


Spinlock 04-01-2020 08:48 PM

Lutris 0.5.5 is out and includes this fix.

gbschenkel 04-02-2020 07:16 AM

Quote:

Originally Posted by Spinlock (Post 6106829)
Lutris 0.5.5 is out and includes this fix.

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

enorbet 04-11-2020 11:14 PM

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.

Candelabrus 04-22-2020 09:43 PM

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


All times are GMT -5. The time now is 07:51 AM.