Compare commits

...

No commits in common. 'el8' and 'f38' have entirely different histories.
el8 ... f38

10
.gitignore vendored

@ -1,7 +1,3 @@
/celluloid-0.17.tar.xz
/celluloid-0.18.tar.xz
/celluloid-0.19.tar.xz
/celluloid-0.20.tar.xz
/celluloid-0.21.tar.xz
/celluloid-0.22.tar.xz
/celluloid-0.23.tar.xz
/celluloid-0.24.tar.xz
/celluloid-0.25.tar.xz
/celluloid-0.26.tar.xz

@ -1,29 +0,0 @@
From 52a7d396c846eb337ad7796fdb7163e2bc208d64 Mon Sep 17 00:00:00 2001
From: gnome-mpv <gnome-mpv@nowhere>
Date: Sat, 13 Nov 2021 00:39:59 +0700
Subject: [PATCH] controller: Fix autofit triggering regardless of settings
When a video is opened for the first time, the window-scale property is
updated, triggering an autofit. Fix this by checking if window-scale is
transitioning from the value of zero, which indicates that a video is
being opened for the first time, and only requesting an autofit if this
is not the case.
Fixes #705.
---
src/celluloid-controller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/celluloid-controller.c b/src/celluloid-controller.c
index d62ac1da..bfabfd1a 100644
--- a/src/celluloid-controller.c
+++ b/src/celluloid-controller.c
@@ -920,7 +920,7 @@ window_scale_handler(GObject *object, GParamSpec *pspec, gpointer data)
window_scale = MIN( width/(gdouble)video_width,
height/(gdouble)video_height );
- if(ABS(window_scale-new_window_scale) > 0.0001)
+ if(window_scale > 0.0 && ABS(window_scale-new_window_scale) > 0.0001)
{
celluloid_controller_autofit(data, new_window_scale);
}

@ -1,25 +0,0 @@
From 65d0e47fcede58cb78df8e9a29ff669e2287273b Mon Sep 17 00:00:00 2001
From: gnome-mpv <gnome-mpv@nowhere>
Date: Sun, 21 Nov 2021 17:54:34 +0700
Subject: [PATCH] main-window: Fix window size shrinking across sessions
Fixes #713.
---
src/celluloid-main-window.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/celluloid-main-window.c b/src/celluloid-main-window.c
index e96b50f3..6af84749 100644
--- a/src/celluloid-main-window.c
+++ b/src/celluloid-main-window.c
@@ -576,8 +576,8 @@ celluloid_main_window_save_state(CelluloidMainWindow *wnd)
if(!maximized)
{
- g_settings_set_int(settings, "width", width - 52);
- g_settings_set_int(settings, "height", height - 52);
+ g_settings_set_int(settings, "width", width);
+ g_settings_set_int(settings, "height", height);
}
if(celluloid_main_window_get_playlist_visible(wnd))

@ -0,0 +1,3 @@
# celluloid
The celluloid package

@ -1,26 +1,27 @@
Name: celluloid
Version: 0.23
Version: 0.26
Release: 1%{?dist}
Summary: A simple GTK+ frontend for mpv
License: GPLv3+
License: GPL-3.0-or-later
URL: https://github.com/celluloid-player/celluloid
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
# Fix autofit triggering regardless of settings
#Patch0: 65d0e47fcede58cb78df8e9a29ff669e2287273b.patch
#Patch1: 52a7d396c846eb337ad7796fdb7163e2bc208d64.patch
BuildRequires: gcc
BuildRequires: meson
BuildRequires: ninja-build
BuildRequires: desktop-file-utils
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(glib-2.0) >= 2.44
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(gtk4) >= 4.6.1
BuildRequires: intltool >= 0.40.6
BuildRequires: libappstream-glib
BuildRequires: pkgconfig(epoxy)
BuildRequires: mpv-libs-devel
BuildRequires: pkgconfig(libadwaita-1)
Requires: yt-dlp
Requires: hicolor-icon-theme
Requires: dbus-common
Provides: gnome-mpv = %{version}-%{release}
Obsoletes: gnome-mpv < 0.17
@ -33,12 +34,15 @@ It aims to be easy to use while maintaining high level of configurability.
%autosetup -p1
%build
%configure
%make_build V=1
%meson
pushd redhat-linux-build
%ninja_build
popd
%install
%make_install
pushd redhat-linux-build
%ninja_install
popd
%find_lang %{name}
%check
@ -53,12 +57,41 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/io.github.celluloid_p
%{_datadir}/applications/io.github.celluloid_player.Celluloid.desktop
%{_datadir}/dbus-1/services/io.github.celluloid_player.Celluloid.service
%{_datadir}/glib-2.0/schemas/io.github.celluloid_player.Celluloid.gschema.xml
# The old GSchema is left installed for settings migration.
%{_datadir}/glib-2.0/schemas/io.github.GnomeMpv.gschema.xml
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_mandir}/man1/%{name}.1.*
%changelog
* Sat Sep 16 2023 Vasiliy Glazov <vascom2@gmail.com> - 0.26-1
- Update to 0.26
* Mon Jul 24 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 0.25-7
- Rebuilt due to libmpv 0.36 update.
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.25-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Mar 27 2023 Vasiliy N. Glazov <vascom2@gmail.com> - 0.25-1
- Update to 0.25
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sun Nov 13 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 0.24-4
- Rebuilt due to mpv update.
* Fri Sep 09 2022 Vasiliy N. Glazov <vascom2@gmail.com> - 0.24-3
- Require dbus-common
* Fri Sep 09 2022 Vasiliy N. Glazov <vascom2@gmail.com> - 0.24-2
- Bump release for Fedora official repo
* Sun Aug 21 2022 Vasiliy N. Glazov <vascom2@gmail.com> - 0.24-1
- Update to 0.24
* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 0.23-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1
* Mon Mar 07 2022 Vasiliy N. Glazov <vascom2@gmail.com> - 0.23-1
- Update to 0.23

@ -1 +1 @@
SHA512 (celluloid-0.23.tar.xz) = 70ca371990bd3bc93689d52470ece1f471c159382032313dd60e9f83c7683adef352ecae3a3e461b474581bb1c1c18570bbc434836a0a2991511154452709812
SHA512 (celluloid-0.26.tar.xz) = bcbb970b8ce512d4d7e64833a309a2e32631b262989ee7f9e1ec4b7f0015387b3978c8cbc0206a5aa86bd9e74fae3b7d38776e71be8c16996444d234bc37d42f

Loading…
Cancel
Save