GNU bug report logs - #74635
[PATCH] gnu: Add ustreamer.

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: Vincent Legoll <vincent.legoll@HIDDEN>; Keywords: patch; dated Sun, 1 Dec 2024 16:28:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 1 Dec 2024 16:27:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 01 11:27:48 2024
Received: from localhost ([127.0.0.1]:52821 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tHmnT-0002bx-Uy
	for submit <at> 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 <vincent.legoll@HIDDEN>) id 1tHmnQ-0002bm-S4
 for submit <at> 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 <vincent.legoll@HIDDEN>)
 id 1tHmnQ-0004fh-Ks
 for guix-patches@HIDDEN; 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 <vincent.legoll@HIDDEN>)
 id 1tHmnO-0005oP-NC
 for guix-patches@HIDDEN; Sun, 01 Dec 2024 11:27:44 -0500
Received: by mail-wm1-x32a.google.com with SMTP id
 5b1f17b1804b1-4349f160d62so28653445e9.2
 for <guix-patches@HIDDEN>; 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 <vincent.legoll@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add ustreamer.
Date: Sun,  1 Dec 2024 17:23:25 +0100
Message-ID: <20241201162733.14580-1-vincent.legoll@HIDDEN>
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@HIDDEN; 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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Vincent Legoll <vincent.legoll@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: -2.3 (--)

    * 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 <go.wigust@HIDDEN>
 ;;; Copyright © 2020 Josh Holland <josh@HIDDEN>
 ;;; Copyright © 2020, 2021 Brice Waegeneire <brice@HIDDEN>
-;;; Copyright © 2020 Vincent Legoll <vincent.legoll@HIDDEN>
+;;; Copyright © 2020, 2024 Vincent Legoll <vincent.legoll@HIDDEN>
 ;;; Copyright © 2020, 2021 Guillaume Le Vaillant <glv@HIDDEN>
 ;;; Copyright © 2020 Alex McGrath <amk@HIDDEN>
 ;;; Copyright © 2020, 2021, 2022 Michael Rohleder <mike@HIDDEN>
@@ -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





Acknowledgement sent to Vincent Legoll <vincent.legoll@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#74635; 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: Sun, 12 Jan 2025 05:45:02 UTC

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