Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enhancement: investigate alternative to libgsf for dzsave #3354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lovell opened this issue Feb 23, 2023 · 1 comment
Closed

Enhancement: investigate alternative to libgsf for dzsave #3354

lovell opened this issue Feb 23, 2023 · 1 comment

Comments

@lovell
Copy link
Member

lovell commented Feb 23, 2023

Context

The optional libgsf dependency is used to create ZIP files as part of the vips_dzsave* operations.

Problem

It appears this dependency is LGPL-2.1-only, which is incompatible with a few upstream dependencies and downstream consumers made available under some other licences, including but not limited to LGPL-3.0-or-later and Apache-2.0.

https://gitlab.gnome.org/GNOME/libgsf/-/issues/28

Examples:

  • libheif is made available under LGPL-3.0-or-later, so to meet licensing terms we cannot link against both libgsf and libheif in the same process.
  • imagemagick is made available under ImageMagick licence, which a contains patent clause and is incompatible with LGPL-2.1-only, therefore libgsf and libimagemagick cannot be used together in the same process.
  • sharp is made available under Apache-2.0 so cannot use libvips compiled with support for libgsf (it has been erroneously doing so, but this will stop).

Possible solutions

@jcupitt
Copy link
Member

jcupitt commented Aug 28, 2023

I think this is fixed now, I'll close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants