From patchwork Fri Jul 21 12:14:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 51891 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id AF97A27BBE9; Fri, 21 Jul 2023 13:16:17 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9B6AC27BBE2 for ; Fri, 21 Jul 2023 13:16:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMp3H-0002ts-Q6; Fri, 21 Jul 2023 08:16:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMp3C-0002sq-Fe for guix-patches@gnu.org; Fri, 21 Jul 2023 08:16:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMp3C-000790-7e for guix-patches@gnu.org; Fri, 21 Jul 2023 08:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMp3C-0007Sh-2P for guix-patches@gnu.org; Fri, 21 Jul 2023 08:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64767] [PATCH 1/5] gnu: libcamera: Update to 0.1.0. Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Jul 2023 12:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64767@debbugs.gnu.org Cc: =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 64767-submit@debbugs.gnu.org id=B64767.168994171128562 (code B ref 64767); Fri, 21 Jul 2023 12:16:02 +0000 Received: (at 64767) by debbugs.gnu.org; 21 Jul 2023 12:15:11 +0000 Received: from localhost ([127.0.0.1]:60741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMp2M-0007Qc-Q9 for submit@debbugs.gnu.org; Fri, 21 Jul 2023 08:15:11 -0400 Received: from mail.envs.net ([5.199.136.28]:33712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMp2L-0007QR-1O for 64767@debbugs.gnu.org; Fri, 21 Jul 2023 08:15:09 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 7A27B38A18D6; Fri, 21 Jul 2023 12:15:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1689941708; bh=xVBiWOZXMd3vIIfZ5gnxlsQJOJEFCJBJ2DmC0xjCd6A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WYsJn2kp6S6oVfR80QUFz5gm0W4wSC8Fv1RuJ27uwKShjWfKKpszXMiCoB92o+uhD H+mh5Apr0NIeqLlYSlE8nLMk+6spnrOppeCACzIPsP/FrUGWfrJQfy53l3caqSBse+ 0KOP0NaQPC0iep4lA/JZu95G9Bs/gas5FGA9Iv26HOpeRHzrTVw7DvEDuOkWqJTjVA 2ja3aCYMVwe6hLUyWQe3mDmLHsP7P4ELAnlzfX0lXqtQHRPoqwAl9imj9X3x3AvEu4 BJfuCu7fXNO5gBYaFax/FjLWKJ1JpWHMHaG9jO6llB7yacZ9mihIu1GTeJ208mob1t xXz8NQ+tQn3eI7gKSlPYJJJreqU6UVBLfY/TabbJ55LRrfNzmg7jhB2oljapLA0itu mn90Rvdp4RjmSyFOcyPe5Xs/Wo3hGMX+a8uf3QV/FbGhJ5pHOSZWMWm6j/hMaSTbWk 6UjGxS6sWWHJHmmc5exVuxLmjYqqfZvpXKlTSuI4vYTN5oW1TX/vf2mCarpCB3DgSf jfy41UHYC1yOpYQu3bcw3gb3pb9RZ/bOKEWtBzQvIzhNvxD4ZpnOkyanEyKamKBIae s2ZQDA2oVSPNxvMz8soLYCnMHHr+5sWz7oIUshFL43jaRzFYPOqmcUeNxbmg1NLyh5 IdhWYGey99kX33ZEEfoSC83g= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7A23l3RlHk9Z; Fri, 21 Jul 2023 12:15:05 +0000 (UTC) Received: from localhost (unknown [117.174.235.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Fri, 21 Jul 2023 12:15:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 94db532a; Fri, 21 Jul 2023 12:14:50 +0000 (UTC) Date: Fri, 21 Jul 2023 20:14:29 +0800 Message-ID: <13e25362a5baf029573ab09c362b5c0a77c50230.1689941427.git.iyzsong@member.fsf.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: iyzsong@envs.net X-ACL-Warn: , iyzsong--- via Guix-patches X-Patchwork-Original-From: iyzsong--- via Guix-patches via From: "ashish.is--- via Guix-patches\" via" Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: 宋文武 * gnu/packages/networking.scm (libcamera): Update to 0.1.0. [native-inputs]: Add googletest. [arguments]: Add "-Dtest=true" to configure-flags. Remove disable-failing-tests phase. --- gnu/packages/networking.scm | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 18d5c26ce0..52178785d3 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -350,37 +350,30 @@ (define-public lcsync (define-public libcamera (package (name "libcamera") - (version "0.0.0-1") + (version "0.1.0") (source (origin (method git-fetch) (uri (git-reference - (url "git://linuxtv.org/libcamera.git") - (commit "10be87fa7c3bfb097b21ca3d469c67e40c333f7e"))) + (url "https://git.libcamera.org/libcamera/libcamera.git") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0qgirhlalmk9f9v6piwz50dr2asb64rvbb9zb1vix7y9zh7m11by")))) + (base32 "06dj3dpfbayj61015n5kffin2g3hyys11ra0px2g4hmrznvdkhc9")))) (build-system meson-build-system) (outputs '("out" "doc")) (arguments `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas #:configure-flags (list + "-Dtest=true" "-Dv4l2=true" ;; XXX: Requires bundled pybind11. "-Dpycamera=disabled") #:phases (modify-phases %standard-phases - (add-after 'unpack 'disable-failing-tests - (lambda _ - (substitute* "test/meson.build" - (("\\['list-cameras', 'list-cameras.cpp'\\],") - "") - ;; TODO: Why do the gstreamer tests fail. - (("^subdir\\('gstreamer'\\)") - "")))) (add-after 'install 'move-doc (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) @@ -390,7 +383,8 @@ (define-public libcamera (string-append out "/share/doc") (string-append doc "/share/doc")))))))) (native-inputs - (list graphviz ;for 'dot' + (list googletest + graphviz ;for 'dot' doxygen pkg-config python-wrapper