Hello, > About 1. we could indeed drop the amd64-specific assembly code, this > would allow following newer 7z easily without worrying about asmc-linux, > and cover bookworm.
You also needs to edit "debian/*.install" file. Because 7zip builder uses newer feature of "dh-exec(1)". I use "dh-exec-subst(1)" to find path to assembly-enabled executable files. This fix might be easy because you will drops assembly code in 7zip. > About 2., there is indeed fragile code in reverse dependencies, > including specific detection of p7zip, e.g. I saw: > https://salsa.debian.org/qt-kde-team/kde/ark/-/commit/14e484763f37c41d8ebd1a87a826b7bff1eab7dc > https://salsa.debian.org/debian-mate-team/engrampa/-/commit/b7961f856ce613f937f9a1259d1d3b5792a2bdf4 > so apparently even 7z can't be used as a straight drop-in replacement > for p7zip in older dists. We'll have to decide if we want to invest the > time and tests. You can add more patch that newer 7zip mimics as older p7zip. 7zip text output can be find in "CPP/7zip/UI/Console/*" file. Patch up 7zip code and output same text as p7zip. -- YOKOTA Hiroshi
