ART 1.20 for macOS notarized build

Hi,
If it helps, a new version will be out in the next days

1 Like

Perfect. I will be back to the grind in mid August.

1 Like

Thank you very much, it’s great

1 Like
Update: macOS Universal build @ 1.23

Here are two ways to get \large \sf ART \ \rm 1.23 for macOS 12+ \large (Monterey^+)

  1. A direct download link
    https://github.com/Benitoite/art1/releases/download/1.23/ART_1.23_macOS_12.3_Universal.zip
  2. Via this link to my shared folder:
4 Likes

This is great Hiram!
Works fine in my Mac


A dumb question, :grimacing: Is any way to preview 100% zoom at full retina resolution?

1 Like

Just for info, Art 1.21.1 is working fine on my iMac intel i7 OS 14.6.1. With ARt1.23 I get the msg “ART quit unexpectedly”. Here are the first lines of the report if they may help.

Thanks for testing, I have updated the builds at the links given above.

I think I may have fixed this in rawtherapee, let’s see if that is the case
 yes it is.

We can come up with a PR for ART if the app works ok.

2 Likes

Yes, it is working. Will use and report if any issue. Thank you

1 Like

It works fine in mac OS 14.5 with ARM chip as far.

And personal setting directory is ~/Library/Containers/us.pixls.art.ART/Data/art/Library/Application Support/ART1, right?

I believe that is the one. The whole sandbox can be refreshed by deleting the container itself. Don’t delete without a backup
 :right_anger_bubble:

1 Like

Sorry for reviving this one, but out of pure curiosity (because of AgX mentions), I’ve been trying to build ART from the one branch available in the repo (after failing the install of the nightly release 1.25.4, not sure why).

Context: m1 macbook, osx 15.5

I’ve taken a look at the script for building and bundling (that you’ve provided earlier here) and then at the macosx_bundle.sh from the github repo — it seems a bit out of date, when compared with what’s in RawTherapee. I have plenty of libs not in the right places, etc. While I get an image and installable app, launching it just results in an error

cc. @sguyader (since I saw you in the other thread about the setup of nightly ART builds)

  1. are there any (documented?) tricks to make the nightly releases work on Apple silicon? (EDIT: yes, the “usual” Privacy and security “open anyway” when the app was blocked once)
  2. am I missing amounts of work in the scripts required for the building process to get this on track?

Thanks!

@nonophuran can you post your AboutThisBuild.txt? The shown directory seems missing the /User/username part and shows art instead. Wondering about which brach this is


re #1, did you generate a System Crash Report or have some other error message either in the finder system or console output?
#2 which branch, I think there was a change made from the original scripts used to generate notarized builds.

Latest 1.25.5 build added:

Hi,

The most up to date way is here:

There’s no code signing because I don’t have an apple developer account (or whatever it’s called), but if you “open anyway” it should work. In fact, I use it daily FWIW

Hi, I don’t build ART on MacOS anymore, since Alberto’s release and nightly builds work perfectly fine for me.

I was on the only branch available, named “origin/master”.
I can file a bug in github, if you prefer.
AboutThisBuild.txt (1.2 KB)

As @sguyader mentioned, the nightly build works just fine, too, once I hit the “open anyway” button in the Privacy & Security settings.

That said, if we can help others here and there have an actually working and up-to-date set of (bash + cmake) instructions to build manually and locally, that would be great.
Or should we use something that can run the github actions locally? (act?)

It seems working to me. Can you post the commands you used which were not working?
For example using homebrew with ad hoc codesign:

cd ~/art
sudo rm -r build
mkdir build
cd build
git pull
cmake -DCMAKE_BUILD_TYPE="Release" \
-DOPTION_OMP=ON \
-DCMAKE_OSX_ARCHITECTURES=arm64 \
-DCMAKE_OSX_DEPLOYMENT_TARGET=15.4 \
-DPROC_TARGET_NUMBER="2" -DPROC_LABEL="arm64" \
-DCACHE_NAME_SUFFIX="1_25" -DCMAKE_C_COMPILER="clang" \
-DCMAKE_CXX_COMPILER="clang++" -DWITH_LTO="ON" \
-DCMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk" \
-DCMAKE_OSX_DEPLOYMENT_TARGET="15.4" -DLOCAL_PREFIX:STRING="/opt/homebrew" \
-DLENSFUNDBDIR="/Applications/ART.app/Contents/Resources/share/lensfun" \
-DCODESIGNID:STRING="-" \
-DCMAKE_CXX_FLAGS_RELEASE="-O3 -DNDEBUG=1 -I/opt/homebrew/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/usr/include -Wno-pass-failed -arch arm64 -Wno-deprecated-register -Wno-unused-command-line-argument" \
-DCMAKE_C_FLAGS_RELEASE="-O3 -DNDEBUG=1 -I/opt/homebrew/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/include -Wno-pass-failed -arch arm64 -Wno-deprecated-register -Wno-unused-command-line-argument" \
-DENABLE_OCIO=ON \
-DENABLE_CTL="ON" \
-DCTL_INCLUDE_DIR="/opt/homebrew/opt/ctl/include/CTL" \
-DCMAKE_EXE_LINKER_FLAGS="-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/usr/lib -Wl,-headerpad_max_install_names -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk -arch arm64" \
-DOpenMP_C_FLAGS="-fopenmp=lomp" \
-DOpenMP_CXX_FLAGS=-fopenmp=lomp \
-DOpenMP_C_LIB_NAMES="libomp" \
-DOpenMP_CXX_LIB_NAMES="libomp" \
-DOpenMP_libomp_LIBRARY="/opt/homebrew/opt/libomp/lib/libomp.dylib" \
-DOpenMP_CXX_FLAGS="-Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -I/opt/homebrew/opt/libomp/include" \
-DOpenMP_CXX_LIB_NAMES="libomp" \
-DOpenMP_C_FLAGS="-Xpreprocessor -fopenmp /opt/homebrew/opt/libomp/lib/libomp.dylib -I/opt/homebrew/opt/libomp/include" \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
-DFANCY_DMG=ON \
..
sudo make -j8 install
sudo make macosx_bundle

Yields:

And this for example with homebrew dependencies performs the gtk+3 patch for colorspaces:

brew install gobject-introspection libxkbcommon iso-codes sassc
cd ~
curl -L  https://download.gnome.org/sources/gtk+/3.24/gtk%2B-3.24.43.tar.xz -o gtk+-3.24.43.tar.xz
tar xzf gtk+-3.24.43.tar.xz
cd gtk+-3.24.43
curl -L https://raw.githubusercontent.com/artpixls/ART/refs/heads/master/tools/osx/gdk-window-quartz-colorspace.patch -o gdkpatch
git apply gdkpatch
meson setup build
meson configure build  --prefix  /opt/homebrew  --buildtype release   -Ddebug=false   -Ddemos=false  -Dexamples=false  -Dtests=false    -Dx11_backend=false -Dc_args=-I/opt/homebrew/include
meson compile -C build
brew remove --ignore-dependencies gtk+3
sudo meson install -C build

In homebrew, this should get most of the art dependencies: brew install imagemagick create-dmg opencolorio ctl gtk+3 gtkmm3 gtk-mac-integration adwaita-icon-theme libsigc++ little-cms2 libiptcdata fftw lensfun wget llvm shared-mime-info exiv2 jpeg-xl libomp libraw

If you would like the sample CTL script library pre-installed you would:

cd ~
git clone https://bitbucket.org/agriggio/art-ctlscripts.git

With this line inserted before the codesigning section in tools/osx/macosx_bundle.sh

cp -RL ~/art-ctlscripts/* "${RESOURCES}"/share/ctlscripts

Hi @HIRAM
thanks very much for your inputs! I’ll definitely explore some of them before dumping here the log of the build and bundle steps.

(Have I been reading too quickly? are all these mentioned in the documentation of ART?)

I’ll keep this thread posted.

1 Like