From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +DPiIzJ2xWP6fAEAbAwnHQ (envelope-from ) for ; Mon, 16 Jan 2023 17:07:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EmznIzJ2xWPUAgAA9RJhRA (envelope-from ) for ; Mon, 16 Jan 2023 17:07: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 3A46115BFD for ; Mon, 16 Jan 2023 17:07:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHS0m-0004ou-QJ; Mon, 16 Jan 2023 11:07:04 -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 1pHS0k-0004oX-Tx for guix-patches@gnu.org; Mon, 16 Jan 2023 11:07:02 -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 1pHS0k-0006oy-LN for guix-patches@gnu.org; Mon, 16 Jan 2023 11:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHS0k-0003Kz-8q for guix-patches@gnu.org; Mon, 16 Jan 2023 11:07: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:07: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.167388516412748 (code B ref 59851); Mon, 16 Jan 2023 16:07:02 +0000 Received: (at 59851) by debbugs.gnu.org; 16 Jan 2023 16:06:04 +0000 Received: from localhost ([127.0.0.1]:34438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHRzn-0003JY-IY for submit@debbugs.gnu.org; Mon, 16 Jan 2023 11:06:03 -0500 Received: from mail-qt1-f180.google.com ([209.85.160.180]:40900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHRzk-0003J2-Aj for 59851@debbugs.gnu.org; Mon, 16 Jan 2023 11:06:01 -0500 Received: by mail-qt1-f180.google.com with SMTP id jr10so17648161qtb.7 for <59851@debbugs.gnu.org>; Mon, 16 Jan 2023 08:06:00 -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=6ntXcoKp/4DPWR+SeN2pr7ouhpwJrzp0IF0xhmLzQ8c=; b=ONJzpHIN4CjHI7/tjFO/mQZL1NsnTgytfcoJuKAu7CWgsyX64hOau+tgsUUDyOTMpk 9+2q+G+sLAZ6jQj3/SSeEOcRn597SWB1B/QteuhPP/yVdlfzGt+hiQSDWmMcVdp5SslK NL4PAJCO+hZz4jLo6nFkZ6BT3LtzNtR1LunBzbE4Y89Td1nK8stNDXxPsImCpnlrBw2F 8xo700jWN+yNLGgAmJS/rj+J9az5YZekY6j3toaVoJiUNXbJd27ElU5BJWDgd/8+3omz 1DRT8h/u+vCPbjl7DeRHRQYq75/S1cUXkyI80/AM47b24CidWvZWeK4M7gzTynPIASkZ OT7A== 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=6ntXcoKp/4DPWR+SeN2pr7ouhpwJrzp0IF0xhmLzQ8c=; b=PrYPNnjZy0f9QKRFjYooStEYyu7JcsDR2UNH5JpLe7fsY5eFZHAMpqMUp5qzEgBdAA WRI7x4iVlGlU5+BSonwHaA7QIU6A6xsm5kweYoJeKWAcnkG2/Iwm6X+9ZtIhTWngg4bn GvlhZ20VeQjUi4Q8Cw13/WjbQSXn2dq2brJerAF6sRpWTH8BoqmMhz3Ecj0rEoDnE+kA FMZG1b7CqfA5WGLVGkyxdzoIymWv8F5yQoS7mm/yG595x1HK6zJPWrXIUEmrMwyaFNba lxwwi+j5AViNtnONz/FJ4dYVPeG/YvokwdlQh/jLZ4Us1h2Mflmoep+59byE4JyBQyZp JbiA== X-Gm-Message-State: AFqh2koruxpbfhBV//Ibp9NV0p2SuPU1jWZuQme+KjLRS4UujIjVyFRS 1wB1d0K6+znOmLUOSvXmA7DYc2f2CHOS+z+6 X-Google-Smtp-Source: AMrXdXsTBeBCJr8YEFtvKuDO81Gkr9j0taggD6DEkfFhBcjWSIlt7cw1muTAEhCaLnmJdFGVYWnHAA== X-Received: by 2002:ac8:5309:0:b0:3b6:2c11:3569 with SMTP id t9-20020ac85309000000b003b62c113569mr9702430qtn.34.1673885154645; Mon, 16 Jan 2023 08:05:54 -0800 (PST) Received: from hurd (dsl-10-130-209.b2b2c.ca. [72.10.130.209]) by smtp.gmail.com with ESMTPSA id 9-20020ac85709000000b003b63a734434sm311011qtw.52.2023.01.16.08.05.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Jan 2023 08:05:54 -0800 (PST) From: Maxim Cournoyer References: Date: Mon, 16 Jan 2023 11:05:53 -0500 In-Reply-To: (phodina@protonmail.com's message of "Tue, 06 Dec 2022 03:17:28 +0000") Message-ID: <87lem28nxa.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-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ONJzpHIN; 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-Seal: i=1; s=key1; d=yhetil.org; t=1673885234; a=rsa-sha256; cv=none; b=bOuNoUfUH9XsSmk9YkSivs7s+3X1ql6VAbPez5KkboA09FEjDIe5suQElnt8CM6Nqkcurf cNdxJ8al+IF/T06CCkrPvIJCoXZRokNf3BFpGE8ZAsezY0EBygREu2cT+JnMiB7+f3geYs GFIYk0pfKh8bkNtsU1O23DvhnSBAoRYYJnJr3hZsAG+G3to5rNo/kOwYV87v7DLnWjiuEb 0PxLEuVcbr48fr+rRivAqCmhEgYAKsHPqmR/sqPRuZ6CIC1i3PAvSZyBzfJ4TJ1RS/JLOd b9Za7NKg8wamyeaHFVo8fW1Syz15/XW0T+bq6Zaw09VWB7UBAxIkszEueorJzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673885234; 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=6ntXcoKp/4DPWR+SeN2pr7ouhpwJrzp0IF0xhmLzQ8c=; b=eI+RJloYBjh1EPv1QnhDxLh+sWCGTgggjigwzF/M6mgOJ+sKHFQnvatpdLTcjT8eCxebV/ Sd+rDy8dV/AxZW8DlIa8UALOmXbKnOk5zPUK7vRGL8G2/h7r/98Dh3wcIzPPGVh8V+vIEU GuaxmcAzomNaW6aEp9A9/Ka1+bWQVTOJXroyXbDb7++MSY672b+gSsX8gsw2ID068MPI11 kCBO7+lsAQPPPXhxXi/wtIT+0+oSoKYOWy+Q1SzL2levte17EfLdJiugzSDy7vogNlZLHm 61SIpuXdwsYjWLbj765RNblcPbdyTdYH6qt0EzXG6sejcLardGA+n8CAximy4Q== X-Migadu-Queue-Id: 3A46115BFD X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ONJzpHIN; 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-Migadu-Spam-Score: -1.03 X-Spam-Score: -1.03 X-TUID: QHPLeGHFwOp6 Hello, 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 413514efa6d87236d6f3e26166ac82fc3a85a9dd Mon Sep 17 00:00:00 2001 > From: Petr Hodina > Date: Sat, 3 Dec 2022 10:35:36 +0100 > Subject: [PATCH 4/6] gnu: Add moonlight-common. > > * gnu/packages/games.scm (moonlight-common): New variable. > > diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm > index 9d79efbe94..131784bc2a 100644 > --- a/gnu/packages/games.scm > +++ b/gnu/packages/games.scm > @@ -5857,6 +5857,50 @@ (define-public bambam > colors, pictures, and sounds.") > (license license:gpl3+))) > > +(define-public moonlight-common > + (let ((commit "8c55c086d596607041e4394fb62a1bc800b7f37c") > + (revision "1")) > + (package > + (name "moonlight-common") > + (version commit) > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url > + "https://github.com/moonlight-stream/moonlight-common-c") > + (commit version))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "0pqm0a2p2sqvazv5gak6gl7d405kaaq6r13l7yhycm0myayqavrp")))) > + (build-system cmake-build-system) > + (arguments > + `(#:tests? #f > + #:phases (modify-phases %standard-phases > + (add-after 'unpack 'use-enet-pkg Perhaps name the phase 'use-system-enet-package' or 'unbundle-enet-moonlight'. > + (lambda _ > + (substitute* "CMakeLists.txt" > + (("add_subdirectory\\(enet\\)") > + "")))) > + (replace 'install > + (lambda* (#:key outputs source #:allow-other-keys) > + (let* ((out (assoc-ref outputs "out")) > + (include (string-append out "/include")) > + (lib (string-append out "/lib"))) > + (mkdir-p include) > + (mkdir-p lib) > + (install-file (string-append source > + "/src/Limelight.h") > + include) > + (install-file "libmoonlight-common-c.so" lib))))))) It seems their build system is broken if it doesn't install these, and thus should be reported upstream (with a comment linking to it here). > + (native-inputs (list pkg-config)) > + (inputs (list qtbase-5 openssl enet-moonlight)) Please sort inputs :-). > + (synopsis "Core implementation of Nvidia's GameStream protocol") I'd use "GameStream protocol core implementation" > + (description > + "This package provides the code GameStream code shared between @code{Moonlight} clients.")j Provides the "core". > + (home-page "https://github.com/moonlight-stream/moonlight-common-c") > + (license license:gpl3)))) The license should be gpl3+, as the LICENSE text contains the original "or any later version" and there doesn't seem to be source headers contradicting that. -- Thanks, Maxim