Merge branch 'dev' into newlocallab
@ -1,4 +1,3 @@
|
||||
|
||||
file(GLOB LANGUAGEFILES "languages/*")
|
||||
file(GLOB SOUNDFILES "sounds/*")
|
||||
file(GLOB INPUTICCFILES "iccprofiles/input/*")
|
||||
@ -7,11 +6,17 @@ file(GLOB DCPFILES "dcpprofiles/*")
|
||||
file(GLOB FONTS "fonts/*")
|
||||
|
||||
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")
|
||||
|
||||
# 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)
|
||||
set(OPTIONSFILE "options/options.win")
|
||||
elseif(APPLE)
|
||||
@ -25,17 +30,15 @@ if(WIN32)
|
||||
endif()
|
||||
|
||||
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_SOURCE_DIR}/icons/hi16-app-rawtherapee.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}/icons/hi32-app-rawtherapee.png" DESTINATION "${ICONSDIR}/hicolor/32x32/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}/icons/hi128-app-rawtherapee.png" DESTINATION "${ICONSDIR}/hicolor/128x128/apps" RENAME rawtherapee.png)
|
||||
install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/icons/hi256-app-rawtherapee.png" DESTINATION "${ICONSDIR}/hicolor/256x256/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}/images/non-themed/png/rawtherapee-logo-24.png" DESTINATION "${ICONSDIR}/hicolor/24x24/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}/images/non-themed/png/rawtherapee-logo-128.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)
|
||||
endif()
|
||||
|
||||
install(FILES ${IMAGEFILES} DESTINATION "${DATADIR}/images")
|
||||
install(FILES ${LANGUAGEFILES} DESTINATION "${DATADIR}/languages")
|
||||
install(FILES ${SOUNDFILES} DESTINATION "${DATADIR}/sounds")
|
||||
install(FILES ${INPUTICCFILES} DESTINATION "${DATADIR}/iccprofiles/input")
|
||||
@ -48,8 +51,14 @@ endif()
|
||||
|
||||
install(DIRECTORY ${PROFILESDIR} DESTINATION "${DATADIR}" FILES_MATCHING PATTERN "*.pp3")
|
||||
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)
|
||||
# CMake escapes first item quote character. Do not remove 'DUMMY_VARIABLE='
|
||||
|
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 |
Before Width: | Height: | Size: 704 B |
Before Width: | Height: | Size: 492 B |
Before Width: | Height: | Size: 446 B |
Before Width: | Height: | Size: 359 B |
Before Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 502 B |
Before Width: | Height: | Size: 213 B |
Before Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 372 B |
Before Width: | Height: | Size: 382 B |
Before Width: | Height: | Size: 890 B |
Before Width: | Height: | Size: 715 B |
Before Width: | Height: | Size: 934 B |
Before Width: | Height: | Size: 962 B |
Before Width: | Height: | Size: 950 B |
Before Width: | Height: | Size: 957 B |
Before Width: | Height: | Size: 721 B |
Before Width: | Height: | Size: 519 B |
Before Width: | Height: | Size: 592 B |
Before Width: | Height: | Size: 484 B |
Before Width: | Height: | Size: 314 B |
Before Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 315 B |
Before Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 240 B |
Before Width: | Height: | Size: 748 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 918 B |
Before Width: | Height: | Size: 409 B |
Before Width: | Height: | Size: 442 B |
Before Width: | Height: | Size: 572 B |