[arch-commits] Commit in gnome-games/repos/community-x86_64 (3 files)

Balló György bgyorgy at archlinux.org
Wed Apr 17 16:40:05 UTC 2019


    Date: Wednesday, April 17, 2019 @ 16:40:04
  Author: bgyorgy
Revision: 451874

archrelease: copy trunk to community-x86_64

Added:
  gnome-games/repos/community-x86_64/PKGBUILD
    (from rev 451873, gnome-games/trunk/PKGBUILD)
Deleted:
  gnome-games/repos/community-x86_64/PKGBUILD
  gnome-games/repos/community-x86_64/Revert-gamepad-view-Stop-accessing-Rsvg.Handle-fields.patch

-------------------------------------------------------------+
 PKGBUILD                                                    |   53 ++++------
 Revert-gamepad-view-Stop-accessing-Rsvg.Handle-fields.patch |   43 --------
 2 files changed, 23 insertions(+), 73 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-17 16:40:00 UTC (rev 451873)
+++ PKGBUILD	2019-04-17 16:40:04 UTC (rev 451874)
@@ -1,30 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-# Contributor: Tom Richards <tom at tomrichards.net>
-
-pkgname=gnome-games
-pkgver=3.32.0
-pkgrel=1
-pkgdesc='Simple game launcher for GNOME'
-arch=('x86_64')
-license=('GPL3')
-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')
-
-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
-}
-
-package() {
-  DESTDIR="$pkgdir" meson install -C build
-}

Copied: gnome-games/repos/community-x86_64/PKGBUILD (from rev 451873, gnome-games/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-17 16:40:04 UTC (rev 451874)
@@ -0,0 +1,23 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Tom Richards <tom at tomrichards.net>
+
+pkgname=gnome-games
+pkgver=3.32.1
+pkgrel=1
+pkgdesc='Simple game launcher for GNOME'
+arch=('x86_64')
+license=('GPL3')
+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")
+sha256sums=('4b58fbb8ced2d7561ac4030d0dbab6d9509a1e8d1d85188a3941b89d4f0aa371')
+
+build() {
+  arch-meson $pkgname-$pkgver build
+  ninja -C build
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -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:40:00 UTC (rev 451873)
+++ Revert-gamepad-view-Stop-accessing-Rsvg.Handle-fields.patch	2019-04-17 16:40:04 UTC (rev 451874)
@@ -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