Update to 0.18.

el8
Vasiliy Glazov 5 years ago
parent 327706e5bd
commit c9717b2824

1
.gitignore vendored

@ -1 +1,2 @@
/celluloid-0.17.tar.xz /celluloid-0.17.tar.xz
/celluloid-0.18.tar.xz

@ -1,27 +0,0 @@
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);

@ -1,12 +1,11 @@
Name: celluloid Name: celluloid
Version: 0.17 Version: 0.18
Release: 2%{?dist} Release: 1%{?dist}
Summary: A simple GTK+ frontend for mpv Summary: A simple GTK+ frontend for mpv
License: GPLv3+ License: GPLv3+
URL: https://github.com/celluloid-player/celluloid URL: https://github.com/celluloid-player/celluloid
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
Patch0: 6fca3f16616f4f46c1647fe4610e57c8c9ae74ff.patch
BuildRequires: gcc BuildRequires: gcc
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -57,6 +56,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/io.github.celluloid_p
%{_mandir}/man1/%{name}.1.* %{_mandir}/man1/%{name}.1.*
%changelog %changelog
* Tue Nov 05 2019 Vasiliy N. Glazov <vascom2@gmail.com> - 0.18-1
- Update to 0.18
* Mon Sep 23 2019 Vasiliy N. Glazov <vascom2@gmail.com> - 0.17-2 * Mon Sep 23 2019 Vasiliy N. Glazov <vascom2@gmail.com> - 0.17-2
- Fix crash #5392 - Fix crash #5392

@ -1 +1 @@
142e6dd2142073f7a3eb093be565d558 celluloid-0.17.tar.xz SHA512 (celluloid-0.18.tar.xz) = 22e04ee774ca1e3d9bdc966ce32ca4c6f00ac5731b4019a4e92552d74524f7a20d4dfcb94f1c043f906c0bbb121708b08d34b00bc8a914391f38eaf08c7e50c2

Loading…
Cancel
Save