Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages /
opencv
Commits:
d0582330 by Christian Heusel at 2026-05-29T18:57:38+02:00
upgpkg: 4.13.0-7: Rebuild packages for protobuf 35.0
- - - - -
4 changed files:
- .SRCINFO
- PKGBUILD
- REUSE.toml
- + fix-thrust-tuple.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = opencv
pkgdesc = Open Source Computer Vision Library
pkgver = 4.13.0
- pkgrel = 6
+ pkgrel = 7
url = https://opencv.org/
arch = x86_64
license = Apache-2.0
@@ -65,6 +65,7 @@ pkgbase = opencv
source = fix-cudacodec-dependencies.patch
source = fix-cccl-namespace.patch
source = fix-std.patch
+ source = fix-thrust-tuple.patch
sha256sums =
efc754fc3888944007586133fc225f0136d1767020564b81e4d90f51e9d68b60
sha256sums =
3fc521a16314978de02d5b33e657a09a9567429d5801d3fb94e35581ea44d729
sha256sums =
f35a2d4ea0d6212c7798659e59eda2cb0b5bc858360f7ce9c696c77d3029668e
@@ -72,6 +73,7 @@ pkgbase = opencv
sha256sums =
fbb10b75ca7849f85ea2f118aa017f00e34445d80ed76619f13ae1e4e9504ae4
sha256sums =
b757be8df583cb3fa0059e47594eeb680638c572d3ae02bc1a5f7636e71ce5be
sha256sums =
c05fe7572ee5193cf3de7f02a500f446f3457ec20c315590a326bf1bfb5552cc
+ sha256sums =
6379b0f23ba4068d2daa43ec158e515f58ef36242138eb10f752a93dc1cec375
pkgname = opencv
=====================================
PKGBUILD
=====================================
@@ -9,7 +9,7 @@ pkgname=(opencv
opencv-cuda
python-opencv-cuda)
pkgver=4.13.0
-pkgrel=6
+pkgrel=7
pkgdesc='Open Source Computer Vision Library'
arch=(x86_64)
license=(Apache-2.0)
@@ -72,14 +72,16 @@ source=(git+https://github.com/opencv/opencv#tag=$pkgver
fix-cuda-flags.patch
fix-cudacodec-dependencies.patch
fix-cccl-namespace.patch
- fix-std.patch)
+ fix-std.patch
+ fix-thrust-tuple.patch)
sha256sums=('efc754fc3888944007586133fc225f0136d1767020564b81e4d90f51e9d68b60'
'3fc521a16314978de02d5b33e657a09a9567429d5801d3fb94e35581ea44d729'
'f35a2d4ea0d6212c7798659e59eda2cb0b5bc858360f7ce9c696c77d3029668e'
'95472ecfc2693c606f0dd50be2f012b4d683b7b0a313f51484da4537ab8b2bfe'
'fbb10b75ca7849f85ea2f118aa017f00e34445d80ed76619f13ae1e4e9504ae4'
'b757be8df583cb3fa0059e47594eeb680638c572d3ae02bc1a5f7636e71ce5be'
- 'c05fe7572ee5193cf3de7f02a500f446f3457ec20c315590a326bf1bfb5552cc')
+ 'c05fe7572ee5193cf3de7f02a500f446f3457ec20c315590a326bf1bfb5552cc'
+ '6379b0f23ba4068d2daa43ec158e515f58ef36242138eb10f752a93dc1cec375')
options=(!lto) #
https://gitlab.archlinux.org/archlinux/packaging/packages/kdenlive/-/issues/8
prepare() {
@@ -97,6 +99,9 @@ prepare() {
patch -p1 -i ../fix-cudacodec-dependencies.patch #
https://github.com/opencv/opencv_contrib/issues/4045
patch -p1 -i ../fix-cccl-namespace.patch #
https://github.com/opencv/opencv_contrib/pull/4097
patch -p1 -i ../fix-std.patch
+
+ # Fix build failure regarding tuple
+ patch -p1 -i ../fix-thrust-tuple.patch
}
build() {
=====================================
REUSE.toml
=====================================
@@ -6,10 +6,13 @@ path = [
"README.md",
"keys/**",
".SRCINFO",
+ ".gitignore",
".nvchecker.toml",
"*.install",
"*.sysusers",
+ "*sysusers.conf",
"*.tmpfiles",
+ "*tmpfiles.conf",
"*.logrotate",
"*.pam",
"*.service",
@@ -27,6 +30,7 @@ path = [
"fix-cuda-flags.patch",
"fix-cudacodec-dependencies.patch",
"fix-std.patch",
+ "fix-thrust-tuple.patch",
"vtk9.patch",
]
SPDX-FileCopyrightText = "opencv contributors"
=====================================
fix-thrust-tuple.patch
=====================================
@@ -0,0 +1,12 @@
+diff --git a/modules/videostab/src/cuda/global_motion.cu
b/modules/videostab/src/cuda/global_motion.cu
+index c20ccfc2e..dbd3419c3 100644
+--- a/modules/videostab/src/cuda/global_motion.cu
++++ b/modules/videostab/src/cuda/global_motion.cu
+@@ -45,6 +45,7 @@
+ #include <thrust/device_ptr.h>
+ #include <thrust/remove.h>
+ #include <thrust/functional.h>
++#include <thrust/tuple.h>
+ #include "opencv2/core/cuda/common.hpp"
+
+ namespace cv { namespace cuda { namespace device { namespace globmotion {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/opencv/-/commit/d0582330b799cb20d992cf9b64e81ebdab11a092
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/opencv/-/commit/d0582330b799cb20d992cf9b64e81ebdab11a092
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help