Message ID | 20241125095249.19053-1-ngraves@ngraves.fr |
---|---|
State | New |
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DE2E027BBEA; Mon, 25 Nov 2024 09:53:34 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 A59A927BBE2 for <patchwork@mira.cbaines.net>; Mon, 25 Nov 2024 09:53:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1tFVmD-0000fA-Ff; Mon, 25 Nov 2024 04:53:05 -0500 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 <Debian-debbugs@debbugs.gnu.org>) id 1tFVmA-0000eH-OY for guix-patches@gnu.org; Mon, 25 Nov 2024 04:53:03 -0500 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 <Debian-debbugs@debbugs.gnu.org>) id 1tFVmA-0006GJ-Fd for guix-patches@gnu.org; Mon, 25 Nov 2024 04:53:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=w2hn+pt6Rr4gNNy28nkFG2A+9U/GSvzM7k/1NNqv02g=; b=lAqgQMcQ/gaeKDyZZSXcX2my9LbQxrjhKY/0GETPhTpgekhJH1qcURZ25+y5O9bJMbP8XdOHU//q5W3rto7WscMDcWg6N4wnwjsKRHcsiqMrr7jItD8DuJDxGhOapyVKiluaYLWQX9auIiwT7X4YMvBS1x4ckiXY/UqO+t4/SLQ0ruU+EomXWQ1hNHDQqagyXyb+ITx7FnCjwv+5sxqBtmX2aPqeQkxpwiUUV9emnDTy2cTQJJlk6+jZ2cILaL3w37nxQvpSY4Duh4nU3bA59D4VvcEUxshGteIzUnjlGgJIfaL23eLalOrpOQULXUP1bnv4vXk5gIgzgjwxg9nmtQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1tFVmA-0006Ox-2o for guix-patches@gnu.org; Mon, 25 Nov 2024 04:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74517] [PATCH v3 01/10] gnu: Add v4l-utils-minimal. References: <20241124221354.838-1-ngraves@ngraves.fr> In-Reply-To: <20241124221354.838-1-ngraves@ngraves.fr> Resent-From: Nicolas Graves <ngraves@ngraves.fr> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Nov 2024 09:53:02 +0000 Resent-Message-ID: <handler.74517.B74517.173252837724570@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74517 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74517@debbugs.gnu.org Cc: Nicolas Graves <ngraves@ngraves.fr>, maxim.cournoyer@gmail.com Received: via spool by 74517-submit@debbugs.gnu.org id=B74517.173252837724570 (code B ref 74517); Mon, 25 Nov 2024 09:53:02 +0000 Received: (at 74517) by debbugs.gnu.org; 25 Nov 2024 09:52:57 +0000 Received: from localhost ([127.0.0.1]:37958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>) id 1tFVm4-0006O9-HC for submit@debbugs.gnu.org; Mon, 25 Nov 2024 04:52:56 -0500 Received: from 10.mo575.mail-out.ovh.net ([46.105.79.203]:35785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ngraves@ngraves.fr>) id 1tFVm0-0006Nv-Sj for 74517@debbugs.gnu.org; Mon, 25 Nov 2024 04:52:54 -0500 Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.9.71]) by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4XxgxH2CKYz1jHG for <74517@debbugs.gnu.org>; Mon, 25 Nov 2024 09:52:51 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-2rj6g (unknown [10.110.178.103]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id C86121FEAE; Mon, 25 Nov 2024 09:52:50 +0000 (UTC) Received: from ngraves.fr ([37.59.142.106]) by ghost-submission-5b5ff79f4f-2rj6g with ESMTPSA id EYsdIvJIRGeZWgAAxVySpA (envelope-from <ngraves@ngraves.fr>); Mon, 25 Nov 2024 09:52:50 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-106R006533df45a-651f-4ff6-9382-3875836004ba, 8B85F1B371A1C2A6299C047C96151BA9AAF49A40) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 89.85.241.131 Date: Mon, 25 Nov 2024 10:52:34 +0100 Message-ID: <20241125095249.19053-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 5256545194105955042 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrgeehgddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeekffegteffgfffjeegjedvfffgtddvueeutefgfeeuvdejgedvgeejjeevueeuveenucfkphepuddvjedrtddrtddruddpkeelrdekhedrvdeguddrudefuddpfeejrdehledrudegvddruddtieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeeghedujeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=w2hn+pt6Rr4gNNy28nkFG2A+9U/GSvzM7k/1NNqv02g=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1732528371; v=1; b=GjPo2c15TUHkgBRvVnkl/d/f0dLI5ro/fHetJ8uUvEtJ1ApDlWF/98wcYEo5AmnMIwZfUZga mF7ihc+uU2AqrZUwjSy3s8fB59zaNCnVaBGZn5z+vYUfDiT2QuGPKG697zXUsg7t6GrkDzapPE9 XJu8j2F1+GHkrRq0QydsTyM/DK4UGnbPVpJ0FJxHEChUultY0rq5JaePo+nkm7ESPrzxXy1yUzD MrgXfxKkMjXGePqoVwuB/6akcAkmt4SwMKIfYN0z9aZNMJVN7nRhJwauNnjwBb3+VKhoI6RIcjq TTe/PnzogsWPdVnVkFWI4Vf7G7AQQz5wTnSYTIPI+Z5kw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Reply-to: Nicolas Graves <ngraves@ngraves.fr> X-ACL-Warn: , Nicolas Graves via Guix-patches <guix-patches@gnu.org> From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org> 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 |
Series |
[bug#74517,v3,01/10] gnu: Add v4l-utils-minimal.
|
|
Commit Message
Nicolas Graves
Nov. 25, 2024, 9:52 a.m. UTC
* gnu/packages/video.scm (v4l-utils-minimal): New variable. --- gnu/packages/video.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Comments
Maxim, could you take a look at v3 of this patch series? Thanks, Ludo’.
Hi Nicolas, Nicolas Graves <ngraves@ngraves.fr> writes: > * gnu/packages/video.scm (v4l-utils-minimal): New variable. > --- > gnu/packages/video.scm | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm > index 2da458ed01..6f9eea6fc2 100644 > --- a/gnu/packages/video.scm > +++ b/gnu/packages/video.scm > @@ -4035,6 +4035,20 @@ (define-public v4l-utils > ;; libv4l2 is LGPL2.1+, while utilities are GPL2 only. > (license (list license:lgpl2.1+ license:gpl2)))) > > +(define-public v4l-utils-minimal > + (package/inherit v4l-utils > + (name "v4l-utils-minimal") > + (arguments > + (substitute-keyword-arguments (package-arguments v4l-utils) > + ((#:phases phases) > + #~(modify-phases #$phases > + (delete 'split))) > + ((#:disallowed-references _) > + #~("qtbase")))) I think the value of #:disallowed-references need to be a list of packages, not strings.
Hi Ludovic, Nicolas,
Ludovic Courtès <ludo@gnu.org> writes:
> Maxim, could you take a look at v3 of this patch series?
Thanks for the ping. I've looked at v3, and it looks good to me, except
for the newly added #:disallowed-references (which I suggested adding)
which should be a list of packages, not a list of strings, if I'm not
mistaken.
Also, a #:disallowed-references added directly to GTK (to ensure it
continues not pulling in qtbase) would be a nice to have, but can be
added later too; I believe adding a disallowed reference should not lead
to rebuilds?
Nicolas, would you mind sending one last v4 with the corrected
#:disallowed-references? You can grep for examples. After which, I
think it should be merged to the gnome-team branch (CC'ing Liliana to
make sure it makes sense at this stage).
Hi, Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis: > Ludovic Courtès <ludo@gnu.org> writes: > >> Maxim, could you take a look at v3 of this patch series? > > Thanks for the ping. I've looked at v3, and it looks good to me, except > for the newly added #:disallowed-references (which I suggested adding) > which should be a list of packages, not a list of strings, if I'm not > mistaken. > > Also, a #:disallowed-references added directly to GTK (to ensure it > continues not pulling in qtbase) would be a nice to have, but can be > added later too; I believe adding a disallowed reference should not lead > to rebuilds? Add #:disallowed-references or #:allowed-references triggers changes the derivation and thus triggers a rebuild. > Nicolas, would you mind sending one last v4 with the corrected > #:disallowed-references? You can grep for examples. After which, I > think it should be merged to the gnome-team branch (CC'ing Liliana to > make sure it makes sense at this stage). Thanks, Ludo’.
Hi, Am Montag, dem 06.01.2025 um 16:07 +0100 schrieb Ludovic Courtès: > Add[ing] #:disallowed-references or #:allowed-references triggers > changes the derivation and thus triggers a rebuild. > > > Nicolas, would you mind sending one last v4 with the corrected > > #:disallowed-references? You can grep for examples. After which, > > I think it should be merged to the gnome-team branch (CC'ing > > Liliana to make sure it makes sense at this stage). Yeah, we can rebuild GTK on gnome-team. I previously submitted a series to bump Webkit and we should probably bump all the other packages to their latest minor version too. Feel free to CC me for any patches that ought to go towards gnome-team :) Cheers
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 2da458ed01..6f9eea6fc2 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -4035,6 +4035,20 @@ (define-public v4l-utils ;; libv4l2 is LGPL2.1+, while utilities are GPL2 only. (license (list license:lgpl2.1+ license:gpl2)))) +(define-public v4l-utils-minimal + (package/inherit v4l-utils + (name "v4l-utils-minimal") + (arguments + (substitute-keyword-arguments (package-arguments v4l-utils) + ((#:phases phases) + #~(modify-phases #$phases + (delete 'split))) + ((#:disallowed-references _) + #~("qtbase")))) + (outputs '("out")) + (inputs (modify-inputs (package-inputs v4l-utils) + (delete "qtbase"))))) + (define-public obs (package (name "obs")