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 ms1.migadu.com with LMTPS id cC4iEjkSFGavYgAAe85BDQ:P1 (envelope-from ) for ; Mon, 08 Apr 2024 17:50:17 +0200 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 cC4iEjkSFGavYgAAe85BDQ (envelope-from ) for ; Mon, 08 Apr 2024 17:50:17 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SJLQwYAa; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712591417; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=GezJ1n1XDIgEeXyngmdi+Ts93nONXujgVUjthUSjAg8=; b=ndOiUmQnbrWEbuixuzpjwGtfne8NwC6CtFatA2Jc0rtSuDvM2C0CH2JboH838s7j3w/kdb GJmwO/YVlwxA+r+airbHP5dBZd3sFN8MmhKRDUiXcD4NdJvdMPZp3UDDkjuFgNzK2CFncx SFilsKhSM5BEyv+V4TFzPV1itL/eCJywP1Dw8nvEHW6ofTJ1vB4p+HAjvtxHVnQ4GZDLe9 eYqqvSO7shumz6YHU1rUBu8DvGZ4YpjXZxopsP9p+FtcD6Bacvpa7OKFLl0DZU73BftnDU z8F/tEQ988dfQ1eBpzcUYVk6wG6hBn0V9hWEnxUEbRVVqP6SmtxUpbCqGmNCtA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712591417; a=rsa-sha256; cv=none; b=Ut87YSCxaktrcKRsnUsJrRKdh2OkTwXuMMBGWCBlzqUQXPDqGW5w9e1c0bCphxmhO/BfFg VpvUJWaMAmyZdxE5hBRqk+sgyVcCzmGeHF0qCr5qCPSZ/o/j2fD/fPvuYKHSchtdLgixrQ gl9e2RE8EfrErfBHqk/d+BCKq/iImMqqXwlvMKZRLhRh1PL3kOdpGmSB3IZHKAbeA5RF3L YHcZECuqviudppiMptihD+hAm5onYq17E/ESARUbI9OrGp5DrWn3f38hOgjaOk2lLiKuhJ VNfbiYvWPSmvNf+DrYBPPVsCzjaJufzZI4H2roVW+Lf7NHAqRLv9VFuons8eSw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SJLQwYAa; 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"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) 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 15FA266FF6 for ; Mon, 8 Apr 2024 17:50:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtrFy-0008WS-IP; Mon, 08 Apr 2024 11:50:02 -0400 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 1rtrFu-0008W1-Om for guix-patches@gnu.org; Mon, 08 Apr 2024 11:49:59 -0400 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 1rtrFt-0001Ak-QX for guix-patches@gnu.org; Mon, 08 Apr 2024 11:49:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rtrFx-00087d-SK; Mon, 08 Apr 2024 11:50:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70282] [PATCH 0/2] Fix gnome-shell screenrecorder Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, rg@raghavgururajan.name, vivien@planete-kraus.eu, guix-patches@gnu.org Resent-Date: Mon, 08 Apr 2024 15:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70282 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70282@debbugs.gnu.org Cc: rekado@elephly.net, Dariqq , Liliana Marie Prikler , Maxim Cournoyer , Raghav Gururajan , Vivien Kraus X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Liliana Marie Prikler , Maxim Cournoyer , Raghav Gururajan , Vivien Kraus Received: via spool by submit@debbugs.gnu.org id=B.171259139531162 (code B ref -1); Mon, 08 Apr 2024 15:50:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Apr 2024 15:49:55 +0000 Received: from localhost ([127.0.0.1]:47428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtrFq-00086X-M6 for submit@debbugs.gnu.org; Mon, 08 Apr 2024 11:49:55 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtrFo-00085T-25 for submit@debbugs.gnu.org; Mon, 08 Apr 2024 11:49:53 -0400 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 1rtrFW-0008QT-2g for guix-patches@gnu.org; Mon, 08 Apr 2024 11:49:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rtrFT-000188-82 for guix-patches@gnu.org; Mon, 08 Apr 2024 11:49:33 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 05D19240029 for ; Mon, 8 Apr 2024 17:49:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1712591368; bh=PWVyXAC4hcL4+MKc+uYdFdeOIvO6b/UZBqEbnLGXQA4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=SJLQwYAaLI7hEWNqv1dCF8HQoLhLgorLsT6nyik9E5F0UBIqX90MtqaURrhioiXZs kBDqhBnNOjRy6BDU1iBGKQSHUJPteVAlRKKwzzdN2sSMUStKSbqpbzqXV1pGps1DiC VTtfKCbYHWU2x45Fsp+t5Nsq7vMHiZQDb0rEUKud8YEB5+ZW6dxFznJWrbGKr/8NLW c8pSgU4j6XRNrCbv4u3avkImIQie4483+WsStPFH32lDCJsMUTo4qFjgjHygL/ru3S xAowZXD3RikoIHhPJZKuG6rUThLDkDSWffmBwfxbLr9+VAImql0wGO6oLBLUHxkAvx 6o6nsIX+/xpfA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VCtnL6sx4z6txh; Mon, 8 Apr 2024 17:49:26 +0200 (CEST) From: Dariqq Date: Mon, 8 Apr 2024 15:39:06 +0000 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=dariqq@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.47 X-Spam-Score: -2.47 X-Migadu-Queue-Id: 15FA266FF6 X-Migadu-Scanner: mx13.migadu.com X-TUID: 82sJIbdk6uIC Hello Guix, Last week a user in the irc chat remarked that the built in Gnome screenrecorder is not available which rekado and me then investigated afterwards. This functionality is provided by the org.gnome.Shell.Screencast dbus service which currently fails to start (if for example you try to investigate it with d-spy you get the not really helpful error: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Shell.Screencast exited with status 1) We later figured that this error happens because the required typelib files cannot be found. As a fix I imported a patch from NixOS [1] from their gnome-shell 42/44 package and wrapped the relevant files with GI_TYPELIB_PATH. This seems to be strictly necessary only for the screencast service however I wrapped all of the dbus services listed in the js/dbusServices/meson.build file, same as what is done in NixOS. In order for Screencast to work you'll also need pipewire available (I think for the gstreamer plug-in) which is why I added it to gnome-essential-extras in the second patch. You'll also need pipewire running (i.e the home-service) which makes this a bit unintuitive for users. I don't think it is currently possible to enable user level shepherd services from the system configuration, but correct me if I am wrong. Without pipewire running the screen recording stops immediately. As usual i am not sure if the formating/wording of my commit messages and the name I gave the patch are fine. Also thanks to rekado for helping to make sense of this. [1] https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/desktops/gnome/core/gnome-shell/wrap-services.patch Dariqq (2): gnu: gnome-shell: Wrap d-bus services. gnu: gnome-essential-extras: Propagate pipewire. gnu/local.mk | 1 + gnu/packages/gnome.scm | 14 ++++- .../gnome-shell-wrappable-dbus-services.patch | 59 +++++++++++++++++++ 3 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 gnu/packages/patches/gnome-shell-wrappable-dbus-services.patch base-commit: cd45294d576975a3bff2f755764a3f46f09ea6f9 -- 2.41.0