From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uC2IGU+M4WLkTgEAbAwnHQ (envelope-from ) for ; Wed, 27 Jul 2022 21:04:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id cGmAGU+M4WKUJwAA9RJhRA (envelope-from ) for ; Wed, 27 Jul 2022 21:04:47 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 220673B978 for ; Wed, 27 Jul 2022 21:04:47 +0200 (CEST) Received: from localhost ([::1]:59062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGmKs-0006V7-2Y for larch@yhetil.org; Wed, 27 Jul 2022 15:04:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGmIN-0005Xy-A7 for guix-patches@gnu.org; Wed, 27 Jul 2022 15:02:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39042) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGmIE-0004Lc-Ft for guix-patches@gnu.org; Wed, 27 Jul 2022 15:02:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oGmIE-0005pU-Bd for guix-patches@gnu.org; Wed, 27 Jul 2022 15:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56803] [PATCH 4/6] gnu: Add opencv-with-python. Resent-From: Tomasz Jeneralczyk Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Jul 2022 19:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56803 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56803@debbugs.gnu.org Cc: Tomasz Jeneralczyk Received: via spool by 56803-submit@debbugs.gnu.org id=B56803.165894846722278 (code B ref 56803); Wed, 27 Jul 2022 19:02:02 +0000 Received: (at 56803) by debbugs.gnu.org; 27 Jul 2022 19:01:07 +0000 Received: from localhost ([127.0.0.1]:57017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGmHL-0005nF-BR for submit@debbugs.gnu.org; Wed, 27 Jul 2022 15:01:07 -0400 Received: from outgoing1.lunanode.net ([172.81.176.235]:42908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oGmHK-0005n8-Gs for 56803@debbugs.gnu.org; Wed, 27 Jul 2022 15:01:06 -0400 Received: from mail2.lunanode.net (mail2.lunanode.net [158.69.21.179]) by outgoing1.lunanode.net (Postfix) with ESMTPS id 483A54005F for <56803@debbugs.gnu.org>; Wed, 27 Jul 2022 19:01:06 +0000 (UTC) From: Tomasz Jeneralczyk Date: Wed, 27 Jul 2022 21:00:26 +0200 Message-Id: <6aa37f20d813d0849a7de27ca5fc674c73e298e9.1658946720.git.tj@schwi.pl> X-Mailer: git-send-email 2.37.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658948687; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=9iNj7eXNDmuuTtDKE9COFRDDHeLIiKiPpmNcbx0aGqE=; b=DREYxwo7G+KgaIUqVLNvdrVW7h8syOB+cjVHuCuCOPWlVvHG1FGds4kXqYdjXoBs+LU5FK uJKkaJZbTrO8NOegb4q1v/T1RJl6CeIMLdrGAovF4uPQi4Bh+WLvBCdbeZ0dvDLsrCMDud wlI4BEf5rIvmn/6+AdQ9aG2Ln72gkxXa2DK0/YfgNeOFhRQ/BafBksAYhuSEehfHMghEYr jlJjYDSpMnoEee/UUPSIWGCNSj/9K5kGETUisYvDRYiBGjUNG+jkqX6GgwcoV8+ywcHF5G XEtLlSA4SdBRgvTJdjlwV9bQb6n+ViPwy4UNkA+hlW+jl1BQ+wDF00EubZvvlg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658948687; a=rsa-sha256; cv=none; b=PcQ9EkEL0VIVr+4NEmoCsdoVc82T2T3TBf09BeR5ejMhL0jU/PsEQWPIQBx2AQt7XziyEL UEDzv0hfiHmfu1VdTcxeWFBHn5MF48UZhPp8jAOtQoN8XnWqyvwQStUxgfcJIaYKNAjYcY BUCi+DKtYYhGY86KLut5wdMKS99afg2GvY8IwxPS/D0B38tYpbcMJji8Z544nw7lPxI3Fc t1Wbw0uWZltoZoS82s7MypCx+4eV35J0ENTO4rS6URYC28uar9M1veKbmMKKcdEo7gRBZa MkO8+LiueR33lJfy2KFwT2OTUNdRoet82bcCIc6aIVfKNFV5QPn5Zy2coU70Dg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 220673B978 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZLcZsdAmmr/V 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 ;;; Copyright © 2021 Ivan Gankevich ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2022 Tomasz Jeneralczyk ;;; ;;; 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