@jetm might I suggest reinstating the pinned and top message?
IMHO it still makes sense to set the out of date flag even if the clang dependency is not yet up to date.
Git Clone URL: | https://aur.archlinux.org/include-what-you-use.git (read-only, click to copy) |
---|---|
Package Base: | include-what-you-use |
Description: | A tool for use with clang to analyze #includes in C and C++ source files |
Upstream URL: | https://include-what-you-use.org |
Keywords: | c c++ format header include iwyu |
Licenses: | LicenseRef-LLVM-Release-License |
Submitter: | Mindless |
Maintainer: | sebschrader (jetm) |
Last Packager: | jetm |
Votes: | 41 |
Popularity: | 1.75 |
First Submitted: | 2011-12-03 05:58 (UTC) |
Last Updated: | 2024-03-26 21:39 (UTC) |
@jetm might I suggest reinstating the pinned and top message?
IMHO it still makes sense to set the out of date flag even if the clang dependency is not yet up to date.
There is no pinned message and has not been such at least since I first saw this package a few months ago.
@pattop v18 depends on clang v14, and Arch Linux recently upgraded it. The out-of-date flag was wrong because the submitter didn't know about that requirement. In this package, the out-of-date flag is constantly submitted because the submitters don't know the iwyu versions have a solid dependency on specific clang versions. The latter takes time to update in Arch Linux. I stopped removing the out-of-date flag because they continue doing it, even with a pinned and top message.
@jetm it was flagged out of date almost 3 months ago by @MarsSeed as v0.18 was released. That's why I submitted an orphan request.
@pattop clang was updated very recently to v14 in Arch Linux. This package is not an orphan. I will update it this week.
This was flagged out of date on the 9th of April (~3 months ago) and the current maintainer has not updated it. I've submitted an orphan request.
Diff for support with clang v14.0
diff --git a/PKGBUILD b/PKGBUILD
index 057ae3c..9226518 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,16 @@
# Old Maintainer: Manuel Mendez <mmendez534@gmail.com>
pkgname=include-what-you-use
-pkgver=0.17
+pkgver=0.18
pkgrel=1
-_clang_major=13
+_clang_major=14
_clang_minor=0
_clang_ver="${_clang_major}.${_clang_minor}"
pkgdesc="A tool for use with clang to analyze #includes in C and C++ source files"
url="http://include-what-you-use.org"
license=('LLVM Release License')
source=("https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('2439e3dd37163d3953fc1e45614fb4325be093a162f25d0f45fa8126b2313942a7c8d45ed12454dfbfeb4cb4fcf2f4e3eebdc0ec5da14dad23533f7a0bf58290')
+sha512sums=('bfce2ff00b572961dcba83519959cbedaf1c2ec4bd4e0a2b8b6d12f440887ee64a1c9970fa1a80c7517898ce936219436ab709893cfed92891c5c2aa5d76770e')
arch=('x86_64')
_min="${_clang_ver}"
_max=$((_clang_major + 1)).0
Patch is not required now for clang 14.0.6.
Patch for 0.18 with mentioned simplification: https://pastebin.com/nkC5xCZM Upd. fixed tabs in patch.
Same question @sebschrader: would you mind updating the version? Currently, this leads to a dependency conflict with the newest arch repo version of clang (v14.0.6-1).
Pinned Comments
jetm commented on 2023-11-10 00:05 (UTC) (edited on 2024-03-11 22:41 (UTC) by jetm)
IWYU v0.22
is out, butclang v18
has not been released in Arch Linux. Please don't flag out-of-date until clang v17 is available. Thanks.