summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-09-14 18:40:44 +0000
committer Eric Hameleers <alien@slackware.com>2022-09-15 07:00:12 +0200
commitaf3823880e7ef52647f4c88f75def46489cd46aa (patch)
tree1ba4eb6260d0b79f289dc24c06d062d30ec261a7 /source
parent59871e54c88572772e40d35e8033c3aeaf128acd (diff)
downloadcurrent-af3823880e7ef52647f4c88f75def46489cd46aa.tar.gz
current-af3823880e7ef52647f4c88f75def46489cd46aa.tar.xz
Wed Sep 14 18:40:44 UTC 202220220914184044
ap/vim-9.0.0465-x86_64-1.txz: Upgraded. kde/plasma-integration-5.25.5-x86_64-2.txz: Rebuilt. [PATCH] Bring back workaround for threaded render loop not working on NVIDIA Wayland. Thanks to marav. l/jemalloc-5.3.0-x86_64-1.txz: Upgraded. Thanks to villeph. xap/vim-gvim-9.0.0465-x86_64-1.txz: Upgraded.
Diffstat (limited to '')
-rw-r--r--source/kde/kde/build/plasma-integration2
-rw-r--r--source/kde/kde/patch/plasma-integration.patch1
-rw-r--r--source/kde/kde/patch/plasma-integration/52bd3c9c.patch42
-rwxr-xr-xsource/l/jemalloc/jemalloc.SlackBuild11
4 files changed, 53 insertions, 3 deletions
diff --git a/source/kde/kde/build/plasma-integration b/source/kde/kde/build/plasma-integration
index d00491fd7..0cfbf0888 100644
--- a/source/kde/kde/build/plasma-integration
+++ b/source/kde/kde/build/plasma-integration
@@ -1 +1 @@
-1
+2
diff --git a/source/kde/kde/patch/plasma-integration.patch b/source/kde/kde/patch/plasma-integration.patch
new file mode 100644
index 000000000..64f0f6eeb
--- /dev/null
+++ b/source/kde/kde/patch/plasma-integration.patch
@@ -0,0 +1 @@
+cat $CWD/patch/plasma-integration/52bd3c9c.patch | patch -p1 --verbose || { touch ${SLACK_KDE_BUILD_DIR}/${PKGNAME}.failed ; continue ; }
diff --git a/source/kde/kde/patch/plasma-integration/52bd3c9c.patch b/source/kde/kde/patch/plasma-integration/52bd3c9c.patch
new file mode 100644
index 000000000..4a0112663
--- /dev/null
+++ b/source/kde/kde/patch/plasma-integration/52bd3c9c.patch
@@ -0,0 +1,42 @@
+From 52bd3c9cc2a78e2ba8d87e09e01706d309720a6f Mon Sep 17 00:00:00 2001
+From: Vlad Zahorodnii <vlad.zahorodnii@kde.org>
+Date: Tue, 13 Sep 2022 11:41:03 +0300
+Subject: [PATCH] Bring back workaround for threaded render loop not working on
+ NVIDIA Wayland
+
+For more details, check QTBUG-95817. But to summarize it in a couple of
+words: a window will stop pushing buffers when it's resized and using
+threaded render loop.
+
+CCBUG: 455575
+---
+ src/platformtheme/qtquickrenderersettings.cpp | 13 +++++++++++++
+ 1 file changed, 13 insertions(+)
+
+diff --git a/src/platformtheme/qtquickrenderersettings.cpp b/src/platformtheme/qtquickrenderersettings.cpp
+index db7ecb5..fa99d5c 100644
+--- a/src/platformtheme/qtquickrenderersettings.cpp
++++ b/src/platformtheme/qtquickrenderersettings.cpp
+@@ -69,6 +69,19 @@ void initializeRendererSessions()
+ if (!qEnvironmentVariableIsSet("QSG_RENDER_LOOP")) {
+ if (!s.renderLoop().isEmpty()) {
+ qputenv("QSG_RENDER_LOOP", s.renderLoop().toLatin1());
++ } else if (QGuiApplication::platformName() == QLatin1String("wayland")) {
++#if QT_CONFIG(opengl)
++ // Workaround for Bug 432062 / QTBUG-95817
++ QOffscreenSurface surface;
++ surface.create();
++ if (checkContext.makeCurrent(&surface)) {
++ const char *vendor = reinterpret_cast<const char *>(checkContext.functions()->glGetString(GL_VENDOR));
++ if (qstrcmp(vendor, "NVIDIA Corporation") == 0) {
++ // Otherwise Qt Quick Windows break when resized
++ qputenv("QSG_RENDER_LOOP", "basic");
++ }
++ }
++#endif
+ }
+ }
+ }
+--
+GitLab
+
diff --git a/source/l/jemalloc/jemalloc.SlackBuild b/source/l/jemalloc/jemalloc.SlackBuild
index 6eb9a4f04..dd8e52311 100755
--- a/source/l/jemalloc/jemalloc.SlackBuild
+++ b/source/l/jemalloc/jemalloc.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for jemalloc
# Copyright 2012-2014 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2014, 2015, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2014, 2015, 2017, 2018, 2022 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=jemalloc
VERSION=${VERSION:-$(echo jemalloc-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -78,6 +78,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+if [ ! -r configure ]; then
+ if [ -x ./autogen.sh ]; then
+ NOCONFIGURE=1 ./autogen.sh
+ else
+ autoreconf -vif
+ fi
+fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \