From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.6 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id A4DDE43A99; Wed, 30 Nov 2022 13:07:04 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 496) id EF397439E5; Wed, 30 Nov 2022 13:07:00 +0000 (UTC) Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by atuin.qyliss.net (Postfix) with ESMTPS id 1088E43A6C for ; Wed, 30 Nov 2022 13:06:57 +0000 (UTC) Received: by mail-lj1-x233.google.com with SMTP id q7so20776520ljp.9 for ; Wed, 30 Nov 2022 05:06:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unikie.com; s=google; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vKpaGGrZ2Hdnj0/oDzKSussOMWhzRCgTXzAS3/m5iXY=; b=AzPXPQa5Eed1kdEux6w1pEUNB4CBbASzc5q16v/ATpM944fjEFDlJR6197cBp3MNs+ wLF91P2yUrzcSO6P3YjdH2JCs/hQo59D59eviPWyF78ZsPIJ2GIJAG6EyFdtAWaT+kLE /kFktpozFrpVSWf0JnWbwkovaY9JA8bCrOoDTe8pWWUTyP2GOjQQivH/13LGxVFXfdFA 1FmX8D0B5rlm0ZNGxZSVxIMdDcv7yva9j6brqxycjGPiw+OtNp+gJl7VCprjfrPprC8H 3dGYlXpglxBvcJVI1IpsrzEi+DKVDwhSwyvcPXEdnT5ZZv9b1WfZa/h0cFPdGipWtq2y I8zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vKpaGGrZ2Hdnj0/oDzKSussOMWhzRCgTXzAS3/m5iXY=; b=GVUl4eQajWJPJjtageSY7FQ5vK+m/3rg5x+wot6ZwzIMsNxdnvUYl0HR7ZfetPlCLa ZN19tZR6lMur+i3ZnP82BWRO2P3e6MUenGLgR6XXKp8ilqYJ0FfqsY0vUqpDes8mKcpq 97TTj6KupyI6TsBOrJRwMtEZ4/A+quihwJZWuRLKD9DXHWIHBsTSjc6lTv7nVeHACHT4 ISfACk7UapTDt4nM4pMCEFmSej/rQGJfpbcyV3o5v0z+U/8NbGrkZWQOouRgxWNH4bPg frYtm1Z9XP6dzWwAWc2N+kXNe6P6DeWPVoVxr60LR8XOJ3j1qp6XhR4dZyNiObmYxNDU +4QA== X-Gm-Message-State: ANoB5pnJjnSTwvj5L0HQwIR+XwDJHYwceUC6dTt/hLNqjZOgcCU4/Lbs XCzcQjwtM4Oi/pLED5jTpf7kZw== X-Google-Smtp-Source: AA0mqf5tjfu5G4Yr1LcCA9BH2ffnLDps/eQAqzQ+ctdA7VVmj8ViCj+Mg8ksDFqhrWd1NQ4T5oww2w== X-Received: by 2002:a2e:a4c7:0:b0:277:81ff:b8c4 with SMTP id p7-20020a2ea4c7000000b0027781ffb8c4mr18410089ljm.260.1669813611325; Wed, 30 Nov 2022 05:06:51 -0800 (PST) Received: from smtpclient.apple (88-114-171-198.elisa-laajakaista.fi. [88.114.171.198]) by smtp.gmail.com with ESMTPSA id n3-20020a2ebd03000000b0026c5579c64csm124992ljq.89.2022.11.30.05.06.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Nov 2022 05:06:51 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Subject: Re: [PATCH] Patches to waypipe package to enable static build with the cost of fancy feature From: Vadim Likholetov In-Reply-To: <20221130113241.2ljoxhxn5oqvsfqk@x220> Date: Wed, 30 Nov 2022 15:06:40 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20221130071409.1365019-1-vadim.likholetov@unikie.com> <20221130113241.2ljoxhxn5oqvsfqk@x220> To: Alyssa Ross X-Mailer: Apple Mail (2.3731.200.110.1.12) Message-ID-Hash: MNURXXSSU3LYAXOKWH2B4ZGI6SUI5RHO X-Message-ID-Hash: MNURXXSSU3LYAXOKWH2B4ZGI6SUI5RHO X-MailFrom: vadim.likholetov@unikie.com X-Mailman-Rule-Hits: header-match-devel.spectrum-os.org-0 X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1 CC: devel@spectrum-os.org X-Mailman-Version: 3.3.5 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: I think that=E2=80=99s not bad idea =E2=80=94 lets=E2=80=99 push it = upstream. > On 30 Nov 2022, at 13:32, Alyssa Ross wrote: >=20 > On Wed, Nov 30, 2022 at 09:14:09AM +0200, vadim likholetov wrote: >> Signed-off-by: vadim likholetov >> --- >> .../applications/networking/remote/waypipe/default.nix | 10 = +++++++++- >> 1 file changed, 9 insertions(+), 1 deletion(-) >=20 > Having pkgsStatic.waypipe work in Nixpkgs would be cool (even without > acceleration), if you're interested in pushing this upstream. It = would > have to conditionally disable the problematic dependencies so that = there > was no change in the dynamically linked case, of course. >=20 >> diff --git a/pkgs/applications/networking/remote/waypipe/default.nix = b/pkgs/applications/networking/remote/waypipe/default.nix >> index ec94d504b9d..bcc3770ecf7 100644 >> --- a/pkgs/applications/networking/remote/waypipe/default.nix >> +++ b/pkgs/applications/networking/remote/waypipe/default.nix >> @@ -20,7 +20,15 @@ stdenv.mkDerivation rec { >> nativeBuildInputs =3D [ meson ninja pkg-config scdoc ]; >> buildInputs =3D [ >> # Optional dependencies: >> - mesa lz4 zstd ffmpeg libva >> + # mesa lz4 zstd ffmpeg libva # TODO: one day recompile with = acceleration >> + lz4 zstd >> + ]; >> + >> + mesonFlags =3D [ >> + "-Dwith_video=3Ddisabled" >> + "-Dwith_systemtap=3Dfalse" >> + "-Dwith_vaapi=3Ddisabled" >> + "-Dwith_dmabuf=3Ddisabled" >> ]; >>=20 >> meta =3D with lib; { >> -- >> 2.36.2 >>=20 >>=20