[qt5-qtwebengine-freeworld] Backport upstream fix for blank pages when a link opens in a new tab
by Kevin Kofler
commit 46d85ed678423fb65ae00c1f13169bc8f6e2a184
Author: Kevin Kofler <kevin.kofler(a)chello.at>
Date: Wed Apr 26 01:23:16 2017 +0200
Backport upstream fix for blank pages when a link opens in a new tab
* Tue Apr 25 2017 Kevin Kofler <Kevin(a)tigcc.ticalc.org> - 5.8.0-2
- Backport upstream fix for blank pages when a link opens in a new tab
qt5-qtwebengine-freeworld.spec | 10 ++++-
...-opensource-src-5.8.0-fix-open-in-new-tab.patch | 46 ++++++++++++++++++++++
2 files changed, 54 insertions(+), 2 deletions(-)
---
diff --git a/qt5-qtwebengine-freeworld.spec b/qt5-qtwebengine-freeworld.spec
index 2977de2..dbc6b5f 100644
--- a/qt5-qtwebengine-freeworld.spec
+++ b/qt5-qtwebengine-freeworld.spec
@@ -34,7 +34,7 @@
Summary: Qt5 - QtWebEngine components (freeworld version)
Name: qt5-qtwebengine-freeworld
Version: 5.8.0
-Release: 1%{?dist}
+Release: 2%{?dist}
%global major_minor %(echo %{version} | cut -d. -f-2)
%global major %(echo %{version} | cut -d. -f1)
@@ -95,7 +95,9 @@ Patch14: qtwebengine-opensource-src-5.8.0-pdfium-gcc7.patch
# fix FTBFS in the WTF part of Blink/WebKit with GCC 7
Patch15: qtwebengine-opensource-src-5.8.0-wtf-gcc7.patch
# FTBFS using qt < 5.8
-Patch20: qtwebengine-opensource-src-5.8.0-qt57.patch
+Patch20: qtwebengine-opensource-src-5.8.0-qt57.patch
+# upstream fix for blank pages when a link opens in a new tab
+Patch100: qtwebengine-opensource-src-5.8.0-fix-open-in-new-tab.patch
%if 0%{?fedora} && 0%{?fedora} < 25
# work around missing qt5_qtwebengine_arches macro on F24
@@ -322,6 +324,7 @@ This version is compiled with support for patent-encumbered codecs enabled.
%patch14 -p1 -b .pdfium-gcc7
%patch15 -p1 -b .wtf-gcc7
%patch20 -p1 -b .qt57
+%patch100 -p1 -b .fix-open-in-new-tab
# fix // in #include in content/renderer/gpu to avoid debugedit failure
sed -i -e 's!gpu//!gpu/!g' \
src/3rdparty/chromium/content/renderer/gpu/compositor_forwarding_message_filter.cc
@@ -404,6 +407,9 @@ echo "%{_libdir}/%{name}" \
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
%changelog
+* Tue Apr 25 2017 Kevin Kofler <Kevin(a)tigcc.ticalc.org> - 5.8.0-2
+- Backport upstream fix for blank pages when a link opens in a new tab
+
* Sat Apr 01 2017 Kevin Kofler <Kevin(a)tigcc.ticalc.org> - 5.8.0-1
- Update to 5.8.0
- Update version numbers of bundled stuff
diff --git a/qtwebengine-opensource-src-5.8.0-fix-open-in-new-tab.patch b/qtwebengine-opensource-src-5.8.0-fix-open-in-new-tab.patch
new file mode 100644
index 0000000..c95a712
--- /dev/null
+++ b/qtwebengine-opensource-src-5.8.0-fix-open-in-new-tab.patch
@@ -0,0 +1,46 @@
+From 8e147ed3be7740092de233a2a7c67ec890069649 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Michael=20Br=C3=BCning?= <michael.bruning(a)qt.io>
+Date: Mon, 13 Mar 2017 11:13:56 +0100
+Subject: Remove stale parent connection when initializing delegate as a child
+
+When clicking on a blank link target, the constructor of the
+RenderWidgetHostViewQtDelegateWidget instance for the newly created
+view is called with the originating QWebEngineView as its parent
+and will connect its removeParentBeforeParentDelete slot to the
+originating view's destroyed signal.
+
+This leads to the situation where the delegate's parent will be set to
+null when the originating view is closed, causing the view to display
+only an empty widget with the actual web contents remaining live in
+the background.
+
+This patch removes the connection to the old view when initializing
+the delegate as a child of the QWebEnginePagePrivate instance. The
+addition to the layout updates the parent and child relationship
+between the view and the delegate internally.
+
+Task-number: QTBUG-58381
+Change-Id: I448380478c2bcfcfbddaee8a35caf46010e57972
+Reviewed-by: Florian Bruhin <qt-project.org(a)the-compiler.org>
+Reviewed-by: Joerg Bornemann <joerg.bornemann(a)qt.io>
+---
+ src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp b/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp
+index e7ad5b1..14c4d72 100644
+--- a/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp
++++ b/src/webenginewidgets/render_widget_host_view_qt_delegate_widget.cpp
+@@ -163,6 +163,9 @@ void RenderWidgetHostViewQtDelegateWidget::initAsChild(WebContentsAdapterClient*
+
+ QWebEnginePagePrivate *pagePrivate = static_cast<QWebEnginePagePrivate *>(container);
+ if (pagePrivate->view) {
++ if (parentWidget())
++ disconnect(parentWidget(), &QObject::destroyed,
++ this, &RenderWidgetHostViewQtDelegateWidget::removeParentBeforeParentDelete);
+ pagePrivate->view->layout()->addWidget(this);
+ pagePrivate->view->setFocusProxy(this);
+ show();
+--
+cgit v1.0-4-g1e03
+
7 years, 7 months
[rpmfusion-packager] New release version 0.6.0 . Fix one issue with recent koji, by explictely using authtype ssl in th
by Sérgio M. Basto
commit 64dfa14810e46f1dbbc55de36c0125abfc085cc1
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Tue Apr 25 22:33:13 2017 +0100
New release version 0.6.0 .
Fix one issue with recent koji, by explictely using authtype
ssl in the rpmfusion.conf config file.
Remove old CVS scripts (for old rpmfusion infrastruture), cvs requirement
from rpmfusion-packager package and clean-up cvs scripts from makefile.
Add rfabipkgdiff script and some requirements to run it.
.gitignore | 1 +
rpmfusion-packager.spec | 20 ++++++++++++++------
sources | 2 +-
3 files changed, 16 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 071eb06..609e1bd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ rpmfusion-packager-0.4.tar.bz2
/rpmfusion-packager-0.5.1.tar.gz
/rpmfusion-packager-0.5.2.tar.gz
/rpmfusion-packager-0.5.3.tar.gz
+/rpmfusion-packager-0.6.0.tar.gz
diff --git a/rpmfusion-packager.spec b/rpmfusion-packager.spec
index 4825bb9..c9f5d4c 100644
--- a/rpmfusion-packager.spec
+++ b/rpmfusion-packager.spec
@@ -1,9 +1,8 @@
Name: rpmfusion-packager
-Version: 0.5.3
+Version: 0.6.0
Release: 1%{?dist}
Summary: Tools for setting up a rpmfusion maintainer environment
-Group: Applications/Productivity
License: GPLv2+
URL: https://github.com/rpmfusion-infra/rpmfusion-packager
Source0: https://github.com/rpmfusion-infra/rpmfusion-packager/archive/v%{version}...
@@ -13,10 +12,11 @@ BuildRequires: autoconf automake
Requires: rpm-build rpmdevtools rpmlint mock
Requires: rfpkg
Requires: koji
+Requires: libabigail
Requires: mock-rpmfusion-free
# Tools required by the scripts included
-Requires: python-pycurl cvs
+Requires: python-pycurl
# See FIXME in rpmfusion-cvs
#Requires: pyOpenSSL
@@ -35,22 +35,30 @@ autoreconf -i
%build
%configure
-make %{?_smp_mflags}
+%make_build
%install
-make install DESTDIR=%{buildroot} INSTALL="install -p"
+%make_install INSTALL="install -p"
%files
%doc AUTHORS ChangeLog README TODO
%license COPYING
%config(noreplace) %{_sysconfdir}/koji.conf.d/rpmfusion.conf
+%{_bindir}/rfabipkgdiff
%{_bindir}/rpmfusion-packager-setup
-%{_bindir}/rpmfusion-*-cvs
%{_bindir}/koji-rpmfusion
%changelog
+* Tue Apr 25 2017 Sérgio Basto <sergio(a)serjux.com> - 0.6.0-1
+- New release version 0.6.0 .
+- Fix one issue with recent koji, by explictely using authtype
+ ssl in the rpmfusion.conf config file.
+- Remove old CVS scripts (for old rpmfusion infrastruture), cvs requirement
+ from rpmfusion-packager package and clean-up cvs scripts from makefile.
+- Add rfabipkgdiff script and some requirements to run it.
+
* Wed Nov 02 2016 Sérgio Basto <sergio(a)serjux.com> - 0.5.3-1
- Move fas.rpmfusion.org to admin.rpmfusion.org/accounts rfbz#4314
diff --git a/sources b/sources
index 9e6315c..d950a6a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2bc14ad4b0119ac73b2ed636977655a0 rpmfusion-packager-0.5.3.tar.gz
+41d9c06ea1101e2def89c7d314c37d25 rpmfusion-packager-0.6.0.tar.gz
7 years, 7 months
[telegram-desktop/el7] Updated to 1.0.34.
by Vitaly Zaitsev
commit 06b96e876686c4903ebc0df466a55b16c3e52d4f
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Mon Apr 24 16:40:21 2017 +0500
Updated to 1.0.34.
.gitignore | 1 +
fix_build_under_fedora.patch | 2 +-
sources | 4 ++--
telegram-desktop.spec | 5 ++++-
4 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 097d2d8..bc194a1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/tdesktop-1.0.32.tar.gz
/variant-916139a.tar.gz
/tdesktop-1.0.33.tar.gz
+/tdesktop-1.0.34.tar.gz
diff --git a/fix_build_under_fedora.patch b/fix_build_under_fedora.patch
index 5fcbb56..540580c 100644
--- a/fix_build_under_fedora.patch
+++ b/fix_build_under_fedora.patch
@@ -1,4 +1,4 @@
-From c99ca98baf3b25ec11fd969ab232ee7e87b8114f Mon Sep 17 00:00:00 2001
+From 3d25af45a3f72a18ea6391ebe84d570d779e9958 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri, 31 Mar 2017 14:29:58 +0200
Subject: [PATCH] Fixed build under Fedora using rpmbuild and mock.
diff --git a/sources b/sources
index 63f0125..e54ed44 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
1ac9a7ddda444ccaa53f26887dd07700 GSL-3819df6.tar.gz
-25f0e2a2cd43ab48eedc61244e02952f gyp-a7055b3.tar.gz
-cc31d37681372a4d0e338429422b99ef tdesktop-1.0.33.tar.gz
+48687b677c5724aa513278672d6e674b gyp-a7055b3.tar.gz
+583f345ee0a9d0e9fcc9dee3d64679b5 tdesktop-1.0.34.tar.gz
8cb2c878f46705b0295f77e9f1a8890c variant-916139a.tar.gz
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 4f52dbd..33314cd 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -15,7 +15,7 @@
Summary: Telegram is a new era of messaging
Name: telegram-desktop
-Version: 1.0.33
+Version: 1.0.34
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -207,6 +207,9 @@ fi
%{_datadir}/appdata/%{name}.appdata.xml
%changelog
+* Mon Apr 24 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.0.34-1
+- Updated to 1.0.34 (alpha).
+
* Sun Apr 16 2017 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.0.33-1
- Updated to 1.0.33 (alpha).
7 years, 7 months
[tvheadend/f26] Update gcc7 patch
by Mohamed ElMorabity
commit 6ffd2d87cf0fe859207dfdfb4c26beaf7d1e8180
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Sun Apr 23 17:09:05 2017 +0200
Update gcc7 patch
tvheadend-4.2.1-gcc7.patch | 34 +++++++++++++++++++++++++++++-----
1 file changed, 29 insertions(+), 5 deletions(-)
---
diff --git a/tvheadend-4.2.1-gcc7.patch b/tvheadend-4.2.1-gcc7.patch
index 3cc9227..8b71e61 100644
--- a/tvheadend-4.2.1-gcc7.patch
+++ b/tvheadend-4.2.1-gcc7.patch
@@ -1,6 +1,6 @@
diff -up ./src/dvr/dvr_rec.c.orig ./src/dvr/dvr_rec.c
--- ./src/dvr/dvr_rec.c.orig 2017-04-21 10:32:22.000000000 +0200
-+++ ./src/dvr/dvr_rec.c 2017-04-23 14:05:36.028066833 +0200
++++ ./src/dvr/dvr_rec.c 2017-04-23 16:56:04.018841196 +0200
@@ -613,7 +613,7 @@ dvr_sub_basic_info(const char *id, const
HTSMSG_FOREACH(f, info) {
if (!(e = htsmsg_field_get_map(f))) continue;
@@ -21,7 +21,7 @@ diff -up ./src/dvr/dvr_rec.c.orig ./src/dvr/dvr_rec.c
htsmsg_t *info, *e;
diff -up ./src/epggrab/module/xmltv.c.orig ./src/epggrab/module/xmltv.c
--- ./src/epggrab/module/xmltv.c.orig 2017-04-21 10:32:22.000000000 +0200
-+++ ./src/epggrab/module/xmltv.c 2017-04-23 13:43:54.253923983 +0200
++++ ./src/epggrab/module/xmltv.c 2017-04-23 16:56:04.019841193 +0200
@@ -843,7 +843,7 @@ static void _xmltv_load_grabbers ( void
/* Internal search */
} else if ((tmp = getenv("PATH"))) {
@@ -31,9 +31,21 @@ diff -up ./src/epggrab/module/xmltv.c.orig ./src/epggrab/module/xmltv.c
char *argv[] = {
NULL,
(char *)"--description",
+diff -up ./src/idnode.c.orig ./src/idnode.c
+--- ./src/idnode.c.orig 2017-04-23 17:05:22.439195449 +0200
++++ ./src/idnode.c 2017-04-23 17:05:36.478154486 +0200
+@@ -1548,7 +1548,7 @@ idnode_slist_set ( idnode_t *in, idnode_
+ HTSMSG_FOREACH(f, vals) {
+ if ((s = htsmsg_field_get_str(f)) != NULL)
+ continue;
+- if (strcmp(s, o->id))
++ if (strcmp(s == NULL ? "" : s, o->id))
+ continue;
+ if (*ip == 0) changed = 1;
+ break;
diff -up ./src/lock.c.orig ./src/lock.c
--- ./src/lock.c.orig 2017-04-21 10:32:22.000000000 +0200
-+++ ./src/lock.c 2017-04-23 13:42:15.592554853 +0200
++++ ./src/lock.c 2017-04-23 16:56:04.019841193 +0200
@@ -31,7 +31,7 @@ int state_lock_(const char *lfile, int l
int fd = -1, err = 0;
struct flock lck;
@@ -43,9 +55,21 @@ diff -up ./src/lock.c.orig ./src/lock.c
lck.l_type = lock ? F_WRLCK : F_UNLCK;
lck.l_whence = SEEK_SET;
+diff -up ./src/rtsp.c.orig ./src/rtsp.c
+--- ./src/rtsp.c.orig 2017-04-21 10:32:22.000000000 +0200
++++ ./src/rtsp.c 2017-04-23 17:03:07.148586930 +0200
+@@ -38,7 +38,7 @@ rtsp_send_ext( http_client_t *hc, http_c
+ (hc->hc_port != 554 ? 7 : 0) +
+ (path ? strlen(path) : 1) + 1;
+ char *buf = alloca(blen);
+- char buf2[7];
++ char buf2[11];
+ char buf_body[size + 3];
+
+ if (hc->hc_rtsp_session) {
diff -up ./src/subscriptions.c.orig ./src/subscriptions.c
--- ./src/subscriptions.c.orig 2017-04-21 10:32:22.000000000 +0200
-+++ ./src/subscriptions.c 2017-04-23 13:41:50.709217734 +0200
++++ ./src/subscriptions.c 2017-04-23 16:56:04.020841190 +0200
@@ -976,7 +976,7 @@ subscription_create_msg(th_subscription_
descramble_info_t *di;
service_t *t;
@@ -57,7 +81,7 @@ diff -up ./src/subscriptions.c.orig ./src/subscriptions.c
htsmsg_add_u32(m, "id", s->ths_id);
diff -up ./src/webui/webui.c.orig ./src/webui/webui.c
--- ./src/webui/webui.c.orig 2017-04-21 10:32:22.000000000 +0200
-+++ ./src/webui/webui.c 2017-04-23 14:07:05.205688547 +0200
++++ ./src/webui/webui.c 2017-04-23 16:56:04.020841190 +0200
@@ -174,7 +174,7 @@ page_login(http_connection_t *hc, const
{
if (hc->hc_access != NULL &&
7 years, 7 months