git: 7f39b57153b3 - main - devel/qbs: update to 1.21, latest upstream
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Dec 2021 11:56:49 UTC
The branch main has been updated by adridg: URL: https://cgit.FreeBSD.org/ports/commit/?id=7f39b57153b3ba7fc4d793df286ca2acc82e8626 commit 7f39b57153b3ba7fc4d793df286ca2acc82e8626 Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2021-12-15 10:51:34 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2021-12-17 11:54:29 +0000 devel/qbs: update to 1.21, latest upstream There's no release notes for this, but portscout spotted it (and fedora packages it as well, already). Bump qtcreator, which is the only consumer of the library / buildsystem. --- devel/qbs/Makefile | 6 ++-- devel/qbs/distinfo | 6 ++-- devel/qbs/files/patch-27bd9ac.diff | 60 -------------------------------------- devel/qbs/pkg-plist | 10 ++++++- devel/qtcreator/Makefile | 1 + 5 files changed, 16 insertions(+), 67 deletions(-) diff --git a/devel/qbs/Makefile b/devel/qbs/Makefile index 8fba68171daf..03a52ca09806 100644 --- a/devel/qbs/Makefile +++ b/devel/qbs/Makefile @@ -1,6 +1,6 @@ PORTNAME= qbs DISTVERSIONPREFIX= src- -DISTVERSION= 1.20.0 +DISTVERSION= 1.21.0 CATEGORIES= devel MASTER_SITES= QT/official_releases/${PORTNAME}/${PORTVERSION} DIST_SUBDIR= KDE/Qt/qbs @@ -14,8 +14,8 @@ LICENSE_COMB= dual USES= compiler:c++11-lib gl python:run qmake:outsource qt:5 shebangfix USE_GL= gl USE_LDCONFIG= yes -USE_QT= buildtools_build core concurrent gui network script testlib \ - widgets xml +USE_QT= core concurrent gui network script widgets xml \ + buildtools_build testlib_build SHEBANG_FILES= src/3rdparty/python/bin/dmgbuild diff --git a/devel/qbs/distinfo b/devel/qbs/distinfo index a35bafe80dc5..58e231173c94 100644 --- a/devel/qbs/distinfo +++ b/devel/qbs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1638137269 -SHA256 (KDE/Qt/qbs/qbs-src-1.20.0.tar.gz) = 44961a4bb61580ae821aaf25ebb5a5737bd8fb79ec0474aa2592cdd45cc5171f -SIZE (KDE/Qt/qbs/qbs-src-1.20.0.tar.gz) = 5033322 +TIMESTAMP = 1639525080 +SHA256 (KDE/Qt/qbs/qbs-src-1.21.0.tar.gz) = bfed9d93f94989986dd72e81fac5f39e30de058431133a21aaf9971455b335e7 +SIZE (KDE/Qt/qbs/qbs-src-1.21.0.tar.gz) = 5082730 diff --git a/devel/qbs/files/patch-27bd9ac.diff b/devel/qbs/files/patch-27bd9ac.diff deleted file mode 100644 index bd61d639e203..000000000000 --- a/devel/qbs/files/patch-27bd9ac.diff +++ /dev/null @@ -1,60 +0,0 @@ -This comes from the upstream issue - https://bugreports.qt.io/browse/QBS-1672 -and is the diff available at - https://codereview.qt-project.org/c/qbs/qbs/+/371943 - -adridg@: I have added the `versions` part of the code, that -additionally looks for -qt5 (which we have) and unsuffixed -and -qt (neither of which we have) executables. This matches -the code in the setupqt.cpp files, elsewhere. - -diff --git a/share/qbs/module-providers/Qt/setup-qt.js b/share/qbs/module-providers/Qt/setup-qt.js -index b1239a7..422863b 100644 ---- share/qbs/module-providers/Qt/setup-qt.js -+++ share/qbs/module-providers/Qt/setup-qt.js -@@ -53,24 +53,30 @@ - if (qmakeFilePaths && qmakeFilePaths.length > 0) - return qmakeFilePaths; - console.info("Detecting Qt installations..."); -- var pathValue = Environment.getEnv("PATH"); -- if (!pathValue) -- return []; -- var dirs = splitNonEmpty(pathValue, qbs.pathListSeparator); -- var suffix = exeSuffix(qbs); - var filePaths = []; -- for (var i = 0; i < dirs.length; ++i) { -- var candidate = FileInfo.joinPaths(dirs[i], "qmake" + suffix); -- var canonicalCandidate = FileInfo.canonicalPath(candidate); -- if (!canonicalCandidate || !File.exists(canonicalCandidate)) -- continue; -- if (FileInfo.completeBaseName(canonicalCandidate) !== "qtchooser") -- candidate = canonicalCandidate; -- if (!filePaths.contains(candidate)) { -- console.info("Found Qt at '" + toNative(candidate) + "'."); -- filePaths.push(candidate); -+ var pathValue = Environment.getEnv("PATH"); -+ if (pathValue) { -+ var dirs = splitNonEmpty(pathValue, qbs.pathListSeparator); -+ var versions = ["", "-qt5", "-qt4"]; -+ var suffix = exeSuffix(qbs); -+ for (var i = 0; i < dirs.length; ++i) { for (var iver = 0; iver < versions.length; ++iver) { -+ var candidate = FileInfo.joinPaths(dirs[i], "qmake" + versions[iver] + suffix); -+ var canonicalCandidate = FileInfo.canonicalPath(candidate); -+ if (!canonicalCandidate || !File.exists(canonicalCandidate)) -+ continue; -+ if (FileInfo.completeBaseName(canonicalCandidate) !== "qtchooser") -+ candidate = canonicalCandidate; -+ if (!filePaths.contains(candidate)) { -+ console.info("Found Qt at '" + toNative(candidate) + "'."); -+ filePaths.push(candidate); -+ } } - } - } -+ if (filePaths.length === 0) { -+ console.warn("Could not find any qmake executables in PATH. Either make sure a qmake " -+ + "executable is present in PATH or set the moduleProviders.Qt.qmakeFilePaths property " -+ + "to point a qmake executable."); -+ } - return filePaths; - } - diff --git a/devel/qbs/pkg-plist b/devel/qbs/pkg-plist index bdeb47c32272..1e16f738a34b 100644 --- a/devel/qbs/pkg-plist +++ b/devel/qbs/pkg-plist @@ -43,7 +43,7 @@ include/qbs/use_installed_corelib.pri lib/libqbscore.prl lib/libqbscore.so lib/libqbscore.so.1 -lib/libqbscore.so.1.20 +lib/libqbscore.so.1.21 lib/libqbscore.so.%%SHLIB_VERSION%% lib/qbs/plugins/libclangcompilationdbgenerator.so lib/qbs/plugins/libiarewgenerator.so @@ -141,6 +141,7 @@ share/man/man1/qbs.1.gz %%PORTDOCS%%%%DOCSDIR%%/html/qbs.qhp.sha1 %%PORTDOCS%%%%DOCSDIR%%/html/qbsconvenienceitems-qmlmodule.html %%PORTDOCS%%%%DOCSDIR%%/html/qbslanguageitems-qmlmodule.html +%%PORTDOCS%%%%DOCSDIR%%/html/qbsmoduleproviders-qmlmodule.html %%PORTDOCS%%%%DOCSDIR%%/html/qbsmodules-qmlmodule.html %%PORTDOCS%%%%DOCSDIR%%/html/qbsprobes-qmlmodule.html %%PORTDOCS%%%%DOCSDIR%%/html/qml-qbsconvenienceitems-appleapplicationdiskimage-members.html @@ -215,6 +216,10 @@ share/man/man1/qbs.1.gz %%PORTDOCS%%%%DOCSDIR%%/html/qml-qbslanguageitems-scanner.html %%PORTDOCS%%%%DOCSDIR%%/html/qml-qbslanguageitems-subproject-members.html %%PORTDOCS%%%%DOCSDIR%%/html/qml-qbslanguageitems-subproject.html +%%PORTDOCS%%%%DOCSDIR%%/html/qml-qbsmoduleproviders-qbspkgconfig-members.html +%%PORTDOCS%%%%DOCSDIR%%/html/qml-qbsmoduleproviders-qbspkgconfig.html +%%PORTDOCS%%%%DOCSDIR%%/html/qml-qbsmoduleproviders-qt-members.html +%%PORTDOCS%%%%DOCSDIR%%/html/qml-qbsmoduleproviders-qt.html %%PORTDOCS%%%%DOCSDIR%%/html/qml-qbsmodules-android-ndk-members.html %%PORTDOCS%%%%DOCSDIR%%/html/qml-qbsmodules-android-ndk.html %%PORTDOCS%%%%DOCSDIR%%/html/qml-qbsmodules-android-sdk-members.html @@ -558,6 +563,8 @@ share/man/man1/qbs.1.gz %%DATADIR%%/examples/install-bundle/main.cpp %%DATADIR%%/examples/install-bundle/white.iconset/icon_16x16.png %%DATADIR%%/examples/install-bundle/white.iconset/icon_16x16@2x.png +%%DATADIR%%/examples/pkgconfig-provider/main.c +%%DATADIR%%/examples/pkgconfig-provider/pkgconfig-provider.qbs %%DATADIR%%/examples/protobuf/addressbook_cpp/README.md %%DATADIR%%/examples/protobuf/addressbook_cpp/addressbook_cpp.qbs %%DATADIR%%/examples/protobuf/addressbook_cpp/main.cpp @@ -658,6 +665,7 @@ share/man/man1/qbs.1.gz %%DATADIR%%/module-providers/Qt/templates/scxml.qbs %%DATADIR%%/module-providers/__fallback/fallback.qbs %%DATADIR%%/module-providers/__fallback/provider.qbs +%%DATADIR%%/module-providers/qbspkgconfig.qbs %%DATADIR%%/modules/Android/android-utils.js %%DATADIR%%/modules/Android/ndk/ndk.qbs %%DATADIR%%/modules/Android/ndk/utils.js diff --git a/devel/qtcreator/Makefile b/devel/qtcreator/Makefile index 98bf09c0a7bd..f4bd60617309 100644 --- a/devel/qtcreator/Makefile +++ b/devel/qtcreator/Makefile @@ -2,6 +2,7 @@ PORTNAME= qtcreator DISTVERSION= 5.0.3 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= QT/official_releases/qtcreator/${DISTVERSION:R}/${DISTVERSION} DISTNAME= qt-creator-opensource-src-${DISTVERSION}