|
|
b57bd2 |
diff -up evolution-3.28.2/CMakeLists.txt.cmake-version evolution-3.28.2/CMakeLists.txt
|
|
|
b57bd2 |
--- evolution-3.28.2/CMakeLists.txt.cmake-version 2018-05-07 04:10:55.000000000 -0400
|
|
|
b57bd2 |
+++ evolution-3.28.2/CMakeLists.txt 2018-06-01 04:24:26.509659160 -0400
|
|
|
b57bd2 |
@@ -1,11 +1,15 @@
|
|
|
b57bd2 |
# Evolution build script
|
|
|
b57bd2 |
|
|
|
b57bd2 |
-cmake_minimum_required(VERSION 3.1)
|
|
|
b57bd2 |
-cmake_policy(VERSION 3.1)
|
|
|
b57bd2 |
+cmake_minimum_required(VERSION 2.8)
|
|
|
b57bd2 |
+cmake_policy(VERSION 2.8)
|
|
|
b57bd2 |
+
|
|
|
b57bd2 |
+project(evolution C)
|
|
|
b57bd2 |
+set(PROJECT_VERSION_MAJOR 3)
|
|
|
b57bd2 |
+set(PROJECT_VERSION_MINOR 28)
|
|
|
b57bd2 |
+set(PROJECT_VERSION_PATCH 5)
|
|
|
b57bd2 |
+set(PROJECT_VERSION_TWEAK 0)
|
|
|
b57bd2 |
+set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
|
|
b57bd2 |
|
|
|
b57bd2 |
-project(evolution
|
|
|
b57bd2 |
- VERSION 3.28.5
|
|
|
b57bd2 |
- LANGUAGES C)
|
|
|
b57bd2 |
set(PROJECT_BUGREPORT "https://gitlab.gnome.org/GNOME/evolution/issues/")
|
|
|
b57bd2 |
set(PROJECT_URL "http://wiki.gnome.org/Apps/Evolution/")
|
|
|
b57bd2 |
|
|
|
b57bd2 |
diff -up evolution-3.28.2/cmake/modules/FindIntltool.cmake.cmake-version evolution-3.28.2/cmake/modules/FindIntltool.cmake
|
|
|
b57bd2 |
--- evolution-3.28.2/cmake/modules/FindIntltool.cmake.cmake-version 2018-05-07 04:10:55.000000000 -0400
|
|
|
b57bd2 |
+++ evolution-3.28.2/cmake/modules/FindIntltool.cmake 2018-06-01 04:24:26.510659154 -0400
|
|
|
b57bd2 |
@@ -92,7 +92,7 @@ macro(intltool_add_pot_file_target)
|
|
|
b57bd2 |
endif(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL GETTEXT_PO_DIR)
|
|
|
b57bd2 |
|
|
|
b57bd2 |
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${GETTEXT_PACKAGE}.pot
|
|
|
b57bd2 |
- COMMAND ${CMAKE_COMMAND} -E env INTLTOOL_EXTRACT="${INTLTOOL_EXTRACT}" XGETTEXT="${XGETTEXT}" srcdir=${CMAKE_CURRENT_SOURCE_DIR} ${INTLTOOL_UPDATE} --gettext-package ${GETTEXT_PACKAGE} --pot
|
|
|
b57bd2 |
+ COMMAND env INTLTOOL_EXTRACT="${INTLTOOL_EXTRACT}" XGETTEXT="${XGETTEXT}" srcdir=${CMAKE_CURRENT_SOURCE_DIR} ${INTLTOOL_UPDATE} --gettext-package ${GETTEXT_PACKAGE} --pot
|
|
|
b57bd2 |
)
|
|
|
b57bd2 |
|
|
|
b57bd2 |
add_custom_target(pot-file
|
|
|
b57bd2 |
diff -up evolution-3.28.2/cmake/modules/GtkDoc.cmake.cmake-version evolution-3.28.2/cmake/modules/GtkDoc.cmake
|
|
|
b57bd2 |
--- evolution-3.28.2/cmake/modules/GtkDoc.cmake.cmake-version 2018-05-07 04:10:55.000000000 -0400
|
|
|
b57bd2 |
+++ evolution-3.28.2/cmake/modules/GtkDoc.cmake 2018-06-01 04:24:26.510659154 -0400
|
|
|
b57bd2 |
@@ -60,7 +60,7 @@ macro(add_gtkdoc _module _namespace _dep
|
|
|
b57bd2 |
|
|
|
b57bd2 |
set(_mkhtml_prefix "")
|
|
|
b57bd2 |
if(APPLE)
|
|
|
b57bd2 |
- set(_mkhtml_prefix "${CMAKE_COMMAND} -E env XML_CATALOG_FILES=\"/usr/local/etc/xml/catalog\"")
|
|
|
b57bd2 |
+ set(_mkhtml_prefix "env XML_CATALOG_FILES=\"/usr/local/etc/xml/catalog\"")
|
|
|
b57bd2 |
endif(APPLE)
|
|
|
b57bd2 |
|
|
|
b57bd2 |
add_custom_command(OUTPUT html/index.html
|
|
|
b57bd2 |
diff -up evolution-3.28.2/help/CMakeLists.txt.cmake-version evolution-3.28.2/help/CMakeLists.txt
|
|
|
b57bd2 |
--- evolution-3.28.2/help/CMakeLists.txt.cmake-version 2018-06-01 04:26:12.959982887 -0400
|
|
|
b57bd2 |
+++ evolution-3.28.2/help/CMakeLists.txt 2018-06-01 04:26:31.499863232 -0400
|
|
|
b57bd2 |
@@ -264,7 +264,7 @@ macro(create_help_files_for_lang _lang _
|
|
|
b57bd2 |
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_lang}/index.page
|
|
|
b57bd2 |
COMMAND ${CMAKE_COMMAND} -E make_directory "${CMAKE_CURRENT_BINARY_DIR}/${_lang}"
|
|
|
b57bd2 |
COMMAND ${GETTEXT_MSGFMT_EXECUTABLE} -o "${mofile}" "${pofile}"
|
|
|
b57bd2 |
- COMMAND ${CMAKE_COMMAND} -E env d="${CMAKE_CURRENT_SOURCE_DIR}/C"
|
|
|
b57bd2 |
+ COMMAND env d="${CMAKE_CURRENT_SOURCE_DIR}/C"
|
|
|
b57bd2 |
itstool -m "${mofile}" ${${_helpfilesvar}} --output ${CMAKE_CURRENT_BINARY_DIR}/${_lang}/
|
|
|
b57bd2 |
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/C
|
|
|
b57bd2 |
COMMENT "Generating '${_lang}' help files"
|