From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E0D94138330 for ; Fri, 25 May 2018 19:36:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED3EAE087E; Fri, 25 May 2018 19:36:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A73ECE087E for ; Fri, 25 May 2018 19:36:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0800E335C8C for ; Fri, 25 May 2018 19:36:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBBFF2A4 for ; Fri, 25 May 2018 19:36:18 +0000 (UTC) From: "Amy Liffey" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amy Liffey" Message-ID: <1527276949.002d99b2bfde3f4dfc53c79087b6367ee2cf704d.amynka@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/opencv/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/opencv/files/opencv-3.1.0-cmake-no-opengl.patch media-libs/opencv/files/opencv-3.1.0-git-autodetect.patch media-libs/opencv/files/opencv-3.1.0-remove-graphcut-for-cuda-8.patch X-VCS-Directories: media-libs/opencv/files/ X-VCS-Committer: amynka X-VCS-Committer-Name: Amy Liffey X-VCS-Revision: 002d99b2bfde3f4dfc53c79087b6367ee2cf704d X-VCS-Branch: master Date: Fri, 25 May 2018 19:36:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 6c5d9ea3-777f-4e54-b723-63f406e69599 X-Archives-Hash: bf1dc4275ca7a5ce25786e138f2dcb14 commit: 002d99b2bfde3f4dfc53c79087b6367ee2cf704d Author: Amy Liffey gentoo org> AuthorDate: Fri May 25 19:35:49 2018 +0000 Commit: Amy Liffey gentoo org> CommitDate: Fri May 25 19:35:49 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=002d99b2 media-libs/opencv: remove unused patches Package-Manager: Portage-2.3.24, Repoman-2.3.6 .../files/opencv-3.1.0-cmake-no-opengl.patch | 22 ------------ .../opencv/files/opencv-3.1.0-git-autodetect.patch | 42 ---------------------- .../opencv-3.1.0-remove-graphcut-for-cuda-8.patch | 23 ------------ 3 files changed, 87 deletions(-) diff --git a/media-libs/opencv/files/opencv-3.1.0-cmake-no-opengl.patch b/media-libs/opencv/files/opencv-3.1.0-cmake-no-opengl.patch deleted file mode 100644 index d6d70d717d3..00000000000 --- a/media-libs/opencv/files/opencv-3.1.0-cmake-no-opengl.patch +++ /dev/null @@ -1,22 +0,0 @@ -From cdb9c60dcb65e04e7c0bd6bef9b86841191c785a Mon Sep 17 00:00:00 2001 -From: Alexander Alekhin -Date: Thu, 31 Dec 2015 02:24:54 +0300 -Subject: [PATCH] gpu samples: fix REMOVE_ITEM error - ---- - samples/gpu/CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/samples/gpu/CMakeLists.txt b/samples/gpu/CMakeLists.txt -index 6085cac..852a8c2 100644 ---- a/samples/gpu/CMakeLists.txt -+++ b/samples/gpu/CMakeLists.txt -@@ -97,7 +97,7 @@ endif() - if(INSTALL_C_EXAMPLES AND NOT WIN32) - file(GLOB install_list *.c *.cpp *.jpg *.png *.data makefile.* build_all.sh *.dsp *.cmd ) - if(NOT WITH_OPENGL) -- list(REMOVE_ITEM all_samples "opengl.cpp") -+ list(REMOVE_ITEM install_list "opengl.cpp") - endif(NOT WITH_OPENGL) - install(FILES ${install_list} - DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}/gpu diff --git a/media-libs/opencv/files/opencv-3.1.0-git-autodetect.patch b/media-libs/opencv/files/opencv-3.1.0-git-autodetect.patch deleted file mode 100644 index f4bf0da2cc9..00000000000 --- a/media-libs/opencv/files/opencv-3.1.0-git-autodetect.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- a/CMakeLists.txt 2016-04-07 14:34:35.090937125 +0200 -+++ b/CMakeLists.txt 2016-04-07 14:35:18.492935300 +0200 -@@ -444,23 +444,23 @@ - # ---------------------------------------------------------------------------- - # Autodetect if we are in a GIT repository - # ---------------------------------------------------------------------------- --find_host_package(Git QUIET) -+#find_host_package(Git QUIET) - --if(GIT_FOUND) -- execute_process(COMMAND "${GIT_EXECUTABLE}" describe --tags --always --dirty --match "[0-9].[0-9].[0-9]*" -- WORKING_DIRECTORY "${OpenCV_SOURCE_DIR}" -- OUTPUT_VARIABLE OPENCV_VCSVERSION -- RESULT_VARIABLE GIT_RESULT -- ERROR_QUIET -- OUTPUT_STRIP_TRAILING_WHITESPACE -- ) -- if(NOT GIT_RESULT EQUAL 0) -- set(OPENCV_VCSVERSION "unknown") -- endif() --else() -- # We don't have git: -- set(OPENCV_VCSVERSION "unknown") --endif() -+#if(GIT_FOUND) -+# execute_process(COMMAND "${GIT_EXECUTABLE}" describe --tags --always --dirty --match "[0-9].[0-9].[0-9]*" -+# WORKING_DIRECTORY "${OpenCV_SOURCE_DIR}" -+# OUTPUT_VARIABLE OPENCV_VCSVERSION -+# RESULT_VARIABLE GIT_RESULT -+# ERROR_QUIET -+# OUTPUT_STRIP_TRAILING_WHITESPACE -+# ) -+# if(NOT GIT_RESULT EQUAL 0) -+# set(OPENCV_VCSVERSION "unknown") -+# endif() -+#else() -+# # We don't have git: -+# set(OPENCV_VCSVERSION "unknown") -+#endif() - - - # ---------------------------------------------------------------------------- diff --git a/media-libs/opencv/files/opencv-3.1.0-remove-graphcut-for-cuda-8.patch b/media-libs/opencv/files/opencv-3.1.0-remove-graphcut-for-cuda-8.patch deleted file mode 100644 index 64761a263a1..00000000000 --- a/media-libs/opencv/files/opencv-3.1.0-remove-graphcut-for-cuda-8.patch +++ /dev/null @@ -1,23 +0,0 @@ -From 10896129b39655e19e4e7c529153cb5c2191a1db Mon Sep 17 00:00:00 2001 -From: Vladislav Vinogradov -Date: Fri, 6 May 2016 11:37:32 +0300 -Subject: [PATCH] GraphCut deprecated in CUDA 7.5 and removed in 8.0 - ---- - modules/cudalegacy/src/graphcuts.cpp | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/modules/cudalegacy/src/graphcuts.cpp b/modules/cudalegacy/src/graphcuts.cpp -index eb08c3c..1a1eb85 100644 ---- a/modules/cudalegacy/src/graphcuts.cpp -+++ b/modules/cudalegacy/src/graphcuts.cpp -@@ -42,7 +42,8 @@ - - #include "precomp.hpp" - --#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER) -+// GraphCut has been removed in NPP 8.0 -+#if !defined (HAVE_CUDA) || defined (CUDA_DISABLER) || (CUDART_VERSION >= 8000) - - void cv::cuda::graphcut(GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, Stream&) { throw_no_cuda(); } - void cv::cuda::graphcut(GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, GpuMat&, Stream&) { throw_no_cuda(); }