166 Commits

Author SHA1 Message Date
Lawrence Lee
abbaddbabd
Merge branch 'dev' into libraw-copylib 2024-06-15 22:32:12 -07:00
Lawrence Lee
2c1c124d8f
Merge branch 'dev' into libraw-copylib 2024-06-02 18:15:43 -07:00
xiota
5ea3a4b979 AboutThisBuild: Make libjxl status strings less confusing 2024-05-28 07:05:43 +00:00
xiota
e817246452 AboutThisBuild: Distinguish JXL unavailable and disabled 2024-05-27 21:01:59 +00:00
xiota
40f9eefabe Add libjxl version to AboutThisBuild.txt 2024-05-26 12:46:06 +00:00
xiota
01f925d8d7 Revise cmake tristate option 2024-04-11 05:31:03 +00:00
xiota
c514fbb939 Fix tristate auto behavior 2024-04-10 18:51:13 +00:00
xiota
4a16bdd624 Change WITH_JXL option to tristate (AUTO/ON/OFF) 2024-04-10 18:18:55 +00:00
xiota
b2550abd83 Add cmake option WITH_JXL
ON = Force required
OFF = Optional
2024-04-10 14:01:12 +00:00
xiota
dd01cc110b Add error code to returns
Fix conditional libjxl compilation
2024-04-10 11:32:42 +00:00
xiota
dfc82c403c Add ability to import JXL images 2024-04-10 10:17:42 +00:00
Pandagrapher
7e63892628 Merge with 'Beep6581/dev' 2024-03-06 19:10:49 +01:00
Lawrence Lee
51e52d9aba
Merge branch 'dev' into libraw-copylib 2024-03-02 21:01:34 -08:00
Lawrence Lee
20d3311931
Add decoding through LibRaw
Decode raw files with LibRaw and fall back to dcraw if LibRaw is unable
to read the file.
2023-12-01 21:15:13 -08:00
Alexander Gruzintsev
de82b9fc7a Fix warnings: conversion to double/float, unused variables, register keyword 2023-10-30 08:18:33 +01:00
Pandagrapher
e255a77fcd Fixes AppImage build
- RawTherapee app icon should be installed in hicolor theme provided in AppImage package
- Fix wrong searching path for SVG/PNG images in rtscalable.h
2023-09-12 11:59:43 +02:00
Pandagrapher
990e9c70a5 Merge with 'Beep6581/dev' 2023-09-05 09:48:43 +02:00
Richard E Barber
4fab12bf1e
link to rth and rth-cli 2023-08-30 08:49:01 -07:00
Richard E Barber
ea33323d18
Call findATOMIC.cmake
libatomic is required in some builds. see #6821
2023-08-28 09:37:08 -07:00
Pandagrapher
b57d1026a3 Merge with 'Beep6581/dev' 2023-08-24 13:48:07 +02:00
Lawrence Lee
20e78068cd
Merge branch 'dev' into metadata-exiv2 2023-03-17 22:16:17 -07:00
Pandagrapher
c28d5aab97 Merge with "Beep6581/dev" 2023-03-11 11:02:29 +01:00
Benitoite
38ab9af4fc
Mac: option for CI artifact naming 2023-03-08 01:05:38 -08:00
Lawrence Lee
3833c6e634
Merge branch 'dev' into metadata-exiv2 2023-02-05 12:29:58 -08:00
Alberto Griggio
41834c7007
cmake: fix build issue on opensuse (exiv2 library not found)
Fixes #64

(cherry picked from commit 33ced3e42605fcc4f69a0be03aa4df3691fa66f9)
2022-12-10 09:48:54 -08:00
Pandagrapher
cc48ad2aa1 Fixes hi-dpi on Linux
- Fixes incorrect install path for icons
- Fixes case-sensitive issues with names
2022-12-08 10:03:45 +01:00
Pandagrapher
eb40593d60 Merge with 'Beep6581/dev' 2022-11-03 17:10:48 +01:00
Lawrence Lee
2924128311 Set -ffp-contract=off compiler flag for GCC >= 11
Replace the previous workaround of setting -fno-tree-loop-vectorize for
a GCC optimization bug.

(#6384)
2022-09-18 12:05:39 -07:00
Pandagrapher
35ce0d1227 Fixes hi-dpi on Windows
- Fixes incorrect install path for icons
- Fixes incorrect font size conversion from "Pango units" (updates some comments)
- Fixes incorrect volume icon in directory browser
2022-08-29 19:26:41 +02:00
Pandagrapher
2cd6ba96ca Merge with 'Beep6581/dev' 2022-08-27 11:49:02 +02:00
Pandagrapher
36222d14a2 Fixes blur rendering with RTSurface on hidpi screen
Other fixes:
- Fixes splash image not rendered
- Cleans commented code
- Replaces deprecated librsvg functions
- Updates Makefile librsvg required minimum version
- Correctly uses RTSurface getWidth / getHeight functions
- Improves lwbutton aspect

Known issues:
- Blur rendering with RTPixbuf on hidpi screen
2022-08-21 15:45:07 +02:00
Pandagrapher
89d2bdce5b Initial commit for real hidpi support
Note: This commit has only been tested on MacOS

Changes:
- Icons now use the native hidpi support from Gtk (through Icon Theme)
- Icons are now directly generated from scalable file (i.e. SVG file)
- Widget sizes are scaled based on DPI and scale factor
- Font size is scaled based on DPI and scale factor
2022-08-19 16:47:28 +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
Thanatomanic
c58f582505
Minor license path fixes (#6551)
* Fix CMakeLists
* Fix splash.cc
2022-08-18 20:58:50 +02:00
Benitoite
bab5516871
Mac: set fftw3f_omp linker flags (#6406)
Sets linker flags for macOS for fftw3f_omp when OPTION_OMP==ON
2022-02-05 11:10:45 +01:00
Thanatomanic
4b8481f1c9
(Temporarily) disable ftree-loop-vectorize for GCC 11 because of #6384 2021-12-16 07:50:31 +01:00
Flössie
42fecdada9 Support Debian's libtcmalloc-minimal4 2021-08-27 08:42:42 +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
Thanatomanic
ae754b2492 Merge branch 'dev' into metadata-exiv2 2021-04-27 09:59:52 +02:00
Stefan Wunsch
4cb6fa2dcb [cmake] Use absolute path to cmake in UpdateInfo
- Recommended for usage of cmake from custom commands
- Enables building with Xcode using the project generated with 'cmake -GXcode ..'
2021-03-06 11:46:23 +01:00
Stefan Wunsch
68a6e02369
Fix some cmake build system issues (#6147)
* [cmake] Switch to find_package for TIFF
- Included in cmake 3.5 and later
- Provides better configuration messages
* Add missing TIFF library to rtgui and rtexif
* Removed unnecessary quotes so that cmake sees the list as a list
* Add OpenMP to rtengine if OpenMP is enabled
2021-03-01 16:40:54 +01:00
Ingo Weyrich
0cc6ae979f silence warnings, #6105 2021-02-16 12:12:25 +01:00
Flössie
ae5d268d6e Raise glib requirements to 2.48 (fixes #5943) 2020-11-12 08:16:20 +01:00
Thanatomanic
8b4389ade9 Resolve exiv2 merge conflicts and merge with 2020-10-16 11:45:26 +02:00
Floessie
d5af712497
Merge pull request #5840 from ya-isakov/dev
Make libcanberra optional
2020-08-16 15:05:45 +02:00
Ingo Weyrich
a4813ac256 RT build on non-Apple systems using clang shows wrong compiler info in AboutThisBuild.txt, fixes #5864 2020-08-14 12:22:08 +02:00
Ingo Weyrich
0fcca62905 enable -ftree-loop-vectorize for gcc >= 10.2, #5749 2020-07-21 15:41:47 +02:00
Yaroslav Isakov
70c052cc76 Make libcanberra optional
It is the only X11 dep in RawTherapee, so here is an option to
compile without libcanberra. This will completely disables sounds
for long operations on Linux, but canberra is enabled by default.
2020-07-09 16:39:26 +02:00
Thanatomanic
49c4d0a27c
Temporarily prevents #5749 from causing issues for the unknown user when compiling dev
Code taken from d65d285968
2020-06-05 08:41:26 +02:00
Pandagrapher
320408306d
Build improvements + fix for window size/position (macOS) (#5771)
* Allow using relative path in MacOS for development builds
* [macOS] Fixes RT "cache"/"config" folder not located in the right place
In actual "dev" branch, RT "cache"/"config" folder is located in
"~/Application Support/RawTherapee" folder instead of
"~/Library/Application Support/RawTherapee" folder (as in v5.8 release
and discribed in RawPedia). Moreover, "CACHE_NAME_SUFFIX" cMake option
was not anymore considered.
* [macOS] Remember RT window position correctly, fixes #3209

As described in GTK documentation, some OS Windows Manager do not
consider setting window size and position before it is completely
created (which seems to be the case for macOS). In this commit,
restoring window size/position is now done after its creation.
Morevover, macOS menu bar height is now considered.
2020-05-28 12:26:14 +02:00