summaryrefslogtreecommitdiffstats
path: root/libraries/qmltermwidget
diff options
context:
space:
mode:
author Matteo Bernardini2022-04-05 09:10:01 +0200
committer Willy Sudiarto Raharjo2022-04-09 10:46:04 +0200
commit73a39b6298ff68d0c7e02a54d2f9151cf70d6698 (patch)
treeac0926a12896c50175606c647cca2af39ada1774 /libraries/qmltermwidget
parente1c9c46ef09adcaef34b93cf3cb3daf72d7e8f7f (diff)
downloadslackbuilds-73a39b6298ff68d0c7e02a54d2f9151cf70d6698.tar.gz
libraries/qmltermwidget: Updated for version 20220109_6322802.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qmltermwidget')
-rw-r--r--libraries/qmltermwidget/gcc-10.patch46
-rw-r--r--libraries/qmltermwidget/qmltermwidget.SlackBuild6
-rw-r--r--libraries/qmltermwidget/qmltermwidget.info6
3 files changed, 5 insertions, 53 deletions
diff --git a/libraries/qmltermwidget/gcc-10.patch b/libraries/qmltermwidget/gcc-10.patch
deleted file mode 100644
index f14a269712..0000000000
--- a/libraries/qmltermwidget/gcc-10.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 5cb4f9e6c86354674bd7715d947f95ac9f16a6c1 Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich <slyfox@gentoo.org>
-Date: Sat, 25 Jan 2020 12:20:37 +0000
-Subject: [PATCH] TerminalCharacterDecoder.cpp: fix build failure against
- gcc-10
-
-gcc-10 fixed a few transitive includes and std::cwctype does not
-get included implicitly via other headers. This leads to the
-following build error:
-
-```
-lib/TerminalCharacterDecoder.cpp: In member function
- 'virtual void Konsole::HTMLDecoder::decodeLine(const Konsole::Character*,
- int, Konsole::LineProperty)':
-lib/TerminalCharacterDecoder.cpp:205:18:
- error: 'iswspace' is not a member of 'std'; did you mean 'isspace'?
- 205 | if (std::iswspace(ch))
- | ^~~~~~~~
- | isspace
-make: *** [Makefile:924: TerminalCharacterDecoder.o] Error 1
-```
-
-The fix is to include <cwctype> that is supposed to define 'std::iswspace'.
-
-Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
----
- lib/TerminalCharacterDecoder.cpp | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/lib/TerminalCharacterDecoder.cpp b/lib/TerminalCharacterDecoder.cpp
-index 579dedf..5d5bfc0 100644
---- a/lib/TerminalCharacterDecoder.cpp
-+++ b/lib/TerminalCharacterDecoder.cpp
-@@ -19,6 +19,9 @@
- 02110-1301 USA.
- */
-
-+// System
-+#include <cwctype> /* std::iswspace */
-+
- // Own
- #include "TerminalCharacterDecoder.h"
-
---
-2.25.0
-
diff --git a/libraries/qmltermwidget/qmltermwidget.SlackBuild b/libraries/qmltermwidget/qmltermwidget.SlackBuild
index 62659617e9..3f50259b07 100644
--- a/libraries/qmltermwidget/qmltermwidget.SlackBuild
+++ b/libraries/qmltermwidget/qmltermwidget.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for qmltermwidget
-# Copyright 2015-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2015-2022 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=qmltermwidget
-VERSION=${VERSION:-0.2.0}
+VERSION=${VERSION:-20220109_6322802}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,8 +81,6 @@ 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 {} \;
-patch -p1 < $CWD/gcc-10.patch
-
qmake-qt5
make
make INSTALL_ROOT=$PKG install
diff --git a/libraries/qmltermwidget/qmltermwidget.info b/libraries/qmltermwidget/qmltermwidget.info
index 8248e9513c..f94900a1cc 100644
--- a/libraries/qmltermwidget/qmltermwidget.info
+++ b/libraries/qmltermwidget/qmltermwidget.info
@@ -1,8 +1,8 @@
PRGNAM="qmltermwidget"
-VERSION="0.2.0"
+VERSION="20220109_6322802"
HOMEPAGE="https://github.com/Swordfish90/qmltermwidget"
-DOWNLOAD="https://github.com/Swordfish90/qmltermwidget/archive/0.2.0/qmltermwidget-0.2.0.tar.gz"
-MD5SUM="1a5c76f0af285f1281549498f7e8c2e9"
+DOWNLOAD="https://ponce.cc/slackware/sources/repo/qmltermwidget-20220109_6322802.tar.xz"
+MD5SUM="7ede5aa72cab2aeb8903b768a4684e24"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""