"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CMakeLists.txt" between
krita-5.1.3.tar.xz and krita-5.1.4.tar.xz

About: Krita is a painting program offering art tools for everyone (concept art, texture and matte painters, illustrations and comics).

CMakeLists.txt  (krita-5.1.3.tar.xz):CMakeLists.txt  (krita-5.1.4.tar.xz)
skipping to change at line 100 skipping to change at line 100
endif() endif()
###################### ######################
####################### #######################
## Constants defines ## ## Constants defines ##
####################### #######################
###################### ######################
# define common versions of Krita applications, used to generate kritaversion.h # define common versions of Krita applications, used to generate kritaversion.h
# update these version for every release: # update these version for every release:
set(KRITA_VERSION_STRING "5.1.3") set(KRITA_VERSION_STRING "5.1.4")
# Major version: 3 for 3.x, 4 for 4.x, etc. # Major version: 3 for 3.x, 4 for 4.x, etc.
set(KRITA_STABLE_VERSION_MAJOR 5) set(KRITA_STABLE_VERSION_MAJOR 5)
# Minor version: 0 for 4.0, 1 for 4.1, etc. # Minor version: 0 for 4.0, 1 for 4.1, etc.
set(KRITA_STABLE_VERSION_MINOR 1) set(KRITA_STABLE_VERSION_MINOR 1)
# Bugfix release version, or 0 for before the first stable release # Bugfix release version, or 0 for before the first stable release
set(KRITA_VERSION_RELEASE 3) set(KRITA_VERSION_RELEASE 4)
# the 4th digit, really only used for the Windows installer: # the 4th digit, really only used for the Windows installer:
# - [Pre-]Alpha: Starts from 0, increment 1 per release # - [Pre-]Alpha: Starts from 0, increment 1 per release
# - Beta: Starts from 50, increment 1 per release # - Beta: Starts from 50, increment 1 per release
# - Stable: Set to 100, bump to 101 if emergency update is needed # - Stable: Set to 100, bump to 101 if emergency update is needed
set(KRITA_VERSION_REVISION 100) set(KRITA_VERSION_REVISION 100)
# Uncomment the following if this is currently in the "stable" branch. # Uncomment the following if this is currently in the "stable" branch.
# Do not uncomment for master branch. # Do not uncomment for master branch.
set(KRITA_STABLE_BRANCH 1) set(KRITA_STABLE_BRANCH 1)
#set(KRITA_ALPHA 1) # uncomment only for Alpha #set(KRITA_ALPHA 1) # uncomment only for Alpha
#set(KRITA_BETA 1) # uncomment only for Beta #set(KRITA_BETA 1) # uncomment only for Beta
skipping to change at line 1121 skipping to change at line 1121
${KF5_LIBRARIES}/libKF5WindowSystem.so ${KF5_LIBRARIES}/libKF5WindowSystem.so
${KF5_LIBRARIES}/libKF5WidgetsAddons.so ${KF5_LIBRARIES}/libKF5WidgetsAddons.so
${KF5_LIBRARIES}/libKF5ItemViews.so ${KF5_LIBRARIES}/libKF5ItemViews.so
${KF5_LIBRARIES}/libKF5ItemModels.so ${KF5_LIBRARIES}/libKF5ItemModels.so
${KF5_LIBRARIES}/libKF5GuiAddons.so ${KF5_LIBRARIES}/libKF5GuiAddons.so
${KF5_LIBRARIES}/libKF5I18n.so ${KF5_LIBRARIES}/libKF5I18n.so
${KF5_LIBRARIES}/libKF5CoreAddons.so ${KF5_LIBRARIES}/libKF5CoreAddons.so
${KF5_LIBRARIES}/libKF5ConfigGui.so ${KF5_LIBRARIES}/libKF5ConfigGui.so
${KF5_LIBRARIES}/libKF5ConfigCore.so) ${KF5_LIBRARIES}/libKF5ConfigCore.so)
# Source translations if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/po)
option(FETCH_TRANSLATIONS "Retrieve translations before building Krita" OFF)
add_feature_info("Retrieve translations before building" FETCH_TRANSLATIONS "Ret
rieve the translations from KDE before building Krita")
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/po AND FETCH_TRANSLATIONS)
find_package(Python3 COMPONENTS Interpreter REQUIRED)
set_package_properties(Python3 PROPERTIES
DESCRIPTION "Python is an interpreted, high-level and general-purpose pr
ogramming language."
URL "https://python.org/"
TYPE OPTIONAL
PURPOSE "Required to manually parse and fetch available translations.")
find_package(Subversion 1.4)
set_package_properties(Subversion PROPERTIES
DESCRIPTION "Subversion is an open source version control system"
URL "https://subversion.apache.org/"
TYPE OPTIONAL
PURPOSE "Required to access the KDE i18n repository.")
if (Subversion_FOUND AND Python3_FOUND)
set(TRANSLATIONS ${CMAKE_CURRENT_BINARY_DIR}/po)
if (DEFINED KRITA_STABLE_BRANCH)
set(tr_EXTRA_FLAGS "")
else()
set(tr_EXTRA_FLAGS "--unstable")
endif()
get_filename_component(absolute_podir ${TRANSLATIONS} ABSOLUTE)
string(MD5 pathmd5 ${absolute_podir})
find_file (KRITA_PO_SCRIPT copy_po.py PATHS ${CMAKE_CURRENT_SOURCE_DIR}/
build-tools REQUIRED CMAKE_FIND_ROOT_PATH_BOTH)
if (NOT TARGET fetch-${pathmd5})
file(MAKE_DIRECTORY ${TRANSLATIONS})
add_custom_target(fetch-${pathmd5}
COMMENT "Retrieving translations..."
COMMAND ${Python3_EXECUTABLE} ${KRITA_PO_SCRIPT} ${tr_EXTRA_FLAG
S}
BYPRODUCTS ${TRANSLATIONS}
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
endif()
endif()
endif()
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/po OR EXISTS ${CMAKE_CURRENT_BINARY_DIR}/p
o )
find_package(KF5I18n CONFIG REQUIRED) find_package(KF5I18n CONFIG REQUIRED)
ki18n_install(po) ki18n_install(po)
if (TRANSLATIONS)
add_dependencies(pofiles-${pathmd5} fetch-${pathmd5})
add_dependencies(tsfiles-${pathmd5} fetch-${pathmd5})
endif()
endif() endif()
## ##
## Test for Atomics ## Test for Atomics
## ##
include(CheckAtomic) include(CheckAtomic)
############################ ############################
############################# #############################
## Add Krita helper macros ## ## Add Krita helper macros ##
 End of changes. 4 change blocks. 
56 lines changed or deleted 3 lines changed or added

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