"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/gui/CMakeLists.txt" between
ownCloud-2.7.5.3180.tar.xz and ownCloud-2.7.6.3261.tar.xz

About: ownCloud Client (formerly "mirall") is a tool to synchronize files from ownCloud Server with your desktop client. It uses OCSync as its syncing backend.

CMakeLists.txt  (ownCloud-2.7.5.3180.tar.xz):CMakeLists.txt  (ownCloud-2.7.6.3261.tar.xz)
skipping to change at line 205 skipping to change at line 205
if(Qt5LinguistTools_FOUND) if(Qt5LinguistTools_FOUND)
qt5_add_translation(client_I18N ${TRANSLATIONS}) qt5_add_translation(client_I18N ${TRANSLATIONS})
target_sources(${APPLICATION_EXECUTABLE} PRIVATE ${client_I18N}) target_sources(${APPLICATION_EXECUTABLE} PRIVATE ${client_I18N})
endif() endif()
#TODO Move resources files #TODO Move resources files
target_sources(${APPLICATION_EXECUTABLE} PRIVATE target_sources(${APPLICATION_EXECUTABLE} PRIVATE
${PROJECT_SOURCE_DIR}/client.qrc ${PROJECT_SOURCE_DIR}/client.qrc
${PROJECT_SOURCE_DIR}/core_theme.qrc) ${PROJECT_SOURCE_DIR}/core_theme.qrc)
generate_theme(${APPLICATION_EXECUTABLE}) generate_theme(${APPLICATION_EXECUTABLE} OWNCLOUD_SIDEBAR_ICONS)
set(theme_dir ${OEM_THEME_DIR}/theme) MESSAGE(STATUS "OWNCLOUD_SIDEBAR_ICONS: ${APPLICATION_ICON_NAME}: ${OWNCLOUD_SID
EBAR_ICONS}")
# add executable icon on windows and osx
if(APPLE)
file(GLOB_RECURSE OWNCLOUD_SIDEBAR_ICONS "${theme_dir}/colored/*-${APPLICATI
ON_ICON_NAME}-icon-sidebar.png")
MESSAGE(STATUS "OWNCLOUD_SIDEBAR_ICONS: ${APPLICATION_ICON_NAME}: ${OWNCLOUD
_SIDEBAR_ICONS}")
endif()
ecm_add_app_icon(appIcons ICONS "${OWNCLOUD_ICONS}" SIDEBAR_ICONS "${OWNCLOUD_SI DEBAR_ICONS}" OUTFILE_BASENAME "${APPLICATION_ICON_NAME}") ecm_add_app_icon(appIcons ICONS "${OWNCLOUD_ICONS}" SIDEBAR_ICONS "${OWNCLOUD_SI DEBAR_ICONS}" OUTFILE_BASENAME "${APPLICATION_ICON_NAME}")
target_sources(${APPLICATION_EXECUTABLE} PRIVATE ${appIcons}) target_sources(${APPLICATION_EXECUTABLE} PRIVATE ${appIcons})
if(NOT APPLE) if(NOT APPLE)
if(WIN32) if(WIN32)
configure_file( configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/version.rc.in ${CMAKE_CURRENT_SOURCE_DIR}/version.rc.in
${CMAKE_CURRENT_BINARY_DIR}/version.rc ${CMAKE_CURRENT_BINARY_DIR}/version.rc
@ONLY) @ONLY)
target_sources(${APPLICATION_EXECUTABLE} PRIVATE ${CMAKE_CURRENT_BINARY_ DIR}/version.rc) target_sources(${APPLICATION_EXECUTABLE} PRIVATE ${CMAKE_CURRENT_BINARY_ DIR}/version.rc)
if(NOT MSVC) if(NOT MSVC)
target_sources(${APPLICATION_EXECUTABLE} PRIVATE ${CMAKE_CURRENT_SOU RCE_DIR}/manifest-mingw.rc) target_sources(${APPLICATION_EXECUTABLE} PRIVATE ${CMAKE_CURRENT_SOU RCE_DIR}/manifest-mingw.rc)
endif() endif()
else() else()
file(GLOB _icons "${theme_dir}/colored/*-${APPLICATION_ICON_NAME}-icon.p ng") file(GLOB _icons "${OEM_THEME_DIR}/theme/colored/*-${APPLICATION_ICON_NA ME}-icon.png")
foreach(_file ${_icons}) foreach(_file ${_icons})
string(REPLACE "${theme_dir}/colored/" "" _res ${_file}) string(REPLACE "${OEM_THEME_DIR}/theme/colored/" "" _res ${_file})
string(REPLACE "-${APPLICATION_ICON_NAME}-icon.png" "" _res ${_res}) string(REPLACE "-${APPLICATION_ICON_NAME}-icon.png" "" _res ${_res})
install(FILES ${_file} RENAME ${APPLICATION_ICON_NAME}.png DESTINATI ON ${DATADIR}/icons/hicolor/${_res}x${_res}/apps) install(FILES ${_file} RENAME ${APPLICATION_ICON_NAME}.png DESTINATI ON ${DATADIR}/icons/hicolor/${_res}x${_res}/apps)
endforeach(_file) endforeach(_file)
endif() endif()
install(FILES ${client_I18N} DESTINATION ${SHAREDIR}/${APPLICATION_EXECUTABL E}/i18n) install(FILES ${client_I18N} DESTINATION ${SHAREDIR}/${APPLICATION_EXECUTABL E}/i18n)
# we may not add MACOSX_BUNDLE here, if not building one # we may not add MACOSX_BUNDLE here, if not building one
else() else()
target_sources(${APPLICATION_EXECUTABLE} PRIVATE ${OWNCLOUD_BUNDLED_RESOURCE S}) target_sources(${APPLICATION_EXECUTABLE} PRIVATE ${OWNCLOUD_BUNDLED_RESOURCE S})
 End of changes. 3 change blocks. 
12 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)