110 Commits

Author SHA1 Message Date
Lawrence Lee
b1e749e2ec
Update links to the repository
Change from github.com/Beep6581/RawTherapee to
github.com/RawTherapee/RawTherapee.
2025-03-23 16:57:51 -07:00
Richard E Barber
1096cc0898
mac: CI/bundle update (#7166)
* Merge mac package updates fix11 (#36)

* Update macOS CI workflow

Adds ad-hoc codesign directive, fixes launch test on arm64

* mac bundle: staple notary ticket to app

* mac: draw version number on fancy dmg background

* Delete tools/osx/rtdmg-bkgd.png

* mac: hidpi compatible fancy dmg background image

* mac: fix fancy dmg background

* Mac: remove license file from fancy dmg root

License displays properly in dmg EULA pop-up window.

* mac CI: show build info in GITHUB_STEP_SUMMARY (#37)

* mac CI: output step summaries

* mac CI: add summary for test launch

* test -cli on both builds

* mac: remove an errant fullstop

* mac CI: reorder test launches

* mac CI: specify full path of app to test launch

* mac CI: add missing file extension

* mac CI: test running app in osascript (#38)

* Simplifies launch test

* macCI: use fancy dmg message

to warn users that CI build not intended for user testing.

* mac: draw optional user message on fancy dmg

used by CI to display a user warning
2024-08-11 17:49:56 -07:00
Richard E Barber
cee888386f
macOS CI: build for arm64 (#7132)
* macOS CI: add build for arm64

Additionally builds an arm64 macOS app as well as x86_64 for testing purposes.

* macOS: add architecture to continuous package name

* macOS CI: remove an incorrect processor type directive

* macOS CI: remove a downgraded dependency

* macOS CI: add automake dependency to arm64 config

* macOS CI: try system libraw = ON

* macOS CI: have brew install libra

* macOS: try brew cleanup for libraw uninstall

* macOS CI: don't uninstall libraw first

* macOS CI: test-launch the app

* macOS CI: fix indentation

* macOS CI: list running apps after launch test

* macOS CI: copy app to /Applications for launch test

* macOS CI: add libtool

* macos CI: tst arm64 cli
2024-07-27 17:18:05 -07:00
Richard E Barber
5a8f048e8a
mac: bundle libjxl_cms 2024-06-25 17:25:53 -07:00
Pandagrapher
7e63892628 Merge with 'Beep6581/dev' 2024-03-06 19:10:49 +01:00
Richard E Barber
3f80708555
mac: update codesign procedures 2024-02-25 01:08:32 -08:00
Pandagrapher
3341668d51 MacOS bundle: copy all Adwaita icon theme (especially scalable ones) 2023-09-22 20:27:21 +02:00
Richard E Barber
9871c5a419
mac: cleanup items at end of bundle script 2023-09-07 23:17:32 -07:00
Richard E Barber
9315050d9b
mac: use txt file extension for readme file 2023-09-07 22:31:46 -07:00
Richard E Barber
7f5cb995d2
mac: use create-dmg/create-dmg for fancy dmg
Fixes fancy dmg building:
- uses https://github.com/create-dmg/create-dmg script
- create-dmg/create-dmg script is also available via homebrew:
  brew install create-dmg
2023-09-07 21:20:45 -07:00
Richard E Barber
12e60dd6c3
Mac: fix macos_bundle output formatting
Updates message formatting in the bundle script to escaped formatting, eliminating output terminal errors.
2023-08-07 07:06:51 -07:00
Richard E Barber
6720fa90e7
Mac: change -cli ad hoc signature to certified
*Ventura* no longer supports a distribution ad hoc signatory.  Changes codesign command for the -cli to use developer certificate.
2023-08-07 12:53:33 +07:00
Beep6581
e1a6e74ab8
Merge branch 'dev' into patch-23 2023-08-06 12:45:18 +02:00
Benitoite
961c2d09d5
Mac bundle: handle harfbuzz update
Harfbuzz was recently upgraded and it broke the default link to graphite.
2023-08-02 16:05:45 -07:00
Benitoite
1fb5a5b735
macOS: fixes -cli
Fixes the Command Line Interface (CLI) rawtherapee-cli executable for macOS using ad hoc codesign.
2023-07-16 20:53:37 -07:00
Benitoite
ee2ebabb78
Mac: add missing ‘then’ 2023-03-08 15:57:07 -08:00
Benitoite
f92dca3e59
Mac: handle detached HEAD 2023-03-08 15:07:57 -08:00
Benitoite
ec19698dc4
Mac: use git branch --show-current 2023-03-08 11:42:47 -08:00
Benitoite
3e11f0bcf8
Mac: use the symbolic ref for branch 2023-03-08 10:02:52 -08:00
Benitoite
53b4edd01d
Mac: removes arch from CI name 2023-03-08 01:11:22 -08:00
Benitoite
a79888c1af
Mac: CI artifact naming 2023-03-08 01:08:26 -08:00
Benitoite
3fe30277bf
macOS: fixes a few packaging warnings
and tries not forcing a non-system z or expat into Frameworks.
2023-02-27 21:14:10 -08:00
Benitoite
74d6762f79
macOS: show new notarytool format of notary string 2023-02-27 21:04:46 -08:00
Benitoite
0d67339738
macOS: altool --notarize -> notarytool
Updates notary script to use `xcrun notarytool` per Apple deprecation notices.
2023-02-27 20:59:45 -08:00
Benitoite
c55bc5103f
macOS: mute tput warnings
tput warns you when running with no attached terminal; eg. GitHub CI.
Redirects warnings to /dev/null
2023-02-27 12:49:26 -08:00
Benitoite
ba11a9355a
mac: fixes lensfun logic
Fixes use of the v1 lensfun interface for v0.3.3, v0.3.4-RC1, etc.
2023-01-31 23:42:36 -08:00
luzpaz
4d1d5d4539
Fix various typos (#6569)
* Fix various typos

* Fix previous commit + add follow-up grammatical fixes
2022-08-30 15:17:43 +02:00
Thanatomanic
794099847d
Propagate LICENSE file renaming to macOS build script 2022-08-19 06:40:13 +02:00
Benitoite
8a09af2c48
macOS: optionally make a generically-named copy of the zip (#6518)
Adds `-DOSX_NIGHTLY`. With -DOSX_NIGHTLY=ON will produce copies of the zip with generic names: `RawTherapee_macOS_arm64_latest.zip` for the purpose of hyperlinking. This is activated for GitHub Actions automated builds.

* mac: specify catalina on github action
* mac: use clang instead of /path/to/clang
* mac: Exec Architectures --> Architecture Priority
* mac: add an option to generate a universal app
* mac: generate a universal app
* mac: use "Universal" for arch in naming
* mac: remove some braces
* mac: fix gtk3 environment paths
* mac: fix universal url logic
* mac: merge about txts for universal build
* Mac: fix osx version minimums in universal 1
* Mac: update info plist for osx version minima
* Mac: update universal versioning
* Mac: add processor tunings for sandy-ivy bridge
* mac: fix minimum versioning statements
* Mac: fix a paste error
* mac: remove any x/X libs from bundle
* mac: don't get rid of libxcb for cairo
* mac: fix a typo
* mac: revert library removals for cairo
2022-08-19 06:38:05 +02:00
Benitoite
2d3e457211
Mac: arm64 compatibility bundle script update (#6346)
Uses info from CMAKE issuance for system architecture information.
2021-09-03 14:45:36 +02:00
Benitoite
b1e7860a23
mac: update of macosx_bundle.sh (#5786)
Various changes to improve compilation of RT on macOS thanks to @Benitoite and @Pandagrapher 
* mac: use sed -i.bak, add X's to mktemp template in macosx_bundle.sh
* mac: test lensfun version in macosx_bundle.sh to select correct lensfun database version (version_1 for 3.2 and version_2 for 3.95)
* mac: remove DYLD_FALLBACK_LIBRARY_PATH from main Info.plist
* mac: removes some -cli codesigning commands
* mac: remove erroneous newlines in macosx_bundle.sh and suppress superfluous codesigning of Contents/Frameworks/*dylib
* mac: Apple arm64/homebrew compatibility update
* mac: CMakeLists.txt arm64 homebrew compatibility
* mac: add Apple arm64 CPU native flag
* mac: fix pixbuf query syntax
* mac: adapt. of Pandagrapher's patch
* mac: additional instructions for the -cli exec.
* mac: revert target 10
* mac: remove legacy environment variable Per https://github.com/Beep6581/RawTherapee/pull/5786#issuecomment-792276656
* mac: fix destination of credits/license
* mac: copy {LOCAL_PREFIX}/share/locale to bundle
* mac: fixes a path for the License
* mac: fix of UpdateInfo command structure
* mac: remove redundant copying
* mac: use cmake to configure Info.plist values
* mac: configurator for Info.plist version values
* mac: fix locale detection / language
* mac: remove an outdated key from Info.plist
* mac: fix path usage for gtk.immodules / locale dir
* mac: revert a change merged elsewhere
* mac: follow more symlinks for 'brew builds
* mac: link to CoreFoundation for locale detection
* mac: link CoreFoundation for locale / C
* mac: detect locale with CoreFoundation per https://github.com/Beep6581/RawTherapee/pull/5786#issuecomment-798926898
* mac: remove outdated lines
* Update multilangmgr.cc
* mac: Info.plist language fixes (Pandagrapher) https://github.com/Beep6581/RawTherapee/pull/5786#issuecomment-813004475
* Mac: also package libpng12 for homebrew compatibility.
* macOS packaging and language updates
2021-08-09 07:11:09 +02:00
luz.paz
a41aa73124 Fix various typos
Found via  codespell v2.0.dev0  
```
codespell -q 3 -I ../rawtherapy-whitelist.txt -S ./rtdata/languages -L bord,hist,fo,reall,bloc,alph,dof,thre,makro,chang,currentry,portugues,vektor,ue
```
2020-06-18 14:53:04 -04:00
Benitoite
65f1b4c3d9
Update macOS packaging for 10.15.4
Several smaller fixes to provide an improved handling of installing/using RT on macOS.
* mac: update entitlements for 10.15.4
* mac: fix the CLI. Provides an un-codesigned rawtherapee-cli outside the app bundle for use on the terminal command line, using the app bundle's 3rd-party libraries.
* How to install RawTherapee.app and rawtherapee-cli for macOS
2020-05-12 14:17:53 +02:00
Benitoite
fbe718b64f
fixes macOS autobuild (#5674)
* update macOS autobuild yaml

* updates */CMakeLists* for macOS autobuild compatibility

* "" a dir for cmake

* Un empty an empty EXTRA_INCDIR

* use a cmake operator

* Use the . dir to un-empty a string

* fix minutes timer in macos yaml

* test & skip instead of load & include

* disregard fractional part of minutes in mac yaml

* add another cmake test

* fix typo in mac yaml

* fix other part of same typo

* correct a filename in mac yaml

* test all include dirs

* fix of mac yaml

* mac:fix a path in yaml

* mac:and its antecedent

* options.h include a dir

* test __has_include (gcc 5.* & up & clang)

* remove a printf() in mac yaml

* mac:change a "" and an elseif() to else()

* fix a whitespace error

* fix 2 whitespace errors

* ZULU>UTC

* add a "UTC

* on the other side of the "

* mac:properly set default LOCAL_PREFIX in CACHE

* use of zsh subshells in macos yaml

* mac:remove some &&

* mac:remove some "

* mac:floating point divisors

* mac:use double paren (())

* mac:add a dir

* mac:floatize with decimal point

* mac:zsh -c certain lines

* remove a marker
2020-02-28 19:20:40 +01:00
Richard Barber
7ccf630479 mac:use of Bash substring removal 2020-02-24 11:17:48 -08:00
Richard Barber
c7b4f6fc67 mac:use of bash [[ instead of bsd [ 2020-02-24 10:31:47 -08:00
Richard Barber
4bd6383c07 re-indent some scripts w/cmake_format and beautify_bash 2020-02-23 20:35:45 -08:00
Richard Barber
f719c2840e mac:make a dir 2020-02-22 19:16:09 -08:00
Richard Barber
e81d09aa56 mac:build a fancy .dmg 2020-02-22 15:37:25 -08:00
Richard Barber
e53113ca6d mac:add a destination 2020-02-20 12:01:11 -08:00
Richard Barber
4dbbc40539 mac:config.h.in use macos extention 2020-02-20 11:43:11 -08:00
Richard Barber
4e4faafb08 mac:fix destination of comconst.json 2020-02-20 03:14:46 -08:00
Richard Barber
d21f051f43 mac:sync build directories locations 2020-02-20 01:56:00 -08:00
Richard Barber
9bc078c5bb mac:export non-relative paths to config.h 2020-02-20 01:17:49 -08:00
Richard Barber
3bbdd89c8f mac: fix -cli and add a linker flag 2020-02-19 14:40:42 -08:00
Richard Barber
533db7aa17 mac bundle: fix -cli codesigning 2020-02-19 12:03:11 -08:00
Richard Barber
3350394c22 mac:lowercase bundle UUID 2020-02-17 14:14:57 -08:00
Richard Barber
18c360ed4d mac:fix a glob for frameworks codesign 2020-02-17 07:34:07 -08:00
Richard Barber
c6579a4efc mac:fix a codesign stmnt 2020-02-17 07:32:19 -08:00
Richard Barber
c9f887281e mac: truncate homedir 2020-02-17 06:55:18 -08:00