[arch-commits] Commit in gnome-games/trunk (2 files)
Balló György
bgyorgy at archlinux.org
Wed Apr 17 16:40:01 UTC 2019
Date: Wednesday, April 17, 2019 @ 16:40:00
Author: bgyorgy
Revision: 451873
upgpkg: gnome-games 3.32.1-1
Update to new version
Modified:
gnome-games/trunk/PKGBUILD
Deleted:
gnome-games/trunk/Revert-gamepad-view-Stop-accessing-Rsvg.Handle-fields.patch
-------------------------------------------------------------+
PKGBUILD | 13 ---
Revert-gamepad-view-Stop-accessing-Rsvg.Handle-fields.patch | 43 ----------
2 files changed, 3 insertions(+), 53 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-04-17 16:36:11 UTC (rev 451872)
+++ PKGBUILD 2019-04-17 16:40:00 UTC (rev 451873)
@@ -2,7 +2,7 @@
# Contributor: Tom Richards <tom at tomrichards.net>
pkgname=gnome-games
-pkgver=3.32.0
+pkgver=3.32.1
pkgrel=1
pkgdesc='Simple game launcher for GNOME'
arch=('x86_64')
@@ -10,16 +10,9 @@
url='https://wiki.gnome.org/Apps/Games'
depends=('grilo' 'libhandy' 'libmanette' 'retro-gtk' 'tracker')
makedepends=('meson' 'vala')
-source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
- "Revert-gamepad-view-Stop-accessing-Rsvg.Handle-fields.patch")
-sha256sums=('be500607e5695b37d6c7a36a70c71ea886be1428302ffe3364d9d1ed6432b863'
- '4a9bc1b9247470e509e489eb51f8f1600ee581281779878a5df9fbbc2b7e73aa')
+source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz")
+sha256sums=('4b58fbb8ced2d7561ac4030d0dbab6d9509a1e8d1d85188a3941b89d4f0aa371')
-prepare() {
- cd $pkgname-$pkgver
- patch -Np1 -i ../Revert-gamepad-view-Stop-accessing-Rsvg.Handle-fields.patch
-}
-
build() {
arch-meson $pkgname-$pkgver build
ninja -C build
Deleted: Revert-gamepad-view-Stop-accessing-Rsvg.Handle-fields.patch
===================================================================
--- Revert-gamepad-view-Stop-accessing-Rsvg.Handle-fields.patch 2019-04-17 16:36:11 UTC (rev 451872)
+++ Revert-gamepad-view-Stop-accessing-Rsvg.Handle-fields.patch 2019-04-17 16:40:00 UTC (rev 451873)
@@ -1,43 +0,0 @@
-From: Jeremy Bicha <jbicha at debian.org>
-Date: Sun, 17 Mar 2019 08:46:34 -0400
-Subject: Revert "gamepad-view: Stop accessing Rsvg.Handle fields"
-
-This reverts commit 3c33d1aa3b2e177ed055e6865b3fc6229cf911d6.
----
- src/ui/gamepad-view.vala | 16 ++++------------
- 1 file changed, 4 insertions(+), 12 deletions(-)
-
-diff --git a/src/ui/gamepad-view.vala b/src/ui/gamepad-view.vala
-index 8649413..f917f78 100644
---- a/src/ui/gamepad-view.vala
-+++ b/src/ui/gamepad-view.vala
-@@ -26,11 +26,7 @@ private class Games.GamepadView : Gtk.DrawingArea {
- critical ("Could not set up gamepad view: %s", e.message);
- }
-
-- Rsvg.Rectangle rect = {};
-- if (!handle.get_geometry_sub (null, out rect, null))
-- assert_not_reached ();
--
-- set_size_request ((int) rect.width, (int) rect.height);
-+ set_size_request (handle.width, handle.height);
- input_highlights = new bool[value.input_paths.length];
-
- reset ();
-@@ -105,13 +101,9 @@ private class Games.GamepadView : Gtk.DrawingArea {
- double w = get_allocated_width ();
- double h = get_allocated_height ();
-
-- Rsvg.Rectangle rect = {};
-- if (!handle.get_geometry_sub (null, out rect, null))
-- assert_not_reached ();
--
-- scale = double.min (h / rect.height, w / rect.width);
-+ scale = double.min (h / handle.height, w / handle.width);
-
-- x = (w - rect.width * scale) / 2;
-- y = (h - rect.height * scale) / 2;
-+ x = (w - handle.width * scale) / 2;
-+ y = (h - handle.height * scale) / 2;
- }
- }
More information about the arch-commits
mailing list