Subject: bug#50652: closed (Re: bug#50652: [PATCH] gnu: Add mjpg-streamer.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 04 Oct 2021 13:49:01 +0000

Your bug report

#50652: [PATCH] gnu: Add mjpg-streamer.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
50652: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50652
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#50652: [PATCH] gnu: Add mjpg-streamer.
From: Ludovic Courtès <[email-masked]>
To: phodina <[email-masked]>
Cc: "[email-masked]" <[email-masked]>
Date: Mon, 04 Oct 2021 15:48:09 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

phodina <[email-masked]> skribis:

> thanks for the review. The jar and JQuery files are now removed.
> The website is still running and the streaming in web browser
> works (ungoogled-chromium, version: 93.0.4577.82-0.3f62dbc).
>
> The rest of the files are should be fine as they are not binaries
>  not minifed versions.

Great.

> * gnu/packages/video.scm: (mjpg-streamer): New variable.

I re-indented and applied.

Thank you!
Ludo’.

Subject: [PATCH] gnu: Add mjpg-streamer.
From: phodina <[email-masked]>
To: "[email-masked]" <[email-masked]>
Date: Sat, 18 Sep 2021 08:57:21 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/video.scm: (mjpg-streamer): New variable.

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 1b9179c6a8..162493051d 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -447,6 +447,37 @@ library.")
     (home-page "http://libquicktime.sourceforge.net/")
     (license license:lgpl2.1+)))

+(define-public mjpg-streamer
+  (package
+    (name "mjpg-streamer")
+    (version "310b29f4a94c46652b20c4b7b6e5cf24e532af39")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jacksonliam/mjpg-streamer")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0y6xqx4pbdsiis6pqms9b91sba6ah414flrmlhrsmq9058nil755"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f                      ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'chdir
+           (lambda* _
+             (chdir "mjpg-streamer-experimental"))))))
+    (inputs `(("libjpeg-turbo" ,libjpeg-turbo)))
+    (synopsis "Stream JPEG over IP network")
+    (description "Command line application that copies JPEG frames from one or
+more input plugins to multiple output plugins.  It can be used to stream JPEG
+files over an IP-based network from a webcam to various types of viewers such
+as Chrome, Firefox, Cambozola, VLC, mplayer, and other software capable of
+receiving MJPG streams.")
+    (home-page "https://github.com/jacksonliam/mjpg-streamer")
+    (license license:gpl2)))
+
 (define-public mjpegtools
   (package
     (name "mjpegtools")
--
2.32.0