GNU bug report logs - #45707
[PATCH] gnu: Add obs-v4l2sink.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Evan Straw <evan.straw99@HIDDEN>; Keywords: patch; dated Wed, 6 Jan 2021 23:37:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 45707 <at> debbugs.gnu.org:


Received: (at 45707) by debbugs.gnu.org; 13 Jan 2021 14:35:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 13 09:35:57 2021
Received: from localhost ([127.0.0.1]:34752 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kzhFd-0004uV-0T
	for submit <at> debbugs.gnu.org; Wed, 13 Jan 2021 09:35:57 -0500
Received: from eggs.gnu.org ([209.51.188.92]:33468)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1kzhFc-0004uK-5E
 for 45707 <at> debbugs.gnu.org; Wed, 13 Jan 2021 09:35:56 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:57053)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1kzhFW-0007js-RW; Wed, 13 Jan 2021 09:35:50 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39002 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1kzhFW-0005N3-Co; Wed, 13 Jan 2021 09:35:50 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Alexey Abramov <levenson@HIDDEN>
Subject: Re: bug#45707: [PATCH] gnu: Add obs-v4l2sink.
References: <87turt4ogl.fsf@HIDDEN>
 <cd43c295-5e37-4d9e-8baa-000c83d386ca@HIDDEN>
 <87turt2m7v.fsf@HIDDEN>
