Steve Williams (Contractor) wrote (2023-04-21 22:56 CEST):
> Hi,
> 
> I am running Nextcloud and it can now use an external service to render 
> thumbnails that's (allegedly) much faster than the php Imagick stuff.
> 
> Of course, it's built for docker...  I was considering to see if it's 
> possible/worth the effort to do a port for it.
> 
> https://github.com/h2non/imaginary
> 
> From following the ports list, I believe there's support for easily
> porting go applications in the OpenBSD ports infrastructure.

Yes, we have portgen:

$ /usr/ports/infrastructure/bin/portgen go github.com/h2non/imaginary

This creates a /usr/ports/mystuff/go/imaginary barebone port which you can
finalize.

Imaginary needs libvips, you you need to add graphics/libvips to LIB_DEPENDS.

And then move the modules from the makefile into modules.inc. Look at
other go ports to learn how this should look.

Best Regards,
Stefan

Reply via email to