From patchwork Sun Feb 4 13:54:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 59781 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 3FAF727BBEA; Sun, 4 Feb 2024 13:57:20 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 7A9CA27BBE9 for ; Sun, 4 Feb 2024 13:57:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWczV-0005oK-MC; Sun, 04 Feb 2024 08:57:01 -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 ) id 1rWczL-0005ka-WE for guix-patches@gnu.org; Sun, 04 Feb 2024 08:56:54 -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 ) id 1rWczL-0005mA-O2 for guix-patches@gnu.org; Sun, 04 Feb 2024 08:56:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rWczW-0000c0-Kw for guix-patches@gnu.org; Sun, 04 Feb 2024 08:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68146] [PATCH v2 1/3] gnu: Add libdisplay-info. References: In-Reply-To: Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Sun, 04 Feb 2024 13:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68146 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68146@debbugs.gnu.org Cc: Ahmad Draidi , ( , Christopher Baines , Ludovic =?utf-8?q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart X-Debbugs-Original-Xcc: ( , Christopher Baines , Ludovic =?utf-8?q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart Received: via spool by 68146-submit@debbugs.gnu.org id=B68146.17070549882282 (code B ref 68146); Sun, 04 Feb 2024 13:57:02 +0000 Received: (at 68146) by debbugs.gnu.org; 4 Feb 2024 13:56:28 +0000 Received: from localhost ([127.0.0.1]:48458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWcyx-0000aj-J8 for submit@debbugs.gnu.org; Sun, 04 Feb 2024 08:56:28 -0500 Received: from rainycloud.ext.redscript.org ([2402:28c0:4:1081::1]:33352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWcys-0000a9-IU for 68146@debbugs.gnu.org; Sun, 04 Feb 2024 08:56:26 -0500 Received: from localhost.localdomain (bba-86-99-233-146.alshamil.net.ae [86.99.233.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id 63F8F4370; Sun, 4 Feb 2024 13:56:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-rsa; t=1707054961; h=from:from: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; bh=ZPeTHhQo+rUibtdbk/8W6WjLj7U7fzVveIbMHcXsTP8=; b=Zqx1+Gq7J8Lq+j1L03cA9eiV3O2cHjn8w7/iP95DdS2JjddnxduzFeMcqLScUxXWvwIEAb VUxZKM69msYm8XV4L19oWahlElVq8KZ7EJ7F14dmQlyDf8fhc2+sfaDeuYEAhmK5VCqqVP IAh1VJIUEN5MYFwHM/2aOOiDa1l8u+voyORc/RGdGxS2xlAWu9AVElyH6vFakrYnc/9odD lO0CJXphrwgEyc9s7G2gIDCT45f11ig9BkxBNoDFMeVz8+6xtZH7eUDygdtARA9jnU3uIz xUIr69MVVQGsKGi+ar7yE/4VymaYrEMZVjTi1nL3/cqYXEhzmUdJ6I4vgFiqwhYwuwXx7O 396r1Ts9Ir6fCNoOiMdRmy5kMt8bfJTbpMTbhsYTBKRwFIMwYOJoqiAyZI/5Kq9JrKUf6y +Hig3GPixQ/4h/jdlY9mJxGSQIWrqZXWGd0o/XkZ/tX7FNIucSMh5hxWZssf3cCIRk8seU qA8fQp483hRBgJFYlwFSsSa/wXaXIjT1ME3I33kFlKjMmgoo+yUhvGDJH5+Juf9joe/y5n mz6qhfznqV59Xri9w/+DZVPW5+eJGciKWqGzdgIlKlXWZvaVtZYmzr9Q9idSANXqkr283e SrSQ8mgNHs4A3BafVVqyRs4d487K+/x7H7Msieou3ytn9DnZpcHoU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-ed25519; t=1707054961; h=from:from: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; bh=ZPeTHhQo+rUibtdbk/8W6WjLj7U7fzVveIbMHcXsTP8=; b=Iufn8YaFtfptz0L2b4/4MlcWcdxspTUNNw0ixKcdz5buQFPhzQ3a9c1YTBMWj2EUtTnuJw KJbpotHE6a2MNkBw== Date: Sun, 4 Feb 2024 17:54:41 +0400 Message-ID: <8ccce65087f8378fb064d1c5fb1394b743e06eaa.1707054720.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.41.0 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: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches X-Patchwork-Original-From: Ahmad Draidi via Guix-patches via From: Ahmad Draidi 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 * gnu/packages/freedesktop.scm (libdisplay-info): New variable. Change-Id: Ifa03e4f21dd869c664c5bbf47af4ea1b7cf63d44 --- v2: Rebase gnu/packages/freedesktop.scm | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) base-commit: abeffc82379c4f9bd2e6226ea27453b22cb4e0c8 diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 648ebad408..9ba444cb0a 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2022 Petr Hodina ;;; Copyright © 2022 muradm ;;; Copyright © 2023 Alex Devaure +;;; Copyright © 2024 Ahmad Draidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -97,6 +98,7 @@ (define-module (gnu packages freedesktop) #:use-module (gnu packages graphviz) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) + #:use-module (gnu packages hardware) #:use-module (gnu packages hunspell) #:use-module (gnu packages ibus) #:use-module (gnu packages image) @@ -114,6 +116,7 @@ (define-module (gnu packages freedesktop) #:use-module (gnu packages package-management) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) + #:use-module (gnu packages pciutils) #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) #:use-module (gnu packages python) @@ -2102,6 +2105,43 @@ (define-public colord-gtk that wish to perform colour calibration.") (license license:lgpl2.1+))) +(define-public libdisplay-info + ;; Latest commit passes tests while 0.1.1 doesn't + (let ((commit "ebee35935dad01478ae1ae5ead298c4cd8018ac2") + (revision "1")) + (package + (name "libdisplay-info") + (version (git-version "0.1.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/emersion/libdisplay-info") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ly8acdjxn8l55y0wc07n7pb6rzh9dpr1vbsakdib2zrl0i5yh3a")))) + (build-system meson-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-before 'configure 'fix-meson-file + (lambda* (#:key native-inputs inputs #:allow-other-keys) + (substitute* "meson.build" + (("/usr/share/hwdata/pnp.ids") + (string-append (assoc-ref (or native-inputs inputs) + "hwdata") + "/share/hwdata/pnp.ids")))))))) + (native-inputs (list edid-decode + `(,hwdata "pnp") pkg-config python-wrapper)) + (home-page "https://gitlab.freedesktop.org/emersion/libdisplay-info") + (synopsis "EDID and DisplayID library") + (description + "libdisplay-info is an EDID and DisplayID library that provides a set of + high-level, easy-to-use, opinionated functions as well as low-level functions +to access detailed information.") + (license license:expat)))) + (define-public libfprint (package (name "libfprint") From patchwork Sun Feb 4 13:54:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 59782 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 993F027BBEB; Sun, 4 Feb 2024 13:57:22 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 EAE4A27BBE9 for ; Sun, 4 Feb 2024 13:57:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWczQ-0005lh-9k; Sun, 04 Feb 2024 08:56:56 -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 ) id 1rWczL-0005kS-Dc for guix-patches@gnu.org; Sun, 04 Feb 2024 08:56:51 -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 ) id 1rWczL-0005mB-53 for guix-patches@gnu.org; Sun, 04 Feb 2024 08:56:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rWczX-0000c7-0z for guix-patches@gnu.org; Sun, 04 Feb 2024 08:57:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68146] [PATCH v2 2/3] gnu: Update wlroots to 0.17.1. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Sun, 04 Feb 2024 13:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68146 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68146@debbugs.gnu.org Cc: Ahmad Draidi , ( , Christopher Baines , Ludovic =?utf-8?q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart X-Debbugs-Original-Xcc: ( , Christopher Baines , Ludovic =?utf-8?q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart Received: via spool by 68146-submit@debbugs.gnu.org id=B68146.17070549912292 (code B ref 68146); Sun, 04 Feb 2024 13:57:02 +0000 Received: (at 68146) by debbugs.gnu.org; 4 Feb 2024 13:56:31 +0000 Received: from localhost ([127.0.0.1]:48460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWcyy-0000al-3g for submit@debbugs.gnu.org; Sun, 04 Feb 2024 08:56:31 -0500 Received: from rainycloud.ext.redscript.org ([103.105.48.212]:52266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWcyu-0000aE-7T for 68146@debbugs.gnu.org; Sun, 04 Feb 2024 08:56:26 -0500 Received: from localhost.localdomain (bba-86-99-233-146.alshamil.net.ae [86.99.233.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id F13AA446A; Sun, 4 Feb 2024 13:56:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-rsa; t=1707054965; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=TybYYGSEg4Xzcp49REGw9hQLWOKSovI5G2gQJ50Jxic=; b=chF49nbqzQ9MjNeOsIE+QVSwqatxDRLZI3C0cCl424n/P3KQaAJu0G9E35tFKh59NYZTDh W7rMj/46KBuIlngmq4aBSidFdQPIrSoCXvz1O3Te5Nv5odfFhS80ziTRRw6JqHWv69DYU2 7yyEr0GMnfUQNyWxBxqASaFOA0mJ1hvtDh6QggLT+lEJQw8BeFW8P1mWaT5BOZrjhXIJ7R Psc1YtiMcYK4oKcXvkUvumkgDgS49rV+5zJoGnHnKw+yZIRU7NSpxTf8RBn5dJhOmUpk4X 5TQVfEvCUqTdag+/yTNTIoioQIaQCbA+d5CQ9SZXwmBZB8NdQlVgjWarJ1l6dc0l4bphAe gE1WS/nfKSlrUbAhPI9Ydjw7EMURvP+jGdm1YvbFagSO7vrUMv6b2kvKaOsbxYPCTv+hLy ZBASAcB92bh/0ohWNBmArXGO/28bNFDHxVURQaJi2q8y3h+q+3uQdWNJe+nMXJNPyP13Ta WR+xbC/0riaN5nJVOSpv8g9TX9ltY9LsbSv5XtALLjJjyYzRbF6zXe71Ck1IItX2ikcoPg vkFwRC62e4jzdkQF7TH2LCGpF5s5DoKYhLqT3EWNT2rKqZ+ehEqcu1bYqCIf1SYRatE8x1 8iPd9VREMJFkT+248nHX4V4V+aMNvZqHc6ZiexMhR1HeD1eQ2HBHI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-ed25519; t=1707054965; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=TybYYGSEg4Xzcp49REGw9hQLWOKSovI5G2gQJ50Jxic=; b=vqWAzyre690NtA1HeICjYOfqWeano9zaRyr5aHjlfQxMEpYy/qP4yKSLto/4gdxmD+FFYJ 5/ssSkfO/uCV5zBg== Date: Sun, 4 Feb 2024 17:54:42 +0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <8ccce65087f8378fb064d1c5fb1394b743e06eaa.1707054720.git.a.r.draidi@redscript.org> References: <8ccce65087f8378fb064d1c5fb1394b743e06eaa.1707054720.git.a.r.draidi@redscript.org> 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: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches X-Patchwork-Original-From: Ahmad Draidi via Guix-patches via From: Ahmad Draidi 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 Also keep wlroots 0.16 since a few packages break without it. * gnu/packages/wm.scm (wlroots): Update to 0.17.1. [source]: Add patch. [propagated-inputs]: Add libdisplay-info. * gnu/packages/patches/wlroots-hwdata-fallback.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/wm.scm (wlroots-0.16): New variable. * gnu/packages/wm.scm (cage)[inputs]: Replace wlroots with wlroots-0.16. * gnu/packages/wm.scm (fnott)[inputs]: Likewise. * gnu/packages/wm.scm (dwl)[inputs]: Likewise. * gnu/packages/wm.scm (sway)[inputs]: Likewise. * gnu/packages/wm.scm (cagebreak)[inputs]: Likewise. * gnu/packages/wm.scm (hikari)[inputs]: Likewise. * gnu/packages/wm.scm (river)[native-inputs]: Likewise. Change-Id: Ib3d3938d6486fb1674380811a6dc0a512c991ac7 --- v2: Rebase and fix conflict gnu/local.mk | 1 + .../patches/wlroots-hwdata-fallback.patch | 46 +++++++++++++++++++ gnu/packages/wm.scm | 37 +++++++++++---- gnu/packages/zig-xyz.scm | 2 +- 4 files changed, 77 insertions(+), 9 deletions(-) create mode 100644 gnu/packages/patches/wlroots-hwdata-fallback.patch diff --git a/gnu/local.mk b/gnu/local.mk index fbdb285695..961dc6a456 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2173,6 +2173,7 @@ dist_patch_DATA = \ %D%/packages/patches/webrtc-audio-processing-big-endian.patch \ %D%/packages/patches/webrtc-for-telegram-desktop-unbundle-libsrtp.patch \ %D%/packages/patches/websocketpp-fix-for-cmake-3.15.patch \ + %D%/packages/patches/wlroots-hwdata-fallback.patch \ %D%/packages/patches/wmctrl-64-fix.patch \ %D%/packages/patches/wmfire-update-for-new-gdk-versions.patch \ %D%/packages/patches/wordnet-CVE-2008-2149.patch \ diff --git a/gnu/packages/patches/wlroots-hwdata-fallback.patch b/gnu/packages/patches/wlroots-hwdata-fallback.patch new file mode 100644 index 0000000000..6468c7cbf3 --- /dev/null +++ b/gnu/packages/patches/wlroots-hwdata-fallback.patch @@ -0,0 +1,46 @@ +backend/drm: add hardcoded hwdata path fallback + +Add hardcoded fallback "/usr/share/hwdata/pnp.ids" as a +temporary solution to get things working in Guix until +hwdata ships with pkg-config file. + +diff --git a/backend/drm/meson.build b/backend/drm/meson.build +index 6fcb2c15..ed95360a 100644 +--- a/backend/drm/meson.build ++++ b/backend/drm/meson.build +@@ -1,8 +1,7 @@ + hwdata = dependency( + 'hwdata', +- required: 'drm' in backends, ++ required: false, + native: true, +- not_found_message: 'Required for the DRM backend.', + ) + + libdisplay_info = dependency( +@@ -19,15 +18,21 @@ libliftoff = dependency( + required: false, + ) + +-if not (hwdata.found() and libdisplay_info.found() and features['session']) ++if hwdata.found() ++ hwdata_dir = hwdata.get_variable(pkgconfig: 'pkgdatadir') ++ pnp_ids = files(hwdata_dir / 'pnp.ids') ++else ++ pnp_ids = files('/usr/share/hwdata/pnp.ids') ++endif ++ ++if not (libdisplay_info.found() and features['session']) + subdir_done() + endif + +-hwdata_dir = hwdata.get_variable(pkgconfig: 'pkgdatadir') + pnpids_c = custom_target( + 'pnpids.c', + output: 'pnpids.c', +- input: files(hwdata_dir / 'pnp.ids'), ++ input: pnp_ids, + feed: true, + capture: true, + command: files('gen_pnpids.sh'), + diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 959928d8e2..78af2fb210 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -66,6 +66,7 @@ ;;; Copyright © 2023 Nicolas Graves ;;; Copyright © 2023 Jaeme Sifat ;;; Copyright © 2023 Josselin Poiret +;;; Copyright © 2024 Ahmad Draidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -207,7 +208,7 @@ (define-public cage (sha256 (base32 "11sg9x08zl2nr7a723h462knz5lf58sgvkhv1mgc9z3hhkhvbsja")))) (build-system meson-build-system) (native-inputs (list pkg-config scdoc)) - (inputs (list wayland wlroots libxkbcommon)) + (inputs (list wayland wlroots-0.16 libxkbcommon)) (home-page "https://github.com/cage-kiosk/cage") (synopsis "Wayland kiosk") (description "This package provides a Wayland @dfn{kiosk}, which runs a @@ -1167,7 +1168,7 @@ (define-public fnott tllist scdoc)) (inputs - (list wlroots wayland fcft dbus libpng)) + (list wlroots-0.16 wayland fcft dbus libpng)) (home-page "https://codeberg.org/dnkl/fnott") (synopsis "Keyboard driven and lightweight Wayland notification daemon") (description "Fnott is a keyboard driven and lightweight notification daemon @@ -1569,7 +1570,7 @@ (define-public dwl (native-inputs (list pkg-config)) (inputs - (list wlroots)) + (list wlroots-0.16)) (home-page "https://github.com/djpohly/dwl") (synopsis "Dynamic window manager for Wayland") (description @@ -1675,7 +1676,7 @@ (define-public polybar (define-public wlroots (package (name "wlroots") - (version "0.16.2") + (version "0.17.1") (source (origin (method git-fetch) @@ -1684,7 +1685,9 @@ (define-public wlroots (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "1m12nv6avgnz626h3giqp6gcx44w1wq6z0jy780mx8z255ic7q15")))) + (base32 "1hj4gq5vx8in65622yvjm8bwqkw2vpc556k9my997a0hn0ricj37")) + ;; This patch can be removed once hwdata in Guix supports pkg-config + (patches (search-patches "wlroots-hwdata-fallback.patch")))) (build-system meson-build-system) (arguments `(#:phases @@ -1705,6 +1708,7 @@ (define-public wlroots (propagated-inputs (list ;; As required by wlroots.pc. eudev + libdisplay-info libinput-minimal libxkbcommon mesa @@ -1730,6 +1734,23 @@ (define-public wlroots modules for building a Wayland compositor.") (license license:expat))) ; MIT license +(define-public wlroots-0.16 + (package + (inherit wlroots) + (name "wlroots-0.16") + (version "0.16.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/wlroots/wlroots") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1m12nv6avgnz626h3giqp6gcx44w1wq6z0jy780mx8z255ic7q15")))) + (propagated-inputs (modify-inputs (package-propagated-inputs wlroots) + (delete libdisplay-info))))) + (define-public sway (package (name "sway") @@ -1774,7 +1795,7 @@ (define-public sway pcre2 swaybg wayland - wlroots)) + wlroots-0.16)) (native-inputs (cons* linux-pam mesa pkg-config scdoc wayland-protocols (if (%current-target-system) @@ -2966,7 +2987,7 @@ (define-public cagebreak (("/etc/") (string-append #$output "/etc/")) (("/usr/share/") (string-append #$output "/usr/share/")))))))) (native-inputs (list pkg-config scdoc)) - (inputs (list libevdev pango wlroots)) + (inputs (list libevdev pango wlroots-0.16)) (home-page "https://github.com/project-repo/cagebreak") (synopsis "Tiling wayland compositor inspired by ratpoison") (description @@ -3063,7 +3084,7 @@ (define-public hikari linux-pam pango wayland - wlroots)) + wlroots-0.16)) (arguments `(#:tests? #f ; no tests #:make-flags diff --git a/gnu/packages/zig-xyz.scm b/gnu/packages/zig-xyz.scm index 200b5c9940..75b60fcfa9 100644 --- a/gnu/packages/zig-xyz.scm +++ b/gnu/packages/zig-xyz.scm @@ -61,7 +61,7 @@ (define-public river scdoc wayland wayland-protocols - wlroots)) + wlroots-0.16)) (home-page "https://github.com/riverwm/river") (synopsis "Dynamic tiling Wayland compositor") (description From patchwork Sun Feb 4 13:54:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmad Draidi X-Patchwork-Id: 59780 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 91E4027BBEB; Sun, 4 Feb 2024 13:57:16 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, 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 CBE6D27BBEA for ; Sun, 4 Feb 2024 13:57:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rWczU-0005nf-Vb; Sun, 04 Feb 2024 08:57:00 -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 ) id 1rWczL-0005kW-Sk for guix-patches@gnu.org; Sun, 04 Feb 2024 08:56:51 -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 ) id 1rWczL-0005mJ-JR for guix-patches@gnu.org; Sun, 04 Feb 2024 08:56:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rWczX-0000cF-FS for guix-patches@gnu.org; Sun, 04 Feb 2024 08:57:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68146] [PATCH v2 3/3] gnu: labwc: Update to 0.7.0. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Sun, 04 Feb 2024 13:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68146 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68146@debbugs.gnu.org Cc: Ahmad Draidi , ( , Christopher Baines , Ludovic =?utf-8?q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart X-Debbugs-Original-Xcc: ( , Christopher Baines , Ludovic =?utf-8?q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart Received: via spool by 68146-submit@debbugs.gnu.org id=B68146.17070549912299 (code B ref 68146); Sun, 04 Feb 2024 13:57:03 +0000 Received: (at 68146) by debbugs.gnu.org; 4 Feb 2024 13:56:31 +0000 Received: from localhost ([127.0.0.1]:48462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWcz1-0000av-FT for submit@debbugs.gnu.org; Sun, 04 Feb 2024 08:56:31 -0500 Received: from rainycloud.ext.redscript.org ([103.105.48.212]:59252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rWcyx-0000aO-19 for 68146@debbugs.gnu.org; Sun, 04 Feb 2024 08:56:27 -0500 Received: from localhost.localdomain (bba-86-99-233-146.alshamil.net.ae [86.99.233.146]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id 261364473; Sun, 4 Feb 2024 13:56:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-rsa; t=1707054969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GBAWIvlBfZtOBP7r10yJjYELxWj7WtOlAkPiYniNFw0=; b=BtTCi+YUcKhTBiIe6f1v6UwUDzzRO2iV3JEmdYSlRDjgE62Pl5Qv7yeilKjIVgMgIzP9tE 2m05JaRh75oGhn4hzr4H1l6g0SsvC32+OfpbpK/9USsmDZnX4g0uXgTIZdf210DrHsrmLB ER/GSsrh7V3aSCGa37OMAlI5hBiIPcG7I9qdBZcWSxg5zx1FlkXVZI10eHbjzABvqccoEw /qDRwFv/s8hovW/PKGBAQX1Gsm9xlSG47U52HVnalYS6QpaqoAQcbz2M0xlnX++lWpMHTF lTvqnZG1tsY9e09DNmmHCnzGGhAuGVNsDDDAkGkVavfZRXY0CTutQPnbY/EnVt4fYdjXGG kRiROW5huE4FTv6j2ljHo/F7ZD7qIIPn9bye4Ireg6+rcmJJDXEh8Rnyr0keoivz7PqEG+ /DRjgFEoyOp7FisStHrfR40t5w6Qk+B2ai2w5E8j7ObaPrYgc2PqQiJTD+NzbUQHcyPC9P duUpm43n9T2AAbZLYfcB00nF0TkXYQ0toc3ldaPSTW/BLhn65uMmdQtTzD8F0GZjCPl078 ZDIva7XP3y4LQBRef1cRkJQ5YikUD1Mbi1jEd4ColFXs/xWd9cw4uF/n9KJIHfeQwzXZ3Q WL6vt91iQK36cfxU5FCJSOFexeKN7bAwadJnzLih0Eg/N8YdvFr30= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-ed25519; t=1707054969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GBAWIvlBfZtOBP7r10yJjYELxWj7WtOlAkPiYniNFw0=; b=1aY2Z1E0n03kdJ3LOuYB2ndbk0jI/z0asltxoAHex21jaHHZ4dqacM/BqdsjKhRE2OJ6/5 PomMryDtjM5UcZDw== Date: Sun, 4 Feb 2024 17:54:43 +0400 Message-ID: <7e027496c1e725a7b004ed32b7b1f90fda162164.1707054720.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <8ccce65087f8378fb064d1c5fb1394b743e06eaa.1707054720.git.a.r.draidi@redscript.org> References: <8ccce65087f8378fb064d1c5fb1394b743e06eaa.1707054720.git.a.r.draidi@redscript.org> 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: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches X-Patchwork-Original-From: Ahmad Draidi via Guix-patches via From: Ahmad Draidi 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 * gnu/packages/wm.scm (labwc): Update to 0.7.0. Change-Id: I35f7faf2ba3975481780b49d0dcdef6f39af46bc --- v2: Rebase gnu/packages/wm.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 78af2fb210..85bb6de834 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -3023,7 +3023,7 @@ (define-public libucl (define-public labwc (package (name "labwc") - (version "0.6.5") + (version "0.7.0") (source (origin (method git-fetch) (uri (git-reference @@ -3032,7 +3032,7 @@ (define-public labwc (file-name (git-file-name name version)) (sha256 (base32 - "04401k1i6b9s2v6mbhw5llla8fdpkhmgz826iva246iqch9z20lx")))) + "17p3wcnggnd4v37z1dgv8nmc35nq4261s8sglr44bf71vjircggz")))) (build-system meson-build-system) (native-inputs (list pkg-config gettext-minimal scdoc))