[arch-commits] Commit in lutris/repos/community-any (3 files)

Filipe Laíns ffy00 at archlinux.org
Tue Nov 19 10:01:26 UTC 2019


    Date: Tuesday, November 19, 2019 @ 10:01:26
  Author: ffy00
Revision: 530414

archrelease: copy trunk to community-any

Added:
  lutris/repos/community-any/PKGBUILD
    (from rev 530413, lutris/trunk/PKGBUILD)
  lutris/repos/community-any/revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch
    (from rev 530413, lutris/trunk/revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch)
Deleted:
  lutris/repos/community-any/PKGBUILD

-------------------------------------------------------+
 PKGBUILD                                              |   97 ++++++++--------
 revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch |   42 ++++++
 2 files changed, 91 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-19 10:01:11 UTC (rev 530413)
+++ PKGBUILD	2019-11-19 10:01:26 UTC (rev 530414)
@@ -1,48 +0,0 @@
-# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
-# Contributor: Frederik “Freso” S. Olesen <freso.dk at gmail.com>
-# Contributor: Maxime Gauduin <alucryd at archlinux.org>
-
-pkgname=lutris
-pkgver=0.5.3
-pkgrel=3
-pkgdesc='Open Gaming Platform'
-arch=('any')
-url='https://lutris.net'
-license=('GPL3')
-depends=('python-gobject' 'python-yaml' 'python-evdev' 'gtk3' 'glib2' 'psmisc' 'cabextract' 'unzip' 'p7zip' 'curl' 'xorg-xrandr'
-         'python-pillow' 'python-requests' 'gnome-desktop' 'webkit2gtk' 'gvfs' 'mesa-demos')
-makedepends=('python-setuptools')
-checkdepends=('xorg-server-xvfb' 'python-nose-cover3' 'wine' 'xterm')
-optdepends=('wine: Windows support'
-            'vulkan-icd-loader: Vulkan support'
-            'lib32-vulkan-icd-loader: Vulkan support')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/lutris/lutris/archive/v$pkgver.tar.gz"
-        'fix-python3.8.patch::https://github.com/lutris/lutris/commit/2f7c3b1aefc96608d814e2ad37b6c49c687fae1b.patch')
-sha512sums=('c48be1cf1efada290847d86876dae40346142b041119e6c6733e41e27c0277771647992e5475bfa3a71b639a0d9ff2e2ca3527612cc1a723aa0bac46960606c9'
-            '279fa1d9868642f5a3679db3ad0252b197a7907fae61d68bd7ce2bf42636f11e0ba0bfa1f94df068efd7b45571c2a38751b66c7cb28acdff9e162a33f3337978')
-
-prepare() {
-  cd $pkgname-$pkgver
-
-  patch -p1 < ../fix-python3.8.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-
-  python setup.py build
-}
-
-check() {
-  cd $pkgname-$pkgver
-
-  xvfb-run nosetests --cover-erase --with-xunit --xunit-file=nosetests.xml --with-coverage --cover-package=lutris --cover-xml-file=coverage.xml
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-

Copied: lutris/repos/community-any/PKGBUILD (from rev 530413, lutris/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-11-19 10:01:26 UTC (rev 530414)
@@ -0,0 +1,49 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+# Contributor: Frederik “Freso” S. Olesen <freso.dk at gmail.com>
+# Contributor: Maxime Gauduin <alucryd at archlinux.org>
+
+pkgname=lutris
+_commit=a31a0a4116d883c3d68fd355f281214de79a9afa
+pkgver=0.5.3.r5660.a31a0a4
+pkgrel=1
+pkgdesc='Open Gaming Platform'
+arch=('any')
+url='https://lutris.net'
+license=('GPL3')
+depends=('python-gobject' 'python-yaml' 'python-evdev' 'gtk3' 'glib2' 'psmisc' 'cabextract' 'unzip' 'p7zip' 'curl' 'xorg-xrandr'
+         'python-pillow' 'python-requests' 'gnome-desktop' 'webkit2gtk' 'gvfs' 'mesa-demos')
+makedepends=('python-setuptools')
+checkdepends=('xorg-server-xvfb' 'python-nose-cover3' 'wine' 'xterm')
+optdepends=('wine: Windows support'
+            'vulkan-icd-loader: Vulkan support'
+            'lib32-vulkan-icd-loader: Vulkan support')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/lutris/lutris/archive/$_commit.tar.gz"
+        'revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch')
+sha512sums=('d989b8f3e1631c6b82908b50f1083f5a6597893dee4a25b1509c6ba923fd4b589d74113972bdcba7bc2340cad596812401d1fe04d7999b458a5e5cb3b83ffcae'
+            'fb7210948a6409babe38572e3d82a6afcf7b424ecf8c404c922ff3ef3d2a458d4be730e9ee2779005f3b93fa298654749840e808087cf0524c29217985fafc58')
+
+prepare() {
+  cd $pkgname-$_commit
+
+  patch -p1 < ../revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch
+}
+
+build() {
+  cd $pkgname-$_commit
+
+  python setup.py build
+}
+
+check() {
+  cd $pkgname-$_commit
+
+  xvfb-run nosetests --cover-erase --with-xunit --xunit-file=nosetests.xml --with-coverage --cover-package=lutris --cover-xml-file=coverage.xml
+}
+
+package() {
+  cd $pkgname-$_commit
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+

Copied: lutris/repos/community-any/revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch (from rev 530413, lutris/trunk/revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch)
===================================================================
--- revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch	                        (rev 0)
+++ revert-47ecc419498abf127ee657fbc83bc313c883cb44.patch	2019-11-19 10:01:26 UTC (rev 530414)
@@ -0,0 +1,42 @@
+commit ae320ae1b6735e475ea49ce08dadaf332fedcfb6
+Author: Filipe Laíns <lains at archlinux.org>
+Date:   Tue Nov 19 09:45:23 2019 +0000
+
+    Revert "Do not change selection when a game is updated (Closes #2144)"
+    
+    This reverts commit 47ecc419498abf127ee657fbc83bc313c883cb44.
+    
+    Signed-off-by: Filipe Laíns <lains at archlinux.org>
+
+diff --git a/lutris/gui/lutriswindow.py b/lutris/gui/lutriswindow.py
+index 9dfe092b..fbb3865d 100644
+--- a/lutris/gui/lutriswindow.py
++++ b/lutris/gui/lutriswindow.py
+@@ -727,6 +727,10 @@ class LutrisWindow(Gtk.ApplicationWindow):
+             self.game_store.update_game_by_id(game.id)
+         except ValueError:
+             self.game_store.add_game_by_id(game.id)
++
++        self.view.set_selected_game(game.id)
++        if game.is_installed:
++            self.game_selection_changed(None, game)
+         return True
+ 
+     def on_search_games_fire(self, value):
+diff --git a/lutris/gui/views/grid.py b/lutris/gui/views/grid.py
+index 7ea802cb..3cec9c19 100644
+--- a/lutris/gui/views/grid.py
++++ b/lutris/gui/views/grid.py
+@@ -1,4 +1,3 @@
+-"""Grid view for the main window"""
+ # pylint: disable=no-member
+ from gi.repository import Gtk
+ from lutris.gui.views.base import GameView
+@@ -45,7 +44,6 @@ class GameGridView(Gtk.IconView, GameView):
+         return self.get_model().get_iter(self.current_path)
+ 
+     def set_selected_game(self, game_id):
+-        """Select a game referenced by its ID in the view"""
+         row = self.game_store.get_row_by_id(game_id, filtered=True)
+         if row:
+             self.select_path(row.path)



More information about the arch-commits mailing list