From b0bdf61b4b815b2fd677e5b00e65a69417753f87 Mon Sep 17 00:00:00 2001 From: vascom Date: Sat, 19 Sep 2020 14:18:39 +0300 Subject: [PATCH] Update to 0.20. --- .gitignore | 1 + celluloid-wayland-black-screen.patch | 60 ---------------------------- celluloid.spec | 14 +++---- sources | 2 +- 4 files changed, 7 insertions(+), 70 deletions(-) delete mode 100644 celluloid-wayland-black-screen.patch diff --git a/.gitignore b/.gitignore index 2507836..7f1a281 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /celluloid-0.17.tar.xz /celluloid-0.18.tar.xz /celluloid-0.19.tar.xz +/celluloid-0.20.tar.xz diff --git a/celluloid-wayland-black-screen.patch b/celluloid-wayland-black-screen.patch deleted file mode 100644 index a5dffa3..0000000 --- a/celluloid-wayland-black-screen.patch +++ /dev/null @@ -1,60 +0,0 @@ -From 132427ea0415796584dbf37012aa3fca5c2d4a83 Mon Sep 17 00:00:00 2001 -From: gnome-mpv -Date: Wed, 27 May 2020 21:59:12 +0700 -Subject: [PATCH] main-window: Don't resize while maximized or in fullscreen - mode - -Fixes #540. ---- - src/celluloid-main-window.c | 35 ++++++++++++++++++++++------------- - 1 file changed, 22 insertions(+), 13 deletions(-) - -diff --git a/src/celluloid-main-window.c b/src/celluloid-main-window.c -index 7dc2a00..5b46889 100644 ---- a/src/celluloid-main-window.c -+++ b/src/celluloid-main-window.c -@@ -670,22 +670,31 @@ celluloid_main_window_resize_video_area( CelluloidMainWindow *wnd, - gint width, - gint height ) - { -- CelluloidMainWindowPrivate *priv = get_private(wnd); -+ /* As of GNOME 3.36, attempting to resize the window while it is -+ * maximized will cause the UI to stop rendering. Resizing while -+ * fullscreen is unaffected, but it doesn't make sense to resize there -+ * either. -+ */ -+ if( !get_private(wnd)->fullscreen && -+ !gtk_window_is_maximized(GTK_WINDOW(wnd)) ) -+ { -+ CelluloidMainWindowPrivate *priv = get_private(wnd); - -- g_signal_connect( priv->vid_area, -- "size-allocate", -- G_CALLBACK(resize_video_area_finalize), -- wnd ); -+ g_signal_connect( priv->vid_area, -+ "size-allocate", -+ G_CALLBACK(resize_video_area_finalize), -+ wnd ); - -- priv->resize_target[0] = width; -- priv->resize_target[1] = height; -- resize_to_target(wnd); -+ priv->resize_target[0] = width; -+ priv->resize_target[1] = height; -+ resize_to_target(wnd); - -- /* The size may not change, so this is needed to ensure that -- * resize_video_area_finalize() will be called so that the event handler -- * will be disconnected. -- */ -- gtk_widget_queue_allocate(priv->vid_area); -+ /* The size may not change, so this is needed to ensure that -+ * resize_video_area_finalize() will be called so that the event handler -+ * will be disconnected. -+ */ -+ gtk_widget_queue_allocate(priv->vid_area); -+ } - } - - void diff --git a/celluloid.spec b/celluloid.spec index 32b06f2..2e04f50 100644 --- a/celluloid.spec +++ b/celluloid.spec @@ -1,15 +1,11 @@ -%global optflags %{optflags} -flto=auto -%global build_ldflags %{build_ldflags} -flto - Name: celluloid -Version: 0.19 -Release: 4%{?dist} +Version: 0.20 +Release: 1%{?dist} Summary: A simple GTK+ frontend for mpv License: GPLv3+ URL: https://github.com/celluloid-player/celluloid Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz -Patch0: celluloid-wayland-black-screen.patch BuildRequires: gcc BuildRequires: desktop-file-utils @@ -34,9 +30,6 @@ It aims to be easy to use while maintaining high level of configurability. %autosetup -p1 %build -export AR=%{_bindir}/gcc-ar -export RANLIB=%{_bindir}/gcc-ranlib -export NM=%{_bindir}/gcc-nm %configure %make_build V=1 @@ -63,6 +56,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/io.github.celluloid_p %{_mandir}/man1/%{name}.1.* %changelog +* Sat Sep 19 2020 Vasiliy N. Glazov - 0.20-1 +- Update to 0.20 + * Mon Aug 17 2020 RPM Fusion Release Engineering - 0.19-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index b6469b5..0ef8f26 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (celluloid-0.19.tar.xz) = 4db31ab156e0056e6280c1cbb3f2d2996c4a5e18478bbefb19e13e731bec90672adc30548516bca1aef1e49ae1e22a1d9b8980587a2117f17ecc2b38c7d1498d +SHA512 (celluloid-0.20.tar.xz) = 53bb7ea155cf0b2b96da67851ec598782601ecb68504d4355aa03544fc89c0f64aefb507217d08f8ce49d2b7877215365c9ccce69f5f355ed1792a94ea1a6093