|
|
e18a50 |
diff -up evolution-data-server-3.28.2/CMakeLists.txt.cmake-version evolution-data-server-3.28.2/CMakeLists.txt
|
|
|
e18a50 |
--- evolution-data-server-3.28.2/CMakeLists.txt.cmake-version 2018-05-07 04:03:27.000000000 -0400
|
|
|
e18a50 |
+++ evolution-data-server-3.28.2/CMakeLists.txt 2018-06-01 02:47:48.476438577 -0400
|
|
|
e18a50 |
@@ -1,12 +1,16 @@
|
|
|
e18a50 |
# Evolution-Data-Server build script
|
|
|
e18a50 |
|
|
|
e18a50 |
-cmake_minimum_required(VERSION 3.1)
|
|
|
e18a50 |
-cmake_policy(VERSION 3.1)
|
|
|
e18a50 |
+cmake_minimum_required(VERSION 2.8)
|
|
|
e18a50 |
+cmake_policy(VERSION 2.8)
|
|
|
e18a50 |
|
|
|
e18a50 |
-project(evolution-data-server
|
|
|
e18a50 |
- VERSION 3.28.5
|
|
|
e18a50 |
- LANGUAGES C CXX)
|
|
|
e18a50 |
-set(CMAKE_CXX_STANDARD 14)
|
|
|
e18a50 |
+project(evolution-data-server C CXX)
|
|
|
e18a50 |
+set(PROJECT_VERSION_MAJOR 3)
|
|
|
e18a50 |
+set(PROJECT_VERSION_MINOR 28)
|
|
|
e18a50 |
+set(PROJECT_VERSION_PATCH 5)
|
|
|
e18a50 |
+set(PROJECT_VERSION_TWEAK 0)
|
|
|
e18a50 |
+set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH})
|
|
|
e18a50 |
+
|
|
|
e18a50 |
+#set(CMAKE_CXX_STANDARD 14)
|
|
|
e18a50 |
set(PROJECT_BUGREPORT "https://gitlab.gnome.org/GNOME/evolution-data-server/issues/")
|
|
|
e18a50 |
|
|
|
e18a50 |
# Base Version: This is for API/version tracking for things like
|
|
|
e18a50 |
diff -up evolution-data-server-3.28.2/cmake/modules/FindIntltool.cmake.cmake-version evolution-data-server-3.28.2/cmake/modules/FindIntltool.cmake
|
|
|
e18a50 |
--- evolution-data-server-3.28.2/cmake/modules/FindIntltool.cmake.cmake-version 2018-06-01 02:55:49.695451836 -0400
|
|
|
e18a50 |
+++ evolution-data-server-3.28.2/cmake/modules/FindIntltool.cmake 2018-06-01 02:56:39.955247217 -0400
|
|
|
e18a50 |
@@ -92,7 +92,7 @@ macro(intltool_add_pot_file_target)
|
|
|
e18a50 |
endif(NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL GETTEXT_PO_DIR)
|
|
|
e18a50 |
|
|
|
e18a50 |
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${GETTEXT_PACKAGE}.pot
|
|
|
e18a50 |
- COMMAND ${CMAKE_COMMAND} -E env INTLTOOL_EXTRACT="${INTLTOOL_EXTRACT}" XGETTEXT="${XGETTEXT}" srcdir=${CMAKE_CURRENT_SOURCE_DIR} ${INTLTOOL_UPDATE} --gettext-package ${GETTEXT_PACKAGE} --pot
|
|
|
e18a50 |
+ COMMAND env INTLTOOL_EXTRACT="${INTLTOOL_EXTRACT}" XGETTEXT="${XGETTEXT}" srcdir=${CMAKE_CURRENT_SOURCE_DIR} ${INTLTOOL_UPDATE} --gettext-package ${GETTEXT_PACKAGE} --pot
|
|
|
e18a50 |
)
|
|
|
e18a50 |
|
|
|
e18a50 |
add_custom_target(pot-file
|
|
|
e18a50 |
diff -up evolution-data-server-3.28.2/cmake/modules/GObjectIntrospection.cmake.cmake-version evolution-data-server-3.28.2/cmake/modules/GObjectIntrospection.cmake
|
|
|
e18a50 |
--- evolution-data-server-3.28.2/cmake/modules/GObjectIntrospection.cmake.cmake-version 2018-05-07 04:03:27.000000000 -0400
|
|
|
e18a50 |
+++ evolution-data-server-3.28.2/cmake/modules/GObjectIntrospection.cmake 2018-06-01 02:58:26.538809013 -0400
|
|
|
e18a50 |
@@ -116,7 +116,7 @@ macro(gir_add_introspection gir)
|
|
|
e18a50 |
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/${_gir_name}_files "${_gir_files}")
|
|
|
e18a50 |
|
|
|
e18a50 |
add_custom_command(
|
|
|
e18a50 |
- COMMAND ${CMAKE_COMMAND} -E env "CC='${CMAKE_C_COMPILER}'" LDFLAGS=
|
|
|
e18a50 |
+ COMMAND env "CC='${CMAKE_C_COMPILER}'" LDFLAGS=
|
|
|
e18a50 |
${INTROSPECTION_SCANNER_ENV}
|
|
|
e18a50 |
${G_IR_SCANNER}
|
|
|
e18a50 |
${INTROSPECTION_SCANNER_ARGS}
|
|
|
e18a50 |
diff -up evolution-data-server-3.28.2/cmake/modules/GtkDoc.cmake.cmake-version evolution-data-server-3.28.2/cmake/modules/GtkDoc.cmake
|
|
|
e18a50 |
--- evolution-data-server-3.28.2/cmake/modules/GtkDoc.cmake.cmake-version 2018-06-01 02:55:38.599497013 -0400
|
|
|
e18a50 |
+++ evolution-data-server-3.28.2/cmake/modules/GtkDoc.cmake 2018-06-01 02:56:22.587317927 -0400
|
|
|
e18a50 |
@@ -60,7 +60,7 @@ macro(add_gtkdoc _module _namespace _dep
|
|
|
e18a50 |
|
|
|
e18a50 |
set(_mkhtml_prefix "")
|
|
|
e18a50 |
if(APPLE)
|
|
|
e18a50 |
- set(_mkhtml_prefix "${CMAKE_COMMAND} -E env XML_CATALOG_FILES=\"/usr/local/etc/xml/catalog\"")
|
|
|
e18a50 |
+ set(_mkhtml_prefix "env XML_CATALOG_FILES=\"/usr/local/etc/xml/catalog\"")
|
|
|
e18a50 |
endif(APPLE)
|
|
|
e18a50 |
|
|
|
e18a50 |
add_custom_command(OUTPUT html/index.html
|