Hello community, here is the log from the commit of package celluloid for openSUSE:Factory checked in at 2019-10-12 22:37:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/celluloid (Old) and /work/SRC/openSUSE:Factory/.celluloid.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "celluloid" Sat Oct 12 22:37:17 2019 rev:2 rq:737523 version:0.17 Changes: -------- --- /work/SRC/openSUSE:Factory/celluloid/celluloid.changes 2019-08-13 13:16:25.845489509 +0200 +++ /work/SRC/openSUSE:Factory/.celluloid.new.2352/celluloid.changes 2019-10-12 22:37:20.802608031 +0200 @@ -1,0 +2,7 @@ +Fri Oct 11 13:39:32 UTC 2019 - Ismail Dönmez <[email protected]> + +- Add 6fca3f16616f4f46c1647fe4610e57c8c9ae74ff.patch from upstream + to fix a crash with the new libmpv. +- Depend on gettext instead of gettext-runtime-mini to fix TW build + +------------------------------------------------------------------- New: ---- 6fca3f16616f4f46c1647fe4610e57c8c9ae74ff.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ celluloid.spec ++++++ --- /var/tmp/diff_new_pack.vcg94k/_old 2019-10-12 22:37:21.426606444 +0200 +++ /var/tmp/diff_new_pack.vcg94k/_new 2019-10-12 22:37:21.430606434 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define _name io.github.celluloid_player.Celluloid Name: celluloid Version: 0.17 @@ -24,7 +25,8 @@ Group: Productivity/Multimedia/Video/Players URL: https://celluloid-player.github.io/ Source: https://github.com/celluloid-player/celluloid/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: gettext-runtime-mini >= 0.19.7 +Patch1: 6fca3f16616f4f46c1647fe4610e57c8c9ae74ff.patch +BuildRequires: gettext >= 0.19.7 BuildRequires: hicolor-icon-theme BuildRequires: intltool >= 0.40.6 BuildRequires: meson >= 0.40.0 @@ -48,6 +50,7 @@ %prep %setup -q +%autopatch -p1 %build %meson ++++++ 6fca3f16616f4f46c1647fe4610e57c8c9ae74ff.patch ++++++ >From 6fca3f16616f4f46c1647fe4610e57c8c9ae74ff Mon Sep 17 00:00:00 2001 From: gnome-mpv <gnome-mpv@nowhere> Date: Fri, 20 Sep 2019 21:39:46 +0700 Subject: [PATCH] model: Work around mpv crash when running keyup command without arguments Fixes #468. Fixes #471. --- src/celluloid-model.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/celluloid-model.c b/src/celluloid-model.c index 4e0e240..52e6a7f 100644 --- a/src/celluloid-model.c +++ b/src/celluloid-model.c @@ -803,7 +803,9 @@ celluloid_model_key_press(CelluloidModel *model, const gchar* keystr) void celluloid_model_reset_keys(CelluloidModel *model) { - const gchar *cmd[] = {"keyup", NULL}; + // As of Sep 20, 2019, mpv will crash if the command doesn't have any + // arguments. The empty string is there to work around the issue. + const gchar *cmd[] = {"keyup", "", NULL}; g_debug("Sent global key up to mpv"); celluloid_mpv_command_async(CELLULOID_MPV(model), cmd);
