From patchwork Thu Sep 16 19:23:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: muradm X-Patchwork-Id: 326 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 743E827BBE3; Thu, 16 Sep 2021 20:24:18 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 38E5327BBE1 for ; Thu, 16 Sep 2021 20:24:18 +0100 (BST) Received: from localhost ([::1]:44544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQwzZ-00083V-83 for patchwork@mira.cbaines.net; Thu, 16 Sep 2021 15:24:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQwzK-00082J-7m for guix-patches@gnu.org; Thu, 16 Sep 2021 15:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45051) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mQwzJ-0006qs-WA for guix-patches@gnu.org; Thu, 16 Sep 2021 15:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mQwzJ-0004KE-Qf for guix-patches@gnu.org; Thu, 16 Sep 2021 15:24:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50627] [PATCH 0/2] Make wayland-protocols dependency native-input. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 19:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50627 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50627@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163182022916594 (code B ref -1); Thu, 16 Sep 2021 19:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2021 19:23:49 +0000 Received: from localhost ([127.0.0.1]:56597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQwz6-0004Ja-Ta for submit@debbugs.gnu.org; Thu, 16 Sep 2021 15:23:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:47800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mQwz2-0004JK-7q for submit@debbugs.gnu.org; Thu, 16 Sep 2021 15:23:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQwz1-0007vL-Vv for guix-patches@gnu.org; Thu, 16 Sep 2021 15:23:44 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:59132 helo=nomad-cl1.muradm.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQwyw-0006VS-TP for guix-patches@gnu.org; Thu, 16 Sep 2021 15:23:41 -0400 Received: from [176.234.10.27] (port=7316 helo=localhost) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mQwys-0000Xv-8f for guix-patches@gnu.org; Thu, 16 Sep 2021 19:23:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Transfer-Encoding:MIME-Version:Message-Id:Date:Subject:To: From:Sender:Reply-To:Cc:Content-Type:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=xHQgm1yF/GrgpFTW0+aWo+9aVuU3oJigUyEi4QSiB5I=; b=KfccB3RZv6J7E6ZfjqpZwu0mvd jghE4x5SmU9eAnWE7ZgUzOKWHSVgESBitUwijlkRoLg2PxRmOob2ij4AdP3wqEpMSYBSPKcKWcDuC b07wfEbgTtNx95JLINAZzbKZgjfH24Iy51W0jCjdQyk8a78xndpUCz9PliBsBwNIb+dq9sR1fSXXU KjtronnyqBjFp10yEmhAUTzG1MYH2sAT6cBRm8ziFXz3msoIwLqqNkHEAeXBoGizGi8XAjzFPdKnE OcdBVCRH3ag0O1Ypn0jUhSg3Nf7yYpnr/4K1KwVVncop/Vp9jqTQfHPxhML38W8XtK3RzJXI8Xch1 ff1Mnw6Mdd/x5PXtDmVsJJOPWYxeLRj3aKkmMFl/KSbN2U7MRc+HMZsDL/LCZKbaVYBhmcwCzYkQG kKABOK80iyq+FZ04f1niWZtFW+n8ROhWpWEw+EyC07LqMcR4+KTLXogNDMACQagacZOmt/bTb9XaM IhDB6yewVZMnFtT7RYcz6rIP; Received: from muradm by localhost with local (Exim 4.94.2) (envelope-from ) id 1mQwyp-0007he-Gr for guix-patches@gnu.org; Thu, 16 Sep 2021 22:23:31 +0300 From: muradm Date: Thu, 16 Sep 2021 22:23:31 +0300 Message-Id: <20210916192331.29606-1-mail@muradm.net> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Received-SPF: pass client-ip=139.162.159.157; envelope-from=mail@muradm.net; helo=nomad-cl1.muradm.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches wayland-protocols is not runtime dependency and only build time dependency for applications that directly using wayland. Initially I tought that making wayland-protocols a native-inputs dependency as it should, it would reduce number of dependants on it. But it turns out other way around. With this patchset we are fixing gtk+ to not advertise it as dependency in its .pc files, and moving wayland-protocols to native-inputs where it should be. Patch provided for gtk+ also merged with upstream. Patchset prepared from core-updates-frozen. While it seems that it will impact many other packages, actually this patch reduces number of packages that touches wayland-protocols and probably avoids it at runtime. muradm (2): gnu: gtk: Move wayland-protocols to native-inputs. gnu: Fix wayland-protocols dependency to be in native-inputs. gnu/packages/arcan.scm | 6 ++-- gnu/packages/enlightenment.scm | 10 +++---- gnu/packages/fcitx5.scm | 4 +-- gnu/packages/freedesktop.scm | 14 +++++----- gnu/packages/gl.scm | 10 +++---- gnu/packages/gtk.scm | 7 +++-- gnu/packages/image.scm | 12 ++++---- gnu/packages/julia-jll.scm | 2 +- gnu/packages/kde-frameworks.scm | 6 ++-- gnu/packages/kodi.scm | 4 ++- gnu/packages/language.scm | 2 +- .../gtk3-wayland-protocols-dependency.patch | 23 +++++++++++++++ gnu/packages/sdl.scm | 5 ++-- gnu/packages/video.scm | 28 +++++++++---------- gnu/packages/wm.scm | 4 +-- gnu/packages/xdisorg.scm | 20 ++++++------- gnu/packages/xorg.scm | 4 ++- 17 files changed, 95 insertions(+), 66 deletions(-) create mode 100644 gnu/packages/patches/gtk3-wayland-protocols-dependency.patch