Compare commits

..

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

@ -0,0 +1 @@
2d940c07c3290a3dc25cc296484c54f6c14ecc60 SOURCES/celluloid-0.22.tar.xz

4
.gitignore vendored

@ -1,3 +1 @@
/celluloid-0.24.tar.xz
/celluloid-0.25.tar.xz
/celluloid-0.26.tar.xz
SOURCES/celluloid-0.22.tar.xz

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

@ -0,0 +1,34 @@
From 519800001a5f714962f486a03dc0126ed7a8a444 Mon Sep 17 00:00:00 2001
From: Sergey Cherevko <s.cherevko@msvsphere.ru>
Date: Wed, 9 Aug 2023 16:39:53 +0300
Subject: [PATCH] Added Russian description
---
po/ru.po | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/po/ru.po b/po/ru.po
index ac7dc1a..48a9892 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -180,7 +180,7 @@ msgstr "Адрес последнего открытого каталога"
#: data/io.github.celluloid_player.Celluloid.desktop.in:4
#: src/celluloid-application.c:475
msgid "Celluloid"
-msgstr "Celluloid"
+msgstr "Видеопроигрыватель Celluloid"
#: data/io.github.celluloid_player.Celluloid.appdata.xml.in:8
msgid "GTK+ frontend for mpv"
@@ -560,7 +560,7 @@ msgstr "Главное окно с открытым списком воспро
#: data/io.github.celluloid_player.Celluloid.desktop.in:5
msgid "Multimedia Player"
-msgstr "Мультимедийный проигрыватель"
+msgstr "Проигрыватель мультимедиа"
#: data/io.github.celluloid_player.Celluloid.desktop.in:6
msgid "Play movies and videos"
--
2.39.2

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

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

@ -1,24 +1,26 @@
Name: celluloid
Version: 0.26
Release: 1%{?dist}
Version: 0.22
Release: 3%{?dist}.inferit
Summary: A simple GTK+ frontend for mpv
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
Patch100: 0001-Added-Russian-description.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) >= 4.6.1
BuildRequires: pkgconfig(gtk4)
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
@ -34,15 +36,12 @@ It aims to be easy to use while maintaining high level of configurability.
%autosetup -p1
%build
%meson
pushd redhat-linux-build
%ninja_build
popd
%configure
%make_build V=1
%install
pushd redhat-linux-build
%ninja_install
popd
%make_install
%find_lang %{name}
%check
@ -57,46 +56,18 @@ 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
* Wed Aug 09 2023 Sergey Cherevko <s.cherevko@msvsphere.ru> - 0.22-3.inferit
- Added Russian description for ArcMenu and gnome-software
- Rebuilt for MSVSphere 9.2
* Wed Feb 09 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 0.22-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 18 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 0.22-3
- Rebuilt for MSVSphere 9.2
* Wed Dec 08 2021 Vasiliy N. Glazov <vascom2@gmail.com> - 0.22-3
- Fix autofit triggering regardless of settings

@ -1 +0,0 @@
SHA512 (celluloid-0.26.tar.xz) = bcbb970b8ce512d4d7e64833a309a2e32631b262989ee7f9e1ec4b7f0015387b3978c8cbc0206a5aa86bd9e74fae3b7d38776e71be8c16996444d234bc37d42f
Loading…
Cancel
Save