Merge with newlocallab...
@@ -5,6 +5,7 @@ Project initiator:
|
|||||||
|
|
||||||
Development contributors, in last name alphabetical order:
|
Development contributors, in last name alphabetical order:
|
||||||
|
|
||||||
|
Roel Baars
|
||||||
Martin Burri
|
Martin Burri
|
||||||
Javier Celaya
|
Javier Celaya
|
||||||
Jacques Desmis
|
Jacques Desmis
|
||||||
|
@@ -1,10 +1,8 @@
|
|||||||
if(WIN32)
|
if(APPLE)
|
||||||
cmake_minimum_required(VERSION 2.8.4)
|
|
||||||
elseif(APPLE)
|
|
||||||
cmake_minimum_required(VERSION 3.3)
|
cmake_minimum_required(VERSION 3.3)
|
||||||
CMAKE_POLICY(SET CMP0025 NEW)
|
CMAKE_POLICY(SET CMP0025 NEW)
|
||||||
else()
|
else()
|
||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.8.8)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Must stay before the PROJECT() command:
|
# Must stay before the PROJECT() command:
|
||||||
@@ -318,9 +316,9 @@ pkg_check_modules(LCMS REQUIRED lcms2>=2.6)
|
|||||||
pkg_check_modules(EXPAT REQUIRED expat>=2.1)
|
pkg_check_modules(EXPAT REQUIRED expat>=2.1)
|
||||||
pkg_check_modules(FFTW3F REQUIRED fftw3f)
|
pkg_check_modules(FFTW3F REQUIRED fftw3f)
|
||||||
pkg_check_modules(IPTCDATA REQUIRED libiptcdata)
|
pkg_check_modules(IPTCDATA REQUIRED libiptcdata)
|
||||||
|
pkg_check_modules(TIFF REQUIRED libtiff-4>=4.0.4)
|
||||||
find_package(JPEG REQUIRED)
|
find_package(JPEG REQUIRED)
|
||||||
find_package(PNG REQUIRED)
|
find_package(PNG REQUIRED)
|
||||||
find_package(TIFF REQUIRED)
|
|
||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
if(WITH_SYSTEM_KLT)
|
if(WITH_SYSTEM_KLT)
|
||||||
find_package(KLT REQUIRED)
|
find_package(KLT REQUIRED)
|
||||||
|
8
rawtherapee.astylerc
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
style=1tbs
|
||||||
|
indent=spaces=4
|
||||||
|
indent-switches
|
||||||
|
break-blocks
|
||||||
|
pad-oper
|
||||||
|
convert-tabs
|
||||||
|
pad-header
|
||||||
|
unpad-paren
|
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
file(GLOB LANGUAGEFILES "languages/*")
|
file(GLOB LANGUAGEFILES "languages/*")
|
||||||
file(GLOB SOUNDFILES "sounds/*")
|
file(GLOB SOUNDFILES "sounds/*")
|
||||||
file(GLOB INPUTICCFILES "iccprofiles/input/*")
|
file(GLOB INPUTICCFILES "iccprofiles/input/*")
|
||||||
@@ -7,11 +6,17 @@ file(GLOB DCPFILES "dcpprofiles/*")
|
|||||||
file(GLOB FONTS "fonts/*")
|
file(GLOB FONTS "fonts/*")
|
||||||
|
|
||||||
set(PROFILESDIR "profiles")
|
set(PROFILESDIR "profiles")
|
||||||
set(IMAGESDIR "images")
|
|
||||||
|
|
||||||
# THEMEDIR includes subfolders for image resources for some themes; doing the normal glob won't work.
|
|
||||||
set(THEMEDIR "themes")
|
set(THEMEDIR "themes")
|
||||||
|
|
||||||
|
# Images, mostly icons, which are generated using the generatePngIcons script:
|
||||||
|
set(IMAGES_THEMED
|
||||||
|
"images/themed/png/dark"
|
||||||
|
"images/themed/png/light"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Other images which are generated manually:
|
||||||
|
file(GLOB IMAGES_NONTHEMED "images/non-themed/png/*")
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set(OPTIONSFILE "options/options.win")
|
set(OPTIONSFILE "options/options.win")
|
||||||
elseif(APPLE)
|
elseif(APPLE)
|
||||||
@@ -25,17 +30,15 @@ if(WIN32)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/icons/rawtherapee.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/rawtherapee.desktop")
|
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/rawtherapee.desktop.in" "${CMAKE_CURRENT_BINARY_DIR}/rawtherapee.desktop")
|
||||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/rawtherapee.desktop" DESTINATION ${DESKTOPDIR})
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/rawtherapee.desktop" DESTINATION ${DESKTOPDIR})
|
||||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/icons/hi16-app-rawtherapee.png" DESTINATION "${ICONSDIR}/hicolor/16x16/apps" RENAME rawtherapee.png)
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/images/non-themed/png/rawtherapee-logo-16.png" DESTINATION "${ICONSDIR}/hicolor/16x16/apps" RENAME rawtherapee.png)
|
||||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/icons/hi24-app-rawtherapee.png" DESTINATION "${ICONSDIR}/hicolor/24x24/apps" RENAME rawtherapee.png)
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/images/non-themed/png/rawtherapee-logo-24.png" DESTINATION "${ICONSDIR}/hicolor/24x24/apps" RENAME rawtherapee.png)
|
||||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/icons/hi32-app-rawtherapee.png" DESTINATION "${ICONSDIR}/hicolor/32x32/apps" RENAME rawtherapee.png)
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/images/non-themed/png/rawtherapee-logo-48.png" DESTINATION "${ICONSDIR}/hicolor/48x48/apps" RENAME rawtherapee.png)
|
||||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/icons/hi48-app-rawtherapee.png" DESTINATION "${ICONSDIR}/hicolor/48x48/apps" RENAME rawtherapee.png)
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/images/non-themed/png/rawtherapee-logo-128.png" DESTINATION "${ICONSDIR}/hicolor/128x128/apps" RENAME rawtherapee.png)
|
||||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/icons/hi128-app-rawtherapee.png" DESTINATION "${ICONSDIR}/hicolor/128x128/apps" RENAME rawtherapee.png)
|
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/images/non-themed/png/rawtherapee-logo-256.png" DESTINATION "${ICONSDIR}/hicolor/256x256/apps" RENAME rawtherapee.png)
|
||||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/icons/hi256-app-rawtherapee.png" DESTINATION "${ICONSDIR}/hicolor/256x256/apps" RENAME rawtherapee.png)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install(FILES ${IMAGEFILES} DESTINATION "${DATADIR}/images")
|
|
||||||
install(FILES ${LANGUAGEFILES} DESTINATION "${DATADIR}/languages")
|
install(FILES ${LANGUAGEFILES} DESTINATION "${DATADIR}/languages")
|
||||||
install(FILES ${SOUNDFILES} DESTINATION "${DATADIR}/sounds")
|
install(FILES ${SOUNDFILES} DESTINATION "${DATADIR}/sounds")
|
||||||
install(FILES ${INPUTICCFILES} DESTINATION "${DATADIR}/iccprofiles/input")
|
install(FILES ${INPUTICCFILES} DESTINATION "${DATADIR}/iccprofiles/input")
|
||||||
@@ -48,8 +51,14 @@ endif()
|
|||||||
|
|
||||||
install(DIRECTORY ${PROFILESDIR} DESTINATION "${DATADIR}" FILES_MATCHING PATTERN "*.pp3")
|
install(DIRECTORY ${PROFILESDIR} DESTINATION "${DATADIR}" FILES_MATCHING PATTERN "*.pp3")
|
||||||
install(DIRECTORY ${THEMEDIR} DESTINATION "${DATADIR}")
|
install(DIRECTORY ${THEMEDIR} DESTINATION "${DATADIR}")
|
||||||
install(DIRECTORY ${IMAGESDIR} DESTINATION "${DATADIR}" FILES_MATCHING PATTERN "index.theme")
|
|
||||||
install(DIRECTORY ${IMAGESDIR} DESTINATION "${DATADIR}" FILES_MATCHING PATTERN "*.png")
|
foreach(theme ${IMAGES_THEMED})
|
||||||
|
install(DIRECTORY ${theme} DESTINATION "${DATADIR}/images")
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
#install(DIRECTORY ${IMAGES_NONTHEMED} DESTINATION "${DATADIR}/images" FILES_MATCHING PATTERN "*.png")
|
||||||
|
#install(DIRECTORY ${IMAGES_NONTHEMED} DESTINATION "${DATADIR}/images/")
|
||||||
|
install(FILES ${IMAGES_NONTHEMED} DESTINATION "${DATADIR}/images")
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
# CMake escapes first item quote character. Do not remove 'DUMMY_VARIABLE='
|
# CMake escapes first item quote character. Do not remove 'DUMMY_VARIABLE='
|
||||||
|
BIN
rtdata/iccprofiles/output/RTv2_ACES-AP0.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv2_ACES-AP1.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv2_Best.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv2_Beta.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv2_Bruce.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv2_Large.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv2_Medium.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv2_Rec2020.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv2_Wide.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv2_sRGB.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv4_ACES-AP0.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv4_ACES-AP1.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv4_Best.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv4_Beta.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv4_Bruce.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv4_Large.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv4_Medium.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv4_Rec2020.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv4_Wide.icc
Normal file
BIN
rtdata/iccprofiles/output/RTv4_sRGB.icc
Normal file
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 703 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 706 B |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 455 B |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 475 B |
Before Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 449 B |
Before Width: | Height: | Size: 359 B |
Before Width: | Height: | Size: 443 B |
Before Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 472 B |
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 300 B |
Before Width: | Height: | Size: 252 B |
Before Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 206 B |
Before Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 313 B |
Before Width: | Height: | Size: 294 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 316 B |
Before Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 665 B |
Before Width: | Height: | Size: 685 B |
Before Width: | Height: | Size: 833 B |