198ebc6c86
this is a HACK! It seems that due to lots of binaries getting compiled from a single crate the compiler is confused when linking in dependencies to each binaries ELF. It picks up the combined set (union) of all dependencies and sets those to every ELF. This results in the client, for example, linking to libapt-pkg or libsystemd even if none of that symbols are used.. This could be possibly fixed by restructuring the source tree into sub crates/workspaces or what not, not really tested and *lots* of work. So as stop gap measure use `ldd -u` to find out unused linkage and remove them using `patchelf`. While this works well, and seems to not interfere with any debug symbol usage or other usage in general it still is a hack and should be dropped once the restructuring of the source tree has shown to bring similar effects. This allows for much easier re-use of the generated client .deb package on other Debian derivaties (e.g., Ubuntu) which got blocked until now due to wrong libt-apt verison or the like. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
45 lines
954 B
TOML
45 lines
954 B
TOML
overlay = "."
|
|
crate_src_path = ".."
|
|
whitelist = ["tests/*.c"]
|
|
|
|
# needed for pinutils alpha
|
|
allow_prerelease_deps = true
|
|
|
|
[source]
|
|
vcs_git = "git://git.proxmox.com/git/proxmox-backup.git"
|
|
vcs_browser = "https://git.proxmox.com/?p=proxmox-backup.git;a=summary"
|
|
maintainer = "Proxmox Support Team <support@proxmox.com>"
|
|
section = "admin"
|
|
build_depends = [
|
|
"bash-completion",
|
|
"debhelper (>= 12~)",
|
|
"fonts-dejavu-core <!nodoc>",
|
|
"fonts-lato <!nodoc>",
|
|
"fonts-open-sans <!nodoc>",
|
|
"graphviz <!nodoc>",
|
|
"latexmk <!nodoc>",
|
|
"patchelf",
|
|
"pve-eslint (>= 7.12.1-1)",
|
|
"python3-docutils",
|
|
"python3-pygments",
|
|
"python3-sphinx <!nodoc>",
|
|
"rsync",
|
|
"texlive-fonts-extra <!nodoc>",
|
|
"texlive-fonts-recommended <!nodoc>",
|
|
"texlive-xetex <!nodoc>",
|
|
"xindy <!nodoc>",
|
|
]
|
|
|
|
build_depends_excludes = [
|
|
"debhelper (>=11)",
|
|
]
|
|
|
|
[packages.lib]
|
|
depends = [
|
|
"libacl1-dev",
|
|
"libfuse3-dev",
|
|
"libsystemd-dev",
|
|
"uuid-dev",
|
|
"libsgutils2-dev",
|
|
]
|