From patchwork Fri Feb 19 14:15:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: David Wilson X-Patchwork-Id: 27142 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id D449C27BC49; Fri, 19 Feb 2021 14:16:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 541EF27BC48 for ; Fri, 19 Feb 2021 14:16:20 +0000 (GMT) Received: from localhost ([::1]:52354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lD6Zv-0002li-4y for patchwork@mira.cbaines.net; Fri, 19 Feb 2021 09:16:19 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD6Zf-0002jz-Or for guix-patches@gnu.org; Fri, 19 Feb 2021 09:16:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37452) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lD6Ze-0007Bt-Em for guix-patches@gnu.org; Fri, 19 Feb 2021 09:16:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lD6Ze-0002Sb-Aq for guix-patches@gnu.org; Fri, 19 Feb 2021 09:16:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46637] gnu: Add obs-websocket. Resent-From: David Wilson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 19 Feb 2021 14:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46637 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 46637@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16137441229405 (code B ref -1); Fri, 19 Feb 2021 14:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Feb 2021 14:15:22 +0000 Received: from localhost ([127.0.0.1]:48998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD6Yv-0002RY-Sf for submit@debbugs.gnu.org; Fri, 19 Feb 2021 09:15:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:52648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD6Yt-0002RO-JM for submit@debbugs.gnu.org; Fri, 19 Feb 2021 09:15:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD6Yt-00028U-BL for guix-patches@gnu.org; Fri, 19 Feb 2021 09:15:15 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:54985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lD6Yr-0006rO-0c for guix-patches@gnu.org; Fri, 19 Feb 2021 09:15:15 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id BD1C15C00CD for ; Fri, 19 Feb 2021 09:15:10 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 19 Feb 2021 09:15:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daviwil.com; h= from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=lqPVS2jlMfT1heCimbfv2EuCFtrLQhUf0k9aElSeISo=; b=nfWkrZPq 7zIwO01YSbhdHAT7BtL+PSJJqY9f+cUulCz/vPJTekfSjH/wVDzWUzwqhMDkt1k6 Od3YNoMa7CGwmgV4hYKwhxUNEOfS8hKYJUCms9RNrkLhjgYblqbGm5uXpJ19zRFR UP62EWLKZfa//5r3uizN3LMEQelO7eExlcLKe1VsFftC1IBSbyG47QbiHouQ9Nw8 B1LTGBRoZg7Kh5mOso3xCQ58FG+4HImFoWKSt1AIpsntSA8/L40k62AwT9olP6LN t+hxsQ+fhI3LNCwn5mqNbs5TM+Xxi+RMAnT/oHMrljoYIER/VON6tsVdwIO0EX/O G6zwCSJnbadhIw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=lqPVS2jlMfT1heCimbfv2EuCFtrLQ hUf0k9aElSeISo=; b=Mq0hDydFSW5pO/hoSo7VUlaDL5szopmgXBXEdoXo2vwxU 6O9lef7LmejtcVVK2AgRrug/ZCEYV7JbNR0VSTTe7wO7R6zqeGwu1h6xuSeFwnJd Kh0yPPq+135ZCv6uGbmmSY7JUpa5b48do1gQtekfrnS8ySZyDN5Y3PtepeDVVQRv aGFsBuujGAcVgv8JXUYIt/BcG+c03YqeHdTO5BxZouokykLo4qPDsgmVrS12IUdq u//hWAfeg6bNuVlq2/+cT57hNy+ffdvXCutDu4zWVTEa80S1CA3maxGHRbG4sVrK CdHkAgjIWkYNu7eBIkI1VBRCmSgpgqlg4WBm+JERw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrjeeigdeivdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfgfhvffufffkgggtsehgtderredtre dtnecuhfhrohhmpeffrghvihguucghihhlshhonhcuoegurghvihgusegurghvihifihhl rdgtohhmqeenucggtffrrghtthgvrhhnpefhffejhfeifefggfdtfeejhfevgeelgedufe ffhfegiedtveekvedvveetjedvteenucfkphepieejrddujedurdehuddrvddvudenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurghvihguse gurghvihifihhlrdgtohhm X-ME-Proxy: Received: from zerocool (c-67-171-51-221.hsd1.wa.comcast.net [67.171.51.221]) by mail.messagingengine.com (Postfix) with ESMTPA id 3289C1080064 for ; Fri, 19 Feb 2021 09:15:10 -0500 (EST) User-agent: mu4e 1.4.15; emacs 27.1 From: David Wilson Date: Fri, 19 Feb 2021 06:15:07 -0800 Message-ID: <877dn42lg4.fsf@daviwil.com> MIME-Version: 1.0 Received-SPF: pass client-ip=66.111.4.28; envelope-from=david@daviwil.com; helo=out4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Guix, long time no see! Here's a patch that adds the OBS Studio plugin 'obs-websocket' to enable remote control of a running OBS session. It's been a while since I submitted a patch so let me know if I missed anything. Thanks! David From f23e068fe26755a2dfd71d723cdcbf01d691809e Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 18 Feb 2021 14:34:25 -0800 Subject: [PATCH] gnu: Add obs-websocket. * gnu/packages/video.scm (obs-websocket): New variable. --- gnu/packages/video.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 4c16b79465..e04fec1192 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -49,6 +49,7 @@ ;;; Copyright © 2020 Antoine Côté ;;; Copyright © 2021 Alexey Abramov ;;; Copyright © 2021 Andrew Tropin +;;; Copyright © 2021 David Wilson ;;; ;;; This file is part of GNU Guix. ;;; @@ -3175,6 +3176,43 @@ and JACK.") OBS audio sources.") (license license:gpl2))) +(define-public obs-websocket + (package + (name "obs-websocket") + (version "4.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Palakis/obs-websocket") + (commit version) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1r47861ma1s3998clahbnbc216wcf706b1ps514k5p28h511l5w0")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ;; No tests in the repo + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'remove-permission-change + (lambda* _ + (substitute* "CMakeLists.txt" + ;; Remove lines that set writeable permissions on outputs. + (("set\\(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS") "") + (("OWNER_READ.*\\)") "") + (("PERMISSIONS") ")")) + #t))))) + (inputs `(("obs" ,obs) + ("qtbase" ,qtbase))) + (home-page "https://github.com/Palakis/obs-websocket") + (synopsis "OBS plugin for remote control via WebSockets") + (description "This OBS plugin allows you to establish a WebSocket channel +from within your running OBS instance so that you can control it remotely from +programs on your current machine or on other machines.") + (license license:gpl2))) + (define-public obs-wlrobs (package (name "obs-wlrobs") -- 2.30.0