From patchwork Sat Dec 29 12:46:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rutger Helling X-Patchwork-Id: 578 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 494FB169D9; Sat, 29 Dec 2018 13:41:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id CCAFF169AF for ; Sat, 29 Dec 2018 13:41:25 +0000 (GMT) Received: from localhost ([127.0.0.1]:38150 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdErl-0000z2-Ag for patchwork@mira.cbaines.net; Sat, 29 Dec 2018 08:41:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdEpZ-0006hu-Hf for guix-patches@gnu.org; Sat, 29 Dec 2018 08:39:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdEfH-0005TN-Ca for guix-patches@gnu.org; Sat, 29 Dec 2018 08:28:36 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:37836) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdEHa-0008LP-MI for guix-patches@gnu.org; Sat, 29 Dec 2018 08:04:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gdEHa-0006ru-GQ for guix-patches@gnu.org; Sat, 29 Dec 2018 08:04:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33902] [PATCH] gnu: Add wlstream. Resent-From: Rutger Helling Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Dec 2018 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33902 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33902@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154608861026357 (code B ref -1); Sat, 29 Dec 2018 13:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Dec 2018 13:03:30 +0000 Received: from localhost ([127.0.0.1]:40916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdEH4-0006qx-0f for submit@debbugs.gnu.org; Sat, 29 Dec 2018 08:03:30 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37969) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gdEH1-0006qb-Lt for submit@debbugs.gnu.org; Sat, 29 Dec 2018 08:03:28 -0500 Received: from lists.gnu.org ([208.118.235.17]:41028) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gdEGn-0007NO-OB for submit@debbugs.gnu.org; Sat, 29 Dec 2018 08:03:16 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdEGa-0001UX-NQ for guix-patches@gnu.org; Sat, 29 Dec 2018 08:03:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdE0x-0006XE-1Y for guix-patches@gnu.org; Sat, 29 Dec 2018 07:47:31 -0500 Received: from mx.kolabnow.com ([95.128.36.42]:37834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdE0w-0006VE-Gz for guix-patches@gnu.org; Sat, 29 Dec 2018 07:46:50 -0500 Received: from localhost (unknown [127.0.0.1]) by ext-mx-out002.mykolab.com (Postfix) with ESMTP id E93FA626 for ; Sat, 29 Dec 2018 13:46:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mykolab.com; h= content-type:content-type:mime-version:message-id:subject :subject:from:from:date:date:received:received:received; s= dkim20160331; t=1546087605; x=1547902006; bh=NDO5l8/4o8NDE8aELOt IqOfrzkA5TNSFOOSnUfmqIig=; b=BERKGUKddDx0WFdM4xenxsmgRC5mgYSb+xb YNvRyBDEJ4OOmCvVWS0OSXUJy6zhVNsT0Qz6G00FoKSj01uEOfBCJhlIt+ADVSJ0 EF1ES+hNqzPdJesaQBYFCXWRwrQP8J7rA6A1KkddO+S2CAWBtGeQvzmARg+UO6xa ZjXyb+EoK8DN9rGKjXg/Wv+aSDJ+SSQqyLxIDACFZsarYEy/wcd4U7pNi/fEBX2r ExfQmGh4u9HXXMiRFQqZZsEmj9/+MG/DGzzmRGNMwZmbabT0JwL1h60gW+e9btEc zSoFSU/TqXYh1WHCxLf1fCiJH55UvsN0Xl7KYLDpV5Ww0sB0sFUkADRbt9lcGW3P YF3YjNKg1o3VjAtGXrMjdP+9TzSO2wrvr7eu6zu0S8R7Ta7VXxTOZBuCXC75gMve uutKWHbikkng45jir1j8D47PVlSElOjc3uchsJAYriAglL09njAkMxliXFrnjMtR O8BFkUwLDt0iOdb2CZbk7SzXOoJwvxc9xgdNBHCHyioy6sICPKGT/SuaLMe4c2od s8dCzC9jkzIg/lmmyAF0F0hDurY3ilWMaJ0t/DooT4xmeYHeWsQ6tUorVnDXSqtT Y7Rk+B1zobzTp2r+tXCfA2t9ihkF2KFKp5pSpi1lq7kRML3DV7wyJEfyghRFv0ss A/2Gs8SI= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VtOcyl9qntqL for ; Sat, 29 Dec 2018 13:46:45 +0100 (CET) Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out002.mykolab.com (Postfix) with ESMTPS id 91F7B45A for ; Sat, 29 Dec 2018 13:46:45 +0100 (CET) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx003.mykolab.com (Postfix) with ESMTPS id 6E50CA92 for ; Sat, 29 Dec 2018 13:46:45 +0100 (CET) Date: Sat, 29 Dec 2018 13:46:26 +0100 From: Rutger Helling Message-ID: <20181229134626.7c48f721@mykolab.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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 Hey Guix, these patches add wlstream. It needs libdrm support in ffmpeg, which the first patch does. Tested and working under Sway with: wlstream 25 vaapi /dev/dri/renderD128 libx264rgb bgr0 12 output.mkv From 5593f737c1fbbc9761c3ec667539a99be0f40526 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Fri, 28 Dec 2018 20:37:01 +0100 Subject: [PATCH 2/2] gnu: Add wlstream. * gnu/packages/video.scm (wlstream): New variable. --- gnu/packages/video.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d7675d5cd..8edf3fb8c 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -3286,3 +3286,31 @@ transitions, and effects and then export your film to many common formats.") (description "dav1d is a new AV1 cross-platform decoder, and focused on speed and correctness.") (license license:bsd-2))) + +(define-public wlstream + (let ((commit "182076a94562b128c3a97ecc53cc68905ea86838") + (revision "1")) + (package + (name "wlstream") + (version (git-version "0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/atomnuker/wlstream.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01qbcgfl3g9kfwn1jf1z9pdj3bvf5lmg71d1vwkcllc2az24bjqp")))) + (build-system meson-build-system) + (native-inputs `(("libdrm" ,libdrm) + ("pkg-config" ,pkg-config))) + (inputs `(("ffmpeg" ,ffmpeg) + ("pulseaudio" ,pulseaudio) + ("wayland" ,wayland) + ("wayland-protocols" ,wayland-protocols))) + (home-page "https://github.com/atomnuker/wlstream") + (synopsis "Record and streams from a Wayland session") + (description "Wlstream can record and streams from a Wayland session.") + (license license:lgpl2.1+)))) -- 2.20.1