annotate src/opencv-1-fixes.patch @ 6113:24e29dcb2e64

Qt5: Update to version 5.15.3. * src/qtbase.mk: Update version and checksum. * src/qtbase-2-gcc11.patch: Remove hunks from patch that have been applied upstream. * src/qtimageformats.mk, src/qtsvg.mk, src/qttools.mk, src/qttranslationse.mk: Update checksum.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 05 Mar 2022 10:59:53 +0100
parents a2fea654ff63
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5172
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
1 Common subdirectories: opencv-3.4.3.orig/3rdparty and opencv-3.4.3/3rdparty
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
2 Common subdirectories: opencv-3.4.3.orig/apps and opencv-3.4.3/apps
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
3 Common subdirectories: opencv-3.4.3.orig/cmake and opencv-3.4.3/cmake
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
4 diff -ut opencv-3.4.3.orig/CMakeLists.txt opencv-3.4.3/CMakeLists.txt
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
5 --- opencv-3.4.3.orig/CMakeLists.txt 2019-10-02 15:01:47.179900886 -0400
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
6 +++ opencv-3.4.3/CMakeLists.txt 2019-10-02 15:19:18.363163935 -0400
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
7 @@ -39,7 +39,7 @@
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
8 if(NOT CMAKE_TOOLCHAIN_FILE)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
9 # it _must_ go before project(OpenCV) in order to work
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
10 if(WIN32)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
11 - set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Installation Directory")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
12 + #set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Installation Directory")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
13 else()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
14 set(CMAKE_INSTALL_PREFIX "/usr/local" CACHE PATH "Installation Directory")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
15 endif()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
16 @@ -47,7 +47,7 @@
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
17 #Android: set output folder to ${CMAKE_BINARY_DIR}
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
18 set(LIBRARY_OUTPUT_PATH_ROOT ${CMAKE_BINARY_DIR} CACHE PATH "root for library output, set this to change where android libs are compiled to" )
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
19 # any cross-compiling
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
20 - set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Installation Directory")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
21 + #set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Installation Directory")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
22 endif()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
23 endif()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
24
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
25 @@ -377,14 +377,7 @@
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
26 ocv_update(OPENCV_DOC_INSTALL_PATH share/OpenCV/doc)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
27 endif()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
28
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
29 -if(WIN32 AND CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
30 - if(DEFINED OpenCV_RUNTIME AND DEFINED OpenCV_ARCH)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
31 - ocv_update(OpenCV_INSTALL_BINARIES_PREFIX "${OpenCV_ARCH}/${OpenCV_RUNTIME}/")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
32 - else()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
33 - message(STATUS "Can't detect runtime and/or arch")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
34 - ocv_update(OpenCV_INSTALL_BINARIES_PREFIX "")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
35 - endif()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
36 -elseif(ANDROID)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
37 +if(ANDROID)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
38 ocv_update(OpenCV_INSTALL_BINARIES_PREFIX "sdk/native/")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
39 else()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
40 ocv_update(OpenCV_INSTALL_BINARIES_PREFIX "")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
41 @@ -433,11 +426,8 @@
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
42 ocv_update(3P_LIBRARY_OUTPUT_PATH "${OpenCV_BINARY_DIR}/3rdparty/lib${LIB_SUFFIX}")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
43
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
44 if(WIN32 AND CMAKE_HOST_SYSTEM_NAME MATCHES Windows)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
45 - if(OpenCV_STATIC)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
46 - ocv_update(OPENCV_LIB_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}staticlib${LIB_SUFFIX}")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
47 - else()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
48 - ocv_update(OPENCV_LIB_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}lib${LIB_SUFFIX}")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
49 - endif()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
50 + ocv_update(OPENCV_LIB_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}lib${LIB_SUFFIX}")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
51 + ocv_update(OPENCV_3P_LIB_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}lib${LIB_SUFFIX}")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
52 ocv_update(OPENCV_3P_LIB_INSTALL_PATH "${OpenCV_INSTALL_BINARIES_PREFIX}staticlib${LIB_SUFFIX}")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
53 ocv_update(OPENCV_SAMPLES_SRC_INSTALL_PATH samples)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
54 ocv_update(OPENCV_JAR_INSTALL_PATH java)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
55 @@ -495,15 +485,9 @@
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
56 set(OPENCV_LIB_ARCHIVE_INSTALL_PATH ${OPENCV_LIB_INSTALL_PATH})
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
57 endif()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
58
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
59 -if(WIN32)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
60 - # Postfix of DLLs:
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
61 - set(OPENCV_DLLVERSION "${OPENCV_VERSION_MAJOR}${OPENCV_VERSION_MINOR}${OPENCV_VERSION_PATCH}")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
62 - set(OPENCV_DEBUG_POSTFIX d)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
63 -else()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
64 - # Postfix of so's:
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
65 - set(OPENCV_DLLVERSION "")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
66 - set(OPENCV_DEBUG_POSTFIX "")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
67 -endif()
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
68 +# Postfix of so's:
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
69 +set(OPENCV_DLLVERSION "")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
70 +set(OPENCV_DEBUG_POSTFIX "")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
71
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
72 if(DEFINED CMAKE_DEBUG_POSTFIX)
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
73 set(OPENCV_DEBUG_POSTFIX "${CMAKE_DEBUG_POSTFIX}")
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
74 Common subdirectories: opencv-3.4.3.orig/data and opencv-3.4.3/data
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
75 Common subdirectories: opencv-3.4.3.orig/doc and opencv-3.4.3/doc
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
76 Common subdirectories: opencv-3.4.3.orig/include and opencv-3.4.3/include
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
77 Common subdirectories: opencv-3.4.3.orig/modules and opencv-3.4.3/modules
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
78 Common subdirectories: opencv-3.4.3.orig/platforms and opencv-3.4.3/platforms
a2fea654ff63 Add OpenCV
John Donoghue
parents:
diff changeset
79 Common subdirectories: opencv-3.4.3.orig/samples and opencv-3.4.3/samples