summaryrefslogtreecommitdiffstats
path: root/src/opencv-3-fixes-pkgconfig.patch
Commit message (Collapse)AuthorAgeFilesLines
* Copyright headers: point to LICENSE.md and shortenBoris Nagaev2016-08-271-2/+1
| | | | | | | | | | | | | | | | | | | The following script was applied: sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE') sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \ $(git grep -l 'part of MXE.*See index.html') before='This file is part of MXE. See index.html for further information.' after='This file is part of MXE. See LICENSE.md for licensing information.' sed "s/$before/$after/" -i $(git grep -l 'part of MXE') Then git grep 'index.html for further information' revealed two other files. One of them was patched manually (patch.mk). Makefile has text "See index.html for further information" unrelated to licensing. See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
* OpenCV: Fix paths and add shared supportSérgio Faria2015-01-071-0/+157
Tested with x86_64-w64-mingw32.static and x86_64-w64-mingw32.shared. Cherrypicks an upstream commit that cleanups the pkg-config file. Also removes the version postfix on Windows dll's (matching other platforms). These changes allows us to easilly support shared builds. Removing the postfix avoids breaking programs that only link to a subset of opencv modules, everytime a new version is released. It should be noted that OpenCV forces static linking of libopencv_ts. There are also 3 files that are left at usr/<triplet>/ that this commit does not attempt to fix (LICENSE, OpenCVConfig.cmake and OpenCVConfig-version.cmake). They cannot be moved to lib/ because a different OpenCVConfig.cmake is placed there. On Ubuntu, for example, those cmake files are in /usr/share/OpenCV/.