From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2IFdIF53xWMxXQAAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 17:12:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qE1nIF53xWOhUQAA9RJhRA (envelope-from ) for ; Mon, 16 Jan 2023 17:12:14 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4747B17B97 for ; Mon, 16 Jan 2023 17:12:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHS5d-0005hg-EE; Mon, 16 Jan 2023 11:12: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 1pHS5c-0005hW-HM for guix-patches@gnu.org; Mon, 16 Jan 2023 11:12:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHS5a-0007xC-Ng for guix-patches@gnu.org; Mon, 16 Jan 2023 11:12:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHS5a-0003Tu-Ek for guix-patches@gnu.org; Mon, 16 Jan 2023 11:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59851] Add Moonlight Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Jan 2023 16:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59851 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: phodina Cc: 59851@debbugs.gnu.org Received: via spool by 59851-submit@debbugs.gnu.org id=B59851.167388548813330 (code B ref 59851); Mon, 16 Jan 2023 16:12:02 +0000 Received: (at 59851) by debbugs.gnu.org; 16 Jan 2023 16:11:28 +0000 Received: from localhost ([127.0.0.1]:34446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHS52-0003Sv-1m for submit@debbugs.gnu.org; Mon, 16 Jan 2023 11:11:28 -0500 Received: from mail-qv1-f54.google.com ([209.85.219.54]:40864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHS4z-0003Sb-SI for 59851@debbugs.gnu.org; Mon, 16 Jan 2023 11:11:26 -0500 Received: by mail-qv1-f54.google.com with SMTP id h10so19752196qvq.7 for <59851@debbugs.gnu.org>; Mon, 16 Jan 2023 08:11:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=95UnCKjsF2Xzcoeof1JYFUTUil3BCQSqRn8fTlj0gc4=; b=mGMX0JqGlxuNZrNvWcLoWLsEqqt/ZrRpKpChaRi5cJKOxEvq6rzy/NfOYywOmvG9lD 0WLPsXqO/Ah5wpC6U57QzjM5Om11Z4Vw780JRId0vMg0ZACONmjyl16pQNKKgzo5gQQZ p2W0hI2ZjUHoy0iNGguJK6wjb23oXNm2R41YT/2WPgH7HQfBRoboPM54zA7eO8F49nrM oONqJUFHzLdauPkEZQoAkYozOY5PZRtlFjNVpG1qRP5f28r9quBJBCctYXoq8jgTktLM Ns5cDg9nqZkUdv9nPPAcZrwCOeI2VmdxULqmGK2sdVvV0CE8w+vqmTURMIpcHGUdFJ8n HX8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=95UnCKjsF2Xzcoeof1JYFUTUil3BCQSqRn8fTlj0gc4=; b=0EWPMfeJITXj+gsLR+bDZqEwZE6vsABTqseZab9XhhU59QQOnCAiGhMWYFVEQ+KxWt mQEgm+aCDmQlZlPQTjxRersW9ej/lUUoOe3NWzUkezQzGp/ZHBuxLot9+pxUowDzgN7X qbt+Z8+Z22J14qA5touCDKy5RB4JpiIsUC40V5yt3DV/frnPJ5tUgUTsluwe9TuquYEH nn3z9lktXzN1dWYN289JXg1ReiPDGcEYOst4pxwjm79gUbKG88wIU0PxvuAinM8i0P3F mBeoC7LhktWcmvsKocwmgC+b0Foilknmt+WpB6QL2IyayKlX47qTmnpJNeWC/AuUjCIX qhYA== X-Gm-Message-State: AFqh2kohFBJH9NLtucYLV7lD0nagj9v+tIZ8Sc7z7OuglTWrlM8KukFq oMrD+oHKsezUwu8K6l5fUHdxCsLOgjEhya8A X-Google-Smtp-Source: AMrXdXuims0wQHpQMRQGFwXor1gJCK6ju9N8trb+DmKA2sKxnsGetc3d7+U493PUo3BX1XWnBo415w== X-Received: by 2002:a05:6214:3285:b0:534:2fa3:14a6 with SMTP id mu5-20020a056214328500b005342fa314a6mr25207400qvb.10.1673885480038; Mon, 16 Jan 2023 08:11:20 -0800 (PST) Received: from hurd (dsl-10-130-209.b2b2c.ca. [72.10.130.209]) by smtp.gmail.com with ESMTPSA id s10-20020a05620a29ca00b006fcb77f3bd6sm18587926qkp.98.2023.01.16.08.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 08:11:19 -0800 (PST) From: Maxim Cournoyer References: Date: Mon, 16 Jan 2023 11:11:18 -0500 In-Reply-To: (phodina@protonmail.com's message of "Tue, 06 Dec 2022 03:17:28 +0000") Message-ID: <87h6wq8no9.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673885534; a=rsa-sha256; cv=none; b=U0yAJLl79s93+ldL3N81oy3b6qhTD13gu8ABJszvmfcNrajrWEB3ky5vB0v5Tx4895rukt hVTajqcdqseGiNAAwPwSDPOslqQCJWcj9sLTKnhq0e6AmY3i2reBAdlfU9bldr3Iy3dWdG AQe7WdMM2z0OR1fB/TuLnNA52x6Io9n/e9VXsYOXfU2qWVityyaxJph4pmhg9qwsmTKnjU Vg5oKpG77hdYJMOPDVzt8h6xJuW1cRYO/L+ub1pT/nCuWfjLUAz0ZprSBtY2shoixufbpX Pq0tq2cRb38SL4vhTPm19u3l2TLNwitj4Ns9CCjRzCacVCoArTrBL2F8542xzA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mGMX0JqG; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673885534; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=95UnCKjsF2Xzcoeof1JYFUTUil3BCQSqRn8fTlj0gc4=; b=kwroIg6xhsPlaAPXHFCNsnMVRIjZmVmps355XTOWdIAygt9mQHKDxAf9SS6ONfxEdG+LNz 0eHSJBOKXb7H0FDE/k2H1ikRAgROeMAcVKeEuJfonojQLRjQJGZpVdTJUqPeDFiaoLI+p/ a+Ktf2l9brSfOUEErYxmxSOrMAMqzFmLQ795Blc5AxpDvXXl5rg9T/x/oBmf7hYG03wjJN PeQLuWV0339FbX0Ep7U6IEZtfZt5PnFX1WVcnEsd7g+OjGNI40+mSfLkihsrkQUx/Q0ZYQ Io87ti0dIz8/K9XffLNibwHQIF7ZOh7l+7Vd/ELXAhxJlBGqQY3guUvjVRhn/A== X-Migadu-Spam-Score: -0.53 X-Spam-Score: -0.53 X-Migadu-Queue-Id: 4747B17B97 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=mGMX0JqG; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-TUID: xFkJrQdHzNcM Hi again, phodina writes: > Hello, > > these patches add support for game streaming solution for Nvidia GameStream protocol. The client is open source. However, the games and the server is a non-libre application. > > ---- > Petr > > > > From 6f6e1a55787059f520428287fba474fe72c4a86b Mon Sep 17 00:00:00 2001 > From: Petr Hodina > Date: Sat, 3 Dec 2022 10:36:38 +0100 > Subject: [PATCH 6/6] gnu: Add moonlight. > > * gnu/packages/games.scm (moonlight): New variable. > > diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm > index 131784bc2a..d3628266ac 100644 > --- a/gnu/packages/games.scm > +++ b/gnu/packages/games.scm > @@ -5857,6 +5857,61 @@ (define-public bambam > colors, pictures, and sounds.") > (license license:gpl3+))) > > +(define-public moonlight > + (package > + (name "moonlight") Should that be called moonlight-qt? Or perhaps it's the flagship client, and thus 'moonlight' is appropriate, and other clients can have different names? > + (version "3.1.4") > + (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 > + "02y2rbiiawhj1dvgxdaz8k9kpz6zkv20zsk17fbqj8259m3g5xr5")))) > + (build-system qt-build-system) > + (arguments > + (list #:tests? #f An explanatory comment (;no test suite) ? is required. > + #:phases #~(modify-phases %standard-phases > + (replace 'configure > + (lambda* _ > + (symlink (string-append #$(this-package-input > + "sdl-gamecontrollerdb") > + "/gamecontrollerdb.txt") > + "app/SDL_GameControllerDB/gamecontrollerdb.txt") > + (substitute* "moonlight-qt.pro" > + (("moonlight-common-c \\\\") > + "#moonlight-common-c \\") > + (("qmdnsengine \\\\") "#qmdnsengine \\") > + (("app \\\\") "app") > + (("app.depends") "INCLUDEPATH +=") > + (("h264bitstream \\\\") "#h264bitstream \\")) > + (invoke "qmake" > + (string-append "PREFIX=" #$output))))))) Please explain what the non-obvious substitutions (commenting stuff) are for. > + (native-inputs (list pkg-config qttools-5)) > + (inputs (list moonlight-common > + libva > + libvdpau > + openssl > + opus > + qtbase-5 > + sdl-gamecontrollerdb > + qtquickcontrols2-5 > + qtdeclarative-5 > + qtsvg-5 > + qmdnsengine > + sdl2 > + sdl2-ttf > + h264bitstream > + ffmpeg)) Please sort inputs :-). > + (synopsis "GameStream client for PCs") I'd drop "for PCs", since it doesn't add much. > + (description > + "Moonlight PC is an open source implementation of NVIDIA's GameStream, as > +used by the NVIDIA Shield.") > + (home-page "https://moonlight-stream.org") > + (license license:gpl3))) That should also be gpl3+. -- Thanks, Maxim