[arch-commits] Commit in qtcreator/repos (3 files)
Date: Friday, November 20, 2020 @ 13:00:13 Author: arojas Revision: 401544 archrelease: copy trunk to testing-x86_64 Added: qtcreator/repos/testing-x86_64/ qtcreator/repos/testing-x86_64/PKGBUILD (from rev 401543, qtcreator/trunk/PKGBUILD) qtcreator/repos/testing-x86_64/qtcreator-clang-libs.patch (from rev 401543, qtcreator/trunk/qtcreator-clang-libs.patch) + PKGBUILD | 69 +++ qtcreator-clang-libs.patch | 24 ++ 2 files changed, 93 insertions(+) Copied: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 401543, qtcreator/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-11-20 13:00:13 UTC (rev 401544) @@ -0,0 +1,69 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.13.3 +_clangver=11.0.0 +pkgrel=1 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy syntax-highlighting yaml-cpp desktop-file-utils) +makedepends=(llvm python) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support' +'perf: performer analyzer') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-clang-libs.patch) +sha256sums=('7b0317ca9354284e98967e94a30a1b813db379017d28d9847847498c113df9e5' +'0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + sed -e 's|libexec|lib|g' -i src/tools/tools.pro + # use system qbs + rm -r src/shared/qbs + + # Fix build with clang 10 + patch -p1 -i ../qtcreator-clang-libs.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr \ +KSYNTAXHIGHLIGHTING_LIB_DIR=/usr/lib KSYNTAXHIGHLIGHTING_INCLUDE_DIR=/usr/include/KF5/KSyntaxHighlighting \ +CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES \ +"$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT +} Copied: qtcreator/repos/testing-x86_64/qtcreator-clang-libs.patch (from rev 401543, qtcreator/trunk/qtcreator-clang-libs.patch) === --- testing-x86_64/qtcreator-clang-libs.patch (rev 0) +++ testing-x86_64/qtcreator-clang-libs.patch 2020-11-20 13:00:13 UTC (rev 401544) @@ -0,0 +1,24 @@ +diff --git a/src/shared/clang/clang_installation.pri b/src/shared/clang/clang_installation.pri +index 08838838bc..bee3779484 100644 +--- a/src/shared/clang/clang_installation.pri b/src/shared/clang/clang_installation.pri +@@ -131,9 +131,7 @@ defineReplace(extractWarnings) { + return($$result) + } + +-CLANGTOOLING_LIBS=-lclangTooling -lclangIndex -lclangFrontend -lclangParse -lclangSerialization \ +- -lclangSema -lclangEdit -lclangAnalysis -lclangDriver -lclangDynamicASTMatchers \ +- -lclangASTMatchers -lclangToolingCore -lclangAST -lclangLex -lclangBasic ++CLANGTOOLING_LIBS=-lclang-cpp + win32:CLANGTOOLING_LIBS += -lversion + + BIN_EXTENSION = +@@ -207,7 +205,7 @@ isEmpty(LLVM_VERSION) { + isEmpty(QTC_CLANG_BUILDMODE_MISMATCH)|!equals(QTC_CLANG_BUILDMODE_MISMATCH, 1) { + CLANGFORMAT_MAIN_HEADER = $$LLVM_INCLUDEPATH/clang/Format/Format.h + exists($$CLANGFORMAT_MAIN_HEADER) { +-CLANGFORMAT_LIBS=-lclangFormat -lclangToolingInclusions -lclangToolingCore -lclangRewrite -lclangLex -lclangBasic ++CLANGFORMAT_LIBS=-lclang-cpp + ALL_CLANG_LIBS=-lclangFormat -lclangToolingInclusions -lclangTooling -lclangToolingCore \ +-lclangRewrite -lclangIndex -lclangFrontend -lclangParse -lclangSerialization \ +
[arch-commits] Commit in qtcreator/repos (3 files)
Date: Tuesday, October 13, 2020 @ 08:49:28 Author: arojas Revision: 398108 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 398107, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch (from rev 398107, qtcreator/trunk/qtcreator-clang-libs.patch) + PKGBUILD | 69 +++ qtcreator-clang-libs.patch | 24 ++ 2 files changed, 93 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 398107, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-10-13 08:49:28 UTC (rev 398108) @@ -0,0 +1,69 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.13.2 +_clangver=11.0.0 +pkgrel=2 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy syntax-highlighting yaml-cpp desktop-file-utils) +makedepends=(llvm python) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support' +'perf: performer analyzer') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-clang-libs.patch) +sha256sums=('b00a5c13ba67d2e3436e6d9bf32fba38d780a1de0bc85b813daac672021e9428' +'0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + sed -e 's|libexec|lib|g' -i src/tools/tools.pro + # use system qbs + rm -r src/shared/qbs + + # Fix build with clang 10 + patch -p1 -i ../qtcreator-clang-libs.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr \ +KSYNTAXHIGHLIGHTING_LIB_DIR=/usr/lib KSYNTAXHIGHLIGHTING_INCLUDE_DIR=/usr/include/KF5/KSyntaxHighlighting \ +CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES \ +"$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT +} Copied: qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch (from rev 398107, qtcreator/trunk/qtcreator-clang-libs.patch) === --- staging-x86_64/qtcreator-clang-libs.patch (rev 0) +++ staging-x86_64/qtcreator-clang-libs.patch 2020-10-13 08:49:28 UTC (rev 398108) @@ -0,0 +1,24 @@ +diff --git a/src/shared/clang/clang_installation.pri b/src/shared/clang/clang_installation.pri +index 08838838bc..bee3779484 100644 +--- a/src/shared/clang/clang_installation.pri b/src/shared/clang/clang_installation.pri +@@ -131,9 +131,7 @@ defineReplace(extractWarnings) { + return($$result) + } + +-CLANGTOOLING_LIBS=-lclangTooling -lclangIndex -lclangFrontend -lclangParse -lclangSerialization \ +- -lclangSema -lclangEdit -lclangAnalysis -lclangDriver -lclangDynamicASTMatchers \ +- -lclangASTMatchers -lclangToolingCore -lclangAST -lclangLex -lclangBasic ++CLANGTOOLING_LIBS=-lclang-cpp + win32:CLANGTOOLING_LIBS += -lversion + + BIN_EXTENSION = +@@ -207,7 +205,7 @@ isEmpty(LLVM_VERSION) { + isEmpty(QTC_CLANG_BUILDMODE_MISMATCH)|!equals(QTC_CLANG_BUILDMODE_MISMATCH, 1) { + CLANGFORMAT_MAIN_HEADER = $$LLVM_INCLUDEPATH/clang/Format/Format.h + exists($$CLANGFORMAT_MAIN_HEADER) { +-CLANGFORMAT_LIBS=-lclangFormat -lclangToolingInclusions -lclangToolingCore -lclangRewrite -lclangLex -lclangBasic ++CLANGFORMAT_LIBS=-lclang-cpp + ALL_CLANG_LIBS=-lclangFormat -lclangToolingInclusions -lclangTooling -lclangToolingCore \ +-lclangRewrite -lclangIndex -lclangFrontend -lclangParse -lclangSerialization \ +
[arch-commits] Commit in qtcreator/repos (3 files)
Date: Tuesday, March 31, 2020 @ 11:20:21 Author: arojas Revision: 378900 archrelease: copy trunk to testing-x86_64 Added: qtcreator/repos/testing-x86_64/ qtcreator/repos/testing-x86_64/PKGBUILD (from rev 378899, qtcreator/trunk/PKGBUILD) qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch (from rev 378899, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 73 ++ qtcreator-preload-plugins.patch | 13 ++ 2 files changed, 86 insertions(+) Copied: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 378899, qtcreator/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-03-31 11:20:21 UTC (rev 378900) @@ -0,0 +1,73 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.11.2 +_clangver=9.0.1 +pkgrel=1 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy syntax-highlighting desktop-file-utils) +makedepends=(llvm python patchelf) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support' +'perf: performer analyzer') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-preload-plugins.patch) +sha256sums=('8d67e45b66944fdb0f879cbfae341af7e38d6a348cf18332b5cb9f07937aae02' +'d6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + sed -e 's|libexec|lib|g' -i src/tools/tools.pro + # use system qbs + rm -r src/shared/qbs + # Preload analyzer plugins, since upstream clang doesn't link to all plugins + # see http://code.qt.io/cgit/clang/clang.git/commit/?id=7f349701d3ea0c47be3a43e2656993fd55cf + # and https://bugs.archlinux.org/task/59492 + patch -p1 -i ../qtcreator-preload-plugins.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr \ +KSYNTAXHIGHLIGHTING_LIB_DIR=/usr/lib KSYNTAXHIGHLIGHTING_INCLUDE_DIR=/usr/include/KF5/KSyntaxHighlighting \ +CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES \ +"$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT + +# Link clazy plugin explicitely + patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend +} Copied: qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch (from rev 378899, qtcreator/trunk/qtcreator-preload-plugins.patch) === --- testing-x86_64/qtcreator-preload-plugins.patch (rev 0) +++ testing-x86_64/qtcreator-preload-plugins.patch 2020-03-31 11:20:21 UTC (rev 378900) @@ -0,0 +1,13 @@ +diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +index a580704243..7a8740a5cc 100644 +--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +@@ -63,7 +63,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis + + const QString clazyChecks = diagnosticConfig.clazyChecks(); + if (!clazyChecks.isEmpty()) { +-arguments << XclangArgs({"-add-plugin", ++arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", + "clazy", + "-plugin-arg-clazy", + diagnosticConfig.clazyChecks()});
[arch-commits] Commit in qtcreator/repos (3 files)
Date: Sunday, December 29, 2019 @ 23:42:06 Author: foutrelis Revision: 372357 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 372356, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 372356, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 73 ++ qtcreator-preload-plugins.patch | 13 ++ 2 files changed, 86 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 372356, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-12-29 23:42:06 UTC (rev 372357) @@ -0,0 +1,73 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.11.0 +_clangver=9.0.1 +pkgrel=4 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy syntax-highlighting desktop-file-utils) +makedepends=(llvm python patchelf) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support' +'perf: performer analyzer') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-preload-plugins.patch) +sha256sums=('efebaa1c52526bf9c07b35c43071735c5d0b83b6cd08daab35a21e7ed53a7645' +'d6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + sed -e 's|libexec|lib|g' -i src/tools/tools.pro + # use system qbs + rm -r src/shared/qbs + # Preload analyzer plugins, since upstream clang doesn't link to all plugins + # see http://code.qt.io/cgit/clang/clang.git/commit/?id=7f349701d3ea0c47be3a43e2656993fd55cf + # and https://bugs.archlinux.org/task/59492 + patch -p1 -i ../qtcreator-preload-plugins.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr \ +KSYNTAXHIGHLIGHTING_LIB_DIR=/usr/lib KSYNTAXHIGHLIGHTING_INCLUDE_DIR=/usr/include/KF5/KSyntaxHighlighting \ +CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES \ +"$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT + +# Link clazy plugin explicitely + patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend +} Copied: qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 372356, qtcreator/trunk/qtcreator-preload-plugins.patch) === --- staging-x86_64/qtcreator-preload-plugins.patch (rev 0) +++ staging-x86_64/qtcreator-preload-plugins.patch 2019-12-29 23:42:06 UTC (rev 372357) @@ -0,0 +1,13 @@ +diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +index a580704243..7a8740a5cc 100644 +--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +@@ -63,7 +63,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis + + const QString clazyChecks = diagnosticConfig.clazyChecks(); + if (!clazyChecks.isEmpty()) { +-arguments << XclangArgs({"-add-plugin", ++arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", + "clazy", + "-plugin-arg-clazy", + diagnosticConfig.clazyChecks()});
[arch-commits] Commit in qtcreator/repos (3 files)
Date: Friday, December 13, 2019 @ 18:50:54 Author: arojas Revision: 371371 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 371370, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 371370, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 73 ++ qtcreator-preload-plugins.patch | 13 ++ 2 files changed, 86 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 371370, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-12-13 18:50:54 UTC (rev 371371) @@ -0,0 +1,73 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.11.0 +_clangver=9.0.0 +pkgrel=3 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy syntax-highlighting desktop-file-utils) +makedepends=(llvm python patchelf) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support' +'perf: performer analyzer') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-preload-plugins.patch) +sha256sums=('efebaa1c52526bf9c07b35c43071735c5d0b83b6cd08daab35a21e7ed53a7645' +'d6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + sed -e 's|libexec|lib|g' -i src/tools/tools.pro + # use system qbs + rm -r src/shared/qbs + # Preload analyzer plugins, since upstream clang doesn't link to all plugins + # see http://code.qt.io/cgit/clang/clang.git/commit/?id=7f349701d3ea0c47be3a43e2656993fd55cf + # and https://bugs.archlinux.org/task/59492 + patch -p1 -i ../qtcreator-preload-plugins.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr \ +KSYNTAXHIGHLIGHTING_LIB_DIR=/usr/lib KSYNTAXHIGHLIGHTING_INCLUDE_DIR=/usr/include/KF5/KSyntaxHighlighting \ +CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES \ +"$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT + +# Link clazy plugin explicitely + patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend +} Copied: qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 371370, qtcreator/trunk/qtcreator-preload-plugins.patch) === --- staging-x86_64/qtcreator-preload-plugins.patch (rev 0) +++ staging-x86_64/qtcreator-preload-plugins.patch 2019-12-13 18:50:54 UTC (rev 371371) @@ -0,0 +1,13 @@ +diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +index a580704243..7a8740a5cc 100644 +--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +@@ -63,7 +63,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis + + const QString clazyChecks = diagnosticConfig.clazyChecks(); + if (!clazyChecks.isEmpty()) { +-arguments << XclangArgs({"-add-plugin", ++arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", + "clazy", + "-plugin-arg-clazy", + diagnosticConfig.clazyChecks()});
[arch-commits] Commit in qtcreator/repos (3 files)
Date: Thursday, December 12, 2019 @ 12:40:46 Author: arojas Revision: 370766 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 370765, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 370765, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 73 ++ qtcreator-preload-plugins.patch | 13 ++ 2 files changed, 86 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 370765, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-12-12 12:40:46 UTC (rev 370766) @@ -0,0 +1,73 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.11.0 +_clangver=9.0.0 +pkgrel=2 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy syntax-highlighting desktop-file-utils) +makedepends=(llvm python patchelf) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support' +'perf: performer analyzer') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-preload-plugins.patch) +sha256sums=('efebaa1c52526bf9c07b35c43071735c5d0b83b6cd08daab35a21e7ed53a7645' +'d6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + sed -e 's|libexec|lib|g' -i src/tools/tools.pro + # use system qbs + rm -r src/shared/qbs + # Preload analyzer plugins, since upstream clang doesn't link to all plugins + # see http://code.qt.io/cgit/clang/clang.git/commit/?id=7f349701d3ea0c47be3a43e2656993fd55cf + # and https://bugs.archlinux.org/task/59492 + patch -p1 -i ../qtcreator-preload-plugins.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr \ +KSYNTAXHIGHLIGHTING_LIB_DIR=/usr/lib KSYNTAXHIGHLIGHTING_INCLUDE_DIR=/usr/include/KF5/KSyntaxHighlighting \ +CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES \ +"$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT + +# Link clazy plugin explicitely + patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend +} Copied: qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 370765, qtcreator/trunk/qtcreator-preload-plugins.patch) === --- staging-x86_64/qtcreator-preload-plugins.patch (rev 0) +++ staging-x86_64/qtcreator-preload-plugins.patch 2019-12-12 12:40:46 UTC (rev 370766) @@ -0,0 +1,13 @@ +diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +index a580704243..7a8740a5cc 100644 +--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +@@ -63,7 +63,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis + + const QString clazyChecks = diagnosticConfig.clazyChecks(); + if (!clazyChecks.isEmpty()) { +-arguments << XclangArgs({"-add-plugin", ++arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", + "clazy", + "-plugin-arg-clazy", + diagnosticConfig.clazyChecks()});
[arch-commits] Commit in qtcreator/repos (3 files)
Date: Thursday, September 5, 2019 @ 11:22:03 Author: arojas Revision: 361722 archrelease: copy trunk to testing-x86_64 Added: qtcreator/repos/testing-x86_64/ qtcreator/repos/testing-x86_64/PKGBUILD (from rev 361721, qtcreator/trunk/PKGBUILD) qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch (from rev 361721, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 73 ++ qtcreator-preload-plugins.patch | 21 ++ 2 files changed, 94 insertions(+) Copied: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 361721, qtcreator/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-09-05 11:22:03 UTC (rev 361722) @@ -0,0 +1,73 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.10.0 +_clangver=8.0.1 +pkgrel=1 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy syntax-highlighting desktop-file-utils) +makedepends=(llvm python patchelf) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support' +'perf: performer analyzer') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-preload-plugins.patch) +sha256sums=('8f5d3abc522d8b8879adfa098e037f751b4311173f5f443fd1b5800f5feb0f8a' +'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + sed -e 's|libexec|lib|g' -i src/tools/tools.pro + # use system qbs + rm -r src/shared/qbs + # Preload analyzer plugins, since upstream clang doesn't link to all plugins + # see http://code.qt.io/cgit/clang/clang.git/commit/?id=7f349701d3ea0c47be3a43e2656993fd55cf + # and https://bugs.archlinux.org/task/59492 + patch -p1 -i ../qtcreator-preload-plugins.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr \ +KSYNTAXHIGHLIGHTING_LIB_DIR=/usr/lib KSYNTAXHIGHLIGHTING_INCLUDE_DIR=/usr/include/KF5/KSyntaxHighlighting \ +CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES \ +"$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT + +# Link clazy plugin explicitely + patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend +} Copied: qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch (from rev 361721, qtcreator/trunk/qtcreator-preload-plugins.patch) === --- testing-x86_64/qtcreator-preload-plugins.patch (rev 0) +++ testing-x86_64/qtcreator-preload-plugins.patch 2019-09-05 11:22:03 UTC (rev 361722) @@ -0,0 +1,21 @@ +diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +index a580704243..7a8740a5cc 100644 +--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +@@ -76,6 +76,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis + + const ClangDiagnosticConfig::TidyMode tidyMode = m_diagnosticConfig.clangTidyMode(); + if (tidyMode != ClangDiagnosticConfig::TidyMode::Disabled) { ++arguments << XclangArgs({"-load", "libclangTidyPlugin.so"}); + arguments << XclangArgs({"-add-plugin", "clang-tidy"}); + if (tidyMode != ClangDiagnosticConfig::TidyMode::File) { + const QString tidyChecks = m_diagnosticConfig.clangTidyChecks(); +@@ -85,7 +86,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis + + const QString clazyChecks = m_diagnosticConfig.clazyChecks(); +
[arch-commits] Commit in qtcreator/repos (3 files)
Date: Saturday, April 20, 2019 @ 20:06:38 Author: arojas Revision: 351785 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 351784, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-plugins.patch (from rev 351784, qtcreator/trunk/qtcreator-clang-plugins.patch) ---+ PKGBUILD | 68 qtcreator-clang-plugins.patch | 64 + 2 files changed, 132 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 351784, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-04-20 20:06:38 UTC (rev 351785) @@ -0,0 +1,68 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.9.0 +_clangver=8.0.0 +pkgrel=1 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy syntax-highlighting desktop-file-utils) +makedepends=(llvm python) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-clang-plugins.patch) +sha256sums=('46ee1992531b769450f8be96cf63520b609d7dd305df345d7cd8216ac396e6a8' +'149ffcd0ab7c53605951c66dba707ff7e0dc17136c921f1a668fc392c5a7f3f2') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + # use system qbs + rm -r src/shared/qbs + # Load analyzer plugins on demand, since upstream clang doesn't link to all plugins + # see http://code.qt.io/cgit/clang/clang.git/commit/?id=7f349701d3ea0c47be3a43e2656993fd55cf + # and https://bugs.archlinux.org/task/59492 + patch -p1 -i ../qtcreator-clang-plugins.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr \ +KSYNTAXHIGHLIGHTING_LIB_DIR=/usr/lib KSYNTAXHIGHLIGHTING_INCLUDE_DIR=/usr/include/KF5/KSyntaxHighlighting \ +CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES \ +"$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT +} Copied: qtcreator/repos/staging-x86_64/qtcreator-clang-plugins.patch (from rev 351784, qtcreator/trunk/qtcreator-clang-plugins.patch) === --- staging-x86_64/qtcreator-clang-plugins.patch (rev 0) +++ staging-x86_64/qtcreator-clang-plugins.patch2019-04-20 20:06:38 UTC (rev 351785) @@ -0,0 +1,64 @@ +diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +index 706c5101a3..dbfaeb8457 100644 +--- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +@@ -511,6 +511,7 @@ private: + if (tidyMode == Mode::Disabled) + return; + ++m_options.append(CppTools::XclangArgs({"-load", "libclangTidyPlugin.so"})); + m_options.append(CppTools::XclangArgs({"-add-plugin", "clang-tidy"})); + + if (tidyMode == Mode::File) +@@ -526,15 +527,15 @@ private: + if (checks.isEmpty()) + return; + +-m_options.append(CppTools::XclangArgs({"-add-plugin", +- "clang-lazy", +- "-plugin-arg-clang-lazy", ++m_options.append(CppTools::XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", ++ "clazy", ++ "-plugin-arg-clazy", +
[arch-commits] Commit in qtcreator/repos (3 files)
Date: Tuesday, March 26, 2019 @ 03:16:33 Author: foutrelis Revision: 349224 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 349223, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-plugins.patch (from rev 349223, qtcreator/trunk/qtcreator-clang-plugins.patch) ---+ PKGBUILD | 65 qtcreator-clang-plugins.patch | 44 +++ 2 files changed, 109 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 349223, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-03-26 03:16:33 UTC (rev 349224) @@ -0,0 +1,65 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.8.2 +_clangver=8.0.0 +pkgrel=2 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy) +makedepends=(git mesa llvm python) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-clang-plugins.patch) +sha256sums=('a8257daf39f6025c8523285dc73fd6b66645f3ff071e112b484325966eee0c92' +'34ea74698ddff9925e06bff6b4c995bf93488d1104e8cc517bcfdd621effb428') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + # use system qbs + rm -r src/shared/qbs + # Load analyzer plugins on demand, since upstream clang doesn't link to all plugins + # see http://code.qt.io/cgit/clang/clang.git/commit/?id=7f349701d3ea0c47be3a43e2656993fd55cf + # and https://bugs.archlinux.org/task/59492 + patch -p1 -i ../qtcreator-clang-plugins.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES "$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT +} Copied: qtcreator/repos/staging-x86_64/qtcreator-clang-plugins.patch (from rev 349223, qtcreator/trunk/qtcreator-clang-plugins.patch) === --- staging-x86_64/qtcreator-clang-plugins.patch (rev 0) +++ staging-x86_64/qtcreator-clang-plugins.patch2019-03-26 03:16:33 UTC (rev 349224) @@ -0,0 +1,44 @@ +diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +index 25054f14ec..b0e17c3260 100644 +--- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +@@ -524,6 +524,7 @@ private: + if (tidyMode == Mode::Disabled) + return; + ++addXclangArg("-load", "libclangTidyPlugin.so"); + addXclangArg("-add-plugin", "clang-tidy"); + + if (tidyMode == Mode::File) +@@ -539,7 +540,8 @@ private: + if (checks.isEmpty()) + return; + +-addXclangArg("-add-plugin", "clang-lazy"); ++addXclangArg("-load", "ClazyPlugin.so"); ++addXclangArg("-add-plugin", "clazy"); + addXclangArg("-plugin-arg-clang-lazy", "enable-all-fixits"); + addXclangArg("-plugin-arg-clang-lazy", "no-autowrite-fixits"); + addXclangArg("-plugin-arg-clang-lazy", checks); +diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +index d91724392e..75e1692f49 100644 +--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +@@ -83,6 +83,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const
[arch-commits] Commit in qtcreator/repos (3 files)
Date: Friday, February 1, 2019 @ 11:36:21 Author: arojas Revision: 345002 archrelease: copy trunk to testing-x86_64 Added: qtcreator/repos/testing-x86_64/ qtcreator/repos/testing-x86_64/PKGBUILD (from rev 345001, qtcreator/trunk/PKGBUILD) qtcreator/repos/testing-x86_64/qtcreator-clang-plugins.patch (from rev 345001, qtcreator/trunk/qtcreator-clang-plugins.patch) ---+ PKGBUILD | 65 qtcreator-clang-plugins.patch | 44 +++ 2 files changed, 109 insertions(+) Copied: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 345001, qtcreator/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2019-02-01 11:36:21 UTC (rev 345002) @@ -0,0 +1,65 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.8.1 +_clangver=7.0.1 +pkgrel=2 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy) +makedepends=(git mesa llvm python) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-clang-plugins.patch) +sha256sums=('8f691de9b30b99dd44e010525ba9bf3054142a1082dc5273c46c533b91c07bd9' +'34ea74698ddff9925e06bff6b4c995bf93488d1104e8cc517bcfdd621effb428') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + # use system qbs + rm -r src/shared/qbs + # Load analyzer plugins on demand, since upstream clang doesn't link to all plugins + # see http://code.qt.io/cgit/clang/clang.git/commit/?id=7f349701d3ea0c47be3a43e2656993fd55cf + # and https://bugs.archlinux.org/task/59492 + patch -p1 -i ../qtcreator-clang-plugins.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES "$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT +} Copied: qtcreator/repos/testing-x86_64/qtcreator-clang-plugins.patch (from rev 345001, qtcreator/trunk/qtcreator-clang-plugins.patch) === --- testing-x86_64/qtcreator-clang-plugins.patch (rev 0) +++ testing-x86_64/qtcreator-clang-plugins.patch2019-02-01 11:36:21 UTC (rev 345002) @@ -0,0 +1,44 @@ +diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +index 25054f14ec..b0e17c3260 100644 +--- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +@@ -524,6 +524,7 @@ private: + if (tidyMode == Mode::Disabled) + return; + ++addXclangArg("-load", "libclangTidyPlugin.so"); + addXclangArg("-add-plugin", "clang-tidy"); + + if (tidyMode == Mode::File) +@@ -539,7 +540,8 @@ private: + if (checks.isEmpty()) + return; + +-addXclangArg("-add-plugin", "clang-lazy"); ++addXclangArg("-load", "ClazyPlugin.so"); ++addXclangArg("-add-plugin", "clazy"); + addXclangArg("-plugin-arg-clang-lazy", "enable-all-fixits"); + addXclangArg("-plugin-arg-clang-lazy", "no-autowrite-fixits"); + addXclangArg("-plugin-arg-clang-lazy", checks); +diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +index d91724392e..75e1692f49 100644 +--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +@@ -83,6 +83,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const
[arch-commits] Commit in qtcreator/repos (3 files)
Date: Sunday, December 16, 2018 @ 16:01:33 Author: foutrelis Revision: 342406 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 342405, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-plugins.patch (from rev 342405, qtcreator/trunk/qtcreator-clang-plugins.patch) ---+ PKGBUILD | 65 qtcreator-clang-plugins.patch | 40 2 files changed, 105 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 342405, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-12-16 16:01:33 UTC (rev 342406) @@ -0,0 +1,65 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.8.0 +_clangver=7.0.1 +pkgrel=2 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='http://qt-project.org' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy) +makedepends=(git mesa llvm python) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support') +source=("http://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-clang-plugins.patch) +sha256sums=('aec7b4595e17f5536eb2eef4331057f2d0fa4ba0a46f4968cc06959a1d589b43' +'6f19fc9d83964a5460d224b3d44ce580553847960181fe0364e2ce26e1efd2e6') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + # use system qbs + rm -r src/shared/qbs + # Load analyzer plugins on demand, since upstream clang doesn't link to all plugins + # see http://code.qt.io/cgit/clang/clang.git/commit/?id=7f349701d3ea0c47be3a43e2656993fd55cf + # and https://bugs.archlinux.org/task/59492 + patch -p1 -i ../qtcreator-clang-plugins.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES "$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT +} Copied: qtcreator/repos/staging-x86_64/qtcreator-clang-plugins.patch (from rev 342405, qtcreator/trunk/qtcreator-clang-plugins.patch) === --- staging-x86_64/qtcreator-clang-plugins.patch (rev 0) +++ staging-x86_64/qtcreator-clang-plugins.patch2018-12-16 16:01:33 UTC (rev 342406) @@ -0,0 +1,40 @@ +diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +index 25054f14ec..b0e17c3260 100644 +--- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +@@ -524,6 +524,7 @@ private: + if (tidyMode == Mode::Disabled) + return; + ++addXclangArg("-load", "libclangTidyPlugin.so"); + addXclangArg("-add-plugin", "clang-tidy"); + + if (tidyMode == Mode::File) +@@ -539,6 +540,7 @@ private: + if (checks.isEmpty()) + return; + ++addXclangArg("-load", "ClangLazy.so"); + addXclangArg("-add-plugin", "clang-lazy"); + addXclangArg("-plugin-arg-clang-lazy", "enable-all-fixits"); + addXclangArg("-plugin-arg-clang-lazy", "no-autowrite-fixits"); +diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +index d91724392e..75e1692f49 100644 +--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +@@ -83,6 +83,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis + + const ClangDiagnosticConfig::TidyMode tidyMode = m_diagnosticConfig.clangTidyMode();
[arch-commits] Commit in qtcreator/repos (3 files)
Date: Wednesday, December 5, 2018 @ 17:46:03 Author: arojas Revision: 341075 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 341074, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-plugins.patch (from rev 341074, qtcreator/trunk/qtcreator-clang-plugins.patch) ---+ PKGBUILD | 65 qtcreator-clang-plugins.patch | 40 2 files changed, 105 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 341074, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2018-12-05 17:46:03 UTC (rev 341075) @@ -0,0 +1,65 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.8.0 +_clangver=7.0.0 +pkgrel=1 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='http://qt-project.org' +license=(LGPL) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy) +makedepends=(git mesa llvm python) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +'cmake: cmake project support' +'x11-ssh-askpass: ssh support' +'git: git support' +'mercurial: mercurial support' +'bzr: bazaar support' +'valgrind: analyze support') +source=("http://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-clang-plugins.patch) +sha256sums=('aec7b4595e17f5536eb2eef4331057f2d0fa4ba0a46f4968cc06959a1d589b43' +'6f19fc9d83964a5460d224b3d44ce580553847960181fe0364e2ce26e1efd2e6') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + # fix hardcoded libexec path + sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri + # use system qbs + rm -r src/shared/qbs + # Load analyzer plugins on demand, since upstream clang doesn't link to all plugins + # see http://code.qt.io/cgit/clang/clang.git/commit/?id=7f349701d3ea0c47be3a43e2656993fd55cf + # and https://bugs.archlinux.org/task/59492 + patch -p1 -i ../qtcreator-clang-plugins.patch +} + +build() { + cd build + + qmake LLVM_INSTALL_DIR=/usr QBS_INSTALL_DIR=/usr CONFIG+=journald QMAKE_CFLAGS_ISYSTEM=-I \ +DEFINES+=QBS_ENABLE_PROJECT_FILE_UPDATES "$srcdir"/qt-creator-opensource-src-$pkgver/qtcreator.pro + make + make docs +} + +package() { + cd build + + make INSTALL_ROOT="$pkgdir/usr/" install + make INSTALL_ROOT="$pkgdir/usr/" install_docs + + install -Dm644 "$srcdir"/qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT +} Copied: qtcreator/repos/staging-x86_64/qtcreator-clang-plugins.patch (from rev 341074, qtcreator/trunk/qtcreator-clang-plugins.patch) === --- staging-x86_64/qtcreator-clang-plugins.patch (rev 0) +++ staging-x86_64/qtcreator-clang-plugins.patch2018-12-05 17:46:03 UTC (rev 341075) @@ -0,0 +1,40 @@ +diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +index 25054f14ec..b0e17c3260 100644 +--- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +@@ -524,6 +524,7 @@ private: + if (tidyMode == Mode::Disabled) + return; + ++addXclangArg("-load", "libclangTidyPlugin.so"); + addXclangArg("-add-plugin", "clang-tidy"); + + if (tidyMode == Mode::File) +@@ -539,6 +540,7 @@ private: + if (checks.isEmpty()) + return; + ++addXclangArg("-load", "ClangLazy.so"); + addXclangArg("-add-plugin", "clang-lazy"); + addXclangArg("-plugin-arg-clang-lazy", "enable-all-fixits"); + addXclangArg("-plugin-arg-clang-lazy", "no-autowrite-fixits"); +diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +index d91724392e..75e1692f49 100644 +--- a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp +@@ -83,6 +83,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis + + const ClangDiagnosticConfig::TidyMode tidyMode = m_diagnosticConfig.clangTidyMode(); +