mono / libgdiplus

C-based implementation of the GDI+ API
http://www.mono-project.com/
MIT License
329 stars 171 forks source link

Docker build failing - Libtiff dependency not found #741

Closed QuickScoP3s closed 1 year ago

QuickScoP3s commented 1 year ago

As of now, 7 hours ago, a new version of Libgdiplus was released: image

https://git.alpinelinux.org/aports/commit/testing/libgdiplus?id=2c36b1c27f4f7b1338dfdbc790c9284858d64255

And we're now experiencing the following issue trying to build our docker container using the library: image

Anyone that can help? None of us are very experienced with either docker, nor (alpine) linux packaging 😇

moxiemaks commented 1 year ago

We have same issue( How can we downgrade to previos stable version?

filipnavara commented 1 year ago

I'm afraid you have to complain to the package maintainer. There was no activity or release for way over a year for the official repo. The project is effectively in limited maintenance mode as long as some supported products depend on it.

(.NET Core 3.1 went out of support last Tuesday; .NET 6 already deprecated the support; the only supported products that may still depend on libgdiplus are some versions of Xamarin/Mono but calling that "supported" is quite a stretch)

QuickScoP3s commented 1 year ago

Any idea how we can release using the old version? (as @moxiemaks requests as well) We tried this command apk add libgdiplus=6.1-r0, but that doesn't work either: image

If we shouldn't use this library anymore, any idea which library we can use on Linux to replace System.Drawing?

sebcam commented 1 year ago

same issue here

danvy commented 1 year ago

Idem

santi1s commented 1 year ago

FYI , we managed to install libgdiplus using

apk add tiff=4.5.0-r1 --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/main/ --allow-untrusted apk add libgdiplus --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ --allow-untrusted

QuickScoP3s commented 1 year ago

Awesome! We're currently looking into moving to SkiaSharp instead of relying on libgdiplus, but the Nuget libraries need to support it of course... 🤞

akoeplinger commented 1 year ago

Yeah this is outside of our control since this is done by Alpine, please contact their package maintainers.

RobbePeeters commented 1 year ago

BTW: the libgdiplus package has been moved to the community package. More info here : https://pkgs.alpinelinux.org/package/edge/community/x86/libgdiplus

So we fixed the original issue by adding following install: apk add tiff --repository http://dl-3.alpinelinux.org/alpine/edge/main/ --allow-untrusted apk add libgdiplus --repository http://dl-3.alpinelinux.org/alpine/edge/community/ --allow-untrusted