[telegram-desktop/f31: 2/2] Removed GSL patch.
by Vitaly Zaitsev
commit a84a4dddacaecc996f53702eea9351d41ded72cf
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sat Jun 6 21:03:53 2020 +0200
Removed GSL patch.
telegram-desktop-gsl-version-fix.patch | 26 --------------------------
telegram-desktop.spec | 3 ---
2 files changed, 29 deletions(-)
---
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 2e882db..9a2c9af 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -33,9 +33,6 @@ Summary: Telegram Desktop official messaging app
Source0: %{url}/releases/download/v%{version}/%{appname}-%{version}-full.tar.gz
ExclusiveArch: x86_64
-# Fixed build with packaged GSL 3.1.0...
-Patch100: %{name}-gsl-version-fix.patch
-
# Telegram Desktop require exact version of Qt due to Qt private API usage.
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
Requires: qt5-qtimageformats%{?_isa}
4 years, 5 months
[VirtualBox/f32] (9 commits) ...Update VBox to 6.1.10
by Sérgio M. Basto
Summary of changes:
0ff508c... Improve update_vbox.sh (*)
9a67a4b... Fix description for guest-additions on el7 (*)
d390ad7... Fix for guest additions on EL7, now we use vboxservice.serv (*)
7a3307d... Add wildcard in gitignore (*)
fd42811... Add VirtualBox-6.1.0-VBoxRem.patch rfbz #5652 Remove pre-co (*)
382840b... Rebuild for python-3.9 (*)
46960e3... Add python-3.9 support (*)
534430e... Fix build on EL8 (*)
2f1555a... Update VBox to 6.1.10 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 5 months
[celluloid] Fix wayland blackscreen.
by Vasiliy Glazov
commit ab3c71dc97d443d9af62f69e0e72e5ebc2a7e6aa
Author: vascom <vascom2(a)gmail.com>
Date: Sat Jun 6 21:35:15 2020 +0300
Fix wayland blackscreen.
celluloid-wayland-black-screen.patch | 60 ++++++++++++++++++++++++++++++++++++
celluloid.spec | 6 +++-
2 files changed, 65 insertions(+), 1 deletion(-)
---
diff --git a/celluloid-wayland-black-screen.patch b/celluloid-wayland-black-screen.patch
new file mode 100644
index 0000000..a5dffa3
--- /dev/null
+++ b/celluloid-wayland-black-screen.patch
@@ -0,0 +1,60 @@
+From 132427ea0415796584dbf37012aa3fca5c2d4a83 Mon Sep 17 00:00:00 2001
+From: gnome-mpv <gnome-mpv@nowhere>
+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 b88e44b..970f079 100644
--- a/celluloid.spec
+++ b/celluloid.spec
@@ -3,12 +3,13 @@
Name: celluloid
Version: 0.19
-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
+Patch0: celluloid-wayland-black-screen.patch
BuildRequires: gcc
BuildRequires: desktop-file-utils
@@ -62,6 +63,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/io.github.celluloid_p
%{_mandir}/man1/%{name}.1.*
%changelog
+* Sun May 31 2020 Vasiliy N. Glazov <vascom2(a)gmail.com> - 0.19-3
+- Fix wayland blackscreen
+
* Tue Apr 21 2020 Vasiliy N. Glazov <vascom2(a)gmail.com> - 0.19-2
- Enable LTO
4 years, 5 months
[telegram-desktop] Fixed build with packaged GSL 3.1.0.
by Vitaly Zaitsev
commit e31c948ecc685dcd6895b7fc82ef941ab82eb99c
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Sat Jun 6 20:27:38 2020 +0200
Fixed build with packaged GSL 3.1.0.
telegram-desktop-gsl-version-fix.patch | 26 ++++++++++++++++++++++++++
telegram-desktop.spec | 5 +++--
2 files changed, 29 insertions(+), 2 deletions(-)
---
diff --git a/telegram-desktop-gsl-version-fix.patch b/telegram-desktop-gsl-version-fix.patch
new file mode 100644
index 0000000..c1a1e8e
--- /dev/null
+++ b/telegram-desktop-gsl-version-fix.patch
@@ -0,0 +1,26 @@
+From 536d41410cfedc6d28fc7a4a4eed86bfcfce0cf4 Mon Sep 17 00:00:00 2001
+From: Vitaly Zaitsev <vitaly(a)easycoding.org>
+Date: Sat, 6 Jun 2020 20:21:32 +0200
+Subject: [PATCH] Correctly specified required version of the GSL library.
+
+Signed-off-by: Vitaly Zaitsev <vitaly(a)easycoding.org>
+---
+ external/gsl/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/cmake/external/gsl/CMakeLists.txt b/cmake/external/gsl/CMakeLists.txt
+index 312447c..8762b36 100644
+--- a/cmake/external/gsl/CMakeLists.txt
++++ b/cmake/external/gsl/CMakeLists.txt
+@@ -8,7 +8,7 @@ add_library(external_gsl INTERFACE IMPORTED GLOBAL)
+ add_library(desktop-app::external_gsl ALIAS external_gsl)
+
+ if (DESKTOP_APP_USE_PACKAGED_GSL AND NOT DESKTOP_APP_USE_PACKAGED_LAZY)
+- find_package(Microsoft.GSL CONFIG REQUIRED)
++ find_package(Microsoft.GSL 3.1.0 CONFIG REQUIRED)
+ target_link_libraries(external_gsl INTERFACE Microsoft.GSL::GSL)
+ else()
+ target_include_directories(external_gsl SYSTEM
+--
+2.26.2
+
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index c1841c7..2e882db 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -30,10 +30,11 @@ Release: 1%{?dist}
License: GPLv3+ and LGPLv2+ and LGPLv3
URL: https://github.com/telegramdesktop/%{appname}
Summary: Telegram Desktop official messaging app
+Source0: %{url}/releases/download/v%{version}/%{appname}-%{version}-full.tar.gz
ExclusiveArch: x86_64
-# Source files...
-Source0: %{url}/releases/download/v%{version}/%{appname}-%{version}-full.tar.gz
+# Fixed build with packaged GSL 3.1.0...
+Patch100: %{name}-gsl-version-fix.patch
# Telegram Desktop require exact version of Qt due to Qt private API usage.
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
4 years, 5 months