Building a "portable" binary for macOS with RAW support?
Posted: 2018-10-20T13:25:32-07:00
Hey,
I am trying to build a static ("portable") binary for macOS with RAW support but having a lot of difficulty.
I started off with the following post which works well: http://blog.schdbr.de/imagemagic-osx-st ... ble-build/
I have evolved this to the following: https://gitlab.com/atwright147/npm-imag ... -static.sh
But when I try to build with ufraw I get a lot of errors as you will be able to see in this pastebin: https://pastebin.com/R6CcCsCb
Can any body help me to resolve this please?
Many thanks,
Andy
EDIT:
I posted this quite late last night and it doesn't fully convey what I am trying to achieve. I want to create a portable version of ImageMagick with TIFF, PNG, JPEG etc support AND RAW (CR2, NEF etc) support.
I intent to package this up into an NPM package which will be installable on macOS and Windows (I don't need any help with the NPM side). I will probably build the macOS version on Travis and the Windows version on AppVeyor and get the NPM package to download it for me.
So, questions:
1. Is the "portable" ImageMagick I found on the Windows download page set up for RAW processing (I can see dcraw in the zip)? IF so, where is the script that this is built from?
2. Is there a script or some instruction about how to do this out there anywhere?
PS. I have updated the title of this post to better explain what I am after
I am trying to build a static ("portable") binary for macOS with RAW support but having a lot of difficulty.
I started off with the following post which works well: http://blog.schdbr.de/imagemagic-osx-st ... ble-build/
I have evolved this to the following: https://gitlab.com/atwright147/npm-imag ... -static.sh
But when I try to build with ufraw I get a lot of errors as you will be able to see in this pastebin: https://pastebin.com/R6CcCsCb
Can any body help me to resolve this please?
Many thanks,
Andy
EDIT:
I posted this quite late last night and it doesn't fully convey what I am trying to achieve. I want to create a portable version of ImageMagick with TIFF, PNG, JPEG etc support AND RAW (CR2, NEF etc) support.
I intent to package this up into an NPM package which will be installable on macOS and Windows (I don't need any help with the NPM side). I will probably build the macOS version on Travis and the Windows version on AppVeyor and get the NPM package to download it for me.
So, questions:
1. Is the "portable" ImageMagick I found on the Windows download page set up for RAW processing (I can see dcraw in the zip)? IF so, where is the script that this is built from?
2. Is there a script or some instruction about how to do this out there anywhere?
PS. I have updated the title of this post to better explain what I am after