Blame SOURCES/evolution-data-server-3.28.2-cmake-version.patch

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