build(packaging): the Linux packages carry the third-party notices as a file
The .deb, the .rpm and the Arch tarball install THIRD-PARTY-NOTICES.txt under /usr/share/doc/wanderbooks/, where a distribution's reader looks for it; the program prints the same text (`wanderbooks licenses`), and the package test compares the two after the upgrade. The AppImage, the .dmg and the Windows program carry the text compiled in. Not checked by a package build: the first `just package-linux` and `test-linux-packages.sh` run does that. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
1 parent
7568bca7b0
commit
3bbef05cb7
5 files changed
+14
-2
No files matched your search
@@ -28,9 +28,13 @@ depends = ["libc6", "libgcc-s1"]
|
||||
|
||||
[deb.files]
|
||||
"deploy/packaging/install-method-deb" = "usr/share/wanderbooks/install-method"
|
||||
# The notices the third-party licences ask to travel with the program
|
||||
# (`just notices`); `wanderbooks licenses` prints the same text.
|
||||
"THIRD-PARTY-NOTICES.txt" = "usr/share/doc/wanderbooks/THIRD-PARTY-NOTICES.txt"
|
||||
|
||||
[pacman]
|
||||
depends = ["gcc-libs", "glibc"]
|
||||
|
||||
[pacman.files]
|
||||
"deploy/packaging/install-method-aur" = "usr/share/wanderbooks/install-method"
|
||||
"THIRD-PARTY-NOTICES.txt" = "usr/share/doc/wanderbooks/THIRD-PARTY-NOTICES.txt"
|
||||
Reference in new issue
Block a user