166 Commits

Author SHA1 Message Date
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
Ingo Weyrich
8c851a1b3f Also tweak CMAKE_C_FLAGS, fixes #5742 2020-05-08 14:02:40 +02:00
Ingo Weyrich
988d3a1a0d Do not set math errno 2020-05-07 15:26:10 +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
4bd6383c07 re-indent some scripts w/cmake_format and beautify_bash 2020-02-23 20:35:45 -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
a78c4b99df mac:send an absolute path to config.h.in via CMakeLists.txt 2020-02-19 15:51:50 -08:00
Richard Barber
3bbdd89c8f mac: fix -cli and add a linker flag 2020-02-19 14:40:42 -08:00
Benitoite
7b215e83a3
mac: bundle simplification 2020-02-15 18:07:30 -08:00
Benitoite
d796f70caf
Mac: fix os deployment target compilation flags
Uses `${CMAKE_OSX_DEPLOYMENT_TARGET}` instead of `10.9`
2020-02-08 02:52:31 -08:00
Ingo Weyrich
8f291c3ff2 Be -Wunused-macros clean 2020-02-07 20:18:35 +01:00
Benitoite
1150a4352f
Re-enable a private LENSFUNDBDIR on Win32 and UNIX
Restores a few lines in CMakeLists.txt 2cc8918 removed for non-APPLE systems.
2020-02-07 00:47:24 -08:00
rfranke
2cc89183df Prepend DATADIR only once to LENSFUNDBDIR, see #5622
DATADIR is also prepended to a relative LENSFUNDBDIR in rtengine::init.
This removal in CMakeLists.txt keeps the cmake argument LENSFUNDBDIR
unmodified in the ~/.config/RawTherapee*/options file.

This fixes a path like
   ../../Resources/../../Resources/./share/lensfun
for LENSFUNDBDIR=./share/lensfun under macOS.
2020-01-28 22:11:48 +01:00
Benitoite
aaab85fbed
macOS: LOCAL_PREFIX default/better negative logic 2020-01-04 16:06:13 -08:00
Benitoite
f23cf0808b
macOS: accept -DLOCAL_PREFIX and default to /usr 2020-01-04 08:53:43 -08:00
Ingo Weyrich
b3b1008270 Further reduction of include dependencies 2019-11-02 17:29:26 +01:00
Flössie
28f0bc14da Merge branch 'dev' into metadata-exiv2
- Rating (#5325) not yet implemented
2019-09-24 14:30:54 +02:00
Franz Trischberger
706c16510f Add option to link against libtcmalloc.so
Implementation done by Alberto Griggio (agriggio)
for his fork at https://bitbucket.org/agriggio/art

libtcmalloc.so comes with google's perftools:
https://github.com/gperftools/gperftools

This should fix issues where glibc won't give
memory back to the OS.
Related issue: #4416
2019-09-21 08:44:53 +03:00
Ingo Weyrich
17f343f682 add -Wcast-qual switch and fix all related warnings 2019-07-25 17:45:43 +02:00
Flössie
21a97980b6 Merge branch 'dev' into metadata-exiv2 2019-07-09 13:34:19 +02:00
Benitoite
8a8536702e
Mac: point to directories from a nested app 2019-06-15 23:11:29 -07:00
Benitoite
6095f86467
macOS: Import notarization credentials
Imports apple notarization credentials (Apple ID and App-specific password) given to cmake as `-DNOTARY:STRING="-u woz@apple.com -p abcd-efgh-ijkl-mnop"`
2019-06-13 02:03:00 -07:00
Flössie
8df4973610 Merge branch 'dev' into metadata-exiv2 2019-05-31 09:05:36 +02:00
Benitoite
bd548ce060
Mac: define CMAKE_AR / RANLIB only if undefined. 2019-05-16 12:39:08 -07:00
Alberto Griggio
c360fd7e2c Use exiv2 for metadata handling 2019-05-06 09:27:44 +02:00
Morgan Hardwood
3289835ca1 Bumped minimum CMake version to 3.5, closes #5302 2019-04-24 16:36:29 +02:00
Morgan Hardwood
458f47d12e Warn if using problematic GTK+ version
GTK+ 3.24.5 is known to not draw combobox menu scroll arrows.
Possibly affects >=3.24.2 - <=3.24.6.

Closes #5194
2019-04-02 08:45:57 +02:00
Hombre
bd175ec8d1 Merge branch 'dev' into hidpi-icons 2019-02-25 22:37:00 +01:00
Morgan Hardwood
788d62e5d1 Renamed appdata filename in CMakeLists 2019-02-14 13:50:57 +01:00
Hombre
8728142b64 Merge branch 'dev' into hidpi-icons 2018-12-13 00:52:07 +01:00
Hombre
81407cd663 Adding SVG support for icons with automatic cache handling
See issue #3547 and #4803
2018-12-13 00:04:30 +01:00
heckflosse
516be46550 Reintroduce silencing of unused-result warnings 2018-12-11 00:09:36 +01:00
heckflosse
feb718adb5 Some changes to CMakeLists.txt, closes #5066 2018-12-05 15:40:14 +01:00
Morgan Hardwood
4e79d68807 CMake file cleanup 2018-12-02 23:00:29 +01:00
Benitoite
cdc187f9aa
Mac: fix typo I made 2018-09-17 16:39:48 -07:00
Benitoite
efaae15f11
Mac: set a cached variable with codesign ID 2018-09-17 15:51:59 -07:00
Morgan Hardwood
ba3932d816 Require libtiff >= 4.0.4
Compilation fails when using libtiff < 4.0.4 on PHOTOMETRIC_CFA not
being declared. This commit introduces a minimum libtiff requirement of
4.0.4, which in turn required making cmake-2.8.8 the minimum required
version so as to avoid having to bundle findTIFF.cmake.
Closes #4653
2018-07-04 21:23:18 +02:00
Flössie
c73844d722 Force memalign() on i386 Linux when alignment < 16 (fixes #4432) 2018-03-17 10:32:44 +01:00
Morgan Hardwood
2e9dc11440 Use MacPorts Binutils path for macOS, #4028 2018-03-12 07:27:46 +01:00
Morgan Hardwood
3a404112af CMake options for LTO, fixes #4430
Using LTO with older versions of binutils requires setting extra flags.
2018-03-07 09:42:11 +01:00
Flössie
28e1b83af9 Find x87 and x86-32 SSE to adjust compile settings (fixes #4324) 2018-02-15 19:41:15 +01:00
heckflosse
11ad1dace8 cmake switch -WITH_BENCHMARK enables BENCHFUN macro for rtengine 2017-12-25 01:32:29 +01:00
Alberto Griggio
f6bd06a06c merged 'hdr_tonemap_fattal_nocache' into 'dev' 2017-11-18 17:44:34 +01:00
Beep6581
696299be2e
Merge pull request #4181 from Benitoite/patch-3
Enable detection of non-Apple clang Clang features
2017-11-15 08:08:07 +01:00
heckflosse
7507b74d6f explicitly set -ftree-vectorize to get auto vectorizations even for builds using -o2 instead of -o3 (some distros do that for whatever reason) 2017-11-13 18:56:18 +01:00
Benitoite
46e4dece2e
Enable detection of non-Apple clang Clang features
Ups macOS cmake requirement to 3.3 and sets policy 25, to differentiate compiler features between AppleClang and plain ole' clang.
2017-11-13 09:51:21 -08:00
heckflosse
81fbf0c2e1 Applied patch from @agriggio to check multithreading in fftw3 2017-11-06 19:09:50 +01:00