From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id gLhoDqeOTGeuSgAAe85BDQ:P1 (envelope-from ) for ; Sun, 01 Dec 2024 16:28:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id gLhoDqeOTGeuSgAAe85BDQ (envelope-from ) for ; Sun, 01 Dec 2024 17:28:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Zhd2PNO6; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=B4hez6L0; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733070502; a=rsa-sha256; cv=none; b=TEGV3YZT9EYCn5kaCdwx923IVNeEqy5WLk2GxV+CijQjEb05MjVusPHIj85oTX1Q/Wy/YN RV/BQgzVoMhcEAn52ZO8N7L+KLWtt5NQ9EmSBjLg8tYCGABlxFLG3QfIPmOdaYghr27R+g QntSePAn25BBnPshJHDIylrrt0M0YYZmY/fpuvVZ/r60itIWTD+hxpIbWyskqZqa/yIxVi VhsyGrtPqSrGW+DWD9TEsC4ughAhqaDr88RVUqFHoWBJ/dFsMlAmZXrKjVHkJc1riZjRw7 5es4Qr9R/90nGGKyE80le1FLSlYC3KjX24uXm4DlE3vv2dbjDNSo1+So4xSN+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Zhd2PNO6; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=B4hez6L0; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733070502; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=hSQUBbuUddutEPuaf2E93c0xkQ7Z2b3yy8TNSKBDJnI=; b=O2bRRR/2UbnOMN2WTn6soE8yyQjK3Ay4Z56ZOP6pMnwq63Uh84JY0BFyrmhxDmpyoI/3de awomU3Ng6H4IukmKQo7dyhea9J5lWzqg/exWM8fCN+M8RN8ZaxvYXK/RGetBB7A4LjPTXW E6gEYapy7nUwa4nTlVddeKWjuLmIpxLi2w181fjxxWPojrErDmArgeGXC9Pc2RJBiyffQu N8PnsoQm89mFBPCXWa5/Wj16SaGpqbYgI3NPYLMRk7UzfAG6mrNMMBAgUtnQch+0mIT2A2 PXoz2nUeZhEjz+ufthNvxF0D6UVnTYUeEtMCLGvOiw4uV9SC4ybJD6vCogQ/MQ== 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 AE8965FA64 for ; Sun, 01 Dec 2024 17:28:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHmnk-0004j1-Df; Sun, 01 Dec 2024 11:28: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 1tHmni-0004ie-P4 for guix-patches@gnu.org; Sun, 01 Dec 2024 11:28:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHmni-0005vB-Gw for guix-patches@gnu.org; Sun, 01 Dec 2024 11:28:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=hSQUBbuUddutEPuaf2E93c0xkQ7Z2b3yy8TNSKBDJnI=; b=Zhd2PNO6rUtLYVaB+JLSJpl2jXyCHbfmp2+op1KtEtok3Ne1X/6ifCtf7uXRLJnc6v8OSoRC4t9ZwfmlpJZeOiq3D1x9HsN7CyVuJJM3bAqvMeXusTI9BSxmQhW5zp7DC3Memd6bbnmf0IRUqC35dJxyJfvd5SlgdI2JrOGY+M1Xo9zNhW08c6h4dPUyh7O1SAym9MV/Ogx3qwjZ+i8IVeES2fFQ3Wo0VGy3HxKXD8e6ZLX6nj2JQeO3540GWNLiWa39iAnexWWVpPN1TZ0R1Jal1vkvnLUg9mnaBUdOkf2au7PUSv3U0dv7BncAM9Ets0VMO/Q2DONhpCJgH11IiQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHmni-0002cj-CM for guix-patches@gnu.org; Sun, 01 Dec 2024 11:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74635] [PATCH] gnu: Add ustreamer. Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 16:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74635 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74635@debbugs.gnu.org Cc: Vincent Legoll X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173307046810046 (code B ref -1); Sun, 01 Dec 2024 16:28:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Dec 2024 16:27:48 +0000 Received: from localhost ([127.0.0.1]:52821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHmnT-0002bx-Uy for submit@debbugs.gnu.org; Sun, 01 Dec 2024 11:27:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:56858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHmnQ-0002bm-S4 for submit@debbugs.gnu.org; Sun, 01 Dec 2024 11:27:46 -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 1tHmnQ-0004fh-Ks for guix-patches@gnu.org; Sun, 01 Dec 2024 11:27:44 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHmnO-0005oP-NC for guix-patches@gnu.org; Sun, 01 Dec 2024 11:27:44 -0500 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4349f160d62so28653445e9.2 for ; Sun, 01 Dec 2024 08:27:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733070459; x=1733675259; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hSQUBbuUddutEPuaf2E93c0xkQ7Z2b3yy8TNSKBDJnI=; b=B4hez6L0zMODWYnauxADR6PZ+DAzWBVX9/rLcl8aCnrEltbPiLd0NF28lfwCI3XsbL oxXpEiSsIUzDUqQIzV5V6HP5kaE6LzkFgOIHu0f2VHY3I872J/BaE10uqDio4WccNotW d5leAMuFTddIaaBZRIHoz7Z3aiq43fhqjchlFGOxb/ITxeMt50joJlKUNQz3PNgaa4MF WxdeJYm+JUowCJg1LCPC9pi39IDkPVt2yq+wvFC+0VOCTI03uH4wYeFJm5FnlhVGBwFm JMwZWDc+7D4vAkaggs8CRy2NBFr82Vz+vTLhUMHnE1YM4QNIVAgL4qZAXFIz+YX+Gz7m SjHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733070459; x=1733675259; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hSQUBbuUddutEPuaf2E93c0xkQ7Z2b3yy8TNSKBDJnI=; b=rvTjwiwT90mTYxhAqbOO8I77hgfKOY+yQeKO5PklEFHyIUbnPLzUn626GvV1p8rCp4 znJBz1FB3Z01Hpzm/Ziwr94b8ICe9z0o2btXkiFpS7cR/Pb/NsegxaZ/DIg5ZmXUV9zl Klr0CQdsxZpmfgSd8VHVe4y7YWAkR0S38xYpbrqem5HclOAZDKG9BeymP1/g8SMy9iiz ucKfwRGfYbPuuJZgMAEeBjdX0TGNG2lUwQauWNaORV6I0zAPLrRhFWBncWkVabbKt7Nl ABiW+oeCesMjKMOK9CmYi1gwCPaG3jJruNhDXnqxieygnrJEwGItnnnrB9GFQkU6lenI sV7Q== X-Gm-Message-State: AOJu0Yw9Nziu+cEIGrH5h9lTCxFCZ98IYF+Q8yGTF5alAN0WdAK9eHvE T+L+kd7Qbjdf5m2/8PgiR9xWiYMZFLRI7rIYjGVrdG+s3W3E+v3CJTehgg== X-Gm-Gg: ASbGncvFd5dQE5Aer9i9lMJn0cW/gWdRQy0f5pf5TrGIlPf8uGTjMntHJA7DD06GgoN KbwCT/qCLWrK6f9mK+umciX/eKZkB0tYj99+bLFyeH8As6CZmzSr0Sq4wfcqetEmC4QYe2WY55s 6ivlhRNep63K6PcY6ZaLe6LIEt5Or7a20H6fzqSDafkLZCGqCzbQr4SsxJb7XRXe4rEsHEIeMle FUubaZ1JySqs/vvLZBKHcRqKBUvVHHuw+/ZluO3VJp6ulCcHsv9yxwrLJGse/fh0NmJdAIsv95y pKW8 X-Google-Smtp-Source: AGHT+IEsB3m4HZe7u3zBjDuL3imm/DyYDvW8B4cVioy5PG9GU8qn7vFohKz1fTHHojWNt9kAdyy52g== X-Received: by 2002:a7b:ca47:0:b0:434:b9c6:68f7 with SMTP id 5b1f17b1804b1-434b9c66de7mr80886235e9.26.1733070458635; Sun, 01 Dec 2024 08:27:38 -0800 (PST) Received: from ryzen.lan (82-65-243-93.subs.proxad.net. [82.65.243.93]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-434aa7d25c5sm152223835e9.28.2024.12.01.08.27.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2024 08:27:37 -0800 (PST) From: Vincent Legoll Date: Sun, 1 Dec 2024 17:23:25 +0100 Message-ID: <20241201162733.14580-1-vincent.legoll@gmail.com> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=vincent.legoll@gmail.com; helo=mail-wm1-x32a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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-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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: AE8965FA64 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -8.78 X-Spam-Score: -8.78 X-TUID: J8M/pXRqE/9v * gnu/packages/video.scm (ustreamer): New variable. Change-Id: I55436ab9f6877b88e4e463fbb20fbaed5f49678d --- I have actually (lightly) tested this is working properly, on a debian laptop with an integrated webcam, via a guix pack. gnu/packages/video.scm | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 03d44dc9a2..a3d5ee0b78 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -37,7 +37,7 @@ ;;; Copyright © 2020, 2021, 2023, 2024 Oleg Pykhalov ;;; Copyright © 2020 Josh Holland ;;; Copyright © 2020, 2021 Brice Waegeneire -;;; Copyright © 2020 Vincent Legoll +;;; Copyright © 2020, 2024 Vincent Legoll ;;; Copyright © 2020, 2021 Guillaume Le Vaillant ;;; Copyright © 2020 Alex McGrath ;;; Copyright © 2020, 2021, 2022 Michael Rohleder @@ -161,7 +161,9 @@ (define-module (gnu packages video) #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages iso-codes) + #:use-module (gnu packages libbsd) #:use-module (gnu packages libcanberra) + #:use-module (gnu packages libevent) #:use-module (gnu packages libidn) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) @@ -563,6 +565,42 @@ (define-public libquicktime (home-page "https://libquicktime.sourceforge.net/") (license license:lgpl2.1+))) +(define-public ustreamer + (package + (name "ustreamer") + (version "6.18") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pikvm/ustreamer") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0h8i5p045q3shjgpcrpi6yhlrd6lws68swf521qd5nvv7ja8qd7f")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f ; no test suite + #:make-flags (list (string-append "CC=" ,(cc-for-target)) + (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'do-not-check-for-pkg-config + (lambda _ + (substitute* "Makefile" ; crude way to disable annoying check + (("error \"No pkg-config found in") + "true \"")))) + (delete 'configure)))) + (inputs (list libbsd libevent libjpeg-turbo)) + (synopsis "Lightweight and fast MJPEG-HTTP streamer") + (description "Lightweight and very quick server to stream MJPEG video +from any V4L2 device to the net. All new browsers have native support of +this video format, as well as most video players such as mplayer, VLC etc. +µStreamer is a part of the PiKVM project designed to stream VGA and +HDMI screencast hardware data with the highest resolution and FPS possible.") + (home-page "https://pikvm.org") + (license license:gpl3))) + (define-public mjpg-streamer (package (name "mjpg-streamer") -- 2.47.0