From 55d25bd96b927e46aa909f46a3bc3d099b9b0ace Mon Sep 17 00:00:00 2001 From: Luciogi Date: Fri, 10 Nov 2023 19:39:55 +0500 Subject: [PATCH] qtcreator: update to 12.0.0. --- .../patches/musl-no-malloc_trim.patch | 18 +++++------------- srcpkgs/qtcreator/template | 4 ++-- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/srcpkgs/qtcreator/patches/musl-no-malloc_trim.patch b/srcpkgs/qtcreator/patches/musl-no-malloc_trim.patch index fd927d7639193..89b65071fb56a 100644 --- a/srcpkgs/qtcreator/patches/musl-no-malloc_trim.patch +++ b/srcpkgs/qtcreator/patches/musl-no-malloc_trim.patch @@ -1,14 +1,8 @@ -From b13eb9f3dc96226d2f10a986c7e4d6c565e63c53 Mon Sep 17 00:00:00 2001 -From: Piotr Wójcik -Date: Sat, 21 Jan 2023 23:34:10 +0100 -Subject: malloc_trim - - -diff --git a/src/plugins/coreplugin/mainwindow.cpp b/src/plugins/coreplugin/mainwindow.cpp -index 4950eb90..a3cd7f4e 100644 ---- a/src/plugins/coreplugin/mainwindow.cpp -+++ b/src/plugins/coreplugin/mainwindow.cpp -@@ -216,7 +216,7 @@ MainWindow::MainWindow() +diff --git a/src/plugins/coreplugin/icore.cpp b/src/plugins/coreplugin/icore.cpp +index 1c04ebd2..d2ab425c 100644 +--- a/src/plugins/coreplugin/icore.cpp ++++ b/src/plugins/coreplugin/icore.cpp +@@ -1274,7 +1274,7 @@ void ICorePrivate::init() m_trimTimer.setSingleShot(true); m_trimTimer.setInterval(60000); // glibc may not actually free memory in free(). @@ -17,6 +11,4 @@ index 4950eb90..a3cd7f4e 100644 connect(&m_trimTimer, &QTimer::timeout, this, [] { malloc_trim(0); }); #endif } --- -2.39.0 diff --git a/srcpkgs/qtcreator/template b/srcpkgs/qtcreator/template index 0edbb7ec7d0b9..c9ff18781412b 100644 --- a/srcpkgs/qtcreator/template +++ b/srcpkgs/qtcreator/template @@ -1,6 +1,6 @@ # Template file for 'qtcreator' pkgname=qtcreator -version=11.0.1 +version=12.0.0 revision=1 build_style=cmake configure_args="$(vopt_bool qbs BUILD_QBS) -DWITH_DOCS=ON -DBUILD_WITH_PCH=OFF" @@ -18,7 +18,7 @@ license="LGPL-3.0-or-later, custom:QtCompany-GPL-Exception-1.0" homepage="https://wiki.qt.io/Category:Tools::QtCreator" changelog="https://code.qt.io/cgit/qt-creator/qt-creator.git/plain/dist/changelog/changes-${version}.md" distfiles="https://download.qt.io/official_releases/qtcreator/${version%.*}/${version}/qt-creator-opensource-src-${version}.tar.xz" -checksum=4f9e593853cf3bf806c6573abb6fc4176761416023d97dded07e19c456d6db73 +checksum=399ae0dcefa3bd9e01a3f068b93dabe8b39f9b56466c389d1446e5c84c8f7b9f replaces="qtcreator-data>=0" python_version=3