Date: Wed, 13 Jan 2021 15:35:49 +0100
In-Reply-To: <87turt2m7v.fsf@HIDDEN> (Alexey Abramov's message of "Thu, 07
 Jan 2021 09:19:16 +0100")
Message-ID: <87pn28aoqi.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 45707
Cc: 45707 <at> debbugs.gnu.org, Evan <evan.straw99@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Alexey Abramov <levenson@HIDDEN> skribis:

> In order to provide plugins for obs via $XDG_CONFIG_HOME (~/.config) you =
need to provide the following structure:
>
> "$XDG_CONFIG_HOME/obs-studio/plugins/<module-name>/bin/<arch>/"
>
> As it implemented in obs-studio (~/obs-studio/UI/window-basic-main.cpp)
>
>   static void AddExtraModulePaths()
>   {
>           char base_module_dir[512];
>   #if defined(_WIN32) || defined(__APPLE__)
>           int ret =3D GetProgramDataPath(base_module_dir, sizeof(base_mod=
ule_dir),
>                                        "obs-studio/plugins/%module%");
>   #else
>           int ret =3D GetConfigPath(base_module_dir, sizeof(base_module_d=
ir),
>                                   "obs-studio/plugins/%module%");
>   #endif

What about patching this function so that it honors, say, an
=E2=80=98OBS_PLUGIN_PATH=E2=80=99 environment variable?

We=E2=80=99d put plugins under $prefix/lib/obs-studio/plugins and define a
=E2=80=98search-path-specification=E2=80=99 for it.

My 2=C2=A2,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#45707; Package guix-patches. Full text available.

Message received at 45707 <at> debbugs.gnu.org:


Received: (at 45707) by debbugs.gnu.org; 7 Jan 2021 08:19:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 07 03:19:26 2021
Received: from localhost ([127.0.0.1]:46235 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kxQVy-0002pO-L6
	for submit <at> debbugs.gnu.org; Thu, 07 Jan 2021 03:19:26 -0500
Received: from mx4.mail.mmer.org ([178.22.66.29]:33676)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <levenson@HIDDEN>) id 1kxQVw-0002pG-QA
 for 45707 <at> debbugs.gnu.org; Thu, 07 Jan 2021 03:19:25 -0500
Received: from delta.lan (unknown [10.147.19.73])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx4.mail.mmer.org (Postfix) with ESMTPSA id E83DE9CC35;
 Thu,  7 Jan 2021 07:48:38 +0000 (UTC)
From: Alexey Abramov <levenson@HIDDEN>
To: Evan <evan.straw99@HIDDEN>
Subject: Re: [bug#45707] [PATCH v2] gnu: Add obs-v4l2sink.
References: <87turt4ogl.fsf@HIDDEN>
 <cd43c295-5e37-4d9e-8baa-000c83d386ca@HIDDEN>
Date: Thu, 07 Jan 2021 09:19:16 +0100
In-Reply-To: <cd43c295-5e37-4d9e-8baa-000c83d386ca@HIDDEN> (Evan's message
 of "Thu, 7 Jan 2021 04:37:45 +0000 (UTC)")
Message-ID: <87turt2m7v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 45707
Cc: 45707 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Evan,

You can make it work.=20

In order to provide plugins for obs via $XDG_CONFIG_HOME (~/.config) you ne=
ed to provide the following structure:

"$XDG_CONFIG_HOME/obs-studio/plugins/<module-name>/bin/<arch>/"

As it implemented in obs-studio (~/obs-studio/UI/window-basic-main.cpp)

--8<---------------cut here---------------start------------->8---
  static void AddExtraModulePaths()
  {
          char base_module_dir[512];
  #if defined(_WIN32) || defined(__APPLE__)
          int ret =3D GetProgramDataPath(base_module_dir, sizeof(base_modul=
e_dir),
                                       "obs-studio/plugins/%module%");
  #else
          int ret =3D GetConfigPath(base_module_dir, sizeof(base_module_dir=
),
                                  "obs-studio/plugins/%module%");
  #endif

          if (ret <=3D 0)
                  return;

          string path =3D base_module_dir;
  #if defined(__APPLE__)
          obs_add_module_path((path + "/bin").c_str(), (path + "/data").c_s=
tr());

          BPtr<char> config_bin =3D
                  os_get_config_path_ptr("obs-studio/plugins/%module%/bin");
          BPtr<char> config_data =3D
                  os_get_config_path_ptr("obs-studio/plugins/%module%/data"=
);
          obs_add_module_path(config_bin, config_data);

  #elif ARCH_BITS =3D=3D 64
          obs_add_module_path((path + "/bin/64bit").c_str(),
                              (path + "/data").c_str());
  #else
          obs_add_module_path((path + "/bin/32bit").c_str(),
                              (path + "/data").c_str());
  #endif
  }
--8<---------------cut here---------------end--------------->8---


So what I am currently have is this:

--8<---------------cut here---------------start------------->8---
  =CE=BB find ~/.config/obs-studio/plugins=20
  /home/levenson/.config/obs-studio/plugins
  /home/levenson/.config/obs-studio/plugins/v4l2sink
  /home/levenson/.config/obs-studio/plugins/v4l2sink/bin
  /home/levenson/.config/obs-studio/plugins/v4l2sink/bin/64bit
  /home/levenson/.config/obs-studio/plugins/v4l2sink/bin/64bit/v4l2sink.so
--8<---------------cut here---------------end--------------->8---

where the library is a symlink

v4l2sink.so -> /home/levenson/.guix-profile/lib/obs-plugins/v4l2sink.so

--=20
Alexey




Information forwarded to guix-patches@HIDDEN:
bug#45707; Package guix-patches. Full text available.

Message received at 45707 <at> debbugs.gnu.org:


Received: (at 45707) by debbugs.gnu.org; 7 Jan 2021 04:37:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 06 23:37:55 2021
Received: from localhost ([127.0.0.1]:46044 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kxN3a-0005mW-QE
	for submit <at> debbugs.gnu.org; Wed, 06 Jan 2021 23:37:55 -0500
Received: from mail-pf1-f170.google.com ([209.85.210.170]:33045)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <evan.straw99@HIDDEN>) id 1kxN3Z-0005mH-9d
 for 45707 <at> debbugs.gnu.org; Wed, 06 Jan 2021 23:37:53 -0500
Received: by mail-pf1-f170.google.com with SMTP id h186so3127855pfe.0
 for <45707 <at> debbugs.gnu.org>; Wed, 06 Jan 2021 20:37:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=date:from:to:message-id:in-reply-to:references:subject:mime-version
 :autocrypt; bh=fFKynV7ATyb58UdXZZUeSnkiN1ecLJqBqCaYGS63fqM=;
 b=klZVf1DVnCfqmxrjfhxLmq5AjNGDXDhJy4ZqVdpYjINyCtwqRg4fJaxHh4C3mvdwyo
 Ws5jrBnFbRsdCTSJEK6xU7qUk06CC1tYFDCMjNaCfdd/wTEkcdXVHZTYG7VPw48VPWTP
 3EbikATX4pOgI6dBkkoj/VtIuEIF2sgSFYXW2qJD8ykrKcc+rI8g7xH9KAVLhZ8Gpsbo
 7D/HpbA/23r40ypGd4oxqkUF6ZqBC3X0eVGgFSz070J3dpdufKrlTJo2k9WpkMX/0k3w
 hNdDgjmgm06YKUIefC/XqdomKjMDpldH2x3GTkdiW+Y2RosIqbpZEs+/qmaWBwOinBK1
 rKYA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
 :subject:mime-version:autocrypt;
 bh=fFKynV7ATyb58UdXZZUeSnkiN1ecLJqBqCaYGS63fqM=;
 b=tr6OmPVTBVCkBjkLZIq3r1/yo/Zs638muHx80Z/l64hX5UstraSm+QSkIpp2DjDkd9
 lDxuP/1uJQnLToqNWebc4qjtzSR0qMCSbXw0bRCMwS0Tf60d+csvKixkhKkyy56uWYq0
 kwdYYrI0+qE5OAF+e9CyKoP1NMlvFyxpJ9qhIBEEQV7tTqScBZUr1DcyY+0mYM4M0RLR
 yfVogHzSxKlle0Sm+VAXeBrLaBlVDsgeE4T0rPxmNbbqM4KeWcan86Y2Eg52iUBsj0AP
 GOxnxlRy7ygRgh12X5scy6iJ3Qamb4tjzVg28nbmpAelDslOrPxPBKZ4r8uP3zDiko46
 jeEw==
X-Gm-Message-State: AOAM532CtWoZdPuxqnQGCEVurE2Exku7YTC8qr8MzfD/XfqtexwbuL96
 QENzCexfEUdhoiZXE3BOKD21qOfaEMlBWg==
X-Google-Smtp-Source: ABdhPJyxb3vwtv4ZvDHUTzr05tb4Fjic9A0N0B2M5Mvn+6dM41+mZJa5BJCj+LA/eawkzBbytGjCzw==
X-Received: by 2002:a62:25c7:0:b029:156:72a3:b0c0 with SMTP id
 l190-20020a6225c70000b029015672a3b0c0mr6814479pfl.59.1609994266984; 
 Wed, 06 Jan 2021 20:37:46 -0800 (PST)
Received: from [127.0.0.1] (137-025-019-170.res.spectrum.com. [137.25.19.170])
 by smtp.gmail.com with ESMTPSA id
 6sm4099733pfj.216.2021.01.06.20.37.45 for <45707 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 06 Jan 2021 20:37:46 -0800 (PST)
Date: Thu, 7 Jan 2021 04:37:45 +0000 (UTC)
From: Evan <evan.straw99@HIDDEN>
To: 45707 <at> debbugs.gnu.org
Message-ID: <cd43c295-5e37-4d9e-8baa-000c83d386ca@HIDDEN>
In-Reply-To: <87turt4ogl.fsf@HIDDEN>
References: <87turt4ogl.fsf@HIDDEN>
Subject: Re: [PATCH v2] gnu: Add obs-v4l2sink.
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512; 
 protocol="application/pgp-signature"; 
 boundary="----=_Part_10_262676706.1609994265449"
X-Correlation-ID: <cd43c295-5e37-4d9e-8baa-000c83d386ca@HIDDEN>
Autocrypt: addr=evan.straw99@HIDDEN; prefer-encrypt=mutual; keydata=
 mQINBFw9a5YBEADVfqmQsZeZvn3qSnNGPWpuCpbWaL9H7YB2zUv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There: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

------=_Part_10_262676706.1609994265449
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64

T24gZnVydGhlciBpbnZlc3RpZ2F0aW9uLCBJJ20gbm90IGV2ZW4gc3VyZSB0aGlzIHBhY2thZ2Ug
d2lsbCB3b3JrIGNvcnJlY3RseSBiZWNhdXNlIG9mIHRoZSB3YXkgT0JTIGhhbmRsZXMgcGx1Z2lu
cy4gVG8gaW5zdGFsbCBwbHVnaW5zLCBPQlMgcmVxdWlyZXMgdGhhdCB5b3UgYWRkIHRoZWlyIC5z
byBmaWxlcyB0byBhIHBsdWdpbnMgZGlyZWN0b3J5IHVuZGVyIHRoZSBPQlMgc2hhcmUgZGlyZWN0
b3J5LCB3aGljaCB1bmRlciBHdWl4IHNob3VsZCBiZSBpbW11dGFibGUuIEFzIGZhciBhcyBJJ20g
YXdhcmUsIHRoZXJlIGRvZXNuJ3Qgc2VlbSB0byBiZSBhIHdheSB0byBnZXQgT0JTIHRvIHVzZSBh
IGRpZmZlcmVudCBkaXJlY3Rvcnkgb3IgdXNlIGFuIGVudmlyb25tZW50IHZhcmlhYmxlIGNvbnRh
aW5pbmcgc2VhcmNoIHBhdGhzLiBOb3Qgc3VyZSBpZiB0aGVyZSBpcyBhIHdheSB0byBldmVuIGdl
dCBwbHVnaW5zIGZvciBPQlMgdG8gd29yayBhdCBhbGwgdW5kZXIgR3VpeCBpZiB0aGlzIGlzIHRo
ZSBjYXNlLgoKQXBvbG9naWVzIGZvciBjcmVhdGluZyB0aGlzIHBhdGNoIHdpdGhvdXQgaGF2aW5n
IHJlYWxseSBkb25lIHRoaXMgcmVzZWFyY2ggZmlyc3QuIElmIHRoZXJlJ3MgcmVhbGx5IG5vIHdh
eSB0byBnZXQgdGhpcyB0byB3b3JrIHVuZGVyIEd1aXgsIHRoZW4gZmVlbCBmcmVlIHRvIGp1c3Qg
Y2xvc2UgdGhpcyB0aWNrZXQuCgotLUV2YW4KCkphbiA2LCAyMDIxIDM6NDc6NTUgUE0gRXZhbiBT
dHJhdyA8ZXZhbi5zdHJhdzk5QGdtYWlsLmNvbT46Cgo+ICAK
------=_Part_10_262676706.1609994265449
Content-Type: application/pgp-signature; name=signature.asc
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename=signature.asc

-----BEGIN PGP SIGNATURE-----

iQJBBAABCgArJBxFdmFuIFN0cmF3IDxldmFuLnN0cmF3OTlAZ21haWwuY29tPgUC
X/aQEgAKCRD1MMO0oqnwbQPdD/9944F/Cc9CImYxp/pnUzNh6Woi7qE44fLE8XdQ
nJ8D2C/FXIwxBdQZ3N54+v7bWLBBvvUsOa0qLw5QFwwPHxE2slCSwnNgzXAzp2TU
eOBzvR3w6jZppyWt5xYh/C/ns5fO+mwNN0LvhvUPPXMLO1NBLRkq11YzEdPEkE8C
FrektWfOHokzUdf67XEzJqI4S/pMfnHZIPBOUsGlgoFrPMhe5VfbfGYN1zFCccOj
mak1UMxqlAWrue8a8IpQYVESz/+zm2zsAT+2AHTsF4AdSyGCt0AoLaSsAwN5OW+1
Rrr0dtZ1Fpbp2uS7TajLeKOCSKYcoLth36XkYTmTQ81KN1rjZyYFWRSUjCIg/b7I
XvVzxdybi6mH0d5ZfavsbPb+HerBHNpj/DMlUFOXJC8DMJgQ6PRCOhDM1Ma4IAgK
5jxo7rKfByEF20lnYUOso1mFiy7W1rsRRNNREOko9+vQimiPkULLFf7GZHMVfLuF
kfGLYw+lTHc6+iqhsc6gmWrCmZgh7I/C8o7rSHs7LvlJRItIUt1RwqJjg8K1OjhW
7H/uA7JgA03uj2XudGRL+oH9nDw5KxAWBH9oYHG/z5yfx4vxy7I1161kIk6nhz8e
i8nCQ57kJU6OVpOzyAhFVe7tyt3Ek5dYkbLEq10UUlS2UylvewY2z1EFsZcl+RVf
kPntEg==
=pCZx
-----END PGP SIGNATURE-----

------=_Part_10_262676706.1609994265449--




Information forwarded to guix-patches@HIDDEN:
bug#45707; Package guix-patches. Full text available.

Message received at 45707 <at> debbugs.gnu.org:


Received: (at 45707) by debbugs.gnu.org; 7 Jan 2021 00:11:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 06 19:11:26 2021
Received: from localhost ([127.0.0.1]:45921 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kxIti-0007zH-HE
	for submit <at> debbugs.gnu.org; Wed, 06 Jan 2021 19:11:26 -0500
Received: from mail-wm1-f50.google.com ([209.85.128.50]:33535)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <anothersms@HIDDEN>) id 1kxIth-0007z4-3d
 for 45707 <at> debbugs.gnu.org; Wed, 06 Jan 2021 19:11:25 -0500
Received: by mail-wm1-f50.google.com with SMTP id n16so4012500wmc.0
 for <45707 <at> debbugs.gnu.org>; Wed, 06 Jan 2021 16:11:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:in-reply-to:references:date:message-id:mime-version;
 bh=mK+sMXtLaQpLu0YB1zbBk3x5RmDfSAbwEP+juz3cO7Q=;
 b=UPwz9XYhMnLt7OF3tmde/up8z4BilkY64gdv7B2NpV8N0Ws+YHcNLh8uLaD8i0s6WK
 dDfFeKIPuSwCVACYBi8v0ZctI7hFFlUfpK1YOYL7qwQwpLZxhuX5SAukw9vFO6MTcID8
 KZ5QiAfi2Ll1K5zio7cuMa/pYK23Sa4+L3WpP5PiqL6bzf5gBa/ReizxLRyNuIO3ltmY
 k3HzZYRhEFGuOWvunko13Sown462AL4GoGHMv2y9ZRXmPP0gGSTbMrImxDBr6NZdWpBE
 9G3gqsMAfqFpbehyBbtaCmo+6IY1JO3ZOHn4sXPdB5ZF76+Ekj8a1SQslXKm85o3va3v
 HXEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:in-reply-to:references:date
 :message-id:mime-version;
 bh=mK+sMXtLaQpLu0YB1zbBk3x5RmDfSAbwEP+juz3cO7Q=;
 b=ivXm6beO6ICfBRvxOFxxJf3Yzr9n6hEpe33Qm40FVYm6pDY3UzO913MM8h0KOl8OgZ
 QMV/fQ4Aw5dVQokQYCYQJPHf8ivxXMaEQQRKSZ1nWKAzg/77ZpiD+BBKtaNJFzioFINU
 XL3QgGC/ZgoIBp0MsEZahVRggWcWwpHZRtX4qp0r+NrqdNZS3hTYpJysFk9V7I1rOH5X
 3kEdSoEoH0b/3Q1Y5WXq/c+77v6HdjAqSsMlHO6G8VkN915iKJbzYEDSe8oPIpytvgYg
 ar3ZvdrR4boKSa9cNEKRT0/opLpLF8tk82o4/PAgko8V0djvd1FHntAosYIY+qCP2L1w
 vqEw==
X-Gm-Message-State: AOAM5305I0mdHXxfT5QxP+o5bDWi67a8JlRFB3/EKw5pzuWXa6wrtAQ6
 jOI0jHUVYupH796ESUdVPCKH3b3kbxg=
X-Google-Smtp-Source: ABdhPJz8hKCLTNlYoz7Ef4uZ7CgPGsYA2gr0RfNut/zEmDwRIJbPLlkGuH370HZxAtVS6XbzqVOajA==
X-Received: by 2002:a1c:730f:: with SMTP id d15mr5633739wmb.135.1609978279398; 
 Wed, 06 Jan 2021 16:11:19 -0800 (PST)
Received: from guixSD (host-87-5-154-145.retail.telecomitalia.it.
 [87.5.154.145])
 by smtp.gmail.com with ESMTPSA id n16sm5093512wrj.26.2021.01.06.16.11.18
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 06 Jan 2021 16:11:18 -0800 (PST)
From: =?utf-8?Q?Nicol=C3=B2?= Balzarotti <anothersms@HIDDEN>
To: Evan Straw <evan.straw99@HIDDEN>, 45707 <at> debbugs.gnu.org
Subject: Re: [bug#45707] [PATCH v2] gnu: Add obs-v4l2sink.
In-Reply-To: <87turt4ogl.fsf@HIDDEN>
References: <875z4963kf.fsf@HIDDEN> <87turt4ogl.fsf@HIDDEN>
Date: Thu, 07 Jan 2021 01:11:17 +0100
Message-ID: <87y2h5ip22.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 45707
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Thanks for the update.

Evan Straw <evan.straw99@HIDDEN> writes:
> +              (method git-fetch)
> +              (uri (git-reference (url "https://github.com/CatxFish/obs-v4l2sink")
> +                                  (commit version)))


I'm not 100% sure (I usually don't do patch review) but I think the
indentation is wrong (line should break after git-reference).

> +    (inputs `(("qtbase" ,qtbase)
> +              ("obs" ,obs)))
I think it's the same after inputs..

> +    (description "An @dfn{Open Broadcaster Software} (OBS) Studio plugin that
> +provides output capabilities to a @dfn{Video4Linux2} (v4l2) device.  It can be
> +used with @code{v4l2loopback} to achieve cross-program video transfer between
I think that instead of definitions, those are acronyms, so it should be
@acronym{OBS, Open Broadcaster Software} and @acronym{Video 4 Linux 2,
vl42}.

I'd say that you should wait for somebody that knows better than me
before applying my suggestions.

It builds and lint is ok, but obs does not work on my laptop (video card
too old) so I cannot test that it run.

Nicolo




Information forwarded to guix-patches@HIDDEN:
bug#45707; Package guix-patches. Full text available.

Message received at 45707 <at> debbugs.gnu.org:


Received: (at 45707) by debbugs.gnu.org; 6 Jan 2021 23:48:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 06 18:48:03 2021
Received: from localhost ([127.0.0.1]:45902 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kxIX5-0007RK-EX
	for submit <at> debbugs.gnu.org; Wed, 06 Jan 2021 18:48:03 -0500
Received: from mail-pg1-f182.google.com ([209.85.215.182]:34366)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <evan.straw99@HIDDEN>) id 1kxIX4-0007Qm-6D
 for 45707 <at> debbugs.gnu.org; Wed, 06 Jan 2021 18:48:02 -0500
Received: by mail-pg1-f182.google.com with SMTP id i5so3376641pgo.1
 for <45707 <at> debbugs.gnu.org>; Wed, 06 Jan 2021 15:48:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=Arj3QsnQ5Tz47+W7wEYLUwgOIFBCWQNxRPCIXDrxonY=;
 b=GWrvrV1dOI/tNTb7cL087/gGiqdBHJUFg0uxA0mU6bl3SiKs7GigMavT0JWBS7ya4P
 X36Yn/C35VecgWvrYKIuuRT6WY8/C2ui1lj8V7pYMjJcT5/RDvZ9tuSzfJdXPPuUGWwY
 4o1VBzBQmC53h5zQUWixSXdfuebgdrjpybegAikb5ekc4+iYMwWO4jmeFBj+KNRynsey
 4oxfnBZGHHEHy62eA9x5/KgC0+0wDV5E6uRpl2kApArw15Z7eF07auva7KN2Xdri8do6
 umLMAtODpZ7P9IvqUFe6NISa3IxrbyDFUa4x+xZMd3EUo0+Ul0pErpADrrBX8DF8pS/u
 Ox6g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=Arj3QsnQ5Tz47+W7wEYLUwgOIFBCWQNxRPCIXDrxonY=;
 b=L5+gPneDoOdUEz0BUUfUTCZgLVbHGGrWBCnVN3iIe7QEVPX26uMbqEOtUu/DjXjN4y
 AGplnmZcL3cWhRMdilPizf30l4bRV9rLNRUsy5zTAYnxrySFvIQQ/hHdcaKbYme8EI/I
 0jXVsGpH4JC56e9lbsmk04VzTPEbDX6VRv5U0EiBTYdKW5h+zLwJ4p/hZxXNYM2FBl18
 w7VCMUjaxaHP999tODkiTiQY0rAP+dikQmpPXRkQpsfPIFc8pELANP0FU9VPRdBGdlp0
 05BI6J0IX4X0/c67Q+IGxzbsiaU/QdTanemlkDF1wKY1kkrs784nQ10f19+JdLoeNEdu
 0ccA==
X-Gm-Message-State: AOAM5309yrW6vEWIPHN4ffIxbMnxOWgppAVdDiqfnXn+HfsZPBRpRRfm
 xIPEjJgi/X7LGi3OHBE0u36HrWTjiFh3rw==
X-Google-Smtp-Source: ABdhPJyla05ZKt5oM3ZrN/9hYmVR9GNnUY6cXN9okhHuHeWFRANcGl20W0pzq6f5iJf/85fvRHf+2Q==
X-Received: by 2002:a63:d917:: with SMTP id r23mr7067100pgg.126.1609976876341; 
 Wed, 06 Jan 2021 15:47:56 -0800 (PST)
Received: from navi (137-025-019-170.res.spectrum.com. [137.25.19.170])
 by smtp.gmail.com with ESMTPSA id c14sm3702723pfp.167.2021.01.06.15.47.55
 for <45707 <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 06 Jan 2021 15:47:55 -0800 (PST)
From: Evan Straw <evan.straw99@HIDDEN>
To: 45707 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: Add obs-v4l2sink.
Date: Wed, 06 Jan 2021 15:47:54 -0800
Message-ID: <87turt4ogl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="==-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 45707
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=0001-gnu-Add-obs-v4l2sink.patch
Content-Transfer-Encoding: quoted-printable
Content-Description: [PATCH] gnu: Add obs-v4l2sink.

From=207bcaffb15f1f6697310a4c4bacb8dea1eca2a4e8 Mon Sep 17 00:00:00 2001
From: Evan Straw <evan.straw99@HIDDEN>
Date: Wed, 6 Jan 2021 15:33:25 -0800
Subject: [PATCH] gnu: Add obs-v4l2sink.

* gnu/packages/video.scm (obs-v4l2sink): New variable.
=2D--
 gnu/packages/video.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 2b1b111e97..194699dd23 100644
=2D-- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3133,6 +3133,45 @@ and JACK.")
     (home-page "https://obsproject.com")
     (license license:gpl2+)))
=20
+(define-public obs-v4l2sink
+  (package
+    (name "obs-v4l2sink")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference (url "https://github.com/CatxFish/obs-v4=
l2sink")
+                                  (commit version)))
+              (file-name (string-append name "-" version))
+              (sha256
+               (base32
+                "0l4lavaywih5lzwgxcbnvdrxhpvkrmh56li06s3aryikngxwsk3z"))))
+    (build-system cmake-build-system)
+    (arguments `(#:tests? #f ;; obs-v4l2sink does not have tests
+                 #:phases
+                 (modify-phases %standard-phases
+                   ;; The CMakeLists.txt file for obs-v4l2sink attempts to=
 use
+                   ;; its own method to search for libobs which uses a lot=
 of
+                   ;; hardcoded paths and ultimately fails under Guix. OBS
+                   ;; already comes with its own CMake configuration, so
+                   ;; remove the line that uses the hardcoded method and j=
ust
+                   ;; let CMake locate OBS.
+                   (add-before 'configure 'fix-libobs
+                     (lambda* _
+                       (substitute* "CMakeLists.txt"
+                         (("^.*FindLibObs.*$") ""))
+                       #t)))))
+    (inputs `(("qtbase" ,qtbase)
+              ("obs" ,obs)))
+    (home-page "https://github.com/CatxFish/obs-v4l2sink")
+    (synopsis "OBS Studio output plugin for Video4Linux2 device")
+    (description "An @dfn{Open Broadcaster Software} (OBS) Studio plugin t=
hat
+provides output capabilities to a @dfn{Video4Linux2} (v4l2) device.  It ca=
n be
+used with @code{v4l2loopback} to achieve cross-program video transfer betw=
een
+OBS Studio and third party software supporting Video4Linux2, e.g. to prese=
nt
+an OBS session in browser-based conferencing systems by selecting the OBS
+session as a webcam.")
+    (license license:gpl2+)))
+
 (define-public libvdpau
   (package
     (name "libvdpau")
=2D-=20
2.25.1


--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE6f/SZXb4DLdwy+VR9TDDtKKp8G0FAl/2TCoACgkQ9TDDtKKp
8G2QJBAAhnfxUh0dkpc6HKZpIT+98KI3GuGLzmWL0gHKnDk2CvUhK6geTOtXDb0l
6HnxYdwUt2mThiQkHiDIN8Mi6Bhu4rhsg+QECkWVFSBO7IPeX8DucyG163T/2i4+
AQHiXnnQpdaUy5PwdG+DyxqiX+FSEFd4i6nL1gK42WuRuKRbYD10HFN1QFYtV9HB
ngFnRXzo+kw42a6XhwUwTOuxZC7qTkfEDzqTJgBCtnAzHQm0l915hTlh8xmHis7h
qdesm5nzU5F8qfb8l1k3tYYWtjYJ/g2kP1qcrqBLvKHLjaXYad1ZTSxWR6JMf8eP
FPI7lLTa6/Dgm81GWuDlrH18A5SoD1FEvGc40SvjPi82S6MTtLnwyqt+YaIZ8aSJ
f6rbuvltNquhmjreZuu7b6lYb5B+VoAATRywAYJfOKg6cvfjRXwMMUzydy/ompHw
5VxR/oZNI3e1Hdup+pZfzZ/+DJB0DvG9dgt4VgulqO1JBsSPYzTjMldaZFqfdyuV
m5cUmK5jBQEhyxP2mj95555mTtNT1ML4EWF9F1fhC4aIWkGWbJlqc/j3YqAKvrpo
Zt1beMiN8Sgq3HvWBJMSPDxGqP8u+cIe28vHA9GmlybFztfOcur/kjkxjLMUFBZh
mJNyszYMmnmizG66e8sQt4R4R8R0xPGRbOk75uDzOtWV+wZOuR0=
=gL7U
-----END PGP SIGNATURE-----
--==-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#45707; Package guix-patches. Full text available.

Message received at 45707 <at> debbugs.gnu.org:


Received: (at 45707) by debbugs.gnu.org; 6 Jan 2021 23:45:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 06 18:45:44 2021
Received: from localhost ([127.0.0.1]:45897 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kxIUq-0007NS-3J
	for submit <at> debbugs.gnu.org; Wed, 06 Jan 2021 18:45:44 -0500
Received: from mail-pf1-f181.google.com ([209.85.210.181]:38576)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <evan.straw99@HIDDEN>) id 1kxIUo-0007NE-FZ
 for 45707 <at> debbugs.gnu.org; Wed, 06 Jan 2021 18:45:42 -0500
Received: by mail-pf1-f181.google.com with SMTP id d2so2641494pfq.5
 for <45707 <at> debbugs.gnu.org>; Wed, 06 Jan 2021 15:45:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=B7L2PhB+t8AcWYutO4sEUqucFp59Z4nnQeixL7zn3do=;
 b=Jvoy1KzfkYcoRWbcBSwEQU1QZzsVszEraQQyV2T1VEjul6EOt7EwI7/O5kz0oFGqPw
 bo/gOokwbUMYRts/y2nyGouwkw9yQffd2ykq8uwCXz80GiJQuhEt1gMESsQkoNj4LWqy
 mxN5As3DBeg5B4sEYe1JKcfG7jDNiuaujIs5rRwqhjP1i4aLHQuST1KcwxdZBMP704j7
 EIdxwqfGBxtA8BWHpz+qQEWHx7waZ6pJC3Ef4YZmlJZi856R33zyBT15abQoOSVwbR5p
 dcrtyPAOcAIE+smapG2j6LiNfDJVaFGdUw2nd+d2kFiRspMaXSBez33HqrNW/3fgb6PW
 QBAQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=B7L2PhB+t8AcWYutO4sEUqucFp59Z4nnQeixL7zn3do=;
 b=MfJByrsAF1RT/cCRZ7lQVkVRA/jppi5t5q5o9QG8NrJVVIYnTUOuZ33MvHWq5AkfTw
 M3sqQFBEX1wlI7jnItqH9ohMVY+Z4GR6Js/NXOeg6wp8Dt6xtAIFvE4sv/Qhc5r5pF1K
 clB/NJmM4ilzDQd5WAzzzhZKv0W4pW3MSLRvv9V2IfRXylFCM8s/0vwZP6U3uRTtd88n
 5W/H//Pcdlb4bttM1y6i6PdtrcgJTDLveFDmHogZQU84AJC8cDhwip+myp1MnKTC0eGg
 d5Kj2fhELa+6tuvFg0taP3Xq3dnFIXjQBnyOCuKaZisUuXKzzEdkCwSX+lrruDy/FPqo
 nZSA==
X-Gm-Message-State: AOAM532dD9o3RV0ltnIY45FPz8o7DnBNo0qmwfutz3BWKELibN6QR+eA
 VoT0dVE+GOBsdq/1o/mZIQewqKi9qVf4ig==
X-Google-Smtp-Source: ABdhPJzyDv29NfPBtgWlxVK9V2yctT7+M3v/zYKtWiEOIndVSnJ/JOPW9uK43072BFGmnl6qX+N+ng==
X-Received: by 2002:a63:1c09:: with SMTP id c9mr6932088pgc.185.1609976736363; 
 Wed, 06 Jan 2021 15:45:36 -0800 (PST)
Received: from navi (137-025-019-170.res.spectrum.com. [137.25.19.170])
 by smtp.gmail.com with ESMTPSA id x125sm3784953pgb.35.2021.01.06.15.45.35
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 06 Jan 2021 15:45:36 -0800 (PST)
From: Evan Straw <evan.straw99@HIDDEN>
To: =?utf-8?Q?Nicol=C3=B2?= Balzarotti <anothersms@HIDDEN>
Subject: Re: [bug#45707] [PATCH] gnu: Add obs-v4l2sink.
References: <875z4963kf.fsf@HIDDEN>
 <871rexk4xv.fsf@HIDDEN>
Date: Wed, 06 Jan 2021 15:45:35 -0800
In-Reply-To: <871rexk4xv.fsf@HIDDEN>
 (=?utf-8?Q?=22Nicol=C3=B2?= Balzarotti"'s message of "Thu, 07 Jan 2021
 00:42:52 +0100")
Message-ID: <87y2h54okg.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 45707
Cc: 45707 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)


Yeah, I was also a little unsure about that part as well. I will remove
that from the description. Should have another patch to send in a
minute.

-- Evan




Information forwarded to guix-patches@HIDDEN:
bug#45707; Package guix-patches. Full text available.

Message received at 45707 <at> debbugs.gnu.org:


Received: (at 45707) by debbugs.gnu.org; 6 Jan 2021 23:43:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 06 18:43:01 2021
Received: from localhost ([127.0.0.1]:45893 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kxISD-0007J0-Ke
	for submit <at> debbugs.gnu.org; Wed, 06 Jan 2021 18:43:01 -0500
Received: from mail-wr1-f42.google.com ([209.85.221.42]:36850)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <anothersms@HIDDEN>) id 1kxISC-0007In-1a
 for 45707 <at> debbugs.gnu.org; Wed, 06 Jan 2021 18:43:00 -0500
Received: by mail-wr1-f42.google.com with SMTP id t16so3923333wra.3
 for <45707 <at> debbugs.gnu.org>; Wed, 06 Jan 2021 15:42:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:in-reply-to:references:date:message-id:mime-version;
 bh=Ds6ut6A7JmOAWo+mA15SSBMecWB8LrBGgiVBtwcEzak=;
 b=G1mJqpALcjzeaDWlOhW2a+APE/F2WmcKxSNorxNrvxgHKCCaOY0nL5wEzPDN040xHy
 K4jiVVOpP/l7FayGXEYHDe47QklfmQiOcXtHTmsiximboQZiov+d1GIN5par8NjU+TES
 mpS/i6bXH426F9WehPiRXn/X+GU5ivGasJzaisMaWlTcPSi/Vl3ipkM7vFHIBImCH5xh
 Im19OvIiZFV+wMVViBH5tqqaspCYN/O1cevlEvVaz7wO7WFIwFP2HBdVD56R+kFb7Z1c
 kRUFfUzxEl7KCV3qFAizVY3/YaDfVay+RZy4jWlAAqsSNINmlei0hWoNEPYc8aLXJTcx
 M7Mg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:in-reply-to:references:date
 :message-id:mime-version;
 bh=Ds6ut6A7JmOAWo+mA15SSBMecWB8LrBGgiVBtwcEzak=;
 b=Ko5Q9FvQqdhUga5k05s3IpGzByUBSHC8uuEawLWq5zmtDrLdKOt7QLH3DWhCmD49Lg
 WGfF17IVasfzIeqcF0UV4a4voNiwexkRJVPVtJ4JIOq3uDkbXpfU5YfCvGqrh6r0+hXD
 TVkLbHdgys5kqJlpoezweZJjVCy1ZwUbx6fDY8fgAzmf8DHtOpJs+PzJqveMUZNRVpbY
 VBmB84klr92e6lggGOkOJR9pO8WIqb0vAr+o72/Bbd2G4sTD0wstlIa0wyXUF7OOYqr6
 9yDSCQlVHGyfzwe7MeS9Y5H/W7I5NqvMGN5DOC3XvESxmrx6iHV5GkDpUq4A+xxFVc10
 Y7og==
X-Gm-Message-State: AOAM530htr9mn1dZtsfPqqi79Qab9KuuWGxqnwYJCgVpOnJ6ElO2YI5z
 WeH5mr6RxpBpB+OMM2iJ0bbSUWJ6xo8=
X-Google-Smtp-Source: ABdhPJzZYH7dB6DwAw/1SItedpY0R1WnT8u/erqvYD0LanUTiulrnvElEv19kR5C+Mx89PmizPZNrg==
X-Received: by 2002:adf:f605:: with SMTP id t5mr6188600wrp.39.1609976574076;
 Wed, 06 Jan 2021 15:42:54 -0800 (PST)
Received: from guixSD (host-87-5-154-145.retail.telecomitalia.it.
 [87.5.154.145])
 by smtp.gmail.com with ESMTPSA id a13sm4836831wrt.96.2021.01.06.15.42.53
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 06 Jan 2021 15:42:53 -0800 (PST)
From: =?utf-8?Q?Nicol=C3=B2?= Balzarotti <anothersms@HIDDEN>
To: Evan Straw <evan.straw99@HIDDEN>, 45707 <at> debbugs.gnu.org
Subject: Re: [bug#45707] [PATCH] gnu: Add obs-v4l2sink.
In-Reply-To: <875z4963kf.fsf@HIDDEN>
References: <875z4963kf.fsf@HIDDEN>
Date: Thu, 07 Jan 2021 00:42:52 +0100
Message-ID: <871rexk4xv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 45707
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Evan Straw <evan.straw99@HIDDEN> writes:

> +OBS Studio and third party software supporting Video4Linux2, e.g. to present
> +an OBS session in proprietary browser-based conferencing systems by selecting
> +the OBS session as a webcam.")

Seems like a proprietary software endorsement. I guess it works also
with libre browser-based conferencing systems like BBB, nextcloud talk
or jitsi, so I'd remove proprietary from the description.




Information forwarded to guix-patches@HIDDEN:
bug#45707; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Jan 2021 23:36:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 06 18:36:25 2021
Received: from localhost ([127.0.0.1]:45887 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kxILo-00079Y-Ph
	for submit <at> debbugs.gnu.org; Wed, 06 Jan 2021 18:36:25 -0500
Received: from lists.gnu.org ([209.51.188.17]:50540)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <evan.straw99@HIDDEN>) id 1kxILm-00079P-N8
 for submit <at> debbugs.gnu.org; Wed, 06 Jan 2021 18:36:23 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:50154)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <evan.straw99@HIDDEN>)
 id 1kxILm-0000l3-FY
 for guix-patches@HIDDEN; Wed, 06 Jan 2021 18:36:22 -0500
Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]:43723)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <evan.straw99@HIDDEN>)
 id 1kxILk-0003be-Mi
 for guix-patches@HIDDEN; Wed, 06 Jan 2021 18:36:22 -0500
Received: by mail-pl1-x62d.google.com with SMTP id x12so2342056plr.10
 for <guix-patches@HIDDEN>; Wed, 06 Jan 2021 15:36:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=yo8SVUvc7Yq7bZ4G0UGgyWdjsqdJcWDT5YlFfoRSF7w=;
 b=uYTQAfOaklex3aATxiV1IiABOrrjl3uQA0BP+qyhGIBR54uSEAHy21Sn+lxfBuR3SH
 +RYTMwNX9y8wfKP+gzVLh16lDcZnAlg02E6HEvJtZ3vumiNVSRvSm85EjnG5X+9B17Gp
 p+Fyj0e00npz6nRaf3oaioutkcZMA1xMNFy5mt411d9wsmyWtrTYw7sD/5fHFqNLk50z
 AYgusnvKnvYabIvT2hg3by2qz91w73ClLWGHBephsEGScyFuJbwMe2Lwm9vPcUWvIeBz
 5R/tBbLCKm9QgjK/1c/nQwm132H5lJJTfWLc3IhD0yF3pI+1yoFNaM+pddKJx1RQQBmU
 AtaA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=yo8SVUvc7Yq7bZ4G0UGgyWdjsqdJcWDT5YlFfoRSF7w=;
 b=CozvUuo9IFNOVL/tWsIjSyG9JHnac+5tNvXxNL8fyEPFJ4VchQEuYVaWvtudarLOM/
 6lKC2iHmVtYmY4wlgiZniLEj7wpYOHHtCixlw4lgd4WmBFS1CYQZV50wdrYQiHT+ymH1
 ZF3xqblIJD923bg09z3u7hT+RlYtEHyqGqCBFC+vN7Z7Qgp5pp6JzD8R9VoHs4lOSm2H
 jBSqxPrfUpA7cWv6bWJYTiIHTYwkiCBuJGr0QKwlBQgkcYXxS4XAGzrjgOhcnrfFwJmH
 jXCwwMy0FFYd28IRSA/LmilGqCN4A77kKAcgQb2wzwp+IV2rFOcjPf2PjxbcBEl8f9w/
 DGeg==
X-Gm-Message-State: AOAM532MFfbrIigS+TYPoQzhnnS4pBLzPjK6YUY9HMWP+DB7OQnqqtrq
 yVP++CkJBp7gcO2CrGUb4FFwy45r/PpoKQ==
X-Google-Smtp-Source: ABdhPJxWLVj0MXC7ZMjW1GbbnIUanbfEmKSAAeNAUiobiYtvTOTM/uzJzEl7zt/9aSCCGluQpySO2Q==
X-Received: by 2002:a17:90b:4a0c:: with SMTP id
 kk12mr6404086pjb.205.1609976178582; 
 Wed, 06 Jan 2021 15:36:18 -0800 (PST)
Received: from navi (137-025-019-170.res.spectrum.com. [137.25.19.170])
 by smtp.gmail.com with ESMTPSA id z11sm3502323pfj.191.2021.01.06.15.36.17
 for <guix-patches@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 06 Jan 2021 15:36:17 -0800 (PST)
From: Evan Straw <evan.straw99@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add obs-v4l2sink.
Date: Wed, 06 Jan 2021 15:36:16 -0800
Message-ID: <875z4963kf.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="==-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
Received-SPF: pass client-ip=2607:f8b0:4864:20::62d;
 envelope-from=evan.straw99@HIDDEN; helo=mail-pl1-x62d.google.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 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,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=0001-gnu-Add-obs-v4l2sink.patch
Content-Transfer-Encoding: quoted-printable
Content-Description: [PATCH] gnu: Add obs-v4l2sink.

From=200aa683242ae591d0ddac8b4b23163805dc4414c9 Mon Sep 17 00:00:00 2001
From: Evan Straw <evan.straw99@HIDDEN>
Date: Wed, 6 Jan 2021 15:33:25 -0800
Subject: [PATCH] gnu: Add obs-v4l2sink.
To: guix-patches@HIDDEN

* gnu/packages/video.scm (obs-v4l2sink): New variable.
=2D--
 gnu/packages/video.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 2b1b111e97..6d64d03e44 100644
=2D-- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3133,6 +3133,45 @@ and JACK.")
     (home-page "https://obsproject.com")
     (license license:gpl2+)))
=20
+(define-public obs-v4l2sink
+  (package
+    (name "obs-v4l2sink")
+    (version "0.1.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference (url "https://github.com/CatxFish/obs-v4=
l2sink")
+                                  (commit version)))
+              (file-name (string-append name "-" version))
+              (sha256
+               (base32
+                "0l4lavaywih5lzwgxcbnvdrxhpvkrmh56li06s3aryikngxwsk3z"))))
+    (build-system cmake-build-system)
+    (arguments `(#:tests? #f ;; obs-v4l2sink does not have tests
+                 #:phases
+                 (modify-phases %standard-phases
+                   ;; The CMakeLists.txt file for obs-v4l2sink attempts to=
 use
+                   ;; its own method to search for libobs which uses a lot=
 of
+                   ;; hardcoded paths and ultimately fails under Guix. OBS
+                   ;; already comes with its own CMake configuration, so
+                   ;; remove the line that uses the hardcoded method and j=
ust
+                   ;; let CMake locate OBS.
+                   (add-before 'configure 'fix-libobs
+                     (lambda* _
+                       (substitute* "CMakeLists.txt"
+                         (("^.*FindLibObs.*$") ""))
+                       #t)))))
+    (inputs `(("qtbase" ,qtbase)
+              ("obs" ,obs)))
+    (home-page "https://github.com/CatxFish/obs-v4l2sink")
+    (synopsis "OBS Studio output plugin for Video4Linux2 device")
+    (description "An @dfn{Open Broadcaster Software} (OBS) Studio plugin t=
hat
+provides output capabilities to a @dfn{Video4Linux2} (v4l2) device.  It ca=
n be
+used with @code{v4l2loopback} to achieve cross-program video transfer betw=
een
+OBS Studio and third party software supporting Video4Linux2, e.g. to prese=
nt
+an OBS session in proprietary browser-based conferencing systems by select=
ing
+the OBS session as a webcam.")
+    (license license:gpl2+)))
+
 (define-public libvdpau
   (package
     (name "libvdpau")
=2D-=20
2.25.1


--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE6f/SZXb4DLdwy+VR9TDDtKKp8G0FAl/2SXAACgkQ9TDDtKKp
8G1BkA//cStrKj++4xIbAKSID48uRkVJA6jhb1WKTZ/Yt7iohbiMhO1fExb4XZVL
39/4vBi3Qvr8g3SPnOaUJz111vMSB7zXpLWjQq57gWi2rfQALVNM5gxj04t2w4LV
jQrtm7s+tOzdA7IDqGsJj5PR2auonpxyEDl7eq2lwFBUx1mwI5cjlbKffcunCuLt
/UCzcCIV6D6okGc06BQo/zxkvmtjkl8eGMAFHhAVa7qenZ7sLCSxl4AnWZMPUyQC
/a61E00mgmW6SjNrgzjyL/2qJRwR7f2+CgLI+HvSzzPJNbt/Fe73cEcGQnmSsBmV
Z0fhPrUz8yubNH5vFMgfjb3oQLqhH3OY5XUR3OgBrs9GI90oePNpVtordlbohVlz
XQbyy4KN/PUKqnE8Q/X2b/3WsX5abWmBUHJM6/UxhR9hLfC8C3vGfK8V3Ofh+JCb
mowtoXqAEVmPs74qMYDWIYB7k3TjdmTUNnaEuxpKP4rsdW4/GIhon7+hKz1me226
4TDcwjljrpe70070G3DOW2ddlUb4v09OoYEWfoa1rT8C3HWNOCPu6zAs/kzttrff
B0kUWZXLJN4wiLgIVfNZsyPR4KnKLPW5NQelXisL2MCqvVrN+0/D7vRDAnN3YrEW
7ydYYmItK+JH1wiBZcSvjc2494BXg+1FGswyCFRt9nm9f3xRQ44=
=oji3
-----END PGP SIGNATURE-----
--==-=-=--




Acknowledgement sent to Evan Straw <evan.straw99@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#45707; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 13 Jan 2021 14:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.