From 24e2803f23981e7951ff15dd22f3ea0ffdc7d844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 13 Oct 2019 20:44:06 +0200 Subject: [PATCH] swell-foop: fix crash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Next version will have the fix also. Signed-off-by: Jürgen Buchmüller --- srcpkgs/swell-foop/patches/pivot_point.patch | 32 ++++++++++++++++++++ srcpkgs/swell-foop/template | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/swell-foop/patches/pivot_point.patch diff --git a/srcpkgs/swell-foop/patches/pivot_point.patch b/srcpkgs/swell-foop/patches/pivot_point.patch new file mode 100644 index 00000000000..9ff27d5f40c --- /dev/null +++ b/srcpkgs/swell-foop/patches/pivot_point.patch @@ -0,0 +1,32 @@ +--- src/game-view.vala 2019-09-09 21:09:07.000000000 +0200 ++++ src/game-view.vala 2019-10-13 20:40:46.515571474 +0200 +@@ -398,8 +398,7 @@ + + set_content_gravity (Clutter.ContentGravity.CENTER); + +- pivot_point.x = 0.5f; +- pivot_point.y = 0.5f; ++ set_pivot_point (0.5f, 0.5f); + } + + /* Destroy the tile */ +@@ -438,8 +437,7 @@ + + set_content_gravity (Clutter.ContentGravity.CENTER); + +- pivot_point.x = 0.5f; +- pivot_point.y = 0.5f; ++ set_pivot_point (0.5f, 0.5f); + } + } + +@@ -460,8 +458,7 @@ + + add_child (label); + +- pivot_point.x = 0.5f; +- pivot_point.y = 0.5f; ++ set_pivot_point (0.5f, 0.5f); + + this.scene_width = (float) width; + this.scene_height = (float) height; diff --git a/srcpkgs/swell-foop/template b/srcpkgs/swell-foop/template index 797146fb72c..1ff5ae68311 100644 --- a/srcpkgs/swell-foop/template +++ b/srcpkgs/swell-foop/template @@ -1,7 +1,7 @@ # Template file for 'swell-foop' pkgname=swell-foop version=3.34.0 -revision=1 +revision=2 build_style=meson hostmakedepends="glib-devel itstool pkg-config vala" makedepends="clutter-gtk-devel"