Solving issue #540 (at last) : Complete integration to linux desktop
+ modification of CMakeLists.txt to let the developper chose the bundle installtion directory
This commit is contained in:
@@ -14,6 +14,16 @@ else (WIN32)
|
||||
set(OPTIONSFILE "options/options.lin")
|
||||
endif (WIN32)
|
||||
|
||||
if (UNIX)
|
||||
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/icons/rawtherapee.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/rawtherapee.desktop)
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/icons/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)
|
||||
endif (UNIX)
|
||||
|
||||
install (FILES ${IMAGEFILES} DESTINATION ${DATADIR}/images)
|
||||
install (FILES ${LANGUAGEFILES} DESTINATION ${DATADIR}/languages)
|
||||
|
BIN
rtdata/icons/hi128-app-rawtherapee.png
Normal file
BIN
rtdata/icons/hi128-app-rawtherapee.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
rtdata/icons/hi16-app-rawtherapee.png
Normal file
BIN
rtdata/icons/hi16-app-rawtherapee.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 746 B |
BIN
rtdata/icons/hi24-app-rawtherapee.png
Normal file
BIN
rtdata/icons/hi24-app-rawtherapee.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
rtdata/icons/hi256-app-rawtherapee.png
Normal file
BIN
rtdata/icons/hi256-app-rawtherapee.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
BIN
rtdata/icons/hi32-app-rawtherapee.png
Normal file
BIN
rtdata/icons/hi32-app-rawtherapee.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
BIN
rtdata/icons/hi48-app-rawtherapee.png
Normal file
BIN
rtdata/icons/hi48-app-rawtherapee.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.3 KiB |
17
rtdata/icons/rawtherapee.desktop.in
Normal file
17
rtdata/icons/rawtherapee.desktop.in
Normal file
@@ -0,0 +1,17 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Name=RawTherapee
|
||||
GenericName=RAW image editor
|
||||
GenericName[cs]=Editor RAW obrázků
|
||||
GenericName[fr]=Éditeur d'images RAW
|
||||
Comment=The RAW converter and digital photo processing software.
|
||||
Comment[cs]=Program pro konverzi a zpracování digitálních RAW fotografií.
|
||||
Comment[fr]=Logiciel de conversion et de traitement de photos numériques de format RAW (but de capteur).
|
||||
Exec=${BINDIR}/rawtherapee
|
||||
Icon=rawtherapee
|
||||
Terminal=false
|
||||
Encoding=UTF-8
|
||||
Categories=Graphics;Photography;GTK;
|
||||
|
||||
MimeType=image/jpeg;image/png;image/tiff;image/x-adobe-dng;image/x-canon-crw;image/x-canon-cr2;image/x-fuji-raf;image/x-kodak-dcr;image/x-kodak-kdc;image/x-kodak-k25;image/x-minolta-mrw;image/x-nikon-nef;image/x-olympus-orf;image/x-panasonic-raw;image/x-pentax-pef;image/x-sony-arw;image/x-sony-srf;image/x-sony-sr2;
|
Reference in New Issue
Block a user