From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 18 04:57:42 2021 Received: (at submit) by debbugs.gnu.org; 18 Sep 2021 08:57:42 +0000 Received: from localhost ([127.0.0.1]:33532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRWAI-0001aW-GN for submit@debbugs.gnu.org; Sat, 18 Sep 2021 04:57:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:59544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRWAE-0001aH-HY for submit@debbugs.gnu.org; Sat, 18 Sep 2021 04:57:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRWAE-0007Wx-8X for guix-patches@gnu.org; Sat, 18 Sep 2021 04:57:38 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:26772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRWAC-0008NW-7m for guix-patches@gnu.org; Sat, 18 Sep 2021 04:57:37 -0400 Date: Sat, 18 Sep 2021 08:57:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631955443; bh=yH1vdesjQrZsTt/8Cxa7aNONe9tS3zEflxbfysv2rtY=; h=Date:To:From:Reply-To:Subject:From; b=KYQB0W8SlwfeBsq64cj4Bfz53+LfvXlPTOFecQW2ZiHQgDit9k/foCR4ZeJY6Y87/ TRnzl2+vwh5IFc3yJKtxxxhfJ4DNyEvOD6gmkMVIP32toFt3CDDX/j1DdbzMCYckVc 9mwtCCDvcpY7xWV9XyOXdD7kBaxmasR+D4tYbEk8= To: "guix-patches@gnu.org" From: phodina Subject: [PATCH] gnu: Add mjpg-streamer. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.40.131; envelope-from=phodina@protonmail.com; helo=mail-40131.protonmail.ch 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * 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 on= e or +more input plugins to multiple output plugins. It can be used to stream J= PEG +files over an IP-based network from a webcam to various types of viewers s= uch +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 From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 18 06:29:56 2021 Received: (at 50652) by debbugs.gnu.org; 18 Sep 2021 10:29:56 +0000 Received: from localhost ([127.0.0.1]:33633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRXbX-00079z-LN for submit@debbugs.gnu.org; Sat, 18 Sep 2021 06:29:55 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:58114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRXbW-00079l-L2 for 50652@debbugs.gnu.org; Sat, 18 Sep 2021 06:29:55 -0400 Date: Sat, 18 Sep 2021 10:29:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631960984; bh=jLxznKV+PR2GplkQpjPwu1u/UasoFxDgcPA5wrlVwyM=; h=Date:To:From:Reply-To:Subject:From; b=qUPAtZZS8xeRY4xJMb+G5mgUag9fLT/6DgXU5DLUPkSZUFDpUZOScfZEmTUEQWjw7 /e6tQvPVWoIBD/EucX15C5MK0xMe+aDzLjTJIDvP2VCplJRud3guvLeWdbLtCeGDQH whoteLEeqd9Q3X37E9InrA0dqpr8XBgb9Yq0WbLU= To: "50652@debbugs.gnu.org" <50652@debbugs.gnu.org> From: phodina Subject: [PATCH v2] gnu: Add mjpg-streamer. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50652 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/video.scm: (mjpg-streamer): New variable. diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 1b9179c6a8..47b09b7ab6 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -53,6 +53,7 @@ ;;; Copyright =C2=A9 2021 Maxim Cournoyer ;;; Copyright =C2=A9 2020 Hartmut Goebel ;;; Copyright =C2=A9 2021 Raghav Gururajan +;;; Copyright =C2=A9 2021 Petr Hodina ;;; ;;; This file is part of GNU Guix. ;;; @@ -447,6 +448,39 @@ library.") (home-page "http://libquicktime.sourceforge.net/") (license license:lgpl2.1+))) +(define-public mjpg-streamer + (let ((commit "310b29f4a94c46652b20c4b7b6e5cf24e532af39") + (revision "1")) + (package + (name "mjpg-streamer") + (version commit) + (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 J= PEG +files over an IP-based network from a webcam to various types of viewers s= uch +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 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 30 17:19:42 2021 Received: (at 50652) by debbugs.gnu.org; 30 Sep 2021 21:19:42 +0000 Received: from localhost ([127.0.0.1]:54204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mW3Sw-0006Ze-HO for submit@debbugs.gnu.org; Thu, 30 Sep 2021 17:19:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mW3Su-0006ZP-1b for 50652@debbugs.gnu.org; Thu, 30 Sep 2021 17:19:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60626) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mW3So-0000uD-Ll; Thu, 30 Sep 2021 17:19:34 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36450 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mW3So-00069H-DY; Thu, 30 Sep 2021 17:19:34 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: phodina Subject: Re: bug#50652: [PATCH] gnu: Add mjpg-streamer. References: Date: Thu, 30 Sep 2021 23:19:32 +0200 In-Reply-To: (phodina@protonmail.com's message of "Sat, 18 Sep 2021 10:29:39 +0000") Message-ID: <87lf3d223f.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: 50652 Cc: "50652@debbugs.gnu.org" <50652@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, phodina skribis: > * gnu/packages/video.scm: (mjpg-streamer): New variable. [...] > +(define-public mjpg-streamer > + (let ((commit "310b29f4a94c46652b20c4b7b6e5cf24e532af39") > + (revision "1")) Normally we only package releases. If there=E2=80=99s a good reason to pic= k a commit instead, please add a comment right above it so we know why. > + (package > + (name "mjpg-streamer") > + (version commit) Please see on how to construct version numbers for snapshots. > + (home-page "https://github.com/jacksonliam/mjpg-streamer") > + (license license:gpl2)))) Source headers such as explicitly say =E2=80=9Cor any later version=E2=80=9D, so it should be =E2= =80=98license:gpl2+=E2=80=99. Unfortunately alone shows a .jar (binary file) and a bunch of =E2=80=9Cminified=E2=80=9D = (non-source) JS files. Our criterion is that it should be possible to build the package from source, so we should remove at least all pre-built binary files and, ideally, pre-built minified JS. I invite you to give it a try and report back, whether or not it succeeds. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 02 16:31:30 2021 Received: (at 50652) by debbugs.gnu.org; 2 Oct 2021 20:31:30 +0000 Received: from localhost ([127.0.0.1]:60699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWlfO-0001yl-85 for submit@debbugs.gnu.org; Sat, 02 Oct 2021 16:31:30 -0400 Received: from mail-4317.protonmail.ch ([185.70.43.17]:36223) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWlfM-0001yY-77 for 50652@debbugs.gnu.org; Sat, 02 Oct 2021 16:31:28 -0400 Date: Sat, 02 Oct 2021 20:31:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633206681; bh=zAk9V0MiVSgVOzYaZHVNDKbjkF3Z0tp+Otx3x2rea5k=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=DQB7HEhVfFSGXAVhRFfZfrny+TYB/KGfaFIUtQshNnxiXnbmxdk5azJ/eDQ0Hf0ma /+TanvMp0lWImKWc7aIFFUAOUm9QmD4CI4lPosqHI3jV5vq8U41MrJpAriFPq8yG2w vKWjW2L60vW2zK3l4niPhkG2miMpKKMWO4jKu0lk= To: =?utf-8?Q?Ludovic_Court=C3=A8s?= From: phodina Subject: Re: bug#50652: [PATCH] gnu: Add mjpg-streamer. Message-ID: In-Reply-To: <87lf3d223f.fsf_-_@gnu.org> References: <87lf3d223f.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 50652 Cc: "50652@debbugs.gnu.org" <50652@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, 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. --8<---------------cut here---------------start------------->8--- * gnu/packages/video.scm: (mjpg-streamer): New variable. diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index b6acebcecc..95e2f7e84e 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -52,6 +52,7 @@ ;;; Copyright =C2=A9 2021 Maxim Cournoyer ;;; Copyright =C2=A9 2020 Hartmut Goebel ;;; Copyright =C2=A9 2021 Raghav Gururajan +;;; Copyright =C2=A9 2021 Petr Hodina ;;; ;;; This file is part of GNU Guix. ;;; @@ -446,6 +447,51 @@ library.") (home-page "http://libquicktime.sourceforge.net/") (license license:lgpl2.1+))) +(define-public mjpg-streamer + (package + (name "mjpg-streamer") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jacksonliam/mjpg-streamer") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0w81pg228154blzbzr590xwhcll9baxyqxl6wxrgqsi9cd7pzq23")) + (modules '((guix build utils))) + (snippet '(begin + (with-directory-excursion "mjpg-streamer-experimental/w= ww" + (for-each delete-file-recursively + '("cambozola.jar" + "JQuerySpinBtn.css" + "JQuerySpinBtn.js" + "jquery.js" + "jquery.rotate.js" + "jquery.ui.core.min.js" + "jquery.ui.custom.css" + "jquery.ui.tabs.min.js" + "jquery.ui.widget.min.js")) + #t))))) + (build-system cmake-build-system) + (arguments + '(#:tests? #f ; no test suite + #: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 J= PEG +files over an IP-based network from a webcam to various types of viewers s= uch +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 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 04 09:48:20 2021 Received: (at 50652-done) by debbugs.gnu.org; 4 Oct 2021 13:48:20 +0000 Received: from localhost ([127.0.0.1]:35965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXOKK-0003ob-B3 for submit@debbugs.gnu.org; Mon, 04 Oct 2021 09:48:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXOKH-0003oJ-BV for 50652-done@debbugs.gnu.org; Mon, 04 Oct 2021 09:48:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54458) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXOKC-0007bS-39; Mon, 04 Oct 2021 09:48:12 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=60546 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXOKB-0004KK-QW; Mon, 04 Oct 2021 09:48:12 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: phodina Subject: Re: bug#50652: [PATCH] gnu: Add mjpg-streamer. References: <87lf3d223f.fsf_-_@gnu.org> Date: Mon, 04 Oct 2021 15:48:09 +0200 In-Reply-To: (phodina@protonmail.com's message of "Sat, 02 Oct 2021 20:31:21 +0000") Message-ID: <87tuhwq4ti.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: 50652-done Cc: "50652@debbugs.gnu.org" <50652-done@debbugs.gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, phodina 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=E2=80=99. From unknown Tue Aug 19 05:10:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 02 Nov 2021 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator