From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 73FBE159C9B for ; Sun, 11 Aug 2024 06:54:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEE062BC03A; Sun, 11 Aug 2024 06:54:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8FDCE2BC03A for ; Sun, 11 Aug 2024 06:54:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A66DB335DCD for ; Sun, 11 Aug 2024 06:54:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ABF5E1EE0 for ; Sun, 11 Aug 2024 06:54:11 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1723359214.8aaa2258ec50394eb68a7723b9ec76f4c0453495.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/kdevelop-pg-qt/, dev-util/kdevelop-pg-qt/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/kdevelop-pg-qt/files/kdevelop-pg-qt-2.2.2-port-away-from-depr-QString_midRef.patch dev-util/kdevelop-pg-qt/kdevelop-pg-qt-2.2.2-r1.ebuild X-VCS-Directories: dev-util/kdevelop-pg-qt/files/ dev-util/kdevelop-pg-qt/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 8aaa2258ec50394eb68a7723b9ec76f4c0453495 X-VCS-Branch: master Date: Sun, 11 Aug 2024 06:54:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7564c287-8488-46de-b0d6-8d22e2879d47 X-Archives-Hash: 9774d43a0be1c541d5700f7567cd450a commit: 8aaa2258ec50394eb68a7723b9ec76f4c0453495 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Aug 10 21:19:54 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Aug 11 06:53:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aaa2258 dev-util/kdevelop-pg-qt: drop 2.2.2-r1 Signed-off-by: Andreas Sturmlechner gentoo.org> ...-2.2.2-port-away-from-depr-QString_midRef.patch | 53 ---------------------- .../kdevelop-pg-qt/kdevelop-pg-qt-2.2.2-r1.ebuild | 22 --------- 2 files changed, 75 deletions(-) diff --git a/dev-util/kdevelop-pg-qt/files/kdevelop-pg-qt-2.2.2-port-away-from-depr-QString_midRef.patch b/dev-util/kdevelop-pg-qt/files/kdevelop-pg-qt-2.2.2-port-away-from-depr-QString_midRef.patch deleted file mode 100644 index 360010c49cb3..000000000000 --- a/dev-util/kdevelop-pg-qt/files/kdevelop-pg-qt-2.2.2-port-away-from-depr-QString_midRef.patch +++ /dev/null @@ -1,53 +0,0 @@ -From c210967f753b33db48dbf942c7b32e67363ca204 Mon Sep 17 00:00:00 2001 -From: "Friedrich W. H. Kossebau" -Date: Sun, 30 Oct 2022 11:56:59 +0100 -Subject: [PATCH] Port away from deprecated QString::midRef - -GIT_SILENT ---- - kdev-pg/kdev-pg-debug-visitor-gen.cpp | 2 +- - kdev-pg/kdev-pg-regexp.cpp | 6 +++--- - 2 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/kdev-pg/kdev-pg-debug-visitor-gen.cpp b/kdev-pg/kdev-pg-debug-visitor-gen.cpp -index 418d044..d4394f7 100644 ---- a/kdev-pg/kdev-pg-debug-visitor-gen.cpp -+++ b/kdev-pg/kdev-pg-debug-visitor-gen.cpp -@@ -72,7 +72,7 @@ void GenerateDebugVisitor::operator()() - out << " tokenString += QStringLiteral(\" ...\");" << endl; - out << " tokenString += QStringLiteral(\"%1 more\").arg(end-begin-20);" << endl; - out << " tokenString += QStringLiteral(\"... \");" << endl; -- out << " tokenString += m_content.midRef(end-10, 10);" << endl; -+ out << " tokenString += QStringView(m_content).mid(end-10, 10);" << endl; - out << " }" << endl; - out << " else {" << endl; - out << " tokenString = m_content.mid(begin, end-begin+1);" << endl; -diff --git a/kdev-pg/kdev-pg-regexp.cpp b/kdev-pg/kdev-pg-regexp.cpp -index fda19f9..808018f 100644 ---- a/kdev-pg/kdev-pg-regexp.cpp -+++ b/kdev-pg/kdev-pg-regexp.cpp -@@ -71,10 +71,10 @@ inline QString codeForDot(QString str) - int npos = str.indexOf("\n\01!ASIgnore\"!!\n# ", pos); - if(npos == -1) - { -- out += str.midRef(pos); -+ out += QStringView(str).mid(pos); - break; - } -- out += str.midRef(pos, npos - pos); -+ out += QStringView(str).mid(pos, npos - pos); - int nlpos = str.indexOf('\n', npos + 17); - int codeendpos = str.indexOf("\n\01!AS/Ignore\"!!\n", nlpos); - if(nlpos == -1 || codeendpos == -1) -@@ -82,7 +82,7 @@ inline QString codeForDot(QString str) - out += ""; - break; - } -- out += str.midRef(nlpos + 1, codeendpos - nlpos - 1); -+ out += QStringView(str).mid(nlpos + 1, codeendpos - nlpos - 1); - pos = codeendpos + 17; - } - return out.replace('\"', "\\\"").replace('\n', '\t').trimmed(); --- -GitLab - diff --git a/dev-util/kdevelop-pg-qt/kdevelop-pg-qt-2.2.2-r1.ebuild b/dev-util/kdevelop-pg-qt/kdevelop-pg-qt-2.2.2-r1.ebuild deleted file mode 100644 index 1d77f74d84fc..000000000000 --- a/dev-util/kdevelop-pg-qt/kdevelop-pg-qt-2.2.2-r1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ECM_TEST="true" -inherit ecm kde.org - -DESCRIPTION="LL(1) parser generator used mainly by KDevelop language plugins" -HOMEPAGE="https://www.kdevelop.org/" -SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" - -LICENSE="LGPL-2+ LGPL-2.1+" -SLOT="5" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" - -BDEPEND=" - app-alternatives/yacc - app-alternatives/lex -" - -PATCHES=( "${FILESDIR}/${P}-port-away-from-depr-QString_midRef.patch" )