mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 06:31:27 +00:00
Convert libclang-common-*-dev to Arch: all/M-A: foreign
libclang-common-*-dev is an Architecture: any package, possibly due to the fact that it contained compiler-rt before it was split off to a separate package. It is not marked as Multi-Arch: same, despite the hinter suggesting to do so, presumably due to identical files. Convert it to Architecture: all / Multi-Arch: foreign instead. This requires the removal of the arch: any dependency libllvm17, which is spurious anyway. However, for extra safety, add version specifiers to other packages that do depend on (an unversioned) libllvm17, such as clang.
This commit is contained in:
parent
e20f4b1bba
commit
c7d388292f
17
debian/control
vendored
17
debian/control
vendored
@ -44,7 +44,9 @@ Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/17
|
|||||||
Package: clang-17
|
Package: clang-17
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
|
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
|
||||||
${dep:devlibs-objc}, libclang-common-17-dev (= ${binary:Version}),
|
${dep:devlibs-objc},
|
||||||
|
libllvm17 (= ${binary:Version}),
|
||||||
|
libclang-common-17-dev (= ${source:Version}),
|
||||||
llvm-17-linker-tools (= ${binary:Version}),
|
llvm-17-linker-tools (= ${binary:Version}),
|
||||||
libclang1-17 (= ${binary:Version}), libc6-dev, binutils
|
libclang1-17 (= ${binary:Version}), libc6-dev, binutils
|
||||||
Provides: c-compiler, objc-compiler, c++-compiler
|
Provides: c-compiler, objc-compiler, c++-compiler
|
||||||
@ -92,7 +94,8 @@ Description: Tool to format C/C++/Obj-C code
|
|||||||
Package: clang-tidy-17
|
Package: clang-tidy-17
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
|
Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
|
||||||
libllvm17 (= ${binary:Version}), libclang-common-17-dev,
|
libllvm17 (= ${binary:Version}),
|
||||||
|
libclang-common-17-dev (= ${source:Version}),
|
||||||
clang-tools-17, python3-yaml
|
clang-tools-17, python3-yaml
|
||||||
Description: clang-based C++ linter tool
|
Description: clang-based C++ linter tool
|
||||||
Provide an extensible framework for diagnosing and fixing typical programming
|
Provide an extensible framework for diagnosing and fixing typical programming
|
||||||
@ -103,7 +106,8 @@ Description: clang-based C++ linter tool
|
|||||||
Package: clangd-17
|
Package: clangd-17
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends},
|
Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||||
libclang-common-17-dev (= ${binary:Version})
|
libllvm17 (= ${binary:Version}),
|
||||||
|
libclang-common-17-dev (= ${source:Version}),
|
||||||
Description: Language server that provides IDE-like features to editors
|
Description: Language server that provides IDE-like features to editors
|
||||||
clangd understands your C++ code and adds smart features to your editor:
|
clangd understands your C++ code and adds smart features to your editor:
|
||||||
- code completion
|
- code completion
|
||||||
@ -154,7 +158,7 @@ Architecture: any
|
|||||||
Section: libdevel
|
Section: libdevel
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
|
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
|
||||||
${dep:devlibs-objc}, libclang1-17 (= ${binary:Version}),
|
${dep:devlibs-objc}, libclang1-17 (= ${binary:Version}),
|
||||||
libclang-common-17-dev (= ${binary:Version})
|
libclang-common-17-dev (= ${source:Version})
|
||||||
Description: Clang library - Development package
|
Description: Clang library - Development package
|
||||||
Clang project is a C, C++, Objective C and Objective C++ front-end
|
Clang project is a C, C++, Objective C and Objective C++ front-end
|
||||||
based on the LLVM compiler. Its goal is to offer a replacement to the
|
based on the LLVM compiler. Its goal is to offer a replacement to the
|
||||||
@ -167,9 +171,10 @@ Description: Clang library - Development package
|
|||||||
libclang1-17.
|
libclang1-17.
|
||||||
|
|
||||||
Package: libclang-common-17-dev
|
Package: libclang-common-17-dev
|
||||||
Architecture: any
|
Architecture: all
|
||||||
|
Multi-Arch: foreign
|
||||||
Section: libdevel
|
Section: libdevel
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm17 (= ${binary:Version})
|
Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||||
Recommends: libclang-rt-17-dev (>= 1:16~++20230115053056+df5fc4504b86-1~exp1)
|
Recommends: libclang-rt-17-dev (>= 1:16~++20230115053056+df5fc4504b86-1~exp1)
|
||||||
Description: Clang library - Common development package
|
Description: Clang library - Common development package
|
||||||
Clang project is a C, C++, Objective C and Objective C++ front-end
|
Clang project is a C, C++, Objective C and Objective C++ front-end
|
||||||
|
17
debian/control.in
vendored
17
debian/control.in
vendored
@ -44,7 +44,9 @@ Vcs-Browser: https://salsa.debian.org/pkg-llvm-team/llvm-toolchain/tree/@BRANCH_
|
|||||||
Package: clang-@LLVM_VERSION@
|
Package: clang-@LLVM_VERSION@
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
|
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
|
||||||
${dep:devlibs-objc}, libclang-common-@LLVM_VERSION@-dev (= ${binary:Version}),
|
${dep:devlibs-objc},
|
||||||
|
libllvm@LLVM_VERSION@ (= ${binary:Version}),
|
||||||
|
libclang-common-@LLVM_VERSION@-dev (= ${source:Version}),
|
||||||
llvm-@LLVM_VERSION@-linker-tools (= ${binary:Version}),
|
llvm-@LLVM_VERSION@-linker-tools (= ${binary:Version}),
|
||||||
libclang1-@LLVM_VERSION@ (= ${binary:Version}), libc6-dev, binutils
|
libclang1-@LLVM_VERSION@ (= ${binary:Version}), libc6-dev, binutils
|
||||||
Provides: c-compiler, objc-compiler, c++-compiler
|
Provides: c-compiler, objc-compiler, c++-compiler
|
||||||
@ -92,7 +94,8 @@ Description: Tool to format C/C++/Obj-C code
|
|||||||
Package: clang-tidy-@LLVM_VERSION@
|
Package: clang-tidy-@LLVM_VERSION@
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
|
Depends: ${shlibs:Depends}, ${misc:Depends}, python3,
|
||||||
libllvm@LLVM_VERSION@ (= ${binary:Version}), libclang-common-@LLVM_VERSION@-dev,
|
libllvm@LLVM_VERSION@ (= ${binary:Version}),
|
||||||
|
libclang-common-@LLVM_VERSION@-dev (= ${source:Version}),
|
||||||
clang-tools-@LLVM_VERSION@, python3-yaml
|
clang-tools-@LLVM_VERSION@, python3-yaml
|
||||||
Description: clang-based C++ linter tool
|
Description: clang-based C++ linter tool
|
||||||
Provide an extensible framework for diagnosing and fixing typical programming
|
Provide an extensible framework for diagnosing and fixing typical programming
|
||||||
@ -103,7 +106,8 @@ Description: clang-based C++ linter tool
|
|||||||
Package: clangd-@LLVM_VERSION@
|
Package: clangd-@LLVM_VERSION@
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends},
|
Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||||
libclang-common-@LLVM_VERSION@-dev (= ${binary:Version})
|
libllvm@LLVM_VERSION@ (= ${binary:Version}),
|
||||||
|
libclang-common-@LLVM_VERSION@-dev (= ${source:Version}),
|
||||||
Description: Language server that provides IDE-like features to editors
|
Description: Language server that provides IDE-like features to editors
|
||||||
clangd understands your C++ code and adds smart features to your editor:
|
clangd understands your C++ code and adds smart features to your editor:
|
||||||
- code completion
|
- code completion
|
||||||
@ -154,7 +158,7 @@ Architecture: any
|
|||||||
Section: libdevel
|
Section: libdevel
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
|
Depends: ${shlibs:Depends}, ${misc:Depends}, ${dep:devlibs},
|
||||||
${dep:devlibs-objc}, libclang1-@LLVM_VERSION@ (= ${binary:Version}),
|
${dep:devlibs-objc}, libclang1-@LLVM_VERSION@ (= ${binary:Version}),
|
||||||
libclang-common-@LLVM_VERSION@-dev (= ${binary:Version})
|
libclang-common-@LLVM_VERSION@-dev (= ${source:Version})
|
||||||
Description: Clang library - Development package
|
Description: Clang library - Development package
|
||||||
Clang project is a C, C++, Objective C and Objective C++ front-end
|
Clang project is a C, C++, Objective C and Objective C++ front-end
|
||||||
based on the LLVM compiler. Its goal is to offer a replacement to the
|
based on the LLVM compiler. Its goal is to offer a replacement to the
|
||||||
@ -167,9 +171,10 @@ Description: Clang library - Development package
|
|||||||
libclang1-@LLVM_VERSION@.
|
libclang1-@LLVM_VERSION@.
|
||||||
|
|
||||||
Package: libclang-common-@LLVM_VERSION@-dev
|
Package: libclang-common-@LLVM_VERSION@-dev
|
||||||
Architecture: any
|
Architecture: all
|
||||||
|
Multi-Arch: foreign
|
||||||
Section: libdevel
|
Section: libdevel
|
||||||
Depends: ${shlibs:Depends}, ${misc:Depends}, libllvm@LLVM_VERSION@ (= ${binary:Version})
|
Depends: ${shlibs:Depends}, ${misc:Depends},
|
||||||
Recommends: libclang-rt-@LLVM_VERSION@-dev (>= 1:16~++20230115053056+df5fc4504b86-1~exp1)
|
Recommends: libclang-rt-@LLVM_VERSION@-dev (>= 1:16~++20230115053056+df5fc4504b86-1~exp1)
|
||||||
Description: Clang library - Common development package
|
Description: Clang library - Common development package
|
||||||
Clang project is a C, C++, Objective C and Objective C++ front-end
|
Clang project is a C, C++, Objective C and Objective C++ front-end
|
||||||
|
Loading…
Reference in New Issue
Block a user