HomePhabricator

build: use a static .tiff for macOS .dmg rather than generating

Description

build: use a static .tiff for macOS .dmg rather than generating

Summary:
Commands used to generate the tiff:

sed 's/${PACKAGE_NAME}/Bitcoin ABC/' contrib/macdeploy/background.svg.cmake.in > background.svg
rsvg-convert -f png -d 36 -p 36 background.svg -o background_temp.png
rsvg-convert -f png -d 72 -p 72 background.svg -o background_temp@2x.png
convert background_temp.png background_temp.tiff
convert background_temp@2x.png background_temp@2x.tiff
tiffcp -c none background_temp.tiff  background_temp@2x.tiff background.tiff

This is a backport of core#23909

Depends on D13956

Test Plan: gitian-osx build-osx

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13957

Details

Provenance
PiRKAuthored on May 30 2023, 13:02
PiRKPushed on Jun 1 2023, 20:51
Reviewer
Restricted Project
Differential Revision
D13957: build: use a static .tiff for macOS .dmg rather than generating
Parents
rABC13056d3c0ea7: build: mac deployment unification
Branches
Unknown
Tags
Unknown