[celluloid] Fix autofit triggering regardless of settings.
by Vasiliy Glazov
commit 3d50a8ec60f1be75a6f25433f678fc1a74f936da
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Wed Dec 8 00:33:34 2021 +0300
Fix autofit triggering regardless of settings.
52a7d396c846eb337ad7796fdb7163e2bc208d64.patch | 29 ++++++++++++++++++++++++++
65d0e47fcede58cb78df8e9a29ff669e2287273b.patch | 25 ++++++++++++++++++++++
celluloid.spec | 8 ++++++-
3 files changed, 61 insertions(+), 1 deletion(-)
---
diff --git a/52a7d396c846eb337ad7796fdb7163e2bc208d64.patch b/52a7d396c846eb337ad7796fdb7163e2bc208d64.patch
new file mode 100644
index 0000000..c5f4153
--- /dev/null
+++ b/52a7d396c846eb337ad7796fdb7163e2bc208d64.patch
@@ -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);
+ }
diff --git a/65d0e47fcede58cb78df8e9a29ff669e2287273b.patch b/65d0e47fcede58cb78df8e9a29ff669e2287273b.patch
new file mode 100644
index 0000000..0ead188
--- /dev/null
+++ b/65d0e47fcede58cb78df8e9a29ff669e2287273b.patch
@@ -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))
diff --git a/celluloid.spec b/celluloid.spec
index e6c8408..be1c893 100644
--- a/celluloid.spec
+++ b/celluloid.spec
@@ -1,11 +1,14 @@
Name: celluloid
Version: 0.22
-Release: 2%{?dist}
+Release: 3%{?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
+# Fix autofit triggering regardless of settings
+Patch0: 65d0e47fcede58cb78df8e9a29ff669e2287273b.patch
+Patch1: 52a7d396c846eb337ad7796fdb7163e2bc208d64.patch
BuildRequires: gcc
BuildRequires: desktop-file-utils
@@ -56,6 +59,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/io.github.celluloid_p
%{_mandir}/man1/%{name}.1.*
%changelog
+* Wed Dec 08 2021 Vasiliy N. Glazov <vascom2(a)gmail.com> - 0.22-3
+- Fix autofit triggering regardless of settings
+
* Tue Nov 16 2021 Vasiliy N. Glazov <vascom2(a)gmail.com> - 0.22-2
- Switch to yt-dlp
2 years, 12 months
[chromium-freeworld] Update to 96.0.4664.93
by Leigh Scott
commit de8214df78e6a1723045e47004859640f365b14c
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Dec 7 08:15:05 2021 +0000
Update to 96.0.4664.93
chromium-freeworld.spec | 5 ++++-
sources | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 49bbb27..d5887a5 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -36,7 +36,7 @@
%global system_re2 1
##############################Package Definitions######################################
Name: chromium-freeworld
-Version: 96.0.4664.45
+Version: 96.0.4664.93
Release: 1%{?dist}
Summary: Chromium built with all freeworld codecs and VA-API support
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
@@ -756,6 +756,9 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/swiftshader/libGLESv2.so
#########################################changelogs#################################################
%changelog
+* Tue Dec 07 2021 Leigh Scott <leigh123linux(a)gmail.com> - 96.0.4664.93-1
+- Update to 96.0.4664.93
+
* Mon Nov 15 2021 Leigh Scott <leigh123linux(a)gmail.com> - 96.0.4664.45-1
- Update to 96.0.4664.45
diff --git a/sources b/sources
index caf0090..9cc13bf 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (chromium-96.0.4664.45.tar.xz) = 0b1ccaf95697c14cb080dcb22e8584817ddcd98e704d081bc4f35a22dcfc8cca82dcabc4b82ad89ed0cd64752d226f389941bfab33b615e3948e2f778b9d9028
+SHA512 (chromium-96.0.4664.93.tar.xz) = 3441380372014dc338418f494fcd7407dd3888cea07af3415c9e8ff2c3547abbd516ae03eb4b831b89923817046a6d1549fb9558db9aa271aa0ba397e514c0b3
SHA512 (chromium-patches-chromium-96-patchset-4.tar.gz) = f3b25447b8f78d9c9d3bacf0f54bf29da1053d4524597744100d9d20fea750b1dca70e5504f92885320a5408180b435f79510f58e52bae5dd4786d9fb31892cf
2 years, 12 months
[stella/f35] Update stella to 6.6
by Sérgio M. Basto
Summary of changes:
e260b41... Update stella to 6.6 (*)
(*) This commit already existed in another branch; no separate mail sent
3 years
[stella] Update stella to 6.6
by Sérgio M. Basto
commit e260b417cd3d524972ab6821918400fdae8e93d4
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun Dec 5 14:40:38 2021 +0000
Update stella to 6.6
.gitignore | 1 +
sources | 2 +-
stella.spec | 7 +++++--
3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a2879cb..702ae4b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@ stella-4.7.2-src.tar.xz
/stella-6.2.1-src.tar.xz
/stella-6.4-src.tar.xz
/stella-6.5.3-src.tar.xz
+/stella-6.6-src.tar.xz
diff --git a/sources b/sources
index b8a1f53..48688b0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (stella-6.5.3-src.tar.xz) = 67fe45c0be510494e4c3ead91ee5f7c9a8ba7059b76beb15e794ef49144c8f0fb57d7c7476f4f299e573e37ea1c41f2fb094ca10974f3bcda797fc69c9bd2986
+SHA512 (stella-6.6-src.tar.xz) = 89aea0cec9c2f22f276c1c4b36b76deb1ef9fb913c959f93f8cbcac300acdb23d2e3e66981d3263ea1ccfd72aaab1aa47218136b82b5e12aa8fbf352959743ab
diff --git a/stella.spec b/stella.spec
index 35c2112..1025de3 100644
--- a/stella.spec
+++ b/stella.spec
@@ -1,7 +1,7 @@
#global prerel pre9
Name: stella
-Version: 6.5.3
-Release: 2%{?dist}
+Version: 6.6
+Release: 1%{?dist}
License: GPLv2+
Summary: A multi-platform Atari 2600 Video Computer System emulator
Group: Applications/Emulators
@@ -70,6 +70,9 @@ rm %{buildroot}%{_docdir}/%{name}/Copyright.txt
%changelog
+* Sun Dec 05 2021 Sérgio Basto <sergio(a)serjux.com> - 6.6-1
+- Update stella to 6.6
+
* Tue Aug 03 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 6.5.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3 years
[wxsvg/f34] Rebuild with wxGTK-3.1.x
by Sérgio M. Basto
Summary of changes:
747c968... Rebuild with wxGTK-3.1.x (*)
(*) This commit already existed in another branch; no separate mail sent
3 years
[wxsvg/f35] Rebuild with wxGTK-3.1.x
by Sérgio M. Basto
Summary of changes:
747c968... Rebuild with wxGTK-3.1.x (*)
(*) This commit already existed in another branch; no separate mail sent
3 years