From patchwork Wed Feb 19 18:17:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vitor Hugo X-Patchwork-Id: 38848 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 26DAD27BBEA; Wed, 19 Feb 2025 18:18:33 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,T_PDS_PRO_TLD,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 2EFB427BBE2 for ; Wed, 19 Feb 2025 18:18:32 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tkoe4-0005Hl-Vo; Wed, 19 Feb 2025 13:18: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 ) id 1tkoe3-0005HR-NH for guix-patches@gnu.org; Wed, 19 Feb 2025 13:18: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 ) id 1tkoe3-0006U7-Df for guix-patches@gnu.org; Wed, 19 Feb 2025 13:18:03 -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:From:Date:To:Subject; bh=RUAM44CQSrxiGNDUo9nl9auxZ0QHfIiEzOQohO5NVZs=; b=JdI99Obi+GO2O61C2WAaPlsxv/Xs9nRxlOZJiJgVs33Ps5gepiNcL9PKBNfcvkc/OkwEkaTwUHDiq6zrhT0amQ6H4ExREJlDvtqSpp4ulaY/WLM1cU8V5OmEaZjG2PGRl7d/Y7Y8bT/YwtFVZmH+Nfzu4sANjEsv3GJyUPiKozfk2tQyNQhPIH9fQxSW0O2L/7MBp2ie7mnQTVYbKSjfJYLhz2tZMFxDCp4N7OZD2Lioog7zQYuGO+l0VtRdAy0gH26y+txDJQo+5+j6LQQoj7+hU3yHHNnkG6fKBSWQmRh50+utmCwTn3eEIkyIBGxyVBqOi0dU3O6ELq2vIamVAA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tkoe2-0003v1-Rw for guix-patches@gnu.org; Wed, 19 Feb 2025 13:18:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76419] [PATCH] * gnu/packages/games.scm (moonlight-qt): Modify inputs. Resent-From: Vitor Hugo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Feb 2025 18:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76419 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76419@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.173998905214865 (code B ref -1); Wed, 19 Feb 2025 18:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2025 18:17:32 +0000 Received: from localhost ([127.0.0.1]:51201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tkodX-0003rf-KL for submit@debbugs.gnu.org; Wed, 19 Feb 2025 13:17:32 -0500 Received: from lists.gnu.org ([2001:470:142::17]:46348) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tkodW-0003qv-8L for submit@debbugs.gnu.org; Wed, 19 Feb 2025 13:17:30 -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 1tkodQ-0005EE-49 for guix-patches@gnu.org; Wed, 19 Feb 2025 13:17:24 -0500 Received: from mail-4319.protonmail.ch ([185.70.43.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tkodL-0006Lp-Uk for guix-patches@gnu.org; Wed, 19 Feb 2025 13:17:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1739989029; x=1740248229; bh=RUAM44CQSrxiGNDUo9nl9auxZ0QHfIiEzOQohO5NVZs=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector: List-Unsubscribe:List-Unsubscribe-Post; b=IQK4YpBs1CTQHYsSyd29cBD+MAjqNVMjWZIQzIyu8Z1cIHgyAtoDq9ymF69mjrx2w 1gGEIiAajPHBbVbE1JsN206upoKucJ8I5zLhE/fUMmumAF0AqhGaXT9k+okslw1c/b A77IbEtg8un3ij1dJaPAUZgChfmfrHjDjO/gFdiDNOQ0fDW2F1Zh3Y764vZc+vfWkA +HF7BR/GwN75SySUzc8lM8i849vYYfgnCvrczwKaU/P3Zo8zDWnDS2XIu7xy4WpALZ sSlSHfECErrK1CYt5q6R5NOFYv3afczO5xAeHdxN15QwlBErz69qaFtZqty5kukVyP wumFRV7odc66Q== Date: Wed, 19 Feb 2025 18:17:05 +0000 Message-ID: Feedback-ID: 81067316:user:proton X-Pm-Message-ID: 7b6b66ce129e2263a40d2965823392216acfc170 MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.19; envelope-from=vitorhugonunes@proton.me; helo=mail-4319.protonmail.ch 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_PDS_PRO_TLD=0.01 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: , Reply-to: Vitor Hugo X-ACL-Warn: , Vitor Hugo via Guix-patches X-Patchwork-Original-From: Vitor Hugo via Guix-patches via From: Vitor Hugo 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 The package was missing `wayland` as an input, which broke hardware acceleration whenever running under wayland. This fixes it. Change-Id: I65b16f5e2e77627f79f45a63461436be51e0fa96 --- gnu/packages/games.scm | 44 +++++++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 30aaf0767a..10fe0f6dac 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -6566,15 +6566,15 @@ (define-public moonlight-qt (package (name "moonlight-qt") (version "6.1.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/moonlight-stream/moonlight-qt") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "06fxf3m26k036asxjkkykk5q96nincwmpiqm953m7zgr9224gidx")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/moonlight-stream/moonlight-qt") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "06fxf3m26k036asxjkkykk5q96nincwmpiqm953m7zgr9224gidx")))) (build-system qt-build-system) (arguments (list @@ -6583,18 +6583,25 @@ (define-public moonlight-qt #~(modify-phases %standard-phases (replace 'configure (lambda* _ - (symlink (string-append - #$(this-package-input "sdl2-gamecontrollerdb") - "/share/sdl2/gamecontrollerdb.txt") + (symlink (string-append #$(this-package-input + "sdl2-gamecontrollerdb") + "/share/sdl2/gamecontrollerdb.txt") "app/SDL_GameControllerDB/gamecontrollerdb.txt") ;; Unbundle libraries. (substitute* "moonlight-qt.pro" - ((" moonlight-common-c.*\n") "") - ((" qmdnsengine.*\n") "") - ((" h264bitstream.*\n") "") - ((" app \\\\") " app") - (("app.depends") "INCLUDEPATH +=")) - (invoke "qmake" (string-append "PREFIX=" #$output))))))) + ((" moonlight-common-c.*\n") + "") + ((" qmdnsengine.*\n") + "") + ((" h264bitstream.*\n") + "") + ((" app \\\\") + " app") + (("app.depends") + "INCLUDEPATH +=")) + (invoke "qmake" + (string-append "PREFIX=" + #$output))))))) (native-inputs (list pkg-config qttools-5)) (inputs (list ffmpeg h264bitstream @@ -6609,6 +6616,7 @@ (define-public moonlight-qt qtquickcontrols2-5 qtsvg-5 qtwayland-5 + wayland sdl2 sdl2-ttf sdl2-gamecontrollerdb))