[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Wednesday, December 23, 2020 @ 08:03:33 Author: arojas Revision: 404905 Demote qbs to optdepend Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-12-23 07:51:26 UTC (rev 404904) +++ PKGBUILD2020-12-23 08:03:33 UTC (rev 404905) @@ -15,7 +15,7 @@ url='https://www.qt.io' license=(LGPL) depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine qt5-svg qt5-quick3d qt5-serialport - clang=$_clangver qbs clazy syntax-highlighting yaml-cpp) + clang=$_clangver clazy syntax-highlighting yaml-cpp) makedepends=(cmake llvm python) options=(docs) optdepends=('qt5-doc: integrated Qt documentation' @@ -23,6 +23,7 @@ 'qt5-translations: for other languages' 'gdb: debugger' 'cmake: cmake project support' +'qbs: QBS project support' 'x11-ssh-askpass: ssh support' 'git: git support' 'mercurial: mercurial support'
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (3 files)
Date: Saturday, December 19, 2020 @ 00:24:23 Author: arojas Revision: 404511 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 404510, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-fix-clang-paths.patch (from rev 404510, qtcreator/trunk/qtcreator-fix-clang-paths.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD -+ PKGBUILD| 118 +++--- qtcreator-fix-clang-paths.patch | 15 2 files changed, 76 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-12-19 00:24:10 UTC (rev 404510) +++ PKGBUILD2020-12-19 00:24:23 UTC (rev 404511) @@ -1,57 +0,0 @@ -# Maintainer: Antonio Rojas -# Contributor: Sven-Hendrik Haase -# Contributor: Imanol Celaya -# Contributor: Lukas Jirkovsky -# Contributor: Dan Vratil -# Contributor: thotypous -# Contributor: delor - -pkgname=qtcreator -pkgver=4.14.0 -_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 qt5-svg qt5-quick3d qt5-serialport - clang=$_clangver qbs clazy syntax-highlighting yaml-cpp) -makedepends=(cmake 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;) -sha256sums=('d240109351e96446ff149cbd56341ec02ba37bfa50462a85e4d02dfe6b21201e') - -prepare() { - cd qt-creator-opensource-src-$pkgver - -# use system qbs - rm -r src/shared/qbs -# Fix linking to clang - sed -e 's|clangFormat|clang-cpp|' -i src/plugins/clangformat/CMakeLists.txt -# Fix libexec path - sed -e 's|libexec/qtcreator|lib/qtcreator|' -i cmake/QtCreatorAPIInternal.cmake -} - -build() { - cmake -B build -S qt-creator-opensource-src-$pkgver \ --DCMAKE_INSTALL_PREFIX=/usr \ --DWITH_DOCS=ON - cmake --build build -} - -package() { - DESTDIR="$pkgdir" cmake --install build - - install -Dm644 qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT -} Copied: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 404510, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-12-19 00:24:23 UTC (rev 404511) @@ -0,0 +1,61 @@ +# Maintainer: Antonio Rojas +# Contributor: Sven-Hendrik Haase +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.14.0 +_clangver=11.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 qt5-svg qt5-quick3d qt5-serialport + clang=$_clangver qbs clazy syntax-highlighting yaml-cpp) +makedepends=(cmake 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-fix-clang-paths.patch) +sha256sums=('d240109351e96446ff149cbd56341ec02ba37bfa50462a85e4d02dfe6b21201e' +'eaaa001d3b2705ca2bdfafca5ffce7919baed8726c50113ae03e1d97da5b8c8d') + +prepare() { + cd qt-creator-opensource-src-$pkgver + +# use system qbs + rm -r src/shared/qbs +# Fix linking to clang + sed -e 's|clangFormat|clang-cpp|' -i src/plugins/clangformat/CMakeLists.txt +# Fix libexec path + sed -e 's|libexec/qtcreator|lib/qtcreator|' -i cmake/QtCreatorAPIInternal.cmake +# Fix clang include path + patch -p1 -i ../qtcreator-fix-clang-paths.patch +} + +build() { + cmake -B build -S qt-creator-opensource-src-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DWITH_DOCS=ON + cmake
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-fix-clang-paths.patch)
Date: Saturday, December 19, 2020 @ 00:24:10 Author: arojas Revision: 404510 Fix clang include paths (FS#69027) Added: qtcreator/trunk/qtcreator-fix-clang-paths.patch Modified: qtcreator/trunk/PKGBUILD -+ PKGBUILD| 10 +++--- qtcreator-fix-clang-paths.patch | 15 +++ 2 files changed, 22 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-19 00:03:04 UTC (rev 404509) +++ PKGBUILD2020-12-19 00:24:10 UTC (rev 404510) @@ -9,7 +9,7 @@ pkgname=qtcreator pkgver=4.14.0 _clangver=11.0.0 -pkgrel=2 +pkgrel=3 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -29,8 +29,10 @@ '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;) -sha256sums=('d240109351e96446ff149cbd56341ec02ba37bfa50462a85e4d02dfe6b21201e') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; + qtcreator-fix-clang-paths.patch) +sha256sums=('d240109351e96446ff149cbd56341ec02ba37bfa50462a85e4d02dfe6b21201e' +'eaaa001d3b2705ca2bdfafca5ffce7919baed8726c50113ae03e1d97da5b8c8d') prepare() { cd qt-creator-opensource-src-$pkgver @@ -41,6 +43,8 @@ sed -e 's|clangFormat|clang-cpp|' -i src/plugins/clangformat/CMakeLists.txt # Fix libexec path sed -e 's|libexec/qtcreator|lib/qtcreator|' -i cmake/QtCreatorAPIInternal.cmake +# Fix clang include path + patch -p1 -i ../qtcreator-fix-clang-paths.patch } build() { Added: qtcreator-fix-clang-paths.patch === --- qtcreator-fix-clang-paths.patch (rev 0) +++ qtcreator-fix-clang-paths.patch 2020-12-19 00:24:10 UTC (rev 404510) @@ -0,0 +1,15 @@ +diff --git a/src/libs/clangsupport/CMakeLists.txt b/src/libs/clangsupport/CMakeLists.txt +index dcaa464710..01cf7580b7 100644 +--- a/src/libs/clangsupport/CMakeLists.txt b/src/libs/clangsupport/CMakeLists.txt +@@ -5,8 +5,8 @@ add_qtc_library(ClangSupport + PUBLIC_DEPENDS Utils Sqlite Qt5::Core Qt5::Network + PUBLIC_DEFINES + CLANG_VERSION="${CLANG_VERSION}" +- CLANG_INCLUDE_DIR="${IDE_LIBEXEC_PATH}/clang/lib/clang/${CLANG_VERSION}/include" +-CLANG_BINDIR="${IDE_LIBEXEC_PATH}/clang/bin" ++CLANG_INCLUDE_DIR="/usr/lib/clang/${CLANG_VERSION}/include" ++CLANG_BINDIR="/usr/bin" + DEFINES CLANGSUPPORT_BUILD_LIB + PUBLIC_INCLUDES + "${CMAKE_CURRENT_LIST_DIR}"
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Date: Friday, December 18, 2020 @ 14:28:08 Author: arojas Revision: 404480 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 404479, qtcreator/trunk/PKGBUILD) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD --+ PKGBUILD | 114 ++--- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-12-18 14:27:55 UTC (rev 404479) +++ PKGBUILD2020-12-18 14:28:08 UTC (rev 404480) @@ -1,57 +0,0 @@ -# Maintainer: Antonio Rojas -# Contributor: Sven-Hendrik Haase -# Contributor: Imanol Celaya -# Contributor: Lukas Jirkovsky -# Contributor: Dan Vratil -# Contributor: thotypous -# Contributor: delor - -pkgname=qtcreator -pkgver=4.14.0 -_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 qt5-svg qt5-quick3d qt5-serialport - clang=$_clangver qbs clazy syntax-highlighting yaml-cpp) -makedepends=(cmake 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;) -sha256sums=('d240109351e96446ff149cbd56341ec02ba37bfa50462a85e4d02dfe6b21201e') - -prepare() { - cd qt-creator-opensource-src-$pkgver - -# use system qbs - rm -r src/shared/qbs -# Fix linking to clang - sed -e 's|clangFormat|libclang|' -i src/plugins/clangformat/CMakeLists.txt -# Fix libexec path - sed -e 's|libexec/qtcreator|lib/qtcreator|' -i cmake/QtCreatorAPIInternal.cmake -} - -build() { - cmake -B build -S qt-creator-opensource-src-$pkgver \ --DCMAKE_INSTALL_PREFIX=/usr \ --DWITH_DOCS=ON - cmake --build build -} - -package() { - DESTDIR="$pkgdir" cmake --install build - - install -Dm644 qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT -} Copied: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 404479, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-12-18 14:28:08 UTC (rev 404480) @@ -0,0 +1,57 @@ +# Maintainer: Antonio Rojas +# Contributor: Sven-Hendrik Haase +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.14.0 +_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 qt5-svg qt5-quick3d qt5-serialport + clang=$_clangver qbs clazy syntax-highlighting yaml-cpp) +makedepends=(cmake 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;) +sha256sums=('d240109351e96446ff149cbd56341ec02ba37bfa50462a85e4d02dfe6b21201e') + +prepare() { + cd qt-creator-opensource-src-$pkgver + +# use system qbs + rm -r src/shared/qbs +# Fix linking to clang + sed -e 's|clangFormat|clang-cpp|' -i src/plugins/clangformat/CMakeLists.txt +# Fix libexec path + sed -e 's|libexec/qtcreator|lib/qtcreator|' -i cmake/QtCreatorAPIInternal.cmake +} + +build() { + cmake -B build -S qt-creator-opensource-src-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DWITH_DOCS=ON + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build + + install -Dm644 qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT +}
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Friday, December 18, 2020 @ 14:27:55 Author: arojas Revision: 404479 link ClangFormat plugin against correct library (still doesn't work with unpatched clang) Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-18 14:21:00 UTC (rev 404478) +++ PKGBUILD2020-12-18 14:27:55 UTC (rev 404479) @@ -9,7 +9,7 @@ pkgname=qtcreator pkgver=4.14.0 _clangver=11.0.0 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -38,7 +38,7 @@ # use system qbs rm -r src/shared/qbs # Fix linking to clang - sed -e 's|clangFormat|libclang|' -i src/plugins/clangformat/CMakeLists.txt + sed -e 's|clangFormat|clang-cpp|' -i src/plugins/clangformat/CMakeLists.txt # Fix libexec path sed -e 's|libexec/qtcreator|lib/qtcreator|' -i cmake/QtCreatorAPIInternal.cmake }
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (3 files)
Date: Thursday, December 17, 2020 @ 15:46:28 Author: arojas Revision: 404446 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 404445, qtcreator/trunk/PKGBUILD) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch + PKGBUILD | 126 +++ qtcreator-clang-libs.patch | 24 2 files changed, 57 insertions(+), 93 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-12-17 15:46:14 UTC (rev 404445) +++ PKGBUILD2020-12-17 15:46:28 UTC (rev 404446) @@ -1,69 +0,0 @@ -# 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/extra-x86_64/PKGBUILD (from rev 404445, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-12-17 15:46:28 UTC (rev 404446) @@ -0,0 +1,57 @@ +# Maintainer: Antonio Rojas +# Contributor: Sven-Hendrik Haase +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.14.0 +_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 qt5-svg qt5-quick3d qt5-serialport + clang=$_clangver qbs clazy syntax-highlighting yaml-cpp) +makedepends=(cmake 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;) +sha256sums=('d240109351e96446ff149cbd56341ec02ba37bfa50462a85e4d02dfe6b21201e') + +prepare() { + cd qt-creator-opensource-src-$pkgver + +# use system qbs + rm -r src/shared/qbs +# Fix linking to clang + sed -e 's|clangFormat|libclang|' -i src/plugins/clangformat/CMakeLists.txt +# Fix libexec path + sed -e 's|libexec/qtcreator|lib/qtcreator|' -i
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-clang-libs.patch)
Date: Thursday, December 17, 2020 @ 15:46:14 Author: arojas Revision: 404445 Update to 4.14.0, switch to cmake Modified: qtcreator/trunk/PKGBUILD Deleted: qtcreator/trunk/qtcreator-clang-libs.patch + PKGBUILD | 50 --- qtcreator-clang-libs.patch | 24 2 files changed, 19 insertions(+), 55 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-12-17 14:19:14 UTC (rev 40) +++ PKGBUILD2020-12-17 15:46:14 UTC (rev 404445) @@ -1,5 +1,5 @@ -# Maintainer: Sven-Hendrik Haase # Maintainer: Antonio Rojas +# Contributor: Sven-Hendrik Haase # Contributor: Imanol Celaya # Contributor: Lukas Jirkovsky # Contributor: Dan Vratil @@ -7,7 +7,7 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.13.3 +pkgver=4.14.0 _clangver=11.0.0 pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' @@ -14,8 +14,9 @@ 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) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine qt5-svg qt5-quick3d qt5-serialport + clang=$_clangver qbs clazy syntax-highlighting yaml-cpp) +makedepends=(cmake llvm python) options=(docs) optdepends=('qt5-doc: integrated Qt documentation' 'qt5-examples: welcome page examples' @@ -28,42 +29,29 @@ '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') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz;) +sha256sums=('d240109351e96446ff149cbd56341ec02ba37bfa50462a85e4d02dfe6b21201e') prepare() { - mkdir -p build + cd qt-creator-opensource-src-$pkgver - 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 +# use system qbs rm -r src/shared/qbs - - # Fix build with clang 10 - patch -p1 -i ../qtcreator-clang-libs.patch +# Fix linking to clang + sed -e 's|clangFormat|libclang|' -i src/plugins/clangformat/CMakeLists.txt +# Fix libexec path + sed -e 's|libexec/qtcreator|lib/qtcreator|' -i cmake/QtCreatorAPIInternal.cmake } 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 + cmake -B build -S qt-creator-opensource-src-$pkgver \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DWITH_DOCS=ON + cmake --build build } package() { - cd build + DESTDIR="$pkgdir" cmake --install 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 + install -Dm644 qt-creator-opensource-src-$pkgver/LICENSE.GPL3-EXCEPT "$pkgdir"/usr/share/licenses/qtcreator/LICENSE.GPL3-EXCEPT } Deleted: qtcreator-clang-libs.patch === --- qtcreator-clang-libs.patch 2020-12-17 14:19:14 UTC (rev 40) +++ qtcreator-clang-libs.patch 2020-12-17 15:46:14 UTC (rev 404445) @@ -1,24 +0,0 @@ -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 =
[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/trunk (PKGBUILD)
Date: Friday, November 20, 2020 @ 13:00:01 Author: arojas Revision: 401543 Update to 4.13.3 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-11-20 12:35:33 UTC (rev 401542) +++ PKGBUILD2020-11-20 13:00:01 UTC (rev 401543) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.13.2 +pkgver=4.13.3 _clangver=11.0.0 -pkgrel=2 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -30,7 +30,7 @@ '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' +sha256sums=('7b0317ca9354284e98967e94a30a1b813db379017d28d9847847498c113df9e5' '0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f') prepare() {
[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/trunk (PKGBUILD)
Date: Tuesday, October 13, 2020 @ 08:49:17 Author: arojas Revision: 398107 LLVM/clang 11 rebuild Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-13 08:32:43 UTC (rev 398106) +++ PKGBUILD2020-10-13 08:49:17 UTC (rev 398107) @@ -8,8 +8,8 @@ pkgname=qtcreator pkgver=4.13.2 -_clangver=10.0.1 -pkgrel=1 +_clangver=11.0.0 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io'
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Friday, October 2, 2020 @ 16:29:28 Author: arojas Revision: 397079 Update to 4.13.2 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-02 15:11:19 UTC (rev 397078) +++ PKGBUILD2020-10-02 16:29:28 UTC (rev 397079) @@ -7,7 +7,7 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.13.1 +pkgver=4.13.2 _clangver=10.0.1 pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' @@ -30,7 +30,7 @@ '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=('7a401bee0c5518e498ca7fb2d82c6713200def7928a706614dbf8f4d9a112bf9' +sha256sums=('b00a5c13ba67d2e3436e6d9bf32fba38d780a1de0bc85b813daac672021e9428' '0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f') prepare() {
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (4 files)
Date: Friday, October 2, 2020 @ 16:29:40 Author: arojas Revision: 397080 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 397079, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch (from rev 397079, qtcreator/trunk/qtcreator-clang-libs.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch + PKGBUILD | 138 +-- qtcreator-clang-libs.patch | 48 +++--- 2 files changed, 93 insertions(+), 93 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-10-02 16:29:28 UTC (rev 397079) +++ PKGBUILD2020-10-02 16:29:40 UTC (rev 397080) @@ -1,69 +0,0 @@ -# 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.1 -_clangver=10.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 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=('7a401bee0c5518e498ca7fb2d82c6713200def7928a706614dbf8f4d9a112bf9' -'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/extra-x86_64/PKGBUILD (from rev 397079, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-10-02 16:29:40 UTC (rev 397080) @@ -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=10.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 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
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (4 files)
Date: Thursday, September 17, 2020 @ 12:15:42 Author: arojas Revision: 396176 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 396175, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch (from rev 396175, qtcreator/trunk/qtcreator-clang-libs.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch + PKGBUILD | 138 +-- qtcreator-clang-libs.patch | 48 +++--- 2 files changed, 93 insertions(+), 93 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-09-17 12:15:28 UTC (rev 396175) +++ PKGBUILD2020-09-17 12:15:42 UTC (rev 396176) @@ -1,69 +0,0 @@ -# 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.0 -_clangver=10.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 yaml-cpp 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-clang-libs.patch) -sha256sums=('bdc846552850283528a826e170787b5d51d86342dcf700ebf9cc5c3b4cdcb747' -'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/extra-x86_64/PKGBUILD (from rev 396175, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-09-17 12:15:42 UTC (rev 396176) @@ -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.1 +_clangver=10.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 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=('7a401bee0c5518e498ca7fb2d82c6713200def7928a706614dbf8f4d9a112bf9' +'0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f') + +prepare() { + mkdir -p build + + cd qt-creator-opensource-src-$pkgver + #
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Thursday, September 17, 2020 @ 12:15:28 Author: arojas Revision: 396175 Update to 4.13.1 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-09-17 11:38:51 UTC (rev 396174) +++ PKGBUILD2020-09-17 12:15:28 UTC (rev 396175) @@ -7,7 +7,7 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.13.0 +pkgver=4.13.1 _clangver=10.0.1 pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' @@ -30,7 +30,7 @@ '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=('bdc846552850283528a826e170787b5d51d86342dcf700ebf9cc5c3b4cdcb747' +sha256sums=('7a401bee0c5518e498ca7fb2d82c6713200def7928a706614dbf8f4d9a112bf9' '0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f') prepare() {
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Thursday, August 27, 2020 @ 21:40:55 Author: arojas Revision: 394806 Remove patchelf from makedepends Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-08-27 21:40:28 UTC (rev 394805) +++ PKGBUILD2020-08-27 21:40:55 UTC (rev 394806) @@ -15,7 +15,7 @@ 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 patchelf) +makedepends=(llvm python) options=(docs) optdepends=('qt5-doc: integrated Qt documentation' 'qt5-examples: welcome page examples'
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (5 files)
Date: Thursday, August 27, 2020 @ 21:40:28 Author: arojas Revision: 394805 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 394804, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch (from rev 394804, qtcreator/trunk/qtcreator-clang-libs.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 147 +- qtcreator-clang-libs.patch | 48 ++-- qtcreator-preload-plugins.patch | 13 --- 3 files changed, 93 insertions(+), 115 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-08-27 21:40:15 UTC (rev 394804) +++ PKGBUILD2020-08-27 21:40:28 UTC (rev 394805) @@ -1,78 +0,0 @@ -# Maintainer: Sven-Hendrik Haase -# Maintainer: Antonio Rojas -# Contributor: Imanol Celaya -# Contributor: Lukas Jirkovsky -# Contributor: Dan Vratil -# Contributor: thotypous -# Contributor: delor - -pkgname=qtcreator -pkgver=4.12.4 -_clangver=10.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 syntax-highlighting yaml-cpp desktop-file-utils) -makedepends=(llvm python patchelf) -options=(docs !strip) # https://bugs.archlinux.org/task/66078 -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 -qtcreator-clang-libs.patch) -sha256sums=('3f47d83344476b172f0c51a2351f5a9d8ce8dd8dd2eea827a52276763471b97a' -'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' -'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 - # 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 - - # 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 - -# Link clazy plugin explicitely - patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend -} Copied: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 394804, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-08-27 21:40:28 UTC (rev 394805) @@ -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.0 +_clangver=10.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 yaml-cpp 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:
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-preload-plugins.patch)
Date: Thursday, August 27, 2020 @ 21:40:15 Author: arojas Revision: 394804 Update to 4.13.0 Modified: qtcreator/trunk/PKGBUILD Deleted: qtcreator/trunk/qtcreator-preload-plugins.patch -+ PKGBUILD| 17 - qtcreator-preload-plugins.patch | 13 - 2 files changed, 4 insertions(+), 26 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-08-27 21:08:33 UTC (rev 394803) +++ PKGBUILD2020-08-27 21:40:15 UTC (rev 394804) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.12.4 +pkgver=4.13.0 _clangver=10.0.1 -pkgrel=2 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -16,7 +16,7 @@ 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 patchelf) -options=(docs !strip) # https://bugs.archlinux.org/task/66078 +options=(docs) optdepends=('qt5-doc: integrated Qt documentation' 'qt5-examples: welcome page examples' 'qt5-translations: for other languages' @@ -29,10 +29,8 @@ '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 qtcreator-clang-libs.patch) -sha256sums=('3f47d83344476b172f0c51a2351f5a9d8ce8dd8dd2eea827a52276763471b97a' -'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' +sha256sums=('bdc846552850283528a826e170787b5d51d86342dcf700ebf9cc5c3b4cdcb747' '0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f') prepare() { @@ -44,10 +42,6 @@ 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 # Fix build with clang 10 patch -p1 -i ../qtcreator-clang-libs.patch @@ -72,7 +66,4 @@ 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 } Deleted: qtcreator-preload-plugins.patch === --- qtcreator-preload-plugins.patch 2020-08-27 21:08:33 UTC (rev 394803) +++ qtcreator-preload-plugins.patch 2020-08-27 21:40:15 UTC (rev 394804) @@ -1,13 +0,0 @@ -diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp -index 166d1c94e0..de0b9cc67b 100644 a/src/plugins/clangtools/clangtidyclazyrunner.cpp -+++ b/src/plugins/clangtools/clangtidyclazyrunner.cpp -@@ -67,7 +67,7 @@ static QStringList clazyPluginArguments(const ClangDiagnosticConfig diagnosticCo - QStringList arguments; - - if (diagnosticConfig.isClazyEnabled()) { --arguments << XclangArgs({"-add-plugin", "clazy"}); -+arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", "clazy"}); - if (!diagnosticConfig.clazyChecks().isEmpty()) - arguments << XclangArgs({"-plugin-arg-clazy", diagnosticConfig.clazyChecks()}); - }
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Wednesday, July 22, 2020 @ 21:29:25 Author: foutrelis Revision: 392398 upgpkg: qtcreator 4.12.4-2: clang 10.0.1 rebuild Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-22 21:29:23 UTC (rev 392397) +++ PKGBUILD2020-07-22 21:29:25 UTC (rev 392398) @@ -8,8 +8,8 @@ pkgname=qtcreator pkgver=4.12.4 -_clangver=10.0.0 -pkgrel=1 +_clangver=10.0.1 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io'
[arch-commits] Commit in qtcreator/repos (4 files)
Date: Wednesday, July 22, 2020 @ 21:29:30 Author: foutrelis Revision: 392399 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 392398, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch (from rev 392398, qtcreator/trunk/qtcreator-clang-libs.patch) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 392398, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 78 ++ qtcreator-clang-libs.patch | 24 +++ qtcreator-preload-plugins.patch | 13 ++ 3 files changed, 115 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 392398, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-07-22 21:29:30 UTC (rev 392399) @@ -0,0 +1,78 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.12.4 +_clangver=10.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 syntax-highlighting yaml-cpp desktop-file-utils) +makedepends=(llvm python patchelf) +options=(docs !strip) # https://bugs.archlinux.org/task/66078 +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 +qtcreator-clang-libs.patch) +sha256sums=('3f47d83344476b172f0c51a2351f5a9d8ce8dd8dd2eea827a52276763471b97a' +'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' +'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 + # 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 + + # 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 + +# Link clazy plugin explicitely + patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend +} Copied: qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch (from rev 392398, qtcreator/trunk/qtcreator-clang-libs.patch) === --- staging-x86_64/qtcreator-clang-libs.patch (rev 0) +++ staging-x86_64/qtcreator-clang-libs.patch 2020-07-22 21:29:30 UTC (rev 392399) @@ -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
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (6 files)
Date: Wednesday, July 8, 2020 @ 09:42:51 Author: arojas Revision: 391016 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 391015, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch (from rev 391015, qtcreator/trunk/qtcreator-clang-libs.patch) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 391015, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 156 +++--- qtcreator-clang-libs.patch | 48 +-- qtcreator-preload-plugins.patch | 26 +++--- 3 files changed, 115 insertions(+), 115 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-07-08 09:42:37 UTC (rev 391015) +++ PKGBUILD2020-07-08 09:42:51 UTC (rev 391016) @@ -1,78 +0,0 @@ -# Maintainer: Sven-Hendrik Haase -# Maintainer: Antonio Rojas -# Contributor: Imanol Celaya -# Contributor: Lukas Jirkovsky -# Contributor: Dan Vratil -# Contributor: thotypous -# Contributor: delor - -pkgname=qtcreator -pkgver=4.12.3 -_clangver=10.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 patchelf) -options=(docs !strip) # https://bugs.archlinux.org/task/66078 -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 -qtcreator-clang-libs.patch) -sha256sums=('81e12010aace162755f3a94ff788f7973f7a902ac1a9bc968f30e535cf5da32a' -'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' -'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 - # 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 - - # 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 - -# Link clazy plugin explicitely - patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend -} Copied: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 391015, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-07-08 09:42:51 UTC (rev 391016) @@ -0,0 +1,78 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.12.4 +_clangver=10.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 patchelf) +options=(docs !strip) # https://bugs.archlinux.org/task/66078
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Wednesday, July 8, 2020 @ 09:42:37 Author: arojas Revision: 391015 Update to 4.12.4 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-08 07:25:09 UTC (rev 391014) +++ PKGBUILD2020-07-08 09:42:37 UTC (rev 391015) @@ -7,7 +7,7 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.12.3 +pkgver=4.12.4 _clangver=10.0.0 pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' @@ -31,7 +31,7 @@ source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; qtcreator-preload-plugins.patch qtcreator-clang-libs.patch) -sha256sums=('81e12010aace162755f3a94ff788f7973f7a902ac1a9bc968f30e535cf5da32a' +sha256sums=('3f47d83344476b172f0c51a2351f5a9d8ce8dd8dd2eea827a52276763471b97a' 'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' '0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f')
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (6 files)
Date: Wednesday, June 17, 2020 @ 09:47:04 Author: arojas Revision: 389426 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 389425, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch (from rev 389425, qtcreator/trunk/qtcreator-clang-libs.patch) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 389425, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 156 +++--- qtcreator-clang-libs.patch | 48 +-- qtcreator-preload-plugins.patch | 26 +++--- 3 files changed, 115 insertions(+), 115 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-06-17 09:46:28 UTC (rev 389425) +++ PKGBUILD2020-06-17 09:47:04 UTC (rev 389426) @@ -1,78 +0,0 @@ -# Maintainer: Sven-Hendrik Haase -# Maintainer: Antonio Rojas -# Contributor: Imanol Celaya -# Contributor: Lukas Jirkovsky -# Contributor: Dan Vratil -# Contributor: thotypous -# Contributor: delor - -pkgname=qtcreator -pkgver=4.12.2 -_clangver=10.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 patchelf) -options=(docs !strip) # https://bugs.archlinux.org/task/66078 -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 -qtcreator-clang-libs.patch) -sha256sums=('52c03074256f4e18e4bd830883df23ea405e1fd752bda6482f87f4e5142bf516' -'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' -'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 - # 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 - - # 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 - -# Link clazy plugin explicitely - patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend -} Copied: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 389425, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-06-17 09:47:04 UTC (rev 389426) @@ -0,0 +1,78 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.12.3 +_clangver=10.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 patchelf) +options=(docs !strip) # https://bugs.archlinux.org/task/66078
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Wednesday, June 17, 2020 @ 09:46:28 Author: arojas Revision: 389425 Update to 4.12.3 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-06-17 09:14:31 UTC (rev 389424) +++ PKGBUILD2020-06-17 09:46:28 UTC (rev 389425) @@ -7,7 +7,7 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.12.2 +pkgver=4.12.3 _clangver=10.0.0 pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' @@ -31,7 +31,7 @@ source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; qtcreator-preload-plugins.patch qtcreator-clang-libs.patch) -sha256sums=('52c03074256f4e18e4bd830883df23ea405e1fd752bda6482f87f4e5142bf516' +sha256sums=('81e12010aace162755f3a94ff788f7973f7a902ac1a9bc968f30e535cf5da32a' 'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' '0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f')
[arch-commits] Commit in qtcreator/repos/testing-x86_64 (6 files)
Date: Wednesday, June 3, 2020 @ 09:34:27 Author: arojas Revision: 388142 archrelease: copy trunk to testing-x86_64 Added: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 388141, qtcreator/trunk/PKGBUILD) qtcreator/repos/testing-x86_64/qtcreator-clang-libs.patch (from rev 388141, qtcreator/trunk/qtcreator-clang-libs.patch) qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch (from rev 388141, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/testing-x86_64/PKGBUILD qtcreator/repos/testing-x86_64/qtcreator-clang-libs.patch qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 156 +++--- qtcreator-clang-libs.patch | 48 +-- qtcreator-preload-plugins.patch | 26 +++--- 3 files changed, 115 insertions(+), 115 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-06-03 09:33:43 UTC (rev 388141) +++ PKGBUILD2020-06-03 09:34:27 UTC (rev 388142) @@ -1,78 +0,0 @@ -# Maintainer: Sven-Hendrik Haase -# Maintainer: Antonio Rojas -# Contributor: Imanol Celaya -# Contributor: Lukas Jirkovsky -# Contributor: Dan Vratil -# Contributor: thotypous -# Contributor: delor - -pkgname=qtcreator -pkgver=4.12.1 -_clangver=10.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 patchelf) -options=(docs !strip) # https://bugs.archlinux.org/task/66078 -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 -qtcreator-clang-libs.patch) -sha256sums=('9ccee38b42854567eb7e3ea0419e635fbf9a9fe7035811fd62165e8d23436ab4' -'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' -'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 - # 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 - - # 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 - -# Link clazy plugin explicitely - patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend -} Copied: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 388141, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-06-03 09:34:27 UTC (rev 388142) @@ -0,0 +1,78 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.12.2 +_clangver=10.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 patchelf) +options=(docs !strip) #
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Wednesday, June 3, 2020 @ 09:33:07 Author: arojas Revision: 388139 Update to 4.12.2 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-06-03 09:19:52 UTC (rev 388138) +++ PKGBUILD2020-06-03 09:33:07 UTC (rev 388139) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.12.1 +pkgver=4.12.2 _clangver=10.0.0 -pkgrel=2 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -31,7 +31,7 @@ source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; qtcreator-preload-plugins.patch qtcreator-clang-libs.patch) -sha256sums=('9ccee38b42854567eb7e3ea0419e635fbf9a9fe7035811fd62165e8d23436ab4' +sha256sums=('52c03074256f4e18e4bd830883df23ea405e1fd752bda6482f87f4e5142bf516' 'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' '0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f')
[arch-commits] Commit in qtcreator/repos (4 files)
Date: Tuesday, May 26, 2020 @ 18:51:03 Author: arojas Revision: 387606 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 387605, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch (from rev 387605, qtcreator/trunk/qtcreator-clang-libs.patch) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 387605, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 78 ++ qtcreator-clang-libs.patch | 24 +++ qtcreator-preload-plugins.patch | 13 ++ 3 files changed, 115 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 387605, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-05-26 18:51:03 UTC (rev 387606) @@ -0,0 +1,78 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.12.1 +_clangver=10.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 patchelf) +options=(docs !strip) # https://bugs.archlinux.org/task/66078 +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 +qtcreator-clang-libs.patch) +sha256sums=('9ccee38b42854567eb7e3ea0419e635fbf9a9fe7035811fd62165e8d23436ab4' +'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' +'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 + # 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 + + # 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 + +# Link clazy plugin explicitely + patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend +} Copied: qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch (from rev 387605, qtcreator/trunk/qtcreator-clang-libs.patch) === --- staging-x86_64/qtcreator-clang-libs.patch (rev 0) +++ staging-x86_64/qtcreator-clang-libs.patch 2020-05-26 18:51:03 UTC (rev 387606) @@ -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
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (6 files)
Date: Wednesday, May 20, 2020 @ 09:53:33 Author: arojas Revision: 387005 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 387004, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch (from rev 387004, qtcreator/trunk/qtcreator-clang-libs.patch) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 387004, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 156 +++--- qtcreator-clang-libs.patch | 48 +-- qtcreator-preload-plugins.patch | 26 +++--- 3 files changed, 115 insertions(+), 115 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-05-20 09:49:33 UTC (rev 387004) +++ PKGBUILD2020-05-20 09:53:33 UTC (rev 387005) @@ -1,78 +0,0 @@ -# Maintainer: Sven-Hendrik Haase -# Maintainer: Antonio Rojas -# Contributor: Imanol Celaya -# Contributor: Lukas Jirkovsky -# Contributor: Dan Vratil -# Contributor: thotypous -# Contributor: delor - -pkgname=qtcreator -pkgver=4.12.0 -_clangver=10.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 patchelf) -options=(docs !strip) # https://bugs.archlinux.org/task/66078 -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 -qtcreator-clang-libs.patch) -sha256sums=('d76655799ad2af81fb15f85d412d74583659fb1b4cf27b758ad8aae73675948b' -'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' -'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 - # 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 - - # 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 - -# Link clazy plugin explicitely - patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend -} Copied: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 387004, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-05-20 09:53:33 UTC (rev 387005) @@ -0,0 +1,78 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.12.1 +_clangver=10.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 patchelf) +options=(docs !strip) # https://bugs.archlinux.org/task/66078
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Wednesday, May 20, 2020 @ 09:49:33 Author: arojas Revision: 387004 Update to 4.12.1 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-05-20 09:34:05 UTC (rev 387003) +++ PKGBUILD2020-05-20 09:49:33 UTC (rev 387004) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.12.0 +pkgver=4.12.1 _clangver=10.0.0 -pkgrel=2 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -31,7 +31,7 @@ source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; qtcreator-preload-plugins.patch qtcreator-clang-libs.patch) -sha256sums=('d76655799ad2af81fb15f85d412d74583659fb1b4cf27b758ad8aae73675948b' +sha256sums=('9ccee38b42854567eb7e3ea0419e635fbf9a9fe7035811fd62165e8d23436ab4' 'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' '0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f')
[arch-commits] Commit in qtcreator/repos (4 files)
Date: Monday, April 27, 2020 @ 17:48:56 Author: arojas Revision: 381742 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 381741, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch (from rev 381741, qtcreator/trunk/qtcreator-clang-libs.patch) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 381741, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 78 ++ qtcreator-clang-libs.patch | 24 +++ qtcreator-preload-plugins.patch | 13 ++ 3 files changed, 115 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 381741, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-04-27 17:48:56 UTC (rev 381742) @@ -0,0 +1,78 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.12.0 +_clangver=10.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 patchelf) +options=(docs !strip) # https://bugs.archlinux.org/task/66078 +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 +qtcreator-clang-libs.patch) +sha256sums=('d76655799ad2af81fb15f85d412d74583659fb1b4cf27b758ad8aae73675948b' +'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' +'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 + # 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 + + # 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 + +# Link clazy plugin explicitely + patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend +} Copied: qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch (from rev 381741, qtcreator/trunk/qtcreator-clang-libs.patch) === --- staging-x86_64/qtcreator-clang-libs.patch (rev 0) +++ staging-x86_64/qtcreator-clang-libs.patch 2020-04-27 17:48:56 UTC (rev 381742) @@ -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
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Monday, April 27, 2020 @ 17:48:27 Author: arojas Revision: 381741 qbs 1.16 rebuild Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-04-27 17:21:50 UTC (rev 381740) +++ PKGBUILD2020-04-27 17:48:27 UTC (rev 381741) @@ -9,7 +9,7 @@ pkgname=qtcreator pkgver=4.12.0 _clangver=10.0.0 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io'
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (6 files)
Date: Thursday, April 23, 2020 @ 07:51:12 Author: arojas Revision: 380752 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 380751, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch (from rev 380751, qtcreator/trunk/qtcreator-clang-libs.patch) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 380751, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-libs.patch qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 159 ++ qtcreator-clang-libs.patch | 48 +-- qtcreator-preload-plugins.patch | 26 +++--- 3 files changed, 115 insertions(+), 118 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-04-23 07:50:47 UTC (rev 380751) +++ PKGBUILD2020-04-23 07:51:12 UTC (rev 380752) @@ -1,81 +0,0 @@ -# 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=10.0.0 -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 !strip) # https://bugs.archlinux.org/task/66078 -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 -qtcreator-clang-libs.patch - qtcreator-clang-10.patch::"https://code.qt.io/cgit/qt-creator/qt-creator.git/patch?id=44023c8f;) -sha256sums=('8d67e45b66944fdb0f879cbfae341af7e38d6a348cf18332b5cb9f07937aae02' -'d6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7' -'0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f' -'cbbaa52f8daf40866c1c7157f168746cf7cb0231200feaeed05a0fb80e78c8ab') - -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 - - # Fix build with clang 10 - patch -p1 -i ../qtcreator-clang-10.patch - 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 - -# Link clazy plugin explicitely - patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend -} Copied: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 380751, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-04-23 07:51:12 UTC (rev 380752) @@ -0,0 +1,78 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.12.0 +_clangver=10.0.0 +pkgrel=1 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL) +depends=(qt5-tools
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-preload-plugins.patch)
Date: Thursday, April 23, 2020 @ 07:50:47 Author: arojas Revision: 380751 Update to 4.12.0, use system yaml-cpp Modified: qtcreator/trunk/PKGBUILD qtcreator/trunk/qtcreator-preload-plugins.patch -+ PKGBUILD| 17 +++-- qtcreator-preload-plugins.patch | 18 +- 2 files changed, 16 insertions(+), 19 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-23 07:21:56 UTC (rev 380750) +++ PKGBUILD2020-04-23 07:50:47 UTC (rev 380751) @@ -7,14 +7,14 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.11.2 +pkgver=4.12.0 _clangver=10.0.0 -pkgrel=4 +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) +depends=(qt5-tools qt5-quickcontrols qt5-quickcontrols2 qt5-webengine clang=$_clangver qbs clazy syntax-highlighting yaml-cpp desktop-file-utils) makedepends=(llvm python patchelf) options=(docs !strip) # https://bugs.archlinux.org/task/66078 optdepends=('qt5-doc: integrated Qt documentation' @@ -30,12 +30,10 @@ 'perf: performer analyzer') source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; qtcreator-preload-plugins.patch -qtcreator-clang-libs.patch - qtcreator-clang-10.patch::"https://code.qt.io/cgit/qt-creator/qt-creator.git/patch?id=44023c8f;) -sha256sums=('8d67e45b66944fdb0f879cbfae341af7e38d6a348cf18332b5cb9f07937aae02' -'d6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7' -'0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f' -'cbbaa52f8daf40866c1c7157f168746cf7cb0231200feaeed05a0fb80e78c8ab') +qtcreator-clang-libs.patch) +sha256sums=('d76655799ad2af81fb15f85d412d74583659fb1b4cf27b758ad8aae73675948b' +'b40e222b30c355d1230160a4e933dbd161b8748125662e3bde312ea52296457a' +'0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f') prepare() { mkdir -p build @@ -52,7 +50,6 @@ patch -p1 -i ../qtcreator-preload-plugins.patch # Fix build with clang 10 - patch -p1 -i ../qtcreator-clang-10.patch patch -p1 -i ../qtcreator-clang-libs.patch } Modified: qtcreator-preload-plugins.patch === --- qtcreator-preload-plugins.patch 2020-04-23 07:21:56 UTC (rev 380750) +++ qtcreator-preload-plugins.patch 2020-04-23 07:50:47 UTC (rev 380751) @@ -1,13 +1,13 @@ diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp -index a580704243..7a8740a5cc 100644 +index 166d1c94e0..de0b9cc67b 100644 --- a/src/plugins/clangtools/clangtidyclazyrunner.cpp +++ b/src/plugins/clangtools/clangtidyclazyrunner.cpp -@@ -63,7 +63,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis +@@ -67,7 +67,7 @@ static QStringList clazyPluginArguments(const ClangDiagnosticConfig diagnosticCo + QStringList arguments; - 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()}); + if (diagnosticConfig.isClazyEnabled()) { +-arguments << XclangArgs({"-add-plugin", "clazy"}); ++arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", "clazy"}); + if (!diagnosticConfig.clazyChecks().isEmpty()) + arguments << XclangArgs({"-plugin-arg-clazy", diagnosticConfig.clazyChecks()}); + }
[arch-commits] Commit in qtcreator/repos/staging-x86_64 (6 files)
Date: Sunday, April 12, 2020 @ 20:42:57 Author: foutrelis Revision: 380247 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 380246, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch (from rev 380246, qtcreator/trunk/qtcreator-clang-libs.patch) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 380246, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/staging-x86_64/PKGBUILD qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 162 +++--- qtcreator-clang-libs.patch | 48 +-- qtcreator-preload-plugins.patch | 26 +++--- 3 files changed, 118 insertions(+), 118 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-04-12 20:42:51 UTC (rev 380246) +++ PKGBUILD2020-04-12 20:42:57 UTC (rev 380247) @@ -1,81 +0,0 @@ -# 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=10.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 !strip) # https://bugs.archlinux.org/task/66078 -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 -qtcreator-clang-libs.patch - qtcreator-clang-10.patch::"https://code.qt.io/cgit/qt-creator/qt-creator.git/patch?id=44023c8f;) -sha256sums=('8d67e45b66944fdb0f879cbfae341af7e38d6a348cf18332b5cb9f07937aae02' -'d6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7' -'0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f' -'cbbaa52f8daf40866c1c7157f168746cf7cb0231200feaeed05a0fb80e78c8ab') - -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 - - # Fix build with clang 10 - patch -p1 -i ../qtcreator-clang-10.patch - 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 - -# Link clazy plugin explicitely - patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend -} Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 380246, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-04-12 20:42:57 UTC (rev 380247) @@ -0,0 +1,81 @@ +# 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=10.0.0 +pkgrel=4 +pkgdesc='Lightweight, cross-platform integrated development environment' +arch=(x86_64) +url='https://www.qt.io' +license=(LGPL)
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Sunday, April 12, 2020 @ 20:42:51 Author: foutrelis Revision: 380246 upgpkg: qtcreator 4.11.2-4: clang-10.0.0-2 rebuild Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-04-12 20:29:51 UTC (rev 380245) +++ PKGBUILD2020-04-12 20:42:51 UTC (rev 380246) @@ -9,7 +9,7 @@ pkgname=qtcreator pkgver=4.11.2 _clangver=10.0.0 -pkgrel=3 +pkgrel=4 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io'
[arch-commits] Commit in qtcreator/repos (4 files)
Date: Saturday, April 11, 2020 @ 21:07:54 Author: arojas Revision: 380128 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 380127, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch (from rev 380127, qtcreator/trunk/qtcreator-clang-libs.patch) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 380127, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 81 ++ qtcreator-clang-libs.patch | 24 +++ qtcreator-preload-plugins.patch | 13 ++ 3 files changed, 118 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 380127, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-04-11 21:07:54 UTC (rev 380128) @@ -0,0 +1,81 @@ +# 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=10.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 !strip) # https://bugs.archlinux.org/task/66078 +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 +qtcreator-clang-libs.patch + qtcreator-clang-10.patch::"https://code.qt.io/cgit/qt-creator/qt-creator.git/patch?id=44023c8f;) +sha256sums=('8d67e45b66944fdb0f879cbfae341af7e38d6a348cf18332b5cb9f07937aae02' +'d6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7' +'0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f' +'cbbaa52f8daf40866c1c7157f168746cf7cb0231200feaeed05a0fb80e78c8ab') + +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 + + # Fix build with clang 10 + patch -p1 -i ../qtcreator-clang-10.patch + 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 + +# Link clazy plugin explicitely + patchelf --add-needed ClazyPlugin.so "$pkgdir"/usr/lib/qtcreator/clangbackend +} Copied: qtcreator/repos/staging-x86_64/qtcreator-clang-libs.patch (from rev 380127, qtcreator/trunk/qtcreator-clang-libs.patch) === --- staging-x86_64/qtcreator-clang-libs.patch (rev 0) +++ staging-x86_64/qtcreator-clang-libs.patch 2020-04-11 21:07:54 UTC (rev 380128) @@ -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
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-clang-libs.patch)
Date: Saturday, April 11, 2020 @ 21:07:19 Author: arojas Revision: 380127 clang/LLVM 10 rebuild Added: qtcreator/trunk/qtcreator-clang-libs.patch Modified: qtcreator/trunk/PKGBUILD + PKGBUILD | 16 qtcreator-clang-libs.patch | 24 2 files changed, 36 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-11 20:31:29 UTC (rev 380126) +++ PKGBUILD2020-04-11 21:07:19 UTC (rev 380127) @@ -8,8 +8,8 @@ pkgname=qtcreator pkgver=4.11.2 -_clangver=9.0.1 -pkgrel=2 +_clangver=10.0.0 +pkgrel=3 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -29,9 +29,13 @@ '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) +qtcreator-preload-plugins.patch +qtcreator-clang-libs.patch + qtcreator-clang-10.patch::"https://code.qt.io/cgit/qt-creator/qt-creator.git/patch?id=44023c8f;) sha256sums=('8d67e45b66944fdb0f879cbfae341af7e38d6a348cf18332b5cb9f07937aae02' -'d6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7') +'d6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7' +'0f6d0dc41a87aae9ef371b1950f5b9d823db8b5685c6ac04a7a7ac133eb19a3f' +'cbbaa52f8daf40866c1c7157f168746cf7cb0231200feaeed05a0fb80e78c8ab') prepare() { mkdir -p build @@ -46,6 +50,10 @@ # 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 + + # Fix build with clang 10 + patch -p1 -i ../qtcreator-clang-10.patch + patch -p1 -i ../qtcreator-clang-libs.patch } build() { Added: qtcreator-clang-libs.patch === --- qtcreator-clang-libs.patch (rev 0) +++ qtcreator-clang-libs.patch 2020-04-11 21:07:19 UTC (rev 380127) @@ -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 \ +-lclangSema -lclangEdit -lclangAnalysis -lclangDriver -lclangDynamicASTMatchers \
[arch-commits] Commit in qtcreator/repos/testing-x86_64 (4 files)
Date: Thursday, April 2, 2020 @ 21:57:27 Author: arojas Revision: 379167 archrelease: copy trunk to testing-x86_64 Added: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 379166, qtcreator/trunk/PKGBUILD) qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch (from rev 379166, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/testing-x86_64/PKGBUILD qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 146 +++--- qtcreator-preload-plugins.patch | 26 +++--- 2 files changed, 86 insertions(+), 86 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-04-02 21:56:37 UTC (rev 379166) +++ PKGBUILD2020-04-02 21:57:27 UTC (rev 379167) @@ -1,73 +0,0 @@ -# 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/PKGBUILD (from rev 379166, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-04-02 21:57:27 UTC (rev 379167) @@ -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=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 !strip) # https://bugs.archlinux.org/task/66078 +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')
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Thursday, April 2, 2020 @ 21:56:37 Author: arojas Revision: 379166 Don't strip twice - make install already strips binaries and stripping again corrupts clangbackend after running patchelf (FS#66078) Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-04-02 21:32:01 UTC (rev 379165) +++ PKGBUILD2020-04-02 21:56:37 UTC (rev 379166) @@ -9,7 +9,7 @@ pkgname=qtcreator pkgver=4.11.2 _clangver=9.0.1 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -16,7 +16,7 @@ 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) +options=(docs !strip) # https://bugs.archlinux.org/task/66078 optdepends=('qt5-doc: integrated Qt documentation' 'qt5-examples: welcome page examples' 'qt5-translations: for other languages'
[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/trunk (PKGBUILD)
Date: Tuesday, March 31, 2020 @ 11:19:57 Author: arojas Revision: 378899 Update to 4.11.2 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-03-31 10:58:03 UTC (rev 378898) +++ PKGBUILD2020-03-31 11:19:57 UTC (rev 378899) @@ -7,7 +7,7 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.11.1 +pkgver=4.11.2 _clangver=9.0.1 pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' @@ -30,7 +30,7 @@ '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=('c511f5beacadad4a37cbf7ec23c17cf28630c79998f1dc8bc7edefa9b9337924' +sha256sums=('8d67e45b66944fdb0f879cbfae341af7e38d6a348cf18332b5cb9f07937aae02' 'd6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7') prepare() {
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Thursday, February 6, 2020 @ 11:36:28 Author: arojas Revision: 374736 Update to 4.11.1 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-02-06 11:24:06 UTC (rev 374735) +++ PKGBUILD2020-02-06 11:36:28 UTC (rev 374736) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.11.0 +pkgver=4.11.1 _clangver=9.0.1 -pkgrel=4 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -30,7 +30,7 @@ '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' +sha256sums=('c511f5beacadad4a37cbf7ec23c17cf28630c79998f1dc8bc7edefa9b9337924' 'd6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7') prepare() {
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (4 files)
Date: Thursday, February 6, 2020 @ 11:36:47 Author: arojas Revision: 374737 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 374736, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 374736, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 146 +++--- qtcreator-preload-plugins.patch | 26 +++--- 2 files changed, 86 insertions(+), 86 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-06 11:36:28 UTC (rev 374736) +++ PKGBUILD2020-02-06 11:36:47 UTC (rev 374737) @@ -1,73 +0,0 @@ -# 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/extra-x86_64/PKGBUILD (from rev 374736, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-02-06 11:36:47 UTC (rev 374737) @@ -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.1 +_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')
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Sunday, December 29, 2019 @ 23:42:01 Author: foutrelis Revision: 372356 upgpkg: qtcreator 4.11.0-4: clang 9.0.1 rebuild Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-12-29 23:28:33 UTC (rev 372355) +++ PKGBUILD2019-12-29 23:42:01 UTC (rev 372356) @@ -8,8 +8,8 @@ pkgname=qtcreator pkgver=4.11.0 -_clangver=9.0.0 -pkgrel=3 +_clangver=9.0.1 +pkgrel=4 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io'
[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/trunk (PKGBUILD)
Date: Friday, December 13, 2019 @ 18:49:09 Author: arojas Revision: 371370 qbs 1.15 rebuild Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-12-13 18:33:59 UTC (rev 371369) +++ PKGBUILD2019-12-13 18:49:09 UTC (rev 371370) @@ -9,7 +9,7 @@ pkgname=qtcreator pkgver=4.11.0 _clangver=9.0.0 -pkgrel=2 +pkgrel=3 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io'
[arch-commits] Commit in qtcreator/repos/staging-x86_64 (4 files)
Date: Thursday, December 12, 2019 @ 12:52:14 Author: arojas Revision: 370771 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 370770, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 370770, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/staging-x86_64/PKGBUILD qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 146 +++--- qtcreator-preload-plugins.patch | 26 +++--- 2 files changed, 86 insertions(+), 86 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-12-12 12:51:30 UTC (rev 370770) +++ PKGBUILD2019-12-12 12:52:14 UTC (rev 370771) @@ -1,73 +0,0 @@ -# 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/PKGBUILD (from rev 370770, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-12-12 12:52:14 UTC (rev 370771) @@ -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')
[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/extra-x86_64 (4 files)
Date: Wednesday, December 11, 2019 @ 20:19:25 Author: arojas Revision: 370683 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 370682, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 370682, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 146 +++--- qtcreator-preload-plugins.patch | 34 +++- 2 files changed, 86 insertions(+), 94 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-12-11 20:19:02 UTC (rev 370682) +++ PKGBUILD2019-12-11 20:19:25 UTC (rev 370683) @@ -1,73 +0,0 @@ -# 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.2 -_clangver=9.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 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=('9add6bdddfe5726bb02535409c2ed788b1afeee082121f54f887281d0e3c449a' -'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/extra-x86_64/PKGBUILD (from rev 370682, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-12-11 20:19:25 UTC (rev 370683) @@ -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=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')
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-preload-plugins.patch)
Date: Wednesday, December 11, 2019 @ 20:19:02 Author: arojas Revision: 370682 Update to 4.11.0 Modified: qtcreator/trunk/PKGBUILD qtcreator/trunk/qtcreator-preload-plugins.patch -+ PKGBUILD|6 +++--- qtcreator-preload-plugins.patch | 14 +++--- 2 files changed, 6 insertions(+), 14 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-12-11 19:47:49 UTC (rev 370681) +++ PKGBUILD2019-12-11 20:19:02 UTC (rev 370682) @@ -7,7 +7,7 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.10.2 +pkgver=4.11.0 _clangver=9.0.0 pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' @@ -30,8 +30,8 @@ '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=('9add6bdddfe5726bb02535409c2ed788b1afeee082121f54f887281d0e3c449a' -'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d') +sha256sums=('efebaa1c52526bf9c07b35c43071735c5d0b83b6cd08daab35a21e7ed53a7645' +'d6f979c820e2294653f4f1853af96942bf25ff9fe9450657d45ff1c7f02bbca7') prepare() { mkdir -p build Modified: qtcreator-preload-plugins.patch === --- qtcreator-preload-plugins.patch 2019-12-11 19:47:49 UTC (rev 370681) +++ qtcreator-preload-plugins.patch 2019-12-11 20:19:02 UTC (rev 370682) @@ -2,20 +2,12 @@ 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 +@@ -63,7 +63,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(); + const QString clazyChecks = diagnosticConfig.clazyChecks(); if (!clazyChecks.isEmpty()) { -arguments << XclangArgs({"-add-plugin", +arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", "clazy", "-plugin-arg-clazy", - "enable-all-fixits", + diagnosticConfig.clazyChecks()});
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (5 files)
Date: Tuesday, November 5, 2019 @ 17:26:32 Author: arojas Revision: 366798 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 366797, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 366797, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-9.patch qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 150 ++ qtcreator-clang-9.patch | 12 --- qtcreator-preload-plugins.patch | 42 +- 3 files changed, 94 insertions(+), 110 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-11-05 17:26:11 UTC (rev 366797) +++ PKGBUILD2019-11-05 17:26:32 UTC (rev 366798) @@ -1,77 +0,0 @@ -# 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.1 -_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 -qtcreator-clang-9.patch) -sha256sums=('5098d87027bec3296bd93a7e112588759ccb0511fbfdc5558c1a1e83dff8d2a9' -'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d' -'1d66eb008e84459f6570e6e72acedcf80d2f0bb82650df3b733f7ca0a3f08a3d') - -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 - # Fix build with clang 9 (Fedora) - patch -p1 -i ../qtcreator-clang-9.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/extra-x86_64/PKGBUILD (from rev 366797, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-11-05 17:26:32 UTC (rev 366798) @@ -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.2 +_clangver=9.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 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' +
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-clang-9.patch)
Date: Tuesday, November 5, 2019 @ 17:26:11 Author: arojas Revision: 366797 Update to 4.10.2 Modified: qtcreator/trunk/PKGBUILD Deleted: qtcreator/trunk/qtcreator-clang-9.patch -+ PKGBUILD| 14 +- qtcreator-clang-9.patch | 12 2 files changed, 5 insertions(+), 21 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-05 12:31:59 UTC (rev 366796) +++ PKGBUILD2019-11-05 17:26:11 UTC (rev 366797) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.10.1 +pkgver=4.10.2 _clangver=9.0.0 -pkgrel=2 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -29,11 +29,9 @@ '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 -qtcreator-clang-9.patch) -sha256sums=('5098d87027bec3296bd93a7e112588759ccb0511fbfdc5558c1a1e83dff8d2a9' -'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d' -'1d66eb008e84459f6570e6e72acedcf80d2f0bb82650df3b733f7ca0a3f08a3d') +qtcreator-preload-plugins.patch) +sha256sums=('9add6bdddfe5726bb02535409c2ed788b1afeee082121f54f887281d0e3c449a' +'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d') prepare() { mkdir -p build @@ -48,8 +46,6 @@ # 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 - # Fix build with clang 9 (Fedora) - patch -p1 -i ../qtcreator-clang-9.patch } build() { Deleted: qtcreator-clang-9.patch === --- qtcreator-clang-9.patch 2019-11-05 12:31:59 UTC (rev 366796) +++ qtcreator-clang-9.patch 2019-11-05 17:26:11 UTC (rev 366797) @@ -1,12 +0,0 @@ -diff -rupN qt-creator-opensource-src-4.10.0/src/plugins/clangformat/clangformatutils.cpp qt-creator-opensource-src-4.10.0-new/src/plugins/clangformat/clangformatutils.cpp qt-creator-opensource-src-4.10.0/src/plugins/clangformat/clangformatutils.cpp 2019-09-03 16:36:38.0 +0200 -+++ qt-creator-opensource-src-4.10.0-new/src/plugins/clangformat/clangformatutils.cpp 2019-09-25 13:33:27.230835047 +0200 -@@ -60,7 +60,7 @@ static clang::format::FormatStyle qtcSty - style.AllowShortBlocksOnASingleLine = false; - style.AllowShortCaseLabelsOnASingleLine = false; - style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; --style.AllowShortIfStatementsOnASingleLine = false; -+style.AllowShortIfStatementsOnASingleLine = FormatStyle::SIS_Never; - style.AllowShortLoopsOnASingleLine = false; - style.AlwaysBreakAfterReturnType = FormatStyle::RTBS_None; - style.AlwaysBreakBeforeMultilineStrings = false;
[arch-commits] Commit in qtcreator/repos (4 files)
Date: Thursday, October 10, 2019 @ 09:33:44 Author: arojas Revision: 364309 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 364308, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-9.patch (from rev 364308, qtcreator/trunk/qtcreator-clang-9.patch) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 364308, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 77 ++ qtcreator-clang-9.patch | 12 + qtcreator-preload-plugins.patch | 21 ++ 3 files changed, 110 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 364308, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-10-10 09:33:44 UTC (rev 364309) @@ -0,0 +1,77 @@ +# 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.1 +_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 +qtcreator-clang-9.patch) +sha256sums=('5098d87027bec3296bd93a7e112588759ccb0511fbfdc5558c1a1e83dff8d2a9' +'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d' +'1d66eb008e84459f6570e6e72acedcf80d2f0bb82650df3b733f7ca0a3f08a3d') + +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 + # Fix build with clang 9 (Fedora) + patch -p1 -i ../qtcreator-clang-9.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-clang-9.patch (from rev 364308, qtcreator/trunk/qtcreator-clang-9.patch) === --- staging-x86_64/qtcreator-clang-9.patch (rev 0) +++ staging-x86_64/qtcreator-clang-9.patch 2019-10-10 09:33:44 UTC (rev 364309) @@ -0,0 +1,12 @@ +diff -rupN qt-creator-opensource-src-4.10.0/src/plugins/clangformat/clangformatutils.cpp qt-creator-opensource-src-4.10.0-new/src/plugins/clangformat/clangformatutils.cpp +--- qt-creator-opensource-src-4.10.0/src/plugins/clangformat/clangformatutils.cpp 2019-09-03 16:36:38.0 +0200 qt-creator-opensource-src-4.10.0-new/src/plugins/clangformat/clangformatutils.cpp 2019-09-25 13:33:27.230835047 +0200 +@@ -60,7 +60,7 @@ static clang::format::FormatStyle qtcSty + style.AllowShortBlocksOnASingleLine = false; + style.AllowShortCaseLabelsOnASingleLine = false; + style.AllowShortFunctionsOnASingleLine =
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Thursday, October 10, 2019 @ 09:33:22 Author: arojas Revision: 364308 qbs 1.14 rebuild Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-10 09:30:35 UTC (rev 364307) +++ PKGBUILD2019-10-10 09:33:22 UTC (rev 364308) @@ -9,7 +9,7 @@ pkgname=qtcreator pkgver=4.10.1 _clangver=9.0.0 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io'
[arch-commits] Commit in qtcreator/repos/testing-x86_64 (6 files)
Date: Tuesday, October 8, 2019 @ 11:57:44 Author: arojas Revision: 364168 archrelease: copy trunk to testing-x86_64 Added: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 364167, qtcreator/trunk/PKGBUILD) qtcreator/repos/testing-x86_64/qtcreator-clang-9.patch (from rev 364167, qtcreator/trunk/qtcreator-clang-9.patch) qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch (from rev 364167, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/testing-x86_64/PKGBUILD qtcreator/repos/testing-x86_64/qtcreator-clang-9.patch qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 154 +++--- qtcreator-clang-9.patch | 24 ++--- qtcreator-preload-plugins.patch | 42 +- 3 files changed, 110 insertions(+), 110 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-10-08 11:56:07 UTC (rev 364167) +++ PKGBUILD2019-10-08 11:57:44 UTC (rev 364168) @@ -1,77 +0,0 @@ -# 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=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 -qtcreator-clang-9.patch) -sha256sums=('8f5d3abc522d8b8879adfa098e037f751b4311173f5f443fd1b5800f5feb0f8a' -'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d' -'1d66eb008e84459f6570e6e72acedcf80d2f0bb82650df3b733f7ca0a3f08a3d') - -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 - # Fix build with clang 9 (Fedora) - patch -p1 -i ../qtcreator-clang-9.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/PKGBUILD (from rev 364167, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-10-08 11:57:44 UTC (rev 364168) @@ -0,0 +1,77 @@ +# 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.1 +_clangver=9.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 patchelf) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Tuesday, October 8, 2019 @ 11:54:40 Author: arojas Revision: 364165 Update to 4.10.1 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-10-08 11:49:13 UTC (rev 364164) +++ PKGBUILD2019-10-08 11:54:40 UTC (rev 364165) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.10.0 +pkgver=4.10.1 _clangver=9.0.0 -pkgrel=2 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -31,7 +31,7 @@ source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; qtcreator-preload-plugins.patch qtcreator-clang-9.patch) -sha256sums=('8f5d3abc522d8b8879adfa098e037f751b4311173f5f443fd1b5800f5feb0f8a' +sha256sums=('5098d87027bec3296bd93a7e112588759ccb0511fbfdc5558c1a1e83dff8d2a9' '150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d' '1d66eb008e84459f6570e6e72acedcf80d2f0bb82650df3b733f7ca0a3f08a3d')
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (5 files)
Date: Tuesday, October 8, 2019 @ 11:55:02 Author: arojas Revision: 364166 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 364165, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clang-9.patch (from rev 364165, qtcreator/trunk/qtcreator-clang-9.patch) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 364165, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 150 +++--- qtcreator-clang-9.patch | 12 +++ qtcreator-preload-plugins.patch | 42 +- 3 files changed, 110 insertions(+), 94 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-10-08 11:54:40 UTC (rev 364165) +++ PKGBUILD2019-10-08 11:55:02 UTC (rev 364166) @@ -1,73 +0,0 @@ -# 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/extra-x86_64/PKGBUILD (from rev 364165, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-10-08 11:55:02 UTC (rev 364166) @@ -0,0 +1,77 @@ +# 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.1 +_clangver=9.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 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
[arch-commits] Commit in qtcreator/repos (4 files)
Date: Friday, October 4, 2019 @ 17:20:06 Author: arojas Revision: 363802 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 363801, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clang-9.patch (from rev 363801, qtcreator/trunk/qtcreator-clang-9.patch) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 363801, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 77 ++ qtcreator-clang-9.patch | 12 + qtcreator-preload-plugins.patch | 21 ++ 3 files changed, 110 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 363801, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-10-04 17:20:06 UTC (rev 363802) @@ -0,0 +1,77 @@ +# 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=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 +qtcreator-clang-9.patch) +sha256sums=('8f5d3abc522d8b8879adfa098e037f751b4311173f5f443fd1b5800f5feb0f8a' +'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d' +'1d66eb008e84459f6570e6e72acedcf80d2f0bb82650df3b733f7ca0a3f08a3d') + +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 + # Fix build with clang 9 (Fedora) + patch -p1 -i ../qtcreator-clang-9.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-clang-9.patch (from rev 363801, qtcreator/trunk/qtcreator-clang-9.patch) === --- staging-x86_64/qtcreator-clang-9.patch (rev 0) +++ staging-x86_64/qtcreator-clang-9.patch 2019-10-04 17:20:06 UTC (rev 363802) @@ -0,0 +1,12 @@ +diff -rupN qt-creator-opensource-src-4.10.0/src/plugins/clangformat/clangformatutils.cpp qt-creator-opensource-src-4.10.0-new/src/plugins/clangformat/clangformatutils.cpp +--- qt-creator-opensource-src-4.10.0/src/plugins/clangformat/clangformatutils.cpp 2019-09-03 16:36:38.0 +0200 qt-creator-opensource-src-4.10.0-new/src/plugins/clangformat/clangformatutils.cpp 2019-09-25 13:33:27.230835047 +0200 +@@ -60,7 +60,7 @@ static clang::format::FormatStyle qtcSty + style.AllowShortBlocksOnASingleLine = false; + style.AllowShortCaseLabelsOnASingleLine = false; + style.AllowShortFunctionsOnASingleLine =
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-clang-9.patch)
Date: Friday, October 4, 2019 @ 17:19:45 Author: arojas Revision: 363801 clang 9.0.0 rebuild Added: qtcreator/trunk/qtcreator-clang-9.patch Modified: qtcreator/trunk/PKGBUILD -+ PKGBUILD| 12 qtcreator-clang-9.patch | 12 2 files changed, 20 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-10-04 16:55:20 UTC (rev 363800) +++ PKGBUILD2019-10-04 17:19:45 UTC (rev 363801) @@ -8,8 +8,8 @@ pkgname=qtcreator pkgver=4.10.0 -_clangver=8.0.1 -pkgrel=1 +_clangver=9.0.0 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -29,9 +29,11 @@ '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) +qtcreator-preload-plugins.patch +qtcreator-clang-9.patch) sha256sums=('8f5d3abc522d8b8879adfa098e037f751b4311173f5f443fd1b5800f5feb0f8a' -'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d') +'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d' +'1d66eb008e84459f6570e6e72acedcf80d2f0bb82650df3b733f7ca0a3f08a3d') prepare() { mkdir -p build @@ -46,6 +48,8 @@ # 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 + # Fix build with clang 9 (Fedora) + patch -p1 -i ../qtcreator-clang-9.patch } build() { Added: qtcreator-clang-9.patch === --- qtcreator-clang-9.patch (rev 0) +++ qtcreator-clang-9.patch 2019-10-04 17:19:45 UTC (rev 363801) @@ -0,0 +1,12 @@ +diff -rupN qt-creator-opensource-src-4.10.0/src/plugins/clangformat/clangformatutils.cpp qt-creator-opensource-src-4.10.0-new/src/plugins/clangformat/clangformatutils.cpp +--- qt-creator-opensource-src-4.10.0/src/plugins/clangformat/clangformatutils.cpp 2019-09-03 16:36:38.0 +0200 qt-creator-opensource-src-4.10.0-new/src/plugins/clangformat/clangformatutils.cpp 2019-09-25 13:33:27.230835047 +0200 +@@ -60,7 +60,7 @@ static clang::format::FormatStyle qtcSty + style.AllowShortBlocksOnASingleLine = false; + style.AllowShortCaseLabelsOnASingleLine = false; + style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; +-style.AllowShortIfStatementsOnASingleLine = false; ++style.AllowShortIfStatementsOnASingleLine = FormatStyle::SIS_Never; + style.AllowShortLoopsOnASingleLine = false; + style.AlwaysBreakAfterReturnType = FormatStyle::RTBS_None; + style.AlwaysBreakBeforeMultilineStrings = false;
[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/trunk (3 files)
Date: Thursday, September 5, 2019 @ 11:21:44 Author: arojas Revision: 361721 Update to 4.10.0 Modified: qtcreator/trunk/PKGBUILD Deleted: qtcreator/trunk/qtcreator-clazy-1.5.patch qtcreator/trunk/qtcreator-mime-database.patch ---+ PKGBUILD | 17 ++-- qtcreator-clazy-1.5.patch | 45 --- qtcreator-mime-database.patch | 77 3 files changed, 5 insertions(+), 134 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-09-05 11:16:23 UTC (rev 361720) +++ PKGBUILD2019-09-05 11:21:44 UTC (rev 361721) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.9.2 +pkgver=4.10.0 _clangver=8.0.1 -pkgrel=3 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -29,13 +29,9 @@ 'valgrind: analyze support' 'perf: performer analyzer') source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; -qtcreator-clazy-1.5.patch -qtcreator-preload-plugins.patch -qtcreator-mime-database.patch) -sha256sums=('b7e0c797e7704c6c22eb35351946c0a758502fd082f6beaee043166e1739d3d7' -'1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' -'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d' -'8d64b5c28535dcaab910f32e82b04b425253015ca70f379cbe5e9693526a852a') +qtcreator-preload-plugins.patch) +sha256sums=('8f5d3abc522d8b8879adfa098e037f751b4311173f5f443fd1b5800f5feb0f8a' +'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d') prepare() { mkdir -p build @@ -46,13 +42,10 @@ sed -e 's|libexec|lib|g' -i src/tools/tools.pro # use system qbs rm -r src/shared/qbs - # Adapt to clazy 1.5 plugin rename - patch -p1 -i ../qtcreator-clazy-1.5.patch # 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 - patch -p1 -i ../qtcreator-mime-database.patch # Use system shared-mime-info } build() { Deleted: qtcreator-clazy-1.5.patch === --- qtcreator-clazy-1.5.patch 2019-09-05 11:16:23 UTC (rev 361720) +++ qtcreator-clazy-1.5.patch 2019-09-05 11:21:44 UTC (rev 361721) @@ -1,45 +0,0 @@ -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 -@@ -527,14 +528,14 @@ private: - return; - - m_options.append(CppTools::XclangArgs({"-add-plugin", -- "clang-lazy", -- "-plugin-arg-clang-lazy", -+ "clazy", -+ "-plugin-arg-clazy", -"enable-all-fixits", -- "-plugin-arg-clang-lazy", -+ "-plugin-arg-clazy", -"no-autowrite-fixits", -- "-plugin-arg-clang-lazy", -+ "-plugin-arg-clazy", -checks, -- "-plugin-arg-clang-lazy", -+ "-plugin-arg-clazy", -"ignore-included-files"})); - } - -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 -@@ -86,12 +87,12 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis - const QString clazyChecks = m_diagnosticConfig.clazyChecks(); - if (!clazyChecks.isEmpty()) { - arguments << XclangArgs({"-add-plugin", -- "clang-lazy", -- "-plugin-arg-clang-lazy", -+ "clazy", -+ "-plugin-arg-clazy", - "enable-all-fixits", -- "-plugin-arg-clang-lazy", -+ "-plugin-arg-clazy", -
[arch-commits] Commit in qtcreator/repos (5 files)
Date: Saturday, July 20, 2019 @ 14:15:46 Author: foutrelis Revision: 358442 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 358441, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clazy-1.5.patch (from rev 358441, qtcreator/trunk/qtcreator-clazy-1.5.patch) qtcreator/repos/staging-x86_64/qtcreator-mime-database.patch (from rev 358441, qtcreator/trunk/qtcreator-mime-database.patch) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 358441, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 80 ++ qtcreator-clazy-1.5.patch | 45 + qtcreator-mime-database.patch | 77 qtcreator-preload-plugins.patch | 21 + 4 files changed, 223 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 358441, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-07-20 14:15:46 UTC (rev 358442) @@ -0,0 +1,80 @@ +# 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.2 +_clangver=8.0.1 +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-clazy-1.5.patch +qtcreator-preload-plugins.patch +qtcreator-mime-database.patch) +sha256sums=('b7e0c797e7704c6c22eb35351946c0a758502fd082f6beaee043166e1739d3d7' +'1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' +'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d' +'8d64b5c28535dcaab910f32e82b04b425253015ca70f379cbe5e9693526a852a') + +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 + # Adapt to clazy 1.5 plugin rename + patch -p1 -i ../qtcreator-clazy-1.5.patch + # 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 + patch -p1 -i ../qtcreator-mime-database.patch # Use system shared-mime-info +} + +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-clazy-1.5.patch (from rev 358441, qtcreator/trunk/qtcreator-clazy-1.5.patch) === --- staging-x86_64/qtcreator-clazy-1.5.patch(rev 0) +++ staging-x86_64/qtcreator-clazy-1.5.patch2019-07-20 14:15:46 UTC (rev 358442) @@ -0,0 +1,45 @@ +diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +index 706c5101a3..dbfaeb8457 100644 +---
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Saturday, July 20, 2019 @ 14:15:39 Author: foutrelis Revision: 358441 clang 8.0.1 rebuild Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-07-20 14:15:37 UTC (rev 358440) +++ PKGBUILD2019-07-20 14:15:39 UTC (rev 358441) @@ -8,8 +8,8 @@ pkgname=qtcreator pkgver=4.9.2 -_clangver=8.0.0 -pkgrel=2 +_clangver=8.0.1 +pkgrel=3 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io'
[arch-commits] Commit in qtcreator/repos/testing-x86_64 (7 files)
Date: Saturday, June 29, 2019 @ 14:20:44 Author: arojas Revision: 357061 archrelease: copy trunk to testing-x86_64 Added: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 357060, qtcreator/trunk/PKGBUILD) qtcreator/repos/testing-x86_64/qtcreator-clazy-1.5.patch (from rev 357060, qtcreator/trunk/qtcreator-clazy-1.5.patch) qtcreator/repos/testing-x86_64/qtcreator-mime-database.patch (from rev 357060, qtcreator/trunk/qtcreator-mime-database.patch) qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch (from rev 357060, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/testing-x86_64/PKGBUILD qtcreator/repos/testing-x86_64/qtcreator-clazy-1.5.patch qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 157 +++--- qtcreator-clazy-1.5.patch | 90 ++--- qtcreator-mime-database.patch | 77 ++ qtcreator-preload-plugins.patch | 42 +- 4 files changed, 223 insertions(+), 143 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-06-29 14:20:19 UTC (rev 357060) +++ PKGBUILD2019-06-29 14:20:44 UTC (rev 357061) @@ -1,77 +0,0 @@ -# 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.2 -_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 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-clazy-1.5.patch -qtcreator-preload-plugins.patch) -sha256sums=('b7e0c797e7704c6c22eb35351946c0a758502fd082f6beaee043166e1739d3d7' -'1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' -'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 - # Adapt to clazy 1.5 plugin rename - patch -p1 -i ../qtcreator-clazy-1.5.patch - # 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/PKGBUILD (from rev 357060, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-06-29 14:20:44 UTC (rev 357061) @@ -0,0 +1,80 @@ +# 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.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
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-mime-database.patch)
Date: Saturday, June 29, 2019 @ 14:20:19 Author: arojas Revision: 357060 Use system mimetype database Added: qtcreator/trunk/qtcreator-mime-database.patch Modified: qtcreator/trunk/PKGBUILD ---+ PKGBUILD |9 +++- qtcreator-mime-database.patch | 77 2 files changed, 83 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-06-29 14:18:59 UTC (rev 357059) +++ PKGBUILD2019-06-29 14:20:19 UTC (rev 357060) @@ -9,7 +9,7 @@ pkgname=qtcreator pkgver=4.9.2 _clangver=8.0.0 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -30,10 +30,12 @@ 'perf: performer analyzer') source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; qtcreator-clazy-1.5.patch -qtcreator-preload-plugins.patch) +qtcreator-preload-plugins.patch +qtcreator-mime-database.patch) sha256sums=('b7e0c797e7704c6c22eb35351946c0a758502fd082f6beaee043166e1739d3d7' '1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' -'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d') +'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d' +'8d64b5c28535dcaab910f32e82b04b425253015ca70f379cbe5e9693526a852a') prepare() { mkdir -p build @@ -50,6 +52,7 @@ # 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 + patch -p1 -i ../qtcreator-mime-database.patch # Use system shared-mime-info } build() { Added: qtcreator-mime-database.patch === --- qtcreator-mime-database.patch (rev 0) +++ qtcreator-mime-database.patch 2019-06-29 14:20:19 UTC (rev 357060) @@ -0,0 +1,77 @@ +From e7ef1ad0ba526dd2fc47602e4d45d62adbdbe5db Mon Sep 17 00:00:00 2001 +From: Thiago Macieira +Date: Fri, 28 Jun 2019 22:46:20 -0700 +Subject: [PATCH] Re-fix QtCore resource path changing and prepare for Qt 5.13 + +Commit 9cf8ab3b3d44ac50a1f8d4893d8f70b8aedb18b0 added the #ifdef, but +that of course only works if you don't upgrade Qt compared to what Qt +Creator was compiled with. Instead, attempt both paths and only do that +if the system copy is not found. + +Searching the system copy is required to address Qt 5.13's configure +option -no-mimetype-database (used by Linux distributions because the +system copy is always present). + +This code will still need work to deal with Qt 5.14 changes. + +Task-number: QTCREATORBUG-19600 +Task-number: QTCREATORBUG-22636 +Change-Id: I6aed4df6a12e43c3ac8efffd15ac952a6e9d4770 +--- + +diff --git a/src/libs/utils/mimetypes/mimeprovider.cpp b/src/libs/utils/mimetypes/mimeprovider.cpp +index d444aa8..ce94215 100644 +--- a/src/libs/utils/mimetypes/mimeprovider.cpp b/src/libs/utils/mimetypes/mimeprovider.cpp +@@ -784,32 +784,25 @@ + { + if (!m_loaded /*|| shouldCheck()*/) { + m_loaded = true; +-//bool fdoXmlFound = false; +-QStringList allFiles; ++QStringList allFiles = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, ++ QStringLiteral("mime/packages/freedesktop.org.xml"), ++ QStandardPaths::LocateFile); + +-//const QStringList packageDirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QLatin1String("mime/packages"), QStandardPaths::LocateDirectory); +-////qDebug() << "packageDirs=" << packageDirs; +-//for (const QString : packageDirs) { +-//QDir dir(packageDir); +-//const QStringList files = dir.entryList(QDir::Files | QDir::NoDotAndDotDot); +-////qDebug() << static_cast(this) << packageDir << files; +-//if (!fdoXmlFound) +-//fdoXmlFound = files.contains(QLatin1String("freedesktop.org.xml")); +-//QStringList::const_iterator endIt(files.constEnd()); +-//for (QStringList::const_iterator it(files.constBegin()); it != endIt; ++it) { +-//allFiles.append(packageDir + QLatin1Char('/') + *it); +-//} +-//} +- +-//if (!fdoXmlFound) { +-//// We could instead install the file as part of installing Qt? +-#if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0)) +- const char freedesktopOrgXml[] = ":/qt-project.org/qmime/packages/freedesktop.org.xml"; +-#else +- const char freedesktopOrgXml[] = ":/qt-project.org/qmime/freedesktop.org.xml"; +-#endif +-
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Friday, June 28, 2019 @ 17:26:55 Author: arojas Revision: 357019 Update to 4.9.2 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |9 + 1 file changed, 5 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-06-28 17:22:09 UTC (rev 357018) +++ PKGBUILD2019-06-28 17:26:55 UTC (rev 357019) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.9.1 +pkgver=4.9.2 _clangver=8.0.0 -pkgrel=2 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -26,11 +26,12 @@ 'git: git support' 'mercurial: mercurial support' 'bzr: bazaar support' -'valgrind: analyze 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-clazy-1.5.patch qtcreator-preload-plugins.patch) -sha256sums=('79b8228d0871927837681e6af9ab91e3ea28154cecfba317f9c0e56246b8ad81' +sha256sums=('b7e0c797e7704c6c22eb35351946c0a758502fd082f6beaee043166e1739d3d7' '1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' '150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d')
[arch-commits] Commit in qtcreator/repos/testing-x86_64 (6 files)
Date: Friday, June 28, 2019 @ 17:27:16 Author: arojas Revision: 357020 archrelease: copy trunk to testing-x86_64 Added: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 357019, qtcreator/trunk/PKGBUILD) qtcreator/repos/testing-x86_64/qtcreator-clazy-1.5.patch (from rev 357019, qtcreator/trunk/qtcreator-clazy-1.5.patch) qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch (from rev 357019, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/testing-x86_64/PKGBUILD qtcreator/repos/testing-x86_64/qtcreator-clazy-1.5.patch qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 153 +++--- qtcreator-clazy-1.5.patch | 90 +++--- qtcreator-preload-plugins.patch | 42 +- 3 files changed, 143 insertions(+), 142 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-06-28 17:26:55 UTC (rev 357019) +++ PKGBUILD2019-06-28 17:27:16 UTC (rev 357020) @@ -1,76 +0,0 @@ -# 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.1 -_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 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') -source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; -qtcreator-clazy-1.5.patch -qtcreator-preload-plugins.patch) -sha256sums=('79b8228d0871927837681e6af9ab91e3ea28154cecfba317f9c0e56246b8ad81' -'1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' -'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 - # Adapt to clazy 1.5 plugin rename - patch -p1 -i ../qtcreator-clazy-1.5.patch - # 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/PKGBUILD (from rev 357019, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-06-28 17:27:16 UTC (rev 357020) @@ -0,0 +1,77 @@ +# 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.2 +_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 patchelf) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +
[arch-commits] Commit in qtcreator/repos/testing-x86_64 (6 files)
Date: Friday, June 28, 2019 @ 17:22:09 Author: arojas Revision: 357018 archrelease: copy trunk to testing-x86_64 Added: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 357017, qtcreator/trunk/PKGBUILD) qtcreator/repos/testing-x86_64/qtcreator-clazy-1.5.patch (from rev 357017, qtcreator/trunk/qtcreator-clazy-1.5.patch) qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch (from rev 357017, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/testing-x86_64/PKGBUILD qtcreator/repos/testing-x86_64/qtcreator-clazy-1.5.patch qtcreator/repos/testing-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 152 +++--- qtcreator-clazy-1.5.patch | 90 +++--- qtcreator-preload-plugins.patch | 42 +- 3 files changed, 142 insertions(+), 142 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-06-28 17:21:00 UTC (rev 357017) +++ PKGBUILD2019-06-28 17:22:09 UTC (rev 357018) @@ -1,76 +0,0 @@ -# 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.1 -_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 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') -source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; -qtcreator-clazy-1.5.patch -qtcreator-preload-plugins.patch) -sha256sums=('79b8228d0871927837681e6af9ab91e3ea28154cecfba317f9c0e56246b8ad81' -'1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' -'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 - # Adapt to clazy 1.5 plugin rename - patch -p1 -i ../qtcreator-clazy-1.5.patch - # 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/PKGBUILD (from rev 357017, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-06-28 17:22:09 UTC (rev 357018) @@ -0,0 +1,76 @@ +# 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.1 +_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 syntax-highlighting desktop-file-utils) +makedepends=(llvm python patchelf) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +
[arch-commits] Commit in qtcreator/repos (4 files)
Date: Wednesday, June 19, 2019 @ 12:49:46 Author: arojas Revision: 356560 archrelease: copy trunk to staging-x86_64 Added: qtcreator/repos/staging-x86_64/ qtcreator/repos/staging-x86_64/PKGBUILD (from rev 356558, qtcreator/trunk/PKGBUILD) qtcreator/repos/staging-x86_64/qtcreator-clazy-1.5.patch (from rev 356558, qtcreator/trunk/qtcreator-clazy-1.5.patch) qtcreator/repos/staging-x86_64/qtcreator-preload-plugins.patch (from rev 356558, qtcreator/trunk/qtcreator-preload-plugins.patch) -+ PKGBUILD| 76 ++ qtcreator-clazy-1.5.patch | 45 ++ qtcreator-preload-plugins.patch | 21 ++ 3 files changed, 142 insertions(+) Copied: qtcreator/repos/staging-x86_64/PKGBUILD (from rev 356558, qtcreator/trunk/PKGBUILD) === --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-06-19 12:49:46 UTC (rev 356560) @@ -0,0 +1,76 @@ +# 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.1 +_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 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') +source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; +qtcreator-clazy-1.5.patch +qtcreator-preload-plugins.patch) +sha256sums=('79b8228d0871927837681e6af9ab91e3ea28154cecfba317f9c0e56246b8ad81' +'1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' +'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 + # Adapt to clazy 1.5 plugin rename + patch -p1 -i ../qtcreator-clazy-1.5.patch + # 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-clazy-1.5.patch (from rev 356558, qtcreator/trunk/qtcreator-clazy-1.5.patch) === --- staging-x86_64/qtcreator-clazy-1.5.patch(rev 0) +++ staging-x86_64/qtcreator-clazy-1.5.patch2019-06-19 12:49:46 UTC (rev 356560) @@ -0,0 +1,45 @@ +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 +@@ -527,14 +528,14 @@ private: + return; + + m_options.append(CppTools::XclangArgs({"-add-plugin", +- "clang-lazy", +- "-plugin-arg-clang-lazy", ++ "clazy", ++
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (6 files)
Date: Tuesday, May 28, 2019 @ 11:37:46 Author: arojas Revision: 354434 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 354433, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clazy-1.5.patch (from rev 354433, qtcreator/trunk/qtcreator-clazy-1.5.patch) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 354433, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clazy-1.5.patch qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 151 +++--- qtcreator-clazy-1.5.patch | 90 +++--- qtcreator-preload-plugins.patch | 42 +- 3 files changed, 142 insertions(+), 141 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-05-28 11:30:45 UTC (rev 354433) +++ PKGBUILD2019-05-28 11:37:46 UTC (rev 354434) @@ -1,75 +0,0 @@ -# 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=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') -source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; -qtcreator-clazy-1.5.patch -qtcreator-preload-plugins.patch) -sha256sums=('46ee1992531b769450f8be96cf63520b609d7dd305df345d7cd8216ac396e6a8' -'1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' -'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 - # use system qbs - rm -r src/shared/qbs - # Adapt to clazy 1.5 plugin rename - patch -p1 -i ../qtcreator-clazy-1.5.patch - # 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/extra-x86_64/PKGBUILD (from rev 354433, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-05-28 11:37:46 UTC (rev 354434) @@ -0,0 +1,76 @@ +# 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.1 +_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 patchelf) +options=(docs) +optdepends=('qt5-doc: integrated Qt documentation' +'qt5-examples: welcome page examples' +'qt5-translations: for other languages' +'gdb: debugger' +
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Tuesday, May 28, 2019 @ 11:30:45 Author: arojas Revision: 354433 Update to 4.9.1 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-05-28 10:56:26 UTC (rev 354432) +++ PKGBUILD2019-05-28 11:30:45 UTC (rev 354433) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.9.0 +pkgver=4.9.1 _clangver=8.0.0 -pkgrel=3 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -30,7 +30,7 @@ source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; qtcreator-clazy-1.5.patch qtcreator-preload-plugins.patch) -sha256sums=('46ee1992531b769450f8be96cf63520b609d7dd305df345d7cd8216ac396e6a8' +sha256sums=('79b8228d0871927837681e6af9ab91e3ea28154cecfba317f9c0e56246b8ad81' '1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' '150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d') @@ -40,6 +40,7 @@ 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 # Adapt to clazy 1.5 plugin rename
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-preload-plugins.patch)
Date: Tuesday, May 7, 2019 @ 18:22:05 Author: arojas Revision: 352732 Link ClazyPlugin in clangbackend instead of preloading Modified: qtcreator/trunk/PKGBUILD qtcreator/trunk/qtcreator-preload-plugins.patch -+ PKGBUILD| 13 - qtcreator-preload-plugins.patch | 33 + 2 files changed, 29 insertions(+), 17 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-05-07 18:20:35 UTC (rev 352731) +++ PKGBUILD2019-05-07 18:22:05 UTC (rev 352732) @@ -9,13 +9,13 @@ pkgname=qtcreator pkgver=4.9.0 _clangver=8.0.0 -pkgrel=2 +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) +makedepends=(llvm python patchelf) options=(docs) optdepends=('qt5-doc: integrated Qt documentation' 'qt5-examples: welcome page examples' @@ -32,7 +32,7 @@ qtcreator-preload-plugins.patch) sha256sums=('46ee1992531b769450f8be96cf63520b609d7dd305df345d7cd8216ac396e6a8' '1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' -'0e59c98c02d46f93275dda2b22216a0ba467104f0151f35c88ae2172c3858b03') +'150c444e76ec969fc8765774b648984037829623300d0ce9d41a915b2afa792d') prepare() { mkdir -p build @@ -42,12 +42,12 @@ sed -e 's|libexec\/qtcreator|lib\/qtcreator|g' -i qtcreator.pri # use system qbs rm -r src/shared/qbs + # Adapt to clazy 1.5 plugin rename + patch -p1 -i ../qtcreator-clazy-1.5.patch # 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 - # Adapt to clazy 1.5 plugin rename - patch -p1 -i ../qtcreator-clazy-1.5.patch } build() { @@ -69,4 +69,7 @@ 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 } Modified: qtcreator-preload-plugins.patch === --- qtcreator-preload-plugins.patch 2019-05-07 18:20:35 UTC (rev 352731) +++ qtcreator-preload-plugins.patch 2019-05-07 18:22:05 UTC (rev 352732) @@ -1,12 +1,21 @@ -diff --git a/dist/org.qt-project.qtcreator.desktop b/dist/org.qt-project.qtcreator.desktop -index 034721891d..93351f28da 100644 a/dist/org.qt-project.qtcreator.desktop -+++ b/dist/org.qt-project.qtcreator.desktop -@@ -1,6 +1,6 @@ - [Desktop Entry] - Type=Application --Exec=qtcreator %F -+Exec=LD_PRELOAD=ClazyPlugin.so:libclangTidyPlugin.so qtcreator %F - Name=Qt Creator - GenericName=C++ IDE for developing Qt applications - X-KDE-StartupNotify=true +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(); + if (!clazyChecks.isEmpty()) { +-arguments << XclangArgs({"-add-plugin", ++arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", + "clazy", + "-plugin-arg-clazy", + "enable-all-fixits",
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (6 files)
Date: Tuesday, May 7, 2019 @ 18:22:31 Author: arojas Revision: 352733 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 352732, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clazy-1.5.patch (from rev 352732, qtcreator/trunk/qtcreator-clazy-1.5.patch) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 352732, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clazy-1.5.patch qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 147 +++--- qtcreator-clazy-1.5.patch | 90 +++ qtcreator-preload-plugins.patch | 33 +--- 3 files changed, 141 insertions(+), 129 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-05-07 18:22:05 UTC (rev 352732) +++ PKGBUILD2019-05-07 18:22:31 UTC (rev 352733) @@ -1,72 +0,0 @@ -# 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=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) -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-clazy-1.5.patch -qtcreator-preload-plugins.patch) -sha256sums=('46ee1992531b769450f8be96cf63520b609d7dd305df345d7cd8216ac396e6a8' -'1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' -'0e59c98c02d46f93275dda2b22216a0ba467104f0151f35c88ae2172c3858b03') - -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 - # 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 - # Adapt to clazy 1.5 plugin rename - patch -p1 -i ../qtcreator-clazy-1.5.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/extra-x86_64/PKGBUILD (from rev 352732, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-05-07 18:22:31 UTC (rev 352733) @@ -0,0 +1,75 @@ +# 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=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' +
[arch-commits] Commit in qtcreator/trunk (qtcreator-clazy-1.5.patch)
Date: Monday, May 6, 2019 @ 19:27:58 Author: arojas Revision: 352585 Add missing patch Added: qtcreator/trunk/qtcreator-clazy-1.5.patch ---+ qtcreator-clazy-1.5.patch | 45 1 file changed, 45 insertions(+) Added: qtcreator-clazy-1.5.patch === --- qtcreator-clazy-1.5.patch (rev 0) +++ qtcreator-clazy-1.5.patch 2019-05-06 19:27:58 UTC (rev 352585) @@ -0,0 +1,45 @@ +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 +@@ -527,14 +528,14 @@ private: + return; + + m_options.append(CppTools::XclangArgs({"-add-plugin", +- "clang-lazy", +- "-plugin-arg-clang-lazy", ++ "clazy", ++ "-plugin-arg-clazy", +"enable-all-fixits", +- "-plugin-arg-clang-lazy", ++ "-plugin-arg-clazy", +"no-autowrite-fixits", +- "-plugin-arg-clang-lazy", ++ "-plugin-arg-clazy", +checks, +- "-plugin-arg-clang-lazy", ++ "-plugin-arg-clazy", +"ignore-included-files"})); + } + +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 +@@ -86,12 +87,12 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis + const QString clazyChecks = m_diagnosticConfig.clazyChecks(); + if (!clazyChecks.isEmpty()) { + arguments << XclangArgs({"-add-plugin", +- "clang-lazy", +- "-plugin-arg-clang-lazy", ++ "clazy", ++ "-plugin-arg-clazy", + "enable-all-fixits", +- "-plugin-arg-clang-lazy", ++ "-plugin-arg-clazy", + "no-autowrite-fixits", +- "-plugin-arg-clang-lazy", ++ "-plugin-arg-clazy", + m_diagnosticConfig.clazyChecks()}); + } +
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (5 files)
Date: Monday, May 6, 2019 @ 19:28:09 Author: arojas Revision: 352586 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 352585, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clazy-1.5.patch (from rev 352585, qtcreator/trunk/qtcreator-clazy-1.5.patch) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 352585, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch -+ PKGBUILD| 145 ++ qtcreator-clazy-1.5.patch | 45 +++ qtcreator-preload-plugins.patch | 24 +++--- 3 files changed, 129 insertions(+), 85 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-05-06 19:27:58 UTC (rev 352585) +++ PKGBUILD2019-05-06 19:28:09 UTC (rev 352586) @@ -1,73 +0,0 @@ -# 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=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) -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-clazy-1.5.patch -qtcreator-preload-plugins.patch) -sha256sums=('46ee1992531b769450f8be96cf63520b609d7dd305df345d7cd8216ac396e6a8' -'1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' -'0e59c98c02d46f93275dda2b22216a0ba467104f0151f35c88ae2172c3858b03') - -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 - # 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 - # Adapt to clazy 1.5 plugin rename - patch -p1 -i ../qtcreator-clazy-1.5.patch -} - -build() { - cd build - - export LDFLAGS=${LDFLAGS/--as-needed,/} - 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/extra-x86_64/PKGBUILD (from rev 352585, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-05-06 19:28:09 UTC (rev 352586) @@ -0,0 +1,72 @@ +# 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=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) +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' +
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Monday, May 6, 2019 @ 16:21:47 Author: arojas Revision: 352579 Drop useless debug Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |1 - 1 file changed, 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-05-06 16:13:59 UTC (rev 352578) +++ PKGBUILD2019-05-06 16:21:47 UTC (rev 352579) @@ -53,7 +53,6 @@ build() { cd build - export LDFLAGS=${LDFLAGS/--as-needed,/} 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 \
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (4 files)
Date: Monday, May 6, 2019 @ 16:13:59 Author: arojas Revision: 352578 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 352577, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-preload-plugins.patch (from rev 352577, qtcreator/trunk/qtcreator-preload-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-plugins.patch -+ PKGBUILD| 141 +++--- qtcreator-clang-plugins.patch | 64 - qtcreator-preload-plugins.patch | 12 +++ 3 files changed, 85 insertions(+), 132 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-05-06 16:13:29 UTC (rev 352577) +++ PKGBUILD2019-05-06 16:13:59 UTC (rev 352578) @@ -1,68 +0,0 @@ -# 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/extra-x86_64/PKGBUILD (from rev 352577, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-05-06 16:13:59 UTC (rev 352578) @@ -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.9.0 +_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 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-clazy-1.5.patch +qtcreator-preload-plugins.patch) +sha256sums=('46ee1992531b769450f8be96cf63520b609d7dd305df345d7cd8216ac396e6a8' +
[arch-commits] Commit in qtcreator/trunk (3 files)
Date: Monday, May 6, 2019 @ 16:13:29 Author: arojas Revision: 352577 Preload analyzer plugins in .desktop file (FS#62221) Added: qtcreator/trunk/qtcreator-preload-plugins.patch Modified: qtcreator/trunk/PKGBUILD Deleted: qtcreator/trunk/qtcreator-clang-plugins.patch -+ PKGBUILD| 15 +--- qtcreator-clang-plugins.patch | 65 -- qtcreator-preload-plugins.patch | 12 +++ 3 files changed, 22 insertions(+), 70 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-05-06 13:56:21 UTC (rev 352576) +++ PKGBUILD2019-05-06 16:13:29 UTC (rev 352577) @@ -9,7 +9,7 @@ pkgname=qtcreator pkgver=4.9.0 _clangver=8.0.0 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -28,9 +28,11 @@ '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) +qtcreator-clazy-1.5.patch +qtcreator-preload-plugins.patch) sha256sums=('46ee1992531b769450f8be96cf63520b609d7dd305df345d7cd8216ac396e6a8' -'ba4ebfa0cb2a9977b9ec9f12eaa92dac152ed2d67976829f2a596bc27888f0ab') +'1f6998fea92b9a157f42cca783839ce95f70ccc667027078b7881cbb253838f0' +'0e59c98c02d46f93275dda2b22216a0ba467104f0151f35c88ae2172c3858b03') prepare() { mkdir -p build @@ -40,15 +42,18 @@ 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 + # 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-clang-plugins.patch + patch -p1 -i ../qtcreator-preload-plugins.patch + # Adapt to clazy 1.5 plugin rename + patch -p1 -i ../qtcreator-clazy-1.5.patch } build() { cd build + export LDFLAGS=${LDFLAGS/--as-needed,/} 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 \ Deleted: qtcreator-clang-plugins.patch === --- qtcreator-clang-plugins.patch 2019-05-06 13:56:21 UTC (rev 352576) +++ qtcreator-clang-plugins.patch 2019-05-06 16:13:29 UTC (rev 352577) @@ -1,65 +0,0 @@ -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", -"enable-all-fixits", -- "-plugin-arg-clang-lazy", -+ "-plugin-arg-clazy", -"no-autowrite-fixits", -- "-plugin-arg-clang-lazy", -+ "-plugin-arg-clazy", -checks, -- "-plugin-arg-clang-lazy", -+ "-plugin-arg-clazy", -"ignore-included-files"})); - } - -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
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-clang-plugins.patch)
Date: Sunday, May 5, 2019 @ 09:10:07 Author: arojas Revision: 352525 Fix clazy 1.5 patch Modified: qtcreator/trunk/PKGBUILD qtcreator/trunk/qtcreator-clang-plugins.patch ---+ PKGBUILD |2 +- qtcreator-clang-plugins.patch |5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-05-04 23:53:26 UTC (rev 352524) +++ PKGBUILD2019-05-05 09:10:07 UTC (rev 352525) @@ -30,7 +30,7 @@ source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; qtcreator-clang-plugins.patch) sha256sums=('46ee1992531b769450f8be96cf63520b609d7dd305df345d7cd8216ac396e6a8' -'149ffcd0ab7c53605951c66dba707ff7e0dc17136c921f1a668fc392c5a7f3f2') +'ba4ebfa0cb2a9977b9ec9f12eaa92dac152ed2d67976829f2a596bc27888f0ab') prepare() { mkdir -p build Modified: qtcreator-clang-plugins.patch === --- qtcreator-clang-plugins.patch 2019-05-04 23:53:26 UTC (rev 352524) +++ qtcreator-clang-plugins.patch 2019-05-05 09:10:07 UTC (rev 352525) @@ -49,9 +49,10 @@ const QString clazyChecks = m_diagnosticConfig.clazyChecks(); if (!clazyChecks.isEmpty()) { -arguments << XclangArgs({"-add-plugin", +- "clang-lazy", +- "-plugin-arg-clang-lazy", +arguments << XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", - "clang-lazy", -- "-plugin-arg-clang-lazy", ++ "clazy", + "-plugin-arg-clazy", "enable-all-fixits", - "-plugin-arg-clang-lazy",
[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/trunk (PKGBUILD qtcreator-clang-plugins.patch)
Date: Saturday, April 20, 2019 @ 20:06:15 Author: arojas Revision: 351784 Update to 4.9.0 Modified: qtcreator/trunk/PKGBUILD qtcreator/trunk/qtcreator-clang-plugins.patch ---+ PKGBUILD | 19 +- qtcreator-clang-plugins.patch | 74 2 files changed, 49 insertions(+), 44 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-04-20 20:03:24 UTC (rev 351783) +++ PKGBUILD2019-04-20 20:06:15 UTC (rev 351784) @@ -7,15 +7,15 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.8.2 +pkgver=4.9.0 _clangver=8.0.0 -pkgrel=2 +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) -makedepends=(git mesa llvm python) +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' @@ -29,8 +29,8 @@ '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') +sha256sums=('46ee1992531b769450f8be96cf63520b609d7dd305df345d7cd8216ac396e6a8' +'149ffcd0ab7c53605951c66dba707ff7e0dc17136c921f1a668fc392c5a7f3f2') prepare() { mkdir -p build @@ -49,8 +49,11 @@ 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 + 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 } Modified: qtcreator-clang-plugins.patch === --- qtcreator-clang-plugins.patch 2019-04-20 20:03:24 UTC (rev 351783) +++ qtcreator-clang-plugins.patch 2019-04-20 20:06:15 UTC (rev 351784) @@ -1,62 +1,64 @@ diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp -index 0738aa8e70..0ef27d9397 100644 +index 706c5101a3..dbfaeb8457 100644 --- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +++ b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp -@@ -525,6 +525,7 @@ private: +@@ -511,6 +511,7 @@ private: if (tidyMode == Mode::Disabled) return; -+addXclangArg("-load", "libclangTidyPlugin.so"); - addXclangArg("-add-plugin", "clang-tidy"); ++m_options.append(CppTools::XclangArgs({"-load", "libclangTidyPlugin.so"})); + m_options.append(CppTools::XclangArgs({"-add-plugin", "clang-tidy"})); if (tidyMode == Mode::File) -@@ -540,15 +541,16 @@ private: +@@ -526,15 +527,15 @@ private: if (checks.isEmpty()) return; --addXclangArg("-add-plugin", "clang-lazy"); --addXclangArg("-plugin-arg-clang-lazy", "enable-all-fixits"); --addXclangArg("-plugin-arg-clang-lazy", "no-autowrite-fixits"); --addXclangArg("-plugin-arg-clang-lazy", checks); -+addXclangArg("-load", "ClazyPlugin.so"); -+addXclangArg("-add-plugin", "clazy"); -+addXclangArg("-plugin-arg-clazy", "enable-all-fixits"); -+addXclangArg("-plugin-arg-clazy", "no-autowrite-fixits"); -+addXclangArg("-plugin-arg-clazy", checks); - - // NOTE: we already use -isystem for all include paths to make libclang skip diagnostics for - // all of them. That means that ignore-included-files will not change anything unless we decide - // to return the original -I prefix for some include paths. --addXclangArg("-plugin-arg-clang-lazy", "ignore-included-files"); -+addXclangArg("-plugin-arg-clazy", "ignore-included-files"); +-m_options.append(CppTools::XclangArgs({"-add-plugin", +- "clang-lazy", +- "-plugin-arg-clang-lazy", ++m_options.append(CppTools::XclangArgs({"-load", "ClazyPlugin.so", "-add-plugin", ++ "clazy", ++
[arch-commits] Commit in qtcreator/trunk (qtcreator-clang-plugins.patch)
Date: Friday, April 5, 2019 @ 13:43:24 Author: arojas Revision: 350085 Update plugin name for clazy 1.5 Modified: qtcreator/trunk/qtcreator-clang-plugins.patch ---+ qtcreator-clang-plugins.patch | 44 1 file changed, 31 insertions(+), 13 deletions(-) Modified: qtcreator-clang-plugins.patch === --- qtcreator-clang-plugins.patch 2019-04-05 13:43:13 UTC (rev 350084) +++ qtcreator-clang-plugins.patch 2019-04-05 13:43:24 UTC (rev 350085) @@ -1,8 +1,8 @@ diff --git a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp -index 25054f14ec..b0e17c3260 100644 +index 0738aa8e70..0ef27d9397 100644 --- a/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp +++ b/src/plugins/clangcodemodel/clangeditordocumentprocessor.cpp -@@ -524,6 +524,7 @@ private: +@@ -525,6 +525,7 @@ private: if (tidyMode == Mode::Disabled) return; @@ -10,21 +10,33 @@ addXclangArg("-add-plugin", "clang-tidy"); if (tidyMode == Mode::File) -@@ -539,7 +540,8 @@ private: +@@ -540,15 +541,16 @@ private: if (checks.isEmpty()) return; - + -addXclangArg("-add-plugin", "clang-lazy"); +-addXclangArg("-plugin-arg-clang-lazy", "enable-all-fixits"); +-addXclangArg("-plugin-arg-clang-lazy", "no-autowrite-fixits"); +-addXclangArg("-plugin-arg-clang-lazy", checks); +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); ++addXclangArg("-plugin-arg-clazy", "enable-all-fixits"); ++addXclangArg("-plugin-arg-clazy", "no-autowrite-fixits"); ++addXclangArg("-plugin-arg-clazy", checks); + + // NOTE: we already use -isystem for all include paths to make libclang skip diagnostics for + // all of them. That means that ignore-included-files will not change anything unless we decide + // to return the original -I prefix for some include paths. +-addXclangArg("-plugin-arg-clang-lazy", "ignore-included-files"); ++addXclangArg("-plugin-arg-clazy", "ignore-included-files"); + } + + void addGlobalDiagnosticOptions() diff --git a/src/plugins/clangtools/clangtidyclazyrunner.cpp b/src/plugins/clangtools/clangtidyclazyrunner.cpp -index d91724392e..75e1692f49 100644 +index 00a945c124..dcb0ad7280 100644 --- a/src/plugins/clangtools/clangtidyclazyrunner.cpp +++ b/src/plugins/clangtools/clangtidyclazyrunner.cpp -@@ -83,6 +83,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis +@@ -84,6 +84,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis const ClangDiagnosticConfig::TidyMode tidyMode = m_diagnosticConfig.clangTidyMode(); if (tidyMode != ClangDiagnosticConfig::TidyMode::Disabled) { @@ -32,13 +44,19 @@ addXclangArg(arguments, QString("-add-plugin"), QString("clang-tidy")); if (tidyMode != ClangDiagnosticConfig::TidyMode::File) { const QString tidyChecks = m_diagnosticConfig.clangTidyChecks(); -@@ -92,7 +93,8 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis +@@ -93,10 +94,11 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis const QString clazyChecks = m_diagnosticConfig.clazyChecks(); if (!clazyChecks.isEmpty()) { -addXclangArg(arguments, QString("-add-plugin"), QString("clang-lazy")); +-addXclangArg(arguments, QString("-plugin-arg-clang-lazy"), QString("enable-all-fixits")); +-addXclangArg(arguments, QString("-plugin-arg-clang-lazy"), QString("no-autowrite-fixits")); +-addXclangArg(arguments, QString("-plugin-arg-clang-lazy"), m_diagnosticConfig.clazyChecks()); +addXclangArg(arguments, QString("-load"), QString("ClazyPlugin.so")); +addXclangArg(arguments, QString("-add-plugin"), QString("clazy")); - addXclangArg(arguments, QString("-plugin-arg-clang-lazy"), QString("enable-all-fixits")); - addXclangArg(arguments, QString("-plugin-arg-clang-lazy"), QString("no-autowrite-fixits")); - addXclangArg(arguments, QString("-plugin-arg-clang-lazy"), m_diagnosticConfig.clazyChecks()); ++addXclangArg(arguments, QString("-plugin-arg-clazy"), QString("enable-all-fixits")); ++addXclangArg(arguments, QString("-plugin-arg-clazy"), QString("no-autowrite-fixits")); ++addXclangArg(arguments, QString("-plugin-arg-clazy"), m_diagnosticConfig.clazyChecks()); + } + + arguments += options;
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Tuesday, March 26, 2019 @ 03:16:27 Author: foutrelis Revision: 349223 upgpkg: qtcreator 4.8.2-2 LLVM 8 rebuild. Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-03-26 03:06:59 UTC (rev 349222) +++ PKGBUILD2019-03-26 03:16:27 UTC (rev 349223) @@ -8,8 +8,8 @@ pkgname=qtcreator pkgver=4.8.2 -_clangver=7.0.1 -pkgrel=1 +_clangver=8.0.0 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io'
[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/extra-x86_64 (4 files)
Date: Friday, March 1, 2019 @ 12:56:45 Author: arojas Revision: 346978 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 346977, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clang-plugins.patch (from rev 346977, qtcreator/trunk/qtcreator-clang-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-plugins.patch ---+ PKGBUILD | 130 qtcreator-clang-plugins.patch | 88 +-- 2 files changed, 109 insertions(+), 109 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-03-01 12:56:22 UTC (rev 346977) +++ PKGBUILD2019-03-01 12:56:45 UTC (rev 346978) @@ -1,65 +0,0 @@ -# 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/extra-x86_64/PKGBUILD (from rev 346977, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-03-01 12:56:45 UTC (rev 346978) @@ -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=7.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) +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
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Friday, March 1, 2019 @ 12:56:22 Author: arojas Revision: 346977 Update to 4.8.2 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-03-01 10:55:53 UTC (rev 346976) +++ PKGBUILD2019-03-01 12:56:22 UTC (rev 346977) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.8.1 +pkgver=4.8.2 _clangver=7.0.1 -pkgrel=2 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io' @@ -29,7 +29,7 @@ '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' +sha256sums=('a8257daf39f6025c8523285dc73fd6b66645f3ff071e112b484325966eee0c92' '34ea74698ddff9925e06bff6b4c995bf93488d1104e8cc517bcfdd621effb428') prepare() {
[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/trunk (PKGBUILD)
Date: Friday, February 1, 2019 @ 11:35:55 Author: arojas Revision: 345001 Bump pkgrel Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-02-01 11:32:53 UTC (rev 345000) +++ PKGBUILD2019-02-01 11:35:55 UTC (rev 345001) @@ -9,7 +9,7 @@ pkgname=qtcreator pkgver=4.8.1 _clangver=7.0.1 -pkgrel=1 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='https://www.qt.io'
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-clang-plugins.patch)
Date: Friday, February 1, 2019 @ 09:54:19 Author: arojas Revision: 344998 Support clazy 1.5 Modified: qtcreator/trunk/PKGBUILD qtcreator/trunk/qtcreator-clang-plugins.patch ---+ PKGBUILD |2 +- qtcreator-clang-plugins.patch | 18 +++--- 2 files changed, 12 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-02-01 08:47:53 UTC (rev 344997) +++ PKGBUILD2019-02-01 09:54:19 UTC (rev 344998) @@ -30,7 +30,7 @@ source=("https://download.qt.io/official_releases/qtcreator/${pkgver%.*}/$pkgver/qt-creator-opensource-src-$pkgver.tar.xz; qtcreator-clang-plugins.patch) sha256sums=('8f691de9b30b99dd44e010525ba9bf3054142a1082dc5273c46c533b91c07bd9' -'6f19fc9d83964a5460d224b3d44ce580553847960181fe0364e2ce26e1efd2e6') +'34ea74698ddff9925e06bff6b4c995bf93488d1104e8cc517bcfdd621effb428') prepare() { mkdir -p build Modified: qtcreator-clang-plugins.patch === --- qtcreator-clang-plugins.patch 2019-02-01 08:47:53 UTC (rev 344997) +++ qtcreator-clang-plugins.patch 2019-02-01 09:54:19 UTC (rev 344998) @@ -10,14 +10,16 @@ addXclangArg("-add-plugin", "clang-tidy"); if (tidyMode == Mode::File) -@@ -539,6 +540,7 @@ private: +@@ -539,7 +540,8 @@ private: if (checks.isEmpty()) return; - -+addXclangArg("-load", "ClangLazy.so"); - addXclangArg("-add-plugin", "clang-lazy"); + +-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 @@ -30,11 +32,13 @@ addXclangArg(arguments, QString("-add-plugin"), QString("clang-tidy")); if (tidyMode != ClangDiagnosticConfig::TidyMode::File) { const QString tidyChecks = m_diagnosticConfig.clangTidyChecks(); -@@ -92,6 +93,7 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis +@@ -92,7 +93,8 @@ QStringList ClangTidyClazyRunner::constructCommandLineArguments(const QStringLis const QString clazyChecks = m_diagnosticConfig.clazyChecks(); if (!clazyChecks.isEmpty()) { -+addXclangArg(arguments, QString("-load"), QString("ClangLazy.so")); - addXclangArg(arguments, QString("-add-plugin"), QString("clang-lazy")); +-addXclangArg(arguments, QString("-add-plugin"), QString("clang-lazy")); ++addXclangArg(arguments, QString("-load"), QString("ClazyPlugin.so")); ++addXclangArg(arguments, QString("-add-plugin"), QString("clazy")); addXclangArg(arguments, QString("-plugin-arg-clang-lazy"), QString("enable-all-fixits")); addXclangArg(arguments, QString("-plugin-arg-clang-lazy"), QString("no-autowrite-fixits")); + addXclangArg(arguments, QString("-plugin-arg-clang-lazy"), m_diagnosticConfig.clazyChecks());
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (4 files)
Date: Thursday, January 17, 2019 @ 11:57:04 Author: arojas Revision: 344348 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 344347, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clang-plugins.patch (from rev 344347, qtcreator/trunk/qtcreator-clang-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-plugins.patch ---+ PKGBUILD | 130 qtcreator-clang-plugins.patch | 80 2 files changed, 105 insertions(+), 105 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-01-17 11:56:27 UTC (rev 344347) +++ PKGBUILD2019-01-17 11:57:04 UTC (rev 344348) @@ -1,65 +0,0 @@ -# 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/extra-x86_64/PKGBUILD (from rev 344347, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-01-17 11:57:04 UTC (rev 344348) @@ -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=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=('8f691de9b30b99dd44e010525ba9bf3054142a1082dc5273c46c533b91c07bd9' +'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
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Thursday, January 17, 2019 @ 11:56:27 Author: arojas Revision: 344347 Update to 4.8.1 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-17 11:18:37 UTC (rev 344346) +++ PKGBUILD2019-01-17 11:56:27 UTC (rev 344347) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.8.0 +pkgver=4.8.1 _clangver=7.0.1 -pkgrel=2 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='http://qt-project.org' @@ -29,7 +29,7 @@ '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' +sha256sums=('8f691de9b30b99dd44e010525ba9bf3054142a1082dc5273c46c533b91c07bd9' '6f19fc9d83964a5460d224b3d44ce580553847960181fe0364e2ce26e1efd2e6') prepare() {
[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/trunk (PKGBUILD)
Date: Sunday, December 16, 2018 @ 16:01:28 Author: foutrelis Revision: 342405 clang 7.0.1 rebuild Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-12-16 15:55:21 UTC (rev 342404) +++ PKGBUILD2018-12-16 16:01:28 UTC (rev 342405) @@ -8,8 +8,8 @@ pkgname=qtcreator pkgver=4.8.0 -_clangver=7.0.0 -pkgrel=1 +_clangver=7.0.1 +pkgrel=2 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='http://qt-project.org'
[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(); +
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Wednesday, December 5, 2018 @ 17:45:42 Author: arojas Revision: 341074 Update to 4.8.0 Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-12-05 17:24:08 UTC (rev 341073) +++ PKGBUILD2018-12-05 17:45:42 UTC (rev 341074) @@ -7,7 +7,7 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.7.2 +pkgver=4.8.0 _clangver=7.0.0 pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' @@ -29,7 +29,7 @@ '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=('f58217e9314702160957c49b8729a662445e901e5f158c64c57550579d65ccc7' +sha256sums=('aec7b4595e17f5536eb2eef4331057f2d0fa4ba0a46f4968cc06959a1d589b43' '6f19fc9d83964a5460d224b3d44ce580553847960181fe0364e2ce26e1efd2e6') prepare() {
[arch-commits] Commit in qtcreator/repos/extra-x86_64 (5 files)
Date: Wednesday, October 24, 2018 @ 10:55:18 Author: arojas Revision: 337211 archrelease: copy trunk to extra-x86_64 Added: qtcreator/repos/extra-x86_64/PKGBUILD (from rev 337210, qtcreator/trunk/PKGBUILD) qtcreator/repos/extra-x86_64/qtcreator-clang-plugins.patch (from rev 337210, qtcreator/trunk/qtcreator-clang-plugins.patch) Deleted: qtcreator/repos/extra-x86_64/PKGBUILD qtcreator/repos/extra-x86_64/qtcreator-clang-plugins.patch qtcreator/repos/extra-x86_64/qtcreator-clang7.patch ---+ PKGBUILD | 140 ++-- qtcreator-clang-plugins.patch | 80 +++--- qtcreator-clang7.patch| 13 --- 3 files changed, 105 insertions(+), 128 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-10-24 10:53:53 UTC (rev 337210) +++ PKGBUILD2018-10-24 10:55:18 UTC (rev 337211) @@ -1,75 +0,0 @@ -# Maintainer: Sven-Hendrik Haase -# Maintainer: Antonio Rojas -# Contributor: Imanol Celaya -# Contributor: Lukas Jirkovsky -# Contributor: Dan Vratil -# Contributor: thotypous -# Contributor: delor - -pkgname=qtcreator -pkgver=4.7.1 -_clangver=7.0.0 -pkgrel=3 -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 qtcreator-clang7.patch - qtcreatorbug-19367a.patch::"http://code.qt.io/cgit/qt-creator/qt-creator.git/patch/?id=807b0f78; - qtcreatorbug-19367b.patch::"http://code.qt.io/cgit/qt-creator/qt-creator.git/patch/?id=813c1685;) -sha256sums=('c98254336953f637015f14b8b4ddb5e274454a5416fd20dd09747a6e50762565' -'6f19fc9d83964a5460d224b3d44ce580553847960181fe0364e2ce26e1efd2e6' -'88b78c8ebd72cdad8f59bba8172cc5d1f3f9577e2bb31d841d5cabdd76eba36c' -'a7a00a390fb46f13d53055b1862dcd916deb595dbba20c2340662cab51e5a8c1' -'89a3fff5e398f11367ab060d910098c295968e909fcca3f35d30073cd80cbf03') - -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 - # Don't use unreleased API when building against clang 7 - patch -p1 -i ../qtcreator-clang7.patch - # https://bugreports.qt.io/browse/QTCREATORBUG-19367 - patch -p1 -i ../qtcreatorbug-19367a.patch - patch -p1 -i ../qtcreatorbug-19367b.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/extra-x86_64/PKGBUILD (from rev 337210, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-10-24 10:55:18 UTC (rev 337211) @@ -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.7.2 +_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' +
[arch-commits] Commit in qtcreator/trunk (PKGBUILD qtcreator-clang7.patch)
Date: Wednesday, October 24, 2018 @ 10:53:53 Author: arojas Revision: 337210 Update to 4.7.2 Modified: qtcreator/trunk/PKGBUILD Deleted: qtcreator/trunk/qtcreator-clang7.patch + PKGBUILD | 20 +--- qtcreator-clang7.patch | 13 - 2 files changed, 5 insertions(+), 28 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-10-24 07:48:44 UTC (rev 337209) +++ PKGBUILD2018-10-24 10:53:53 UTC (rev 337210) @@ -7,9 +7,9 @@ # Contributor: delor pkgname=qtcreator -pkgver=4.7.1 +pkgver=4.7.2 _clangver=7.0.0 -pkgrel=3 +pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='http://qt-project.org' @@ -28,14 +28,9 @@ '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 qtcreator-clang7.patch - qtcreatorbug-19367a.patch::"http://code.qt.io/cgit/qt-creator/qt-creator.git/patch/?id=807b0f78; - qtcreatorbug-19367b.patch::"http://code.qt.io/cgit/qt-creator/qt-creator.git/patch/?id=813c1685;) -sha256sums=('c98254336953f637015f14b8b4ddb5e274454a5416fd20dd09747a6e50762565' -'6f19fc9d83964a5460d224b3d44ce580553847960181fe0364e2ce26e1efd2e6' -'88b78c8ebd72cdad8f59bba8172cc5d1f3f9577e2bb31d841d5cabdd76eba36c' -'a7a00a390fb46f13d53055b1862dcd916deb595dbba20c2340662cab51e5a8c1' -'89a3fff5e398f11367ab060d910098c295968e909fcca3f35d30073cd80cbf03') +qtcreator-clang-plugins.patch) +sha256sums=('f58217e9314702160957c49b8729a662445e901e5f158c64c57550579d65ccc7' +'6f19fc9d83964a5460d224b3d44ce580553847960181fe0364e2ce26e1efd2e6') prepare() { mkdir -p build @@ -49,11 +44,6 @@ # 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 - # Don't use unreleased API when building against clang 7 - patch -p1 -i ../qtcreator-clang7.patch - # https://bugreports.qt.io/browse/QTCREATORBUG-19367 - patch -p1 -i ../qtcreatorbug-19367a.patch - patch -p1 -i ../qtcreatorbug-19367b.patch } build() { Deleted: qtcreator-clang7.patch === --- qtcreator-clang7.patch 2018-10-24 07:48:44 UTC (rev 337209) +++ qtcreator-clang7.patch 2018-10-24 10:53:53 UTC (rev 337210) @@ -1,13 +0,0 @@ -diff --git a/src/tools/clangbackend/source/clangbackend_global.h b/src/tools/clangbackend/source/clangbackend_global.h -index 658e2e8fb1..5c27224ae4 100644 a/src/tools/clangbackend/source/clangbackend_global.h -+++ b/src/tools/clangbackend/source/clangbackend_global.h -@@ -52,7 +52,7 @@ enum class PreferredTranslationUnit - #endif - - // CLANG-UPGRADE-CHECK: Remove IS_SKIPWARNINGSFROMINCLUDEDFILES_SUPPORTED once we require clang >= 7.0 --#if defined(CINDEX_VERSION_HAS_SKIPWARNINGSFROMINCLUDEDFILES_BACKPORTED) || CINDEX_VERSION_MINOR >= 46 -+#if defined(CINDEX_VERSION_HAS_SKIPWARNINGSFROMINCLUDEDFILES_BACKPORTED) - # define IS_SKIPWARNINGSFROMINCLUDEDFILES_SUPPORTED - #endif -
[arch-commits] Commit in qtcreator/repos/testing-x86_64 (6 files)
Date: Saturday, September 29, 2018 @ 19:55:40 Author: arojas Revision: 335554 archrelease: copy trunk to testing-x86_64 Added: qtcreator/repos/testing-x86_64/PKGBUILD (from rev 335553, qtcreator/trunk/PKGBUILD) qtcreator/repos/testing-x86_64/qtcreator-clang-plugins.patch (from rev 335553, qtcreator/trunk/qtcreator-clang-plugins.patch) qtcreator/repos/testing-x86_64/qtcreator-clang7.patch (from rev 335553, qtcreator/trunk/qtcreator-clang7.patch) Deleted: qtcreator/repos/testing-x86_64/PKGBUILD qtcreator/repos/testing-x86_64/qtcreator-clang-plugins.patch qtcreator/repos/testing-x86_64/qtcreator-clang7.patch ---+ PKGBUILD | 143 qtcreator-clang-plugins.patch | 80 +++--- qtcreator-clang7.patch| 26 +++ 3 files changed, 128 insertions(+), 121 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2018-09-29 19:55:10 UTC (rev 335553) +++ PKGBUILD2018-09-29 19:55:40 UTC (rev 335554) @@ -1,68 +0,0 @@ -# Maintainer: Sven-Hendrik Haase -# Maintainer: Antonio Rojas -# Contributor: Imanol Celaya -# Contributor: Lukas Jirkovsky -# Contributor: Dan Vratil -# Contributor: thotypous -# Contributor: delor - -pkgname=qtcreator -pkgver=4.7.1 -_clangver=7.0.0 -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 qtcreator-clang7.patch) -sha256sums=('c98254336953f637015f14b8b4ddb5e274454a5416fd20dd09747a6e50762565' -'6f19fc9d83964a5460d224b3d44ce580553847960181fe0364e2ce26e1efd2e6' -'88b78c8ebd72cdad8f59bba8172cc5d1f3f9577e2bb31d841d5cabdd76eba36c') - -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 - # Don't use unreleased API when building against clang 7 - patch -p1 -i ../qtcreator-clang7.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/PKGBUILD (from rev 335553, qtcreator/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2018-09-29 19:55:40 UTC (rev 335554) @@ -0,0 +1,75 @@ +# Maintainer: Sven-Hendrik Haase +# Maintainer: Antonio Rojas +# Contributor: Imanol Celaya +# Contributor: Lukas Jirkovsky +# Contributor: Dan Vratil +# Contributor: thotypous +# Contributor: delor + +pkgname=qtcreator +pkgver=4.7.1 +_clangver=7.0.0 +pkgrel=3 +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')
[arch-commits] Commit in qtcreator/trunk (PKGBUILD)
Date: Saturday, September 29, 2018 @ 19:55:10 Author: arojas Revision: 335553 Fix blank lines in application output (FS#60168) Modified: qtcreator/trunk/PKGBUILD --+ PKGBUILD | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-09-29 15:57:07 UTC (rev 335552) +++ PKGBUILD2018-09-29 19:55:10 UTC (rev 335553) @@ -9,7 +9,7 @@ pkgname=qtcreator pkgver=4.7.1 _clangver=7.0.0 -pkgrel=2 +pkgrel=3 pkgdesc='Lightweight, cross-platform integrated development environment' arch=(x86_64) url='http://qt-project.org' @@ -28,10 +28,14 @@ '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 qtcreator-clang7.patch) +qtcreator-clang-plugins.patch qtcreator-clang7.patch + qtcreatorbug-19367a.patch::"http://code.qt.io/cgit/qt-creator/qt-creator.git/patch/?id=807b0f78; + qtcreatorbug-19367b.patch::"http://code.qt.io/cgit/qt-creator/qt-creator.git/patch/?id=813c1685;) sha256sums=('c98254336953f637015f14b8b4ddb5e274454a5416fd20dd09747a6e50762565' '6f19fc9d83964a5460d224b3d44ce580553847960181fe0364e2ce26e1efd2e6' -'88b78c8ebd72cdad8f59bba8172cc5d1f3f9577e2bb31d841d5cabdd76eba36c') +'88b78c8ebd72cdad8f59bba8172cc5d1f3f9577e2bb31d841d5cabdd76eba36c' +'a7a00a390fb46f13d53055b1862dcd916deb595dbba20c2340662cab51e5a8c1' +'89a3fff5e398f11367ab060d910098c295968e909fcca3f35d30073cd80cbf03') prepare() { mkdir -p build @@ -47,6 +51,9 @@ patch -p1 -i ../qtcreator-clang-plugins.patch # Don't use unreleased API when building against clang 7 patch -p1 -i ../qtcreator-clang7.patch + # https://bugreports.qt.io/browse/QTCREATORBUG-19367 + patch -p1 -i ../qtcreatorbug-19367a.patch + patch -p1 -i ../qtcreatorbug-19367b.patch } build() {