zed icon indicating copy to clipboard operation
zed copied to clipboard

Linux: prebuilt .so files in binary tarball from zed.dev are not covered by licenses.md

Open jansol opened this issue 1 year ago • 3 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

The prebuilt tarballs for Linux ship a number of .so files in the lib/ directory of zed.app, but I couldn't find license information for them in licenses.md.

Environment

Linux x86_64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

No response

jansol avatar Jul 17 '24 09:07 jansol

is this fixed?

keys-i avatar Dec 22 '24 17:12 keys-i

# ls -1 ~/.local/zed.app/lib
libbsd.so.0
libcrypto.so.1.1
libssl.so.1.1
libXau.so.6
libxcb.so.1
libxcb-xkb.so.1
libXdmcp.so.6
libxkbcommon.so.0
libxkbcommon-x11.so.0
libz.so.1
lib spdx link
libbsd ISC OR MIT OR Beerware OR BSD-2-Clause OR BSD-3-Clause License
libcrypto GPL-2.0-or-later License
libssl OpenSSL OR SSLeay-standalone License
libXau MIT-open-group License
libxcb X11-distribute-modifications-variant License
libXdmcp MIT-open-group License
libxkbcommon MIT AND X11 AND MIT-CMU License
libz Zlib License

It took a while to dig up the upstream license files and validate the corresponding SPDX expressions, but I believe these are correct.

The current process for generating licenses.md for the Linux bundle is script/generate-licenses uses cargo-about and script/licenses/template.md.hbs configured by script/licenses/zed-licenses.toml.

cargo-about is unaware of licenses for anything that is not a crate, so we'll need to decide how to best to handle these. More discussion here:

  • https://github.com/EmbarkStudios/cargo-about/issues/200

notpeter avatar Dec 27 '24 16:12 notpeter