patches and low-level development discussion
 help / color / mirror / code / Atom feed
* [PATCH] Patches to waypipe package to enable static build with the cost of fancy feature
@ 2022-11-30  7:14 vadim likholetov
  2022-11-30 11:32 ` Alyssa Ross
  0 siblings, 1 reply; 4+ messages in thread
From: vadim likholetov @ 2022-11-30  7:14 UTC (permalink / raw)
  To: devel; +Cc: vadim likholetov

Signed-off-by: vadim likholetov <vadim.likholetov@unikie.com>
---
 .../applications/networking/remote/waypipe/default.nix | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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 = [ meson ninja pkg-config scdoc ];
   buildInputs = [
     # Optional dependencies:
-    mesa lz4 zstd ffmpeg libva
+    # mesa lz4 zstd ffmpeg libva # TODO: one day recompile with acceleration
+    lz4 zstd
+  ];
+
+  mesonFlags = [
+  "-Dwith_video=disabled"
+  "-Dwith_systemtap=false"
+  "-Dwith_vaapi=disabled"
+  "-Dwith_dmabuf=disabled"
   ];
 
   meta = with lib; {
-- 
2.36.2



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Patches to waypipe package to enable static build with the cost of fancy feature
  2022-11-30  7:14 [PATCH] Patches to waypipe package to enable static build with the cost of fancy feature vadim likholetov
@ 2022-11-30 11:32 ` Alyssa Ross
  2022-11-30 13:06   ` Vadim Likholetov
  0 siblings, 1 reply; 4+ messages in thread
From: Alyssa Ross @ 2022-11-30 11:32 UTC (permalink / raw)
  To: vadim likholetov; +Cc: devel

[-- Attachment #1: Type: text/plain, Size: 1322 bytes --]

On Wed, Nov 30, 2022 at 09:14:09AM +0200, vadim likholetov wrote:
> Signed-off-by: vadim likholetov <vadim.likholetov@unikie.com>
> ---
>  .../applications/networking/remote/waypipe/default.nix | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)

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.

> 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 = [ meson ninja pkg-config scdoc ];
>    buildInputs = [
>      # Optional dependencies:
> -    mesa lz4 zstd ffmpeg libva
> +    # mesa lz4 zstd ffmpeg libva # TODO: one day recompile with acceleration
> +    lz4 zstd
> +  ];
> +
> +  mesonFlags = [
> +  "-Dwith_video=disabled"
> +  "-Dwith_systemtap=false"
> +  "-Dwith_vaapi=disabled"
> +  "-Dwith_dmabuf=disabled"
>    ];
>
>    meta = with lib; {
> --
> 2.36.2
>
>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Patches to waypipe package to enable static build with the cost of fancy feature
  2022-11-30 11:32 ` Alyssa Ross
@ 2022-11-30 13:06   ` Vadim Likholetov
  0 siblings, 0 replies; 4+ messages in thread
From: Vadim Likholetov @ 2022-11-30 13:06 UTC (permalink / raw)
  To: Alyssa Ross; +Cc: devel

I think that’s not bad idea — lets’ push it upstream.

> On 30 Nov 2022, at 13:32, Alyssa Ross <hi@alyssa.is> wrote:
> 
> On Wed, Nov 30, 2022 at 09:14:09AM +0200, vadim likholetov wrote:
>> Signed-off-by: vadim likholetov <vadim.likholetov@unikie.com>
>> ---
>> .../applications/networking/remote/waypipe/default.nix | 10 +++++++++-
>> 1 file changed, 9 insertions(+), 1 deletion(-)
> 
> 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.
> 
>> 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 = [ meson ninja pkg-config scdoc ];
>>   buildInputs = [
>>     # Optional dependencies:
>> -    mesa lz4 zstd ffmpeg libva
>> +    # mesa lz4 zstd ffmpeg libva # TODO: one day recompile with acceleration
>> +    lz4 zstd
>> +  ];
>> +
>> +  mesonFlags = [
>> +  "-Dwith_video=disabled"
>> +  "-Dwith_systemtap=false"
>> +  "-Dwith_vaapi=disabled"
>> +  "-Dwith_dmabuf=disabled"
>>   ];
>> 
>>   meta = with lib; {
>> --
>> 2.36.2
>> 
>> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH] Patches to waypipe package to enable static build with the cost of fancy feature
@ 2022-11-29 23:01 vadim likholetov
  0 siblings, 0 replies; 4+ messages in thread
From: vadim likholetov @ 2022-11-29 23:01 UTC (permalink / raw)
  To: devel; +Cc: vadim likholetov

---
 .../applications/networking/remote/waypipe/default.nix | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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 = [ meson ninja pkg-config scdoc ];
   buildInputs = [
     # Optional dependencies:
-    mesa lz4 zstd ffmpeg libva
+    # mesa lz4 zstd ffmpeg libva # TODO: one day recompile with acceleration
+    lz4 zstd
+  ];
+
+  mesonFlags = [
+  "-Dwith_video=disabled"
+  "-Dwith_systemtap=false"
+  "-Dwith_vaapi=disabled"
+  "-Dwith_dmabuf=disabled"
   ];
 
   meta = with lib; {
-- 
2.36.2



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-11-30 13:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-30  7:14 [PATCH] Patches to waypipe package to enable static build with the cost of fancy feature vadim likholetov
2022-11-30 11:32 ` Alyssa Ross
2022-11-30 13:06   ` Vadim Likholetov
  -- strict thread matches above, loose matches on Subject: below --
2022-11-29 23:01 vadim likholetov

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).