From: Tomasz Jeneralczyk <tj@schwi.pl>
To: 56803@debbugs.gnu.org
Cc: Tomasz Jeneralczyk <tj@schwi.pl>
Subject: [bug#56803] [PATCH 4/6] gnu: Add opencv-with-python.
Date: Wed, 27 Jul 2022 21:00:26 +0200 [thread overview]
Message-ID: <6aa37f20d813d0849a7de27ca5fc674c73e298e9.1658946720.git.tj@schwi.pl> (raw)
In-Reply-To: <cover.1658946720.git.tj@schwi.pl>
Also add copyright.
* gnu/packages/image-processing.scm (opencv-with-python): Add variable.
---
gnu/packages/image-processing.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm
index bcb1d7a2f6..9496155ec7 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -20,6 +20,7 @@
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -657,6 +658,17 @@ (define-public opencv
(home-page "https://opencv.org/")
(license license:bsd-3)))
+(define-public opencv-with-python
+ (package
+ (inherit opencv)
+ (name "opencv-with-python")
+ (arguments
+ (let* ((args (package-arguments opencv)))
+ (assoc-set! args #:configure-flags
+ (append (list "-DBUILD_opencv_python3=ON")
+ (assoc-ref args #:configure-flags)))
+ args))))
+
(define-public vips
(package
(name "vips")
--
2.37.1
next prev parent reply other threads:[~2022-07-27 19:04 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-27 18:57 [bug#56803] [PATCH 0/6] Add hydrus network and its dependencies Tomasz Jeneralczyk
2022-07-27 19:00 ` [bug#56803] [PATCH 1/6] gnu: Add swftools Tomasz Jeneralczyk
2022-07-27 19:00 ` [bug#56803] [PATCH 2/6] gnu: Add python-xvfbwrapper Tomasz Jeneralczyk
2022-07-27 19:00 ` [bug#56803] [PATCH 3/6] gnu: Add python-mpv Tomasz Jeneralczyk
2022-07-27 22:05 ` Maxime Devos
2022-07-28 14:58 ` Tomasz Jeneralczyk
2022-08-09 15:14 ` [bug#56803] [PATCH 0/6] Add hydrus network and its dependencies Ludovic Courtès
2022-08-13 14:34 ` Tomasz Jeneralczyk
2022-08-13 21:26 ` ( via Guix-patches via
2022-08-14 10:10 ` Tomasz Jeneralczyk
2022-08-14 10:11 ` ( via Guix-patches via
2022-08-09 16:59 ` [bug#56803] [PATCH 3/6] gnu: Add python-mpv Maxime Devos
2022-07-27 22:09 ` Maxime Devos
2022-07-27 19:00 ` Tomasz Jeneralczyk [this message]
2022-07-27 19:00 ` [bug#56803] [PATCH 5/6] gnu: Update python-cloudscraper Tomasz Jeneralczyk
2022-07-27 19:00 ` [bug#56803] [PATCH 6/6] gnu: Add hydrus-network Tomasz Jeneralczyk
2022-08-09 15:09 ` [bug#56803] [PATCH 0/6] Add hydrus network and its dependencies Ludovic Courtès
2022-08-14 12:46 ` [bug#56803] [PATCH v2 1/6] gnu: Add swftools Tomasz Jeneralczyk
2022-08-14 12:46 ` [bug#56803] [PATCH v2 2/6] gnu: Add python-xvfbwrapper Tomasz Jeneralczyk
2022-08-14 12:46 ` [bug#56803] [PATCH v2 3/6] gnu: Add python-mpv Tomasz Jeneralczyk
2022-08-14 12:46 ` [bug#56803] [PATCH v2 4/6] gnu: Add support for python in opencv Tomasz Jeneralczyk
2022-08-14 12:46 ` [bug#56803] [PATCH v2 5/6] gnu: Update python-cloudscraper Tomasz Jeneralczyk
2022-08-14 12:46 ` [bug#56803] [PATCH v2 6/6] gnu: Add hydrus-network Tomasz Jeneralczyk
2022-08-29 22:46 ` bug#56803: [PATCH 0/6] Add hydrus network and its dependencies Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6aa37f20d813d0849a7de27ca5fc674c73e298e9.1658946720.git.tj@schwi.pl \
--to=tj@schwi.pl \
--cc=56803@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.