GNU bug report logs - #70282
[PATCH 0/2] Fix gnome-shell screenrecorder

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: Dariqq <dariqq@HIDDEN>; Keywords: patch; dated Mon, 8 Apr 2024 15:50:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

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


Received: (at 70282) by debbugs.gnu.org; 8 May 2024 18:41:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 08 14:41:43 2024
Received: from localhost ([127.0.0.1]:50246 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s4mEZ-0007Gz-D9
	for submit <at> debbugs.gnu.org; Wed, 08 May 2024 14:41:43 -0400
Received: from mout01.posteo.de ([185.67.36.65]:33029)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1s4mEU-0007Gr-95
 for 70282 <at> debbugs.gnu.org; Wed, 08 May 2024 14:41:42 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 84971240027
 for <70282 <at> debbugs.gnu.org>; Wed,  8 May 2024 20:41:06 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1715193666; bh=2iJ2G2nVrdvOlzpCo0kk9l4gne/RPMC6Zf1s5Xp2Rec=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:
 Content-Transfer-Encoding:From;
 b=TeO9LcMmtM6aOgoeEJOxeGHCpDkxS+NuCozEqLZnx1jsEyfCfbxXnPOm3xfCLmc82
 lXK9/JOT3gwYz71tPNgUf2JlRokf61CvvvLF2H5OOKJ8bV4qDN/upCMn95s+2f+Map
 EOYM+eRIFC8jjnjmC4osnJioS26NMJUhFaFYTVVjen4QNthtacr3DapcMxxvasB/8l
 QY0JDwik8pq6R9JX2vEGG1qssHUrxNcv2M5yj02yTa1oEsGDEgBBxUpyijgXtiRiqq
 reIY9gycrRJ1ijfbZrodohAwtjE/t2FEeTMXbjV7h64pPGDPt5sdr3aWM8DEz1px0O
 TIUSCNtpO5ggw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VZP9Y6M5Vz6tvZ;
 Wed,  8 May 2024 20:41:05 +0200 (CEST)
From: Dariqq <dariqq@HIDDEN>
To: 70282 <at> debbugs.gnu.org
Subject: [PATCH v4] gnu: gnome-shell: Wrap screencast service.
Date: Wed,  8 May 2024 18:33:30 +0000
Message-ID: <213d475bd6ad3781baf3876e89bd84c18029dc5e.1715193210.git.dariqq@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: Dariqq <dariqq@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: -3.3 (---)

Adjust screencast such that GI_TYPELIB_PATH and GST_PLUGIN_SYSTEM_PATH are set
before starting.

Add all required gstreamer plugins to inputs.

To be able to use it a running pipewire service is needed.

* gnu/packages/gnome.scm (gnome-shell):
[inputs]: Add gst-plugins-good and pipewire.
[#:phases]<'wrap-programs>: Wrap org.gnome.Shell.Screencast.

Change-Id: I2c31bf1bd92e281b86c57b06988c6a3793a58d40
---
Here is v4 which appends the gstreamer plugins to GST_PLUGIN_SYSTEM_PATH, handling the case when getenv returns null. I think the difference between appendending or prepending in this case is not too important as the user GST_PLUGIN_PATH should take precedent. The more important thing is that the plugins are in any plugin path at all.

 gnu/packages/gnome.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 92e35e3c5a..4bbff2a89b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9408,6 +9408,7 @@ (define-public gnome-shell
             (add-after 'install 'wrap-programs
               (lambda* (#:key inputs #:allow-other-keys)
                 (let ((gi-typelib-path  (getenv "GI_TYPELIB_PATH"))
+                      (gst-plugin-path  (getenv "GST_PLUGIN_SYSTEM_PATH"))
                       (python-path
                        (string-join
                         (filter (lambda (item)
@@ -9427,6 +9428,19 @@ (define-public gnome-shell
                                     "path => imports.gi.GIRepository.Repository."
                                     "prepend_search_path(path));\n"
                                     all)))
+                  ;; Screencast requires a pipewire service running
+                  ;; (i.e. as provided by home-pipewire-service-type)
+                  (substitute* (string-append #$output "/share/gnome-shell/"
+                                              "org.gnome.Shell.Screencast")
+                    (("imports\\.package\\.start" all)
+                     (string-append "'" gi-typelib-path "'.split(':').forEach("
+                                    "path => imports.gi.GIRepository.Repository."
+                                    "prepend_search_path(path));\n"
+                                    "imports.gi.GLib.setenv('GST_PLUGIN_SYSTEM_PATH',"
+                                    "[imports.gi.GLib.getenv('GST_PLUGIN_SYSTEM_PATH'),"
+                                    "'" gst-plugin-path "'].filter(v => v).join(':'),"
+                                    "true);\n"
+                                    all)))
                   (for-each
                    (lambda (prog)
                      (wrap-program (string-append #$output "/bin/" prog)
@@ -9492,6 +9506,7 @@ (define-public gnome-shell
            gnome-settings-daemon
            graphene
            gst-plugins-base
+           gst-plugins-good
            ibus
            libcanberra
            libcroco
@@ -9502,6 +9517,7 @@ (define-public gnome-shell
            mesa-headers
            mutter
            network-manager-applet
+           pipewire
            polkit
            pulseaudio
            python-pygobject

base-commit: 7b7f299bb493e485c5534b8c554e51d4f3a8c026
-- 
2.41.0





Information forwarded to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 8 May 2024 17:25:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 08 13:25:06 2024
Received: from localhost ([127.0.0.1]:49907 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s4l2P-0006G6-Rp
	for submit <at> debbugs.gnu.org; Wed, 08 May 2024 13:25:06 -0400
Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]:59416)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1s4l2K-0006Ff-Q0
 for 70282 <at> debbugs.gnu.org; Wed, 08 May 2024 13:25:04 -0400
Received: by mail-ej1-x643.google.com with SMTP id
 a640c23a62f3a-a5a1192c664so36978566b.2
 for <70282 <at> debbugs.gnu.org>; Wed, 08 May 2024 10:24:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1715189069; x=1715793869; darn=debbugs.gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=ov2Rzp9Y456LmEQ9Y9NwDsSL97T3JJh1Qo1AQ1o/V+0=;
 b=AIg6z9aQAAD/CAuNrXWT1RVbLDasUTDPFuVUqFZHf/JNuH2V/9EWdTBeMB41HyiaZP
 PreSisO7jTdMjCttK6fALQ0pXnUvVcWQhDSe83fNUF80/GjBH9KnnxDQCmlbdb3re+wH
 zQXZCb+Hf4rJmNvsYp3lbmt0RCCVHgYij9jY2PMdGE1qchNXtUKXZLBoF2uo26dOUgYN
 wI8sNr6BxW12/NvSwMbD5BwWXhnqJm5NNpHdpivSDOQ3FyKyRb/FrTgEZL+dxtM6n0Mv
 Fr57Liv1vKIY5oObAVj5QbNJA49Xs9nUhR5HmnV77kxcPaRF21eEKtbIcoWhrVTGY0mA
 Ad9g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1715189069; x=1715793869;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=ov2Rzp9Y456LmEQ9Y9NwDsSL97T3JJh1Qo1AQ1o/V+0=;
 b=h8oRoSCxe261UpReL8hzuWq2odxOw4QKI2GfmnjRvZZPvLu1E3YkHnXtkPZXgVs02b
 FiVQDjJZh1Bve3sKhjGHm8X7W3nu8KUsw653iw7wgNpG69iGGUSwD0DAx4eFqZE9aL3P
 UJEMEPEF1T2dBCV3CAb9obsdqK89vbEE7pI+UJA9Q++L+HjdbjG/EuU88oWW/wiJfOK8
 Zml8zwTVi717paw1LXjhwwU9BT4+IOJ5uc2nNolDQNQonemOcfSzatmDcia7zRp75nIO
 5TqGBIawrpbafD9g36K41LEaEEPpaMDqL/4wXREJVkEruhAZMnEC2CQvHUCuFH1WwBhc
 OMJA==
X-Forwarded-Encrypted: i=1;
 AJvYcCW0T2Tkv+dTMjPuvPOTTQisLuqreRR+kt+v/eaCx7Ea8j5clGMpkbhcGWgq22A/Dnh1AlaFFIE/JrKy9+e9SoBFyFeM6EM=
X-Gm-Message-State: AOJu0YwKWhoqWHPk7dBv9YILJlVw79Epv0v8OOVCoSpUzsONBc0JkWCF
 K52yD4nfmpC5GOqPYkAviWUviNM7n2LscFUxaT3IqVecL6V2xYtf9f4lx/ZI
X-Google-Smtp-Source: AGHT+IGcBAs/EOOcQFSb83prdqO5jK4KRSsHfThps7OzPKk+pRjY8GK5PuO8wqJHj7XWVeytasm5EQ==
X-Received: by 2002:a50:ab14:0:b0:572:7d5b:9923 with SMTP id
 4fb4d7f45d1cf-5731d9d920amr3088059a12.22.1715189068328; 
 Wed, 08 May 2024 10:24:28 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 r1-20020a50d681000000b0057297f5935dsm8110657edi.57.2024.05.08.10.24.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 08 May 2024 10:24:27 -0700 (PDT)
Message-ID: <387b26046838cb9968515ded3eeedbf86f1b9558.camel@HIDDEN>
Subject: Re: [bug#70282] [PATCH v3] gnu: gnome-shell: Wrap screencast service.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Dariqq <dariqq@HIDDEN>, 70282 <at> debbugs.gnu.org
Date: Wed, 08 May 2024 19:24:26 +0200
In-Reply-To: <79b8bcd870f61cc79518c4ff8bf560b88661e0b3.1713718938.git.dariqq@HIDDEN>
References: <cover.1712590252.git.dariqq@HIDDEN>
 <79b8bcd870f61cc79518c4ff8bf560b88661e0b3.1713718938.git.dariqq@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
User-Agent: Evolution 3.48.4 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70282
Cc: Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -1.0 (-)

QW0gU29ubnRhZywgZGVtIDIxLjA0LjIwMjQgdW0gMTc6MDIgKzAwMDAgc2NocmllYiBEYXJpcXE6
Cj4gQWRqdXN0IHNjcmVlbmNhc3Qgc3VjaCB0aGF0IEdJX1RZUEVMSUJfUEFUSCBhbmQKPiBHU1Rf
UExVR0lOX1NZU1RFTV9QQVRIIGFyZSBzZXQKPiBiZWZvcmUgc3RhcnRpbmcuCj4gCj4gQWRkIGFs
bCByZXF1aXJlZCBnc3RyZWFtZXIgcGx1Z2lucyB0byBpbnB1dHMuCj4gCj4gVG8gYmUgYWJsZSB0
byB1c2UgaXQgYSBydW5uaW5nIHBpcGV3aXJlIHNlcnZpY2UgaXMgbmVlZGVkLgo+IAo+ICogZ251
L3BhY2thZ2VzL2dub21lLnNjbSAoZ25vbWUtc2hlbGwpOgo+IFtpbnB1dHNdOiBBZGQgZ3N0LXBs
dWdpbnMtZ29vZCBhbmQgcGlwZXdpcmUuCj4gWyM6cGhhc2VzXTwnd3JhcC1wcm9ncmFtcz46IFdy
YXAgb3JnLmdub21lLlNoZWxsLlNjcmVlbmNhc3QuCj4gCj4gQ2hhbmdl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wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqAgInByZXBlbmRfc2VhcmNoX3BhdGgocGF0aCkpO1xuIgo+ICvCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgCj4gImltcG9ydHMuZ2kuR0xpYi5zZXRlbnYoJ0dTVF9QTFVHSU5fU1lTVEVNX1BBVEgnLCIK
PiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoCAiJyIgZ3N0LXBsdWdpbi1wYXRoICInIgo+ICvCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
ICIsIHRydWUpO1xuIgo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIGFsbCkpKQpTb3JyeSBmb3IgdGhlIGxhdGUg
cmVwbHkuICBZb3Ugb3VnaHQgdG8gdXNlIEdMaWIuZ2V0ZW52IHRvIGdldCB0aGUKY3VycmVudCB2
YWx1ZSwgc28gdGhhdCB5b3UgY2FuIGFkZCB0aGUgbmVlZGVkIHBhdGhzIGFzIGEgcHJlZml4IChv
cgpzdWZmaXg/IEknZCBwZXJzb25hbGx5IHByZWZlciBsZXR0aW5nIHRoZSB1c2VyIHByZWZpeCB0
aGVtKS4KCkNoZWVycyAK





Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 8 May 2024 12:58:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 08 08:58:23 2024
Received: from localhost ([127.0.0.1]:48789 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s4gsJ-0003GU-62
	for submit <at> debbugs.gnu.org; Wed, 08 May 2024 08:58:23 -0400
Received: from mout01.posteo.de ([185.67.36.65]:45591)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1s4gsF-0003GO-Ts
 for 70282 <at> debbugs.gnu.org; Wed, 08 May 2024 08:58:21 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 07C81240027
 for <70282 <at> debbugs.gnu.org>; Wed,  8 May 2024 14:57:47 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1715173068; bh=HvaC5ND0z7lSdudB7IsXyj6yJqSYH4pYmiTsxUlSRlE=;
 h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type:
 Content-Transfer-Encoding:From;
 b=Lj1PO3w5mTmNG1ju7qe+2rfTj+PycEQc10nH47v1qwgTCBYEwNqmBnDdIwFwGzRY1
 tN7Pbp35x9z9VQZKnwIK9tbHEXIfG0xJwP3vtB536mo+hmsxOkbV1zrQLyVQnqA9xx
 zK+XuEMQhIc6fNLSSulEsntExnd4qQl7YNyRlH8EEIdnjhFuN4u48P/wiEePUK5lI2
 hRLKxUvcYzE3OHIzydP1CDjYQ/c1YMz/XLxwl+J4gc3eG8/25MUZ71cOOKvY/L86sD
 HsfH+7knOlRIw94lF1lV1RVKyR/gkh984Cv4T4ImQAmHdRcJ9km36SNEB1CbPPrAbz
 Ko4R4KnBSOTkw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VZFYQ65Lbz6tmv;
 Wed,  8 May 2024 14:57:46 +0200 (CEST)
Message-ID: <dde41029-4c1b-4688-aaa5-23c22e61403c@HIDDEN>
Date: Wed,  8 May 2024 12:57:43 +0000
MIME-Version: 1.0
Subject: Re: [bug#70282] [PATCH v3] gnu: gnome-shell: Wrap screencast service.
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>, 70282 <at> debbugs.gnu.org
References: <cover.1712590252.git.dariqq@HIDDEN>
 <d5f358b4d17606032eba8a49ff7980720e7d4b4d.1712942808.git.dariqq@HIDDEN>
 <0497984af8f383af8e8b981d78dc9baf23869e30.camel@HIDDEN>
 <f929f311-7192-411d-a889-f24a134141c9@HIDDEN>
 <7a635b027f59d348312098650d1606f2e658ffab.camel@HIDDEN>
 <8e84c417-825a-416a-8ca0-ed5aebda489e@HIDDEN>
 <e6f66b3886040afaab702d8707dc01ff4bc2ce7d.camel@HIDDEN>
Content-Language: en-US
From: Dariqq <dariqq@HIDDEN>
In-Reply-To: <e6f66b3886040afaab702d8707dc01ff4bc2ce7d.camel@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -3.3 (---)

Hi Liliana,

Were you able to take a look at v3 yet? I've sent it a couple of weeks 
ago utilizing Glib.setenv to set the gst plugin path.

Have a nice day.

On 21.04.24 14:43, Liliana Marie Prikler wrote:
> Am Sonntag, dem 21.04.2024 um 12:37 +0000 schrieb Dariqq:
>>>
>> [...]
>> I've just found GLib.setenv() to set environment variables for the
>> process directly from within gjs. The GLib typelib comes from the
>> gobject-introspection package so this should be available.
>>
>>  From my limited testing it seems to work (at least for the screencast
>> service). What do you think?
> Yes, GLib.setenv is the function I had in mind to twiddle the
> environment.  If you find the right location to do so at the start of
> the program, please send a patch that does that.
> 
> Cheers




Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 21 Apr 2024 17:10:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 21 13:10:03 2024
Received: from localhost ([127.0.0.1]:43899 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ryahV-0005np-4m
	for submit <at> debbugs.gnu.org; Sun, 21 Apr 2024 13:10:03 -0400
Received: from mout02.posteo.de ([185.67.36.66]:50331)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1ryahP-0005mB-BK
 for 70282 <at> debbugs.gnu.org; Sun, 21 Apr 2024 13:09:59 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 34014240103
 for <70282 <at> debbugs.gnu.org>; Sun, 21 Apr 2024 19:09:33 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1713719373; bh=nGFU/OKs9Kiz8bgO/nNqGAxAEagGoIv01jW4PmV5Pko=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:
 Content-Transfer-Encoding:From;
 b=noP3IPhwGYN4HiWNYeSkyF6CqRswV1imfr4bR9R8d0YkUK9teiXfoe00zgrgQsFko
 hPcPc4OrdL4yeYMvUikubTnJB/5PE9FE4qZat4joHusfgxrBPVPtPdljQK5FfRLmzN
 aXKrSpcuBudtil1/SXxwXdHFcLxNnRzv0/Le9CSZ5h4Z21tSCAaLMF23fLIqNixiZj
 5nvCYnjmDBbADRp2c2dLTE1x3m368bMqE41JJ8CilLcdVAPX+F+NXF7mmwJ5VN/kwL
 Ys3I2PXwHhmZhOs5GJyu0JP8GQUaHenlClfYSPdj7kkUcEa4VUmBaqJ4/KMOcU00Qn
 SYA89k5vVOrZA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VMvxm5Q8Kz6tm4;
 Sun, 21 Apr 2024 19:09:32 +0200 (CEST)
From: Dariqq <dariqq@HIDDEN>
To: 70282 <at> debbugs.gnu.org
Subject: [PATCH v3] gnu: gnome-shell: Wrap screencast service.
Date: Sun, 21 Apr 2024 17:02:18 +0000
Message-ID: <79b8bcd870f61cc79518c4ff8bf560b88661e0b3.1713718938.git.dariqq@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: Dariqq <dariqq@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: -3.3 (---)

Adjust screencast such that GI_TYPELIB_PATH and GST_PLUGIN_SYSTEM_PATH are set
before starting.

Add all required gstreamer plugins to inputs.

To be able to use it a running pipewire service is needed.

* gnu/packages/gnome.scm (gnome-shell):
[inputs]: Add gst-plugins-good and pipewire.
[#:phases]<'wrap-programs>: Wrap org.gnome.Shell.Screencast.

Change-Id: I2c31bf1bd92e281b86c57b06988c6a3793a58d40
---

Here is v3 which only uses js to set the environment variables.
Slight difference to before is that GST_PLUGIN_SYSTEM_PATH gets set to specific paths rather than prepending.
I've also tested if GI_TYPELIB_PATH can be set with GLib.setenv but that didn't seem to work,
so I 've used something similiar as in other places.

 gnu/packages/gnome.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 489f23865b..b3c3fb72ad 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9392,6 +9392,7 @@ (define-public gnome-shell
             (add-after 'install 'wrap-programs
               (lambda* (#:key inputs #:allow-other-keys)
                 (let ((gi-typelib-path  (getenv "GI_TYPELIB_PATH"))
+                      (gst-plugin-path  (getenv "GST_PLUGIN_SYSTEM_PATH"))
                       (python-path
                        (string-join
                         (filter (lambda (item)
@@ -9411,6 +9412,18 @@ (define-public gnome-shell
                                     "path => imports.gi.GIRepository.Repository."
                                     "prepend_search_path(path));\n"
                                     all)))
+                  ;; Screencast requires a pipewire service running
+                  ;; (i.e. as provided by home-pipewire-service-type)
+                  (substitute* (string-append #$output "/share/gnome-shell/"
+                                              "org.gnome.Shell.Screencast")
+                    (("imports\\.package\\.start" all)
+                     (string-append "'" gi-typelib-path "'.split(':').forEach("
+                                    "path => imports.gi.GIRepository.Repository."
+                                    "prepend_search_path(path));\n"
+                                    "imports.gi.GLib.setenv('GST_PLUGIN_SYSTEM_PATH',"
+                                    "'" gst-plugin-path "'"
+                                    ", true);\n"
+                                    all)))
                   (for-each
                    (lambda (prog)
                      (wrap-program (string-append #$output "/bin/" prog)
@@ -9476,6 +9489,7 @@ (define-public gnome-shell
            gnome-settings-daemon
            graphene
            gst-plugins-base
+           gst-plugins-good
            ibus
            libcanberra
            libcroco
@@ -9486,6 +9500,7 @@ (define-public gnome-shell
            mesa-headers
            mutter
            network-manager-applet
+           pipewire
            polkit
            pulseaudio
            python-pygobject

base-commit: a1d711c92e119f6b5b8e99a620cdba92a4ca3bfb
-- 
2.41.0





Information forwarded to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 21 Apr 2024 12:43:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 21 08:43:42 2024
Received: from localhost ([127.0.0.1]:42774 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ryWXl-0005Fw-CI
	for submit <at> debbugs.gnu.org; Sun, 21 Apr 2024 08:43:42 -0400
Received: from mail-lf1-x144.google.com ([2a00:1450:4864:20::144]:59794)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1ryWXh-0005ER-Ph
 for 70282 <at> debbugs.gnu.org; Sun, 21 Apr 2024 08:43:39 -0400
Received: by mail-lf1-x144.google.com with SMTP id
 2adb3069b0e04-51b2f105829so164872e87.3
 for <70282 <at> debbugs.gnu.org>; Sun, 21 Apr 2024 05:43:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1713703396; x=1714308196; darn=debbugs.gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=ewxLzMxqyzNIwf62E0z5zKDVBO7bRB66bdVhexO+Ses=;
 b=W5vxQZ/hA7Csu1BhIbR5NCTxQxsPn0NJTVAy2r4W8QDe6WnMxVqqImxMRNt5EPM91c
 2ZXQnqiQEYklMMfxwfqmb99XfRs2zM5n6rq4LO3xfCGa5u7g56aY6y790JXSSGtBQGze
 Ki1XK81Xc4Qo+lSU6swMUhnUMhRz6bTSQIwWVnT8sg/TVyIL6c9QEzDshGwLbZQ/jeRV
 yggINx6HfNWFxEvH7vcJdD9+DSeQwkQH0B5V12oWJngq4hK6eLnbpjxRJOb3HWcIc8se
 dttI9l2SBluvPMbKJKsNUhQ546SyXdFVV/b586EIJeYwuLqx4NgN/oK1OnMVRko/hBwu
 emZg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1713703396; x=1714308196;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=ewxLzMxqyzNIwf62E0z5zKDVBO7bRB66bdVhexO+Ses=;
 b=YXC4NfguzQBx+/cUVyXMQ9NlTJgqAXLL0tYUM3e2qPMvMZZnDJeLsMvt+m9gWed/Lh
 IzWif5+YXWA/wTIl59ifxvlMucaSYz4V2lzKPbn76GeUghe7c5vHSfZFOoGuLzh0Um7z
 rcv9LRPXlVMEtmS0g5xwxNeZwJ+fDWRYHdlhl8j5wYXgGbQjaHW10bN7fMFlOg6V8wH/
 Hf/KWgy/eKflfxgtifh6mzBVxoQ/DtKjQhtfU3QTFsVooihyyd8FV0p7z7h7ykBV9tVf
 cuhNPW6/pQ5oUYRwTUfX3iuejvQleuYnkqTo9BWp9FdpfFsuUGQt0Oxn+scfGlDK4mt8
 VebQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCXdMy7tC6nHhHymdn7ACYdJtFaO8pYYChuB0qTkcQEvpo26XjilJpcjPzdnH9pkehus3g+ubK3ycT9LfzD9Ju4MJ84gIh4=
X-Gm-Message-State: AOJu0YxEnlbeQhB1ZFXQ8UsPfb8dFFgRqUILuIfSKNJDCmpDxxdzVOeq
 tt+zEsK+HreQxl9VgIOs0KwKEqO2K0+4ges1p3FnIotmnj5UH0QO
X-Google-Smtp-Source: AGHT+IGdbucd2OZWsCraFIePWBBLl3eGyo2j4SSjbAQrfPu0OwbCHr1x7XXAQVHCLiRUr5uSnZ7Ndg==
X-Received: by 2002:a05:6512:7a:b0:516:d43f:898 with SMTP id
 i26-20020a056512007a00b00516d43f0898mr5531160lfo.21.1713703395696; 
 Sun, 21 Apr 2024 05:43:15 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 f15-20020aa7d84f000000b00571db231915sm2441426eds.78.2024.04.21.05.43.14
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 21 Apr 2024 05:43:15 -0700 (PDT)
Message-ID: <e6f66b3886040afaab702d8707dc01ff4bc2ce7d.camel@HIDDEN>
Subject: Re: [bug#70282] [PATCH v2] gnu: gnome-shell: Wrap screencast service.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Dariqq <dariqq@HIDDEN>, 70282 <at> debbugs.gnu.org
Date: Sun, 21 Apr 2024 14:43:13 +0200
In-Reply-To: <8e84c417-825a-416a-8ca0-ed5aebda489e@HIDDEN>
References: <cover.1712590252.git.dariqq@HIDDEN>
 <d5f358b4d17606032eba8a49ff7980720e7d4b4d.1712942808.git.dariqq@HIDDEN>
 <0497984af8f383af8e8b981d78dc9baf23869e30.camel@HIDDEN>
 <f929f311-7192-411d-a889-f24a134141c9@HIDDEN>
 <7a635b027f59d348312098650d1606f2e658ffab.camel@HIDDEN>
 <8e84c417-825a-416a-8ca0-ed5aebda489e@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.48.4 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70282
Cc: Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -1.0 (-)

Am Sonntag, dem 21.04.2024 um 12:37 +0000 schrieb Dariqq:
> >=20
> [...]
> I've just found GLib.setenv() to set environment variables for the=20
> process directly from within gjs. The GLib typelib comes from the=20
> gobject-introspection package so this should be available.
>=20
> From my limited testing it seems to work (at least for the screencast
> service). What do you think?
Yes, GLib.setenv is the function I had in mind to twiddle the
environment.  If you find the right location to do so at the start of
the program, please send a patch that does that.

Cheers




Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 21 Apr 2024 12:38:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 21 08:38:22 2024
Received: from localhost ([127.0.0.1]:42750 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ryWSb-0004ed-MH
	for submit <at> debbugs.gnu.org; Sun, 21 Apr 2024 08:38:22 -0400
Received: from mout01.posteo.de ([185.67.36.65]:58683)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1ryWSW-0004d4-1w
 for 70282 <at> debbugs.gnu.org; Sun, 21 Apr 2024 08:38:20 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id CB96C240027
 for <70282 <at> debbugs.gnu.org>; Sun, 21 Apr 2024 14:37:53 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1713703073; bh=JoRynbMAni2qZIlGsj64qbZqKLoVsLBasNuLFLAkqAM=;
 h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type:
 Content-Transfer-Encoding:From;
 b=HrIpXXPeWAdwimudMg6gD82a1ZYIFjJgo8NPoMAc5zizeqXxdo9gU1Ml42Dg1vdAM
 5lCdV6lbTA99TJXSQdFHkhHTDJeZN7T4y+blqxaOyLXsJeiT0lERHVq/DxnkYKCENm
 F3g4UWzRHfYQm1SIkdsn9YmDPcenn+N92ugMczzvIffft/89TPokK1rsjlSbar5N//
 4fK2eejUgVhlaqnODKUo7TlMaFnZQf7wFlxUwI7+Kk5U+HT94spXQ8AdKNPnzAbwgQ
 H+Lv/ntcmuLn7DamW1kWgspXBAFRaOgKWP/9xDn0g4EFlV4YIURTCmkZDp8DopIh5Z
 22JTcwJCaUThA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VMnwJ5pXvz6tmv;
 Sun, 21 Apr 2024 14:37:52 +0200 (CEST)
Message-ID: <8e84c417-825a-416a-8ca0-ed5aebda489e@HIDDEN>
Date: Sun, 21 Apr 2024 12:37:46 +0000
MIME-Version: 1.0
Subject: Re: [bug#70282] [PATCH v2] gnu: gnome-shell: Wrap screencast service.
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>, 70282 <at> debbugs.gnu.org
References: <cover.1712590252.git.dariqq@HIDDEN>
 <d5f358b4d17606032eba8a49ff7980720e7d4b4d.1712942808.git.dariqq@HIDDEN>
 <0497984af8f383af8e8b981d78dc9baf23869e30.camel@HIDDEN>
 <f929f311-7192-411d-a889-f24a134141c9@HIDDEN>
 <7a635b027f59d348312098650d1606f2e658ffab.camel@HIDDEN>
Content-Language: en-US
From: Dariqq <dariqq@HIDDEN>
In-Reply-To: <7a635b027f59d348312098650d1606f2e658ffab.camel@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -3.3 (---)



On 20.04.24 12:46, Liliana Marie Prikler wrote:
> Am Samstag, dem 20.04.2024 um 10:11 +0000 schrieb Dariqq:
>>
>>
>> On 19.04.24 20:51, Liliana Marie Prikler wrote:
>>> Am Freitag, dem 12.04.2024 um 17:26 +0000 schrieb Dariqq:
>>>> The screencast service can now find typelibs and gstreamer
>>>> plugins.
>>>>
>>>> * gnu/packages/linux.scm (gnome-shell)
>>>> [inputs]: Add gst-plugins-good and pipewire.
>>>> [#:phases]<'wrap-programs>: Create a wrapper for screencast
>>>> service
>>>> and use it.
>>>>
>>>> Change-Id: I2c31bf1bd92e281b86c57b06988c6a3793a58d40
>>>> ---
>>>>
>>>> Hi,
>>>>
>>>> Here is v2 of the patch. The wrapper is now created manually as I
>>>> was unable to find a way to manipulate the gstreamer plugin load
>>>> path from within javascript. Importantly this leaves the original
>>>> javascript file untouched and therefore circumvents the argv[0]
>>>> problem in v1.
>>>> All the required gstreamer plugins (pipewire and gst-plugins-
>>>> good) are now inputs and are in the wrapper via
>>>> GST_PLUGIN_SYSTEM_PATH.
>>> I'm not sure this fix is sounds.  It looks like it misses manual
>>> invocation from the command line, does it not?  (Well, it's gnome-
>>> shell, so if you have to invoke it from the command line, things
>>> are broken, but still…)
>>
>> If only the typelib path is set the dbus service now longer greets
>> you with an error but still fails to start without the gstreamer
>> plugins.  That's why in v1 I was propagating pipewire through
>> gnome-essential-extras.
>>
>> I am not sure what you mean by manual invocation. The screencast
>> service  should get started via dbus. Nothing manual should be
>> required (other than enabling the pipewire home service).
> Just what it says on the tin, manually running the "binary" through the
> command line.  It's not super useful with GNOME, but I think we should
> make sure our services work whichever way they could be invoked.
> 
>>     What keeps you from wrapping the environment
>>> variable in Javascript?
>>
>> I was unable to find a way to manipulate the GST_PLUGIN_PATH or
>> specify the gst search path from within javascript. There is
>> Gst.Registry().scan_path but this creates a new registry and I don't
>> think is what we want here. (but I don't know anything about
>> gstreamer and javascript so I could be wrong here).
> Instead of creating a new Gst.Registry – as per the () here – you could
> use gst_registry_get() or whatever the according JS method is to access
> the Registry singleton.
> 
> The Registry constructor ought to be protected, but idk how GJS handles
> that.
> 

I've tried adding Gst.Registry.get().scan_path() after the GI_TYPELIB 
expansion but I am not sure why it does not work. Stracing the 
invocation shows that the pipewire gstreamer plugin is accessed at the 
beginning but it is still not available somehow. Probably because of my 
lack of knowledge about gstreamer.

>> I guess the most simple patch for the typelibs would be something
>> like
>>
>>
>> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
>> index fa6c566c75..28c4e540a6 100644
>> --- a/gnu/packages/gnome.scm
>> +++ b/gnu/packages/gnome.scm
>> @@ -9404,13 +9404,15 @@ (define-public gnome-shell
>>                         (wrap-program (string-append #$output "/bin/"
>> prog)
>>                           `("GI_TYPELIB_PATH" ":" prefix
>> (,gi-typelib-path))))
>>                       '("gnome-shell" "gnome-extensions-app"))
>> -                  (substitute* (string-append #$output
>> "/share/gnome-shell/"
>> -
>> "org.gnome.Shell.Extensions")
>> -                    (("imports\\.package\\.start" all)
>> -                     (string-append "'" gi-typelib-path
>> "'.split(':').forEach("
>> -                                    "path =>
>> imports.gi.GIRepository.Repository."
>> -                                    "prepend_search_path(path));\n"
>> -                                    all)))
>> +                  (for-each
>> +                   (lambda (prog)
>> +                     (substitute* (string-append #$output
>> "/share/gnome-shell/" prog)
>> +                       (("imports\\.package\\.start" all)
>> +                        (string-append "'" gi-typelib-path
>> "'.split(':').forEach("
>> +                                       "path =>
>> imports.gi.GIRepository.Repository."
>> +
>> "prepend_search_path(path));\n"
>> +                                       all))))
>> +                   '("org.gnome.Shell.Extensions"
>> "org.gnome.Shell.Screencast"))
>>                      (for-each
>>                       (lambda (prog)
>>                         (wrap-program (string-append #$output "/bin/"
>> prog)
>>
>>
>> and dealing with the gstreamer plugins in another way.
> Hmm, could you add --gst-plugin-path on the command line?
> 
>>>> I've also left a comment for the required home-pipewire-service.
>>>> In gnome-shell 45+ the invocation has changed to 'gjs -m
>>>> service'.
>>>> Should this also be a comment somewhere?
>>> Gnome-shell 45+ is currently irrelevant, but we might have to adapt
>>> things once we get there on gnome-team.  We do need a better gjs-
>>> patching strategy.
>>>
>>
>> It would be nice if something like wrap-script would work. But the
>> problem is that the dbus services specify somehting like "Exec= gjs
>> service" rather than executing a gjs-script directly. (which is the
>> main purpose of the patch from nixos). And also gjs not being a valid
>> interpreter for wrap-script (Changing that will rebuild everything)
> You can redo the needed logic locally and add a "XXX: Use wrap-script
> once it can handle gjs" for example.  That's no hard blocker, but it's
> not the nicest option either, I admit.  Let's try our other options
> first.
> 

I've just found GLib.setenv() to set environment variables for the 
process directly from within gjs. The GLib typelib comes from the 
gobject-introspection package so this should be available.

 From my limited testing it seems to work (at least for the screencast 
service). What do you think?

> Cheers

Have a nice day.




Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 20 Apr 2024 10:46:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 06:46:52 2024
Received: from localhost ([127.0.0.1]:35678 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ry8F9-0003F2-M9
	for submit <at> debbugs.gnu.org; Sat, 20 Apr 2024 06:46:52 -0400
Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]:46315)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1ry8F6-0003E1-M3
 for 70282 <at> debbugs.gnu.org; Sat, 20 Apr 2024 06:46:49 -0400
Received: by mail-ej1-x641.google.com with SMTP id
 a640c23a62f3a-a5544fd07easo313967566b.0
 for <70282 <at> debbugs.gnu.org>; Sat, 20 Apr 2024 03:46:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1713609988; x=1714214788; darn=debbugs.gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=Di+QqbHHBWonAyd4AfnmCzKFAFnZLGBfLOmfE1ns0iE=;
 b=LYc5anYZtgCvNjzJ8Hg/tQGnV7DRKHL5aXsMovBpOPMjIV0eYAM5bP0fMjc5zZwk0i
 7LpUDzdm3VHiRolWvnVCvH/LvTc8WvRr8JKTdPEzAN+Qk13QMRxbCoN6wBgKLsBNsGQa
 55O7w0GqmA8GcZkdW64/Jn65f6GIvynOy+00ZUjdoEWCdR/qJhWSBY0SNqYPW628auM1
 jXf8PMgogeeFDSoeqIb66XaAhM6aBIUdrE1yRmHPLs2cla0wYXxp7smOw4gw7e2UVsXb
 mstUjXBQ5TK8+26l0fPROVxWnKX173I0aJFb4HbRuSvQS50H07YNNdB/5M7qyraa65pK
 nStQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1713609988; x=1714214788;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=Di+QqbHHBWonAyd4AfnmCzKFAFnZLGBfLOmfE1ns0iE=;
 b=V+PhVy/iDKGi1/QqpIGHx1EDORyVlbrJ4Qegtd1y7GB2vIF1IjHs17GVMTuFxJmXn7
 Jx1vWzAkdgS0s6d5GadFwtzHg7N+AnCNOUnmIsBvDLKwhw5DDXPvFlKsMAM545xMfNLt
 wWQQk+4dog1DTGSMefIModYW4H4qbDRY1rJ5fe3zvN/V2EE1aHUJRp2+RuTtq0atk/kI
 YvG1gU3ifQJVMUqsgaiTTP/fi1BlgoCzlPOWQacxgqhsD2jb500MolMgLtlp+bSLRsyu
 zlX9nMepcfCa/0jvFzOkKRTd7m3yBsm9CN7DtqJf+XZZd0MFOisK/r2IxInZB4nTZTp2
 Igcg==
X-Forwarded-Encrypted: i=1;
 AJvYcCWjuixLjXWIc6kN/TSNZIfn3KhremgwaDINUKdvsTiUV1+m0l73nWhnYVTGUes6FcqtyltRSUAgO51uLvRjM+MgFiHGrJ4=
X-Gm-Message-State: AOJu0YwYVIKcDl79xUBW0CVv+/+i2qFQUJu0ypQRkEzyOUUqst11MA+Y
 STMYkxIwQJ9xqSug2BdC8vUXcuwmm/DqJHdV52uIx87ppk2Nb1ky
X-Google-Smtp-Source: AGHT+IEMSx8DkVde5I4Fy9icjkwqOqlqiWctEwUcqpRWw7j/MdajT5CCml0l/UDevkCo0rhbUXvpcg==
X-Received: by 2002:a17:906:365b:b0:a52:67ce:c64d with SMTP id
 r27-20020a170906365b00b00a5267cec64dmr2823137ejb.66.1713609987610; 
 Sat, 20 Apr 2024 03:46:27 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 j5-20020a170906410500b00a517995c070sm3258217ejk.33.2024.04.20.03.46.26
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 20 Apr 2024 03:46:27 -0700 (PDT)
Message-ID: <7a635b027f59d348312098650d1606f2e658ffab.camel@HIDDEN>
Subject: Re: [bug#70282] [PATCH v2] gnu: gnome-shell: Wrap screencast service.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Dariqq <dariqq@HIDDEN>, 70282 <at> debbugs.gnu.org
Date: Sat, 20 Apr 2024 12:46:25 +0200
In-Reply-To: <f929f311-7192-411d-a889-f24a134141c9@HIDDEN>
References: <cover.1712590252.git.dariqq@HIDDEN>
 <d5f358b4d17606032eba8a49ff7980720e7d4b4d.1712942808.git.dariqq@HIDDEN>
 <0497984af8f383af8e8b981d78dc9baf23869e30.camel@HIDDEN>
 <f929f311-7192-411d-a889-f24a134141c9@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
User-Agent: Evolution 3.48.4 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70282
Cc: Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -1.0 (-)

QW0gU2Ftc3RhZywgZGVtIDIwLjA0LjIwMjQgdW0gMTA6MTEgKzAwMDAgc2NocmllYiBEYXJpcXE6
Cj4gCj4gCj4gT24gMTkuMDQuMjQgMjA6NTEsIExpbGlhbmEgTWFyaWUgUHJpa2xlciB3cm90ZToK
PiA+IEFtIEZyZWl0YWcsIGRlbSAxMi4wNC4yMDI0IHVtIDE3OjI2ICswMDAwIHNjaHJpZWIgRGFy
aXFxOgo+ID4gPiBUaGUgc2NyZWVuY2FzdCBzZXJ2aWNlIGNhbiBub3cgZmluZCB0eXBlbGlicyBh
bmQgZ3N0cmVhbWVyCj4gPiA+IHBsdWdpbnMuCj4gPiA+IAo+ID4gPiAqIGdudS9wYWNrYWdlcy9s
aW51eC5zY20gKGdub21lLXNoZ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0IChDaGFuZ2luZyB0aGF0IHdpbGwgcmVidWlsZCBldmVyeXRoaW5nKQpZb3Ug
Y2FuIHJlZG8gdGhlIG5lZWRlZCBsb2dpYyBsb2NhbGx5IGFuZCBhZGQgYSAiWFhYOiBVc2Ugd3Jh
cC1zY3JpcHQKb25jZSBpdCBjYW4gaGFuZGxlIGdqcyIgZm9yIGV4YW1wbGUuICBUaGF0J3Mgbm8g
aGFyZCBibG9ja2VyLCBidXQgaXQncwpub3QgdGhlIG5pY2VzdCBvcHRpb24gZWl0aGVyLCBJIGFk
bWl0LiAgTGV0J3MgdHJ5IG91ciBvdGhlciBvcHRpb25zCmZpcnN0LgoKPiAKQ2hlZXJzCg==





Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 20 Apr 2024 10:12:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 06:12:16 2024
Received: from localhost ([127.0.0.1]:35534 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ry7hf-0007cQ-Mn
	for submit <at> debbugs.gnu.org; Sat, 20 Apr 2024 06:12:16 -0400
Received: from mout01.posteo.de ([185.67.36.65]:34011)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1ry7hb-0007am-Bj
 for 70282 <at> debbugs.gnu.org; Sat, 20 Apr 2024 06:12:13 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 9DA0924002A
 for <70282 <at> debbugs.gnu.org>; Sat, 20 Apr 2024 12:11:50 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1713607910; bh=80NwzpQPnozcN7zxOTb1rEhdT+gvH8EKxvuChaXqT5M=;
 h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type:
 Content-Transfer-Encoding:From;
 b=hUs2u1Yf5snFjGx4xAE3H+swmnzIZ2p2z6mSbeqpkAf+Wfnw+NFp9vPmaRf1itCoy
 NRzvAGhTLoBZ0NywHPfbYra4Yd7B1Sx756E0ZktNr0UX9uTsZpxcQL4HE1OYIf6Br5
 tdy/CeXMSOiP7bABeXzZJ+UrYOX9RcfUQEWjx52bRrzxWqmX7JBaA77jtXpwiaOBoJ
 T1MsCO4RhFqG3s0woZHuhOa8lgU0U6ucvVtthjgBljuvLCSfCCyFAkkVg3MC+ZJZlC
 8Ip8pjYc+FaWLh+BZg6Xgvf8uNqXA3010q42qVDjMf44+Ct2ZlOjElaAfY0JdpPdZB
 kE+3oyBefPJ2A==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VM6kF4sd7z6tm4;
 Sat, 20 Apr 2024 12:11:49 +0200 (CEST)
Message-ID: <f929f311-7192-411d-a889-f24a134141c9@HIDDEN>
Date: Sat, 20 Apr 2024 10:11:43 +0000
MIME-Version: 1.0
Subject: Re: [bug#70282] [PATCH v2] gnu: gnome-shell: Wrap screencast service.
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>, 70282 <at> debbugs.gnu.org
References: <cover.1712590252.git.dariqq@HIDDEN>
 <d5f358b4d17606032eba8a49ff7980720e7d4b4d.1712942808.git.dariqq@HIDDEN>
 <0497984af8f383af8e8b981d78dc9baf23869e30.camel@HIDDEN>
Content-Language: en-US
From: Dariqq <dariqq@HIDDEN>
In-Reply-To: <0497984af8f383af8e8b981d78dc9baf23869e30.camel@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -3.3 (---)



On 19.04.24 20:51, Liliana Marie Prikler wrote:
> Am Freitag, dem 12.04.2024 um 17:26 +0000 schrieb Dariqq:
>> The screencast service can now find typelibs and gstreamer plugins.
>>
>> * gnu/packages/linux.scm (gnome-shell)
>> [inputs]: Add gst-plugins-good and pipewire.
>> [#:phases]<'wrap-programs>: Create a wrapper for screencast service
>> and use it.
>>
>> Change-Id: I2c31bf1bd92e281b86c57b06988c6a3793a58d40
>> ---
>>
>> Hi,
>>
>> Here is v2 of the patch. The wrapper is now created manually as I was
>> unable to find a way to manipulate the gstreamer plugin load path
>> from within javascript. Importantly this leaves the original
>> javascript file untouched and therefore circumvents the argv[0]
>> problem in v1.
>> All the required gstreamer plugins (pipewire and gst-plugins-good)
>> are now inputs and are in the wrapper via GST_PLUGIN_SYSTEM_PATH.
> I'm not sure this fix is sounds.  It looks like it misses manual
> invocation from the command line, does it not?  (Well, it's gnome-
> shell, so if you have to invoke it from the command line, things are
> broken, but still…)

If only the typelib path is set the dbus service now longer greets you 
with an error but still fails to start without the gstreamer plugins. 
That's why in v1 I was propagating pipewire through gnome-essential-extras.

I am not sure what you mean by manual invocation. The screencast service 
should get started via dbus. Nothing manual should be required (other 
than enabling the pipewire home service).

   What keeps you from wrapping the environment
> variable in Javascript?

I was unable to find a way to manipulate the GST_PLUGIN_PATH or specify 
the gst search path from within javascript. There is 
Gst.Registry().scan_path but this creates a new registry and I don't 
think is what we want here. (but I don't know anything about gstreamer 
and javascript so I could be wrong here).

I guess the most simple patch for the typelibs would be something like


diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index fa6c566c75..28c4e540a6 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9404,13 +9404,15 @@ (define-public gnome-shell
                       (wrap-program (string-append #$output "/bin/" prog)
                         `("GI_TYPELIB_PATH" ":" prefix 
(,gi-typelib-path))))
                     '("gnome-shell" "gnome-extensions-app"))
-                  (substitute* (string-append #$output 
"/share/gnome-shell/"
-                                              "org.gnome.Shell.Extensions")
-                    (("imports\\.package\\.start" all)
-                     (string-append "'" gi-typelib-path 
"'.split(':').forEach("
-                                    "path => 
imports.gi.GIRepository.Repository."
-                                    "prepend_search_path(path));\n"
-                                    all)))
+                  (for-each
+                   (lambda (prog)
+                     (substitute* (string-append #$output 
"/share/gnome-shell/" prog)
+                       (("imports\\.package\\.start" all)
+                        (string-append "'" gi-typelib-path 
"'.split(':').forEach("
+                                       "path => 
imports.gi.GIRepository.Repository."
+                                       "prepend_search_path(path));\n"
+                                       all))))
+                   '("org.gnome.Shell.Extensions" 
"org.gnome.Shell.Screencast"))
                    (for-each
                     (lambda (prog)
                       (wrap-program (string-append #$output "/bin/" prog)


and dealing with the gstreamer plugins in another way.

>> I've also left a comment for the required home-pipewire-service.
>> In gnome-shell 45+ the invocation has changed to 'gjs -m service'.
>> Should this also be a comment somewhere?
> Gnome-shell 45+ is currently irrelevant, but we might have to adapt
> things once we get there on gnome-team.  We do need a better gjs-
> patching strategy.
> 

It would be nice if something like wrap-script would work. But the 
problem is that the dbus services specify somehting like "Exec= gjs 
service" rather than executing a gjs-script directly. (which is the main 
purpose of the patch from nixos). And also gjs not being a valid 
interpreter for wrap-script (Changing that will rebuild everything)

> Cheers
> 

Have an nice day.




Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 19 Apr 2024 18:52:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 14:52:00 2024
Received: from localhost ([127.0.0.1]:59762 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rxtL6-0005UC-JJ
	for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 14:52:00 -0400
Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]:51693)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1rxtL4-0005TK-9K
 for 70282 <at> debbugs.gnu.org; Fri, 19 Apr 2024 14:51:59 -0400
Received: by mail-ej1-x644.google.com with SMTP id
 a640c23a62f3a-a44ad785a44so239976466b.3
 for <70282 <at> debbugs.gnu.org>; Fri, 19 Apr 2024 11:51:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1713552698; x=1714157498; darn=debbugs.gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=WrQDdjc23J9WeJOnueOUrf+ISTEV8nIVfSSrjl36gS0=;
 b=eYQQYFnBOWyDv32IT+P+/NZqBLfKI2FkTeZLhMWwy97/tX8J9IwSQ9EzcFrGPLjX1J
 ffxGSuUGlvjQE0ARpY0l2lixstbgSnUCcD9gTJDPRa9TzaFfZO7BqQBvRnQvymeR6OR6
 oS3bBSbui2bz0IqP0Zfd7Jxqz5hw6+RxqNOg2zw7tDXyMFyQaZuaBJRrhkiM7AG0HpD9
 1JTNbfO7sUL2P4iqIyzXiBSo+Vc3W5vpA3oHULcJAB5udLkEzyciSrkkCj19hV4ezllc
 NXaFzhsnjSW49EZS247EcebW8Vd5s+J80TePmzNl29MMKGm0jdjC4cOMxzCpyY1v4BD5
 cjgg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1713552698; x=1714157498;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=WrQDdjc23J9WeJOnueOUrf+ISTEV8nIVfSSrjl36gS0=;
 b=R94QSDY8H9SVevveId8GzOB+3l4ILOodY+DvDld8PVZ+xTkHEE/+xWWGrWT2pkgT4A
 6B0lFgEJY0dbtoZLp1es3V98FJdvkAiozdeVRRS6S2dSQxFZNLhc9goBapcl6JR/200+
 fzqdmTFcJkKR/7cFJU9rmnVI32bP3RnmPpfUYp4LcqBvWWOLY4jRsHqCpFniqSfTDcqV
 Gry/BvCHGZ2n0PTFCJJ9odusRtEtnpGBIHRgLCRKN3pkAX8qjfh3NedJCIf/mKNhh0vn
 yHlSdKpHP1+QTFRdExBroH3P3ccAAOWQ9vT2wg84U5wEw53KrXU0gKZSkvpnNLJs9FdY
 pNjA==
X-Forwarded-Encrypted: i=1;
 AJvYcCUBrAcDzFm/qSbes3BQeegvSAbtQdCiqeMMpFVhrrHIlnu7F/1173oVfqXe6BGGtmgdvZScUphdGZY+KlTDJwxpfQwkdFc=
X-Gm-Message-State: AOJu0YyuLWkzaBAt4pMy/XaQF1Qm23PawLBH4RmemQKt+gFNqwh5dHsx
 9LMgtjawqkjSHqRacMagQPL1/wC+dB/dnzhu8ok6wNPzo8RU66vc
X-Google-Smtp-Source: AGHT+IGN3HlNww7DdZlSNuch32/9jOlcaX9fMbai9VN5mpZbWi/eLJGhA0c59gb9z8gRV8YvKskE1g==
X-Received: by 2002:a17:906:a1ce:b0:a52:5277:3aa7 with SMTP id
 bx14-20020a170906a1ce00b00a5252773aa7mr2093765ejb.22.1713552697974; 
 Fri, 19 Apr 2024 11:51:37 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 hz13-20020a1709072ced00b00a5592eeac79sm231543ejc.13.2024.04.19.11.51.37
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 19 Apr 2024 11:51:37 -0700 (PDT)
Message-ID: <0497984af8f383af8e8b981d78dc9baf23869e30.camel@HIDDEN>
Subject: Re: [bug#70282] [PATCH v2] gnu: gnome-shell: Wrap screencast service.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Dariqq <dariqq@HIDDEN>, 70282 <at> debbugs.gnu.org
Date: Fri, 19 Apr 2024 20:51:36 +0200
In-Reply-To: <d5f358b4d17606032eba8a49ff7980720e7d4b4d.1712942808.git.dariqq@HIDDEN>
References: <cover.1712590252.git.dariqq@HIDDEN>
 <d5f358b4d17606032eba8a49ff7980720e7d4b4d.1712942808.git.dariqq@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.48.4 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70282
Cc: Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -1.0 (-)

Am Freitag, dem 12.04.2024 um 17:26 +0000 schrieb Dariqq:
> The screencast service can now find typelibs and gstreamer plugins.
>=20
> * gnu/packages/linux.scm (gnome-shell)
> [inputs]: Add gst-plugins-good and pipewire.
> [#:phases]<'wrap-programs>: Create a wrapper for screencast service
> and use it.
>=20
> Change-Id: I2c31bf1bd92e281b86c57b06988c6a3793a58d40
> ---
>=20
> Hi,
>=20
> Here is v2 of the patch. The wrapper is now created manually as I was
> unable to find a way to manipulate the gstreamer plugin load path
> from within javascript. Importantly this leaves the original
> javascript file untouched and therefore circumvents the argv[0]
> problem in v1.
> All the required gstreamer plugins (pipewire and gst-plugins-good)
> are now inputs and are in the wrapper via GST_PLUGIN_SYSTEM_PATH.
I'm not sure this fix is sounds.  It looks like it misses manual
invocation from the command line, does it not?  (Well, it's gnome-
shell, so if you have to invoke it from the command line, things are
broken, but still=E2=80=A6)  What keeps you from wrapping the environment
variable in Javascript?

> I've also left a comment for the required home-pipewire-service.
> In gnome-shell 45+ the invocation has changed to 'gjs -m service'.
> Should this also be a comment somewhere?
Gnome-shell 45+ is currently irrelevant, but we might have to adapt
things once we get there on gnome-team.  We do need a better gjs-
patching strategy.

Cheers





Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 12 Apr 2024 17:47:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 12 13:47:56 2024
Received: from localhost ([127.0.0.1]:59536 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rvL0E-0007WJ-1e
	for submit <at> debbugs.gnu.org; Fri, 12 Apr 2024 13:47:56 -0400
Received: from mout01.posteo.de ([185.67.36.65]:45029)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1rvL09-0007UC-5s
 for 70282 <at> debbugs.gnu.org; Fri, 12 Apr 2024 13:47:51 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id D1FF5240027
 for <70282 <at> debbugs.gnu.org>; Fri, 12 Apr 2024 19:47:32 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1712944052; bh=X2oid8sEb/Fk4KzGWLK2HSxty+Sad10oPwbPpPM7h7g=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:
 Content-Transfer-Encoding:From;
 b=Xa8aJgBo10/lKVuN8IXd26T0EL1K72svdW27a28MDbzWbDZ3o3UVxWmqMCX5oXBej
 zxCM4p0SaEVjtcl+7z4tV1TfV4hBCxEYkRuAhVwDNHyWKR+uDoSn23RH0ydyr29+Rb
 y7CvOSDZj/VMOrnjTQnjMgOXbZmqPEkYoHnO5KeFkyepG+3sh0X82t97NJMOdQThrQ
 20XSKX93H7TOf1pX5RfO1sx5R90dNX9yfWy+ciynstObB7dfTcqzB211j/Qh8x10Ca
 h/PWgG/ZYa9l58WEYaps96Tvrkm8damhNZtlNOUsYUji/tZcQ9uGi1cOFCsBSGH0Fe
 oWz3isieXwJQg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VGPCm2Bvbz9rxG;
 Fri, 12 Apr 2024 19:47:32 +0200 (CEST)
From: Dariqq <dariqq@HIDDEN>
To: 70282 <at> debbugs.gnu.org
Subject: [PATCH v2] gnu: gnome-shell: Wrap screencast service.
Date: Fri, 12 Apr 2024 17:26:48 +0000
Message-ID: <d5f358b4d17606032eba8a49ff7980720e7d4b4d.1712942808.git.dariqq@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: Dariqq <dariqq@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: -3.3 (---)

The screencast service can now find typelibs and gstreamer plugins.

* gnu/packages/linux.scm (gnome-shell)
[inputs]: Add gst-plugins-good and pipewire.
[#:phases]<'wrap-programs>: Create a wrapper for screencast service and use it.

Change-Id: I2c31bf1bd92e281b86c57b06988c6a3793a58d40
---

Hi,

Here is v2 of the patch. The wrapper is now created manually as I was unable to find a way to manipulate the gstreamer plugin load path from within javascript. Importantly this leaves the original javascript file untouched and therefore circumvents the argv[0] problem in v1.
All the required gstreamer plugins (pipewire and gst-plugins-good) are now inputs and are in the wrapper via GST_PLUGIN_SYSTEM_PATH.

I've also left a comment for the required home-pipewire-service.
In gnome-shell 45+ the invocation has changed to 'gjs -m service'. Should this also be a comment somewhere?


 gnu/packages/gnome.scm | 37 ++++++++++++++++++++++++++++++++++++-
 1 file changed, 36 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4934ade3dd..d68624344f 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9381,6 +9381,7 @@ (define-public gnome-shell
             (add-after 'install 'wrap-programs
               (lambda* (#:key inputs #:allow-other-keys)
                 (let ((gi-typelib-path  (getenv "GI_TYPELIB_PATH"))
+                      (gst-plugin-path  (getenv "GST_PLUGIN_SYSTEM_PATH"))
                       (python-path
                        (string-join
                         (filter (lambda (item)
@@ -9405,7 +9406,39 @@ (define-public gnome-shell
                      (wrap-program (string-append #$output "/bin/" prog)
                        `("GUIX_PYTHONPATH"      ":" prefix (,python-path))
                        `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
-                   '("gnome-shell-perf-tool")))))
+                   '("gnome-shell-perf-tool"))
+                  ;; Make a wrapper for the screencast service
+                  ;; Requires a pipewire service running
+                  ;; (i.e. as provided by home-pipewire-service-type)
+                  (let* ((screencast "org.gnome.Shell.Screencast")
+                         (dir (string-append #$output "/share/gnome-shell/"))
+                         (dbus-service-dir (string-append #$output
+                                                          "/share/dbus-1/"
+                                                          "services/"))
+                         (wrapper (string-append dir screencast "-wrapper")))
+                    (call-with-output-file wrapper
+                      (lambda (port)
+                        (format port
+                                (string-append
+                                 "#!~a~%"
+                                 "export GI_TYPELIB_PATH=~a~%"
+                                 "export GST_PLUGIN_SYSTEM_PATH=~a~%"
+                                 "exec \"~a\" \"~a\" \"$@\"~%")
+                                (which "bash")
+                                (format #f "\"~a${~a:+:}$~a\""
+                                        gi-typelib-path
+                                        "GI_TYPELIB_PATH" "GI_TYPELIB_PATH")
+                                (format #f "\"~a${~a:+:}$~a\""
+                                        gst-plugin-path
+                                        "GST_PLUGIN_SYSTEM_PATH"
+                                        "GST_PLUGIN_SYSTEM_PATH")
+                                (string-append #$(this-package-input "gjs")
+                                               "/bin/gjs")
+                                (string-append dir screencast))))
+                    (chmod wrapper #o555)
+                    (substitute* (string-append dbus-service-dir screencast
+                                                ".service")
+                      (("Exec=.*") (string-append "Exec=" wrapper "\n")))))))
             (add-after 'install 'rewire
               (lambda* (#:key inputs #:allow-other-keys)
                 (for-each
@@ -9465,6 +9498,7 @@ (define-public gnome-shell
            gnome-settings-daemon
            graphene
            gst-plugins-base
+           gst-plugins-good
            ibus
            libcanberra
            libcroco
@@ -9475,6 +9509,7 @@ (define-public gnome-shell
            mesa-headers
            mutter
            network-manager-applet
+           pipewire
            polkit
            pulseaudio
            python-pygobject

base-commit: 3dc26b4eaed448cbc02a80bafb2ebb6d908f2b4e
-- 
2.41.0





Information forwarded to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 11 Apr 2024 09:05:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 05:05:13 2024
Received: from localhost ([127.0.0.1]:54904 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruqMq-0007bo-LP
	for submit <at> debbugs.gnu.org; Thu, 11 Apr 2024 05:05:13 -0400
Received: from mout01.posteo.de ([185.67.36.65]:32855)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1ruqMn-0007aR-Gh
 for 70282 <at> debbugs.gnu.org; Thu, 11 Apr 2024 05:05:10 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 8BB9D240027
 for <70282 <at> debbugs.gnu.org>; Thu, 11 Apr 2024 11:04:53 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1712826293; bh=xC44/sm/jJPLhF2r2iS8FG53I+FGZwI6Ikh/hqryt2w=;
 h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type:
 Content-Transfer-Encoding:From;
 b=dXLatMDoonMsBPj7ZjJdI/bH8D7ShsRSXzU/V2ujcAQrqWElRjAXc6gpxFYu6qvNg
 DePapmKV6hIfjF5NY3WQ10dTb1CuL7zuMzfasBbTybKFCfxBqLCExVC4r3Vn3v4EsI
 rohzQQi3cBaykvaTyngvKoY0D843SIB0vl82lPtr3EI7ci0vawtdttERzcyl2lZwz3
 olTSMWqCHIvZB6w2jANn8Oac2jkSAmO0EX8vur5xJ11XVl7dTmcCjCtElHx/24vjFg
 IRzLuEufEEQPaJNx8HdzW+uIF19XgvH0KETC+zumh1T88U/lgHRBodiNtk4fiZt4Ql
 5ZIqquDUv0AIA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VFYg64J7kz9rwn;
 Thu, 11 Apr 2024 11:04:50 +0200 (CEST)
Message-ID: <fcb6250d-20ca-4ae8-b588-c22269968512@HIDDEN>
Date: Thu, 11 Apr 2024 09:04:46 +0000
MIME-Version: 1.0
Subject: Re: [bug#70282] [PATCH 1/2] gnu: gnome-shell: Wrap d-bus services.
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>, 70282 <at> debbugs.gnu.org
References: <cover.1712590252.git.dariqq@HIDDEN>
 <fbadd59837f7c90c8040a8abc91e7da7b09b712a.1712590252.git.dariqq@HIDDEN>
 <76b3569290ac70f823228916f8f102c1c5c94d7b.camel@HIDDEN>
 <0704fbb9-91f7-4868-9d45-8236be7a84d6@HIDDEN>
 <fe81e6510dec018ecc877d832fb7cf86cbcc7d1b.camel@HIDDEN>
 <0004900a-2846-4f02-9c76-bf01ab21e11e@HIDDEN>
 <b7a9eab6da2707b5fc7fd4ea7be2ef34ecfbafd1.camel@HIDDEN>
Content-Language: en-US
From: Dariqq <dariqq@HIDDEN>
In-Reply-To: <b7a9eab6da2707b5fc7fd4ea7be2ef34ecfbafd1.camel@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: rekado@HIDDEN, Raghav Gururajan <rg@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -3.3 (---)

Hi,

On 10.04.24 20:20, Liliana Marie Prikler wrote:
> Am Mittwoch, dem 10.04.2024 um 08:07 +0000 schrieb Dariqq:
>>
>>
>> On 09.04.24 19:04, Liliana Marie Prikler wrote:
>>> You can possibly use wrap-script instead of wrap-program, so that
>>> you only need a single file.  I've also written Javascript code to
>>> expand GI_TYPELIB_PATH in other packages already, perhaps you want
>>> to copy that?
>>>
>>> Cheers
>>
>> Thanks for the hint with the javascript code. This makes the fix even
>> easier as the extra patch is no longer required.
>>
>> But then what to do with pipewire/GST_PLUGIN_SYSTEM_PATH? We would be
>> back at propagating it somewhere.
>>
>> Also do you have an idea how to communicate to users to enable the
>> pipewire home service if they want the screenrecorder to work?


> For pipewire I'm not sure what the problem is, really.  For
> GST_PLUGIN_SYSTEM_PATH you can add a wrapper that amends the
> environment variable or possibly call some Gst function – either in
> Guile with wrap-script or possibly in Javascript.

Unfortunately wrap-script does not work as the file 
#$gnome-shell/share/gnome-shell/org.gnome.Shell.Screencast has no 
shebang line set and even if it would ( enabled by the extra patch) gjs 
is not a valid interpreter for wrap_script and trying to change that 
rebuilds everything.


I am currently trying to find out if it is possible to do a similiar 
thing as the GI_TYPELIB_PATH with javascript. Or change the environment 
variable before through another way. My limited javascript knowledge is 
not helping here either.

> Cheers

Have a nice day




Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 10 Apr 2024 18:20:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 14:20:30 2024
Received: from localhost ([127.0.0.1]:54360 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rucYf-0004Jh-44
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 14:20:30 -0400
Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]:42443)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1rucYZ-0004Hi-MP
 for 70282 <at> debbugs.gnu.org; Wed, 10 Apr 2024 14:20:26 -0400
Received: by mail-ej1-x641.google.com with SMTP id
 a640c23a62f3a-a46ea03c2a5so18275566b.1
 for <70282 <at> debbugs.gnu.org>; Wed, 10 Apr 2024 11:20:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712773209; x=1713378009; darn=debbugs.gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=YRT1hO5raSodIOK+hthVUe8cdPw6UxiPjM4EQ5pYXcQ=;
 b=EhCXNkFGO5Z3bXe1aX9p9nTiAj9ExoCrXPwNZyWJxclHaHji8hWtoeJ8lc/ijOJKv4
 HScwz+LkawprU7zwcgv5G38006mQEbp2d9DRtVTuGdLj0YjVOFAmOllP85UPAFpVSoGd
 s3QEn9tHbQEOWmieu+5meA3rNXCRMCa0q6ryjOq8M8mc9I8i4Xbg5p7KT+SltDBRFbiy
 GuUDhN6yOJQ+12c0YrHnBY1H424HcMSkTzGnL20EnsMPRH/M2JTraK3i3lQ4TaYIN1qE
 +WyBTcFl5amKIttWjgXfyItHxFfjuzluPU6AlE8wofjoi2mqFspEVc3izTBg/yTaMPQT
 Gs4w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712773209; x=1713378009;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=YRT1hO5raSodIOK+hthVUe8cdPw6UxiPjM4EQ5pYXcQ=;
 b=CUWqTbdFlLACK9SxDrlda67OFJ0BeOTTQWMdBJEXqYMo9Ms1XJc4vYbCrjAQ3ifizi
 P2Rx6S7pc3HBmYkdkX0zj4ezCKFHHLdZYG1zG6qMJt7A0AYzWmmC43YTzSV9ilQ1A7IZ
 XMJi7u/Wtemp5spCcCmO2UQvu5qiG4ZHvy7alUh57O5UKoXRGn69u40B/Fl09iScGr+Y
 EmsImtXLbkFoczrBBz4OxkgYS8LeZa6wxanKy8ilJLj+anh/Np6BUobXAbv4oXPa0Jvh
 2kndyH6GO1yCneMEYe0GGqO+F33v3ZCZJKd3NfvGyZgIJMzzEeqsb+Uxb5aBfdyb+yrc
 74Tw==
X-Forwarded-Encrypted: i=1;
 AJvYcCUTFs1xI9d0vV860gakZRT8bgIT+dYn68h7p9qPhPi5fNdGIRAFQp7y/sPIlU57ZuvpwapnRKuRtxxzAbU4SDSBxvKeTv4=
X-Gm-Message-State: AOJu0YyWTHMy5Ati5tJbb/udM8KRvJ0AjKRRL4METOwDA20p24iVsVsK
 lY3b4EkxZwknt2aV6YqDKdFRHrW1WTUX5WbqrbYGdIGedgnXVDE8
X-Google-Smtp-Source: AGHT+IE6/taYcD0toSBID8+ufi9senkn4AoYoxfLXyXe/SPa5umznjKifjlodUCG5DewxROr9gNeTg==
X-Received: by 2002:a17:907:2ce6:b0:a52:a25:2077 with SMTP id
 hz6-20020a1709072ce600b00a520a252077mr304268ejc.14.1712773208556; 
 Wed, 10 Apr 2024 11:20:08 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 b10-20020a170906194a00b00a51b3c951b6sm6190773eje.191.2024.04.10.11.20.07
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 10 Apr 2024 11:20:07 -0700 (PDT)
Message-ID: <b7a9eab6da2707b5fc7fd4ea7be2ef34ecfbafd1.camel@HIDDEN>
Subject: Re: [bug#70282] [PATCH 1/2] gnu: gnome-shell: Wrap d-bus services.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Dariqq <dariqq@HIDDEN>, 70282 <at> debbugs.gnu.org
Date: Wed, 10 Apr 2024 20:20:06 +0200
In-Reply-To: <0004900a-2846-4f02-9c76-bf01ab21e11e@HIDDEN>
References: <cover.1712590252.git.dariqq@HIDDEN>
 <fbadd59837f7c90c8040a8abc91e7da7b09b712a.1712590252.git.dariqq@HIDDEN>
 <76b3569290ac70f823228916f8f102c1c5c94d7b.camel@HIDDEN>
 <0704fbb9-91f7-4868-9d45-8236be7a84d6@HIDDEN>
 <fe81e6510dec018ecc877d832fb7cf86cbcc7d1b.camel@HIDDEN>
 <0004900a-2846-4f02-9c76-bf01ab21e11e@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.48.4 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70282
Cc: rekado@HIDDEN, Raghav Gururajan <rg@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -1.0 (-)

Am Mittwoch, dem 10.04.2024 um 08:07 +0000 schrieb Dariqq:
>=20
>=20
> On 09.04.24 19:04, Liliana Marie Prikler wrote:
> > You can possibly use wrap-script instead of wrap-program, so that
> > you only need a single file.=C2=A0 I've also written Javascript code to
> > expand GI_TYPELIB_PATH in other packages already, perhaps you want
> > to copy that?
> >=20
> > Cheers
>=20
> Thanks for the hint with the javascript code. This makes the fix even
> easier as the extra patch is no longer required.
>=20
> But then what to do with pipewire/GST_PLUGIN_SYSTEM_PATH? We would be
> back at propagating it somewhere.
>=20
> Also do you have an idea how to communicate to users to enable the=20
> pipewire home service if they want the screenrecorder to work?
For pipewire I'm not sure what the problem is, really.  For
GST_PLUGIN_SYSTEM_PATH you can add a wrapper that amends the
environment variable or possibly call some Gst function =E2=80=93 either in
Guile with wrap-script or possibly in Javascript.

Cheers




Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 10 Apr 2024 08:07:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 04:07:32 2024
Received: from localhost ([127.0.0.1]:52004 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruSzT-0003XP-NM
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 04:07:31 -0400
Received: from mout02.posteo.de ([185.67.36.66]:33645)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1ruSzQ-0003Wl-Lk
 for 70282 <at> debbugs.gnu.org; Wed, 10 Apr 2024 04:07:29 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id D49F0240101
 for <70282 <at> debbugs.gnu.org>; Wed, 10 Apr 2024 10:07:13 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1712736433; bh=dGyalkjB4XvPry9kVdPAVP5gM+EbthmbhlDuBUG6Ss0=;
 h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type:
 Content-Transfer-Encoding:From;
 b=XqDdjqn/pRHrJ05XlmDVSsk1Q8lY7ECqwfUjYLWc0XtrzLW+N7DoRwovOkCYOk+wt
 J8MYUtajG0ReH8jw9/BjBMZq7jaFpFVVvC1xdFV4kuQ0unNEhflggYpshNNIQf8t1j
 OAhaKyil57DJ2/fhJRj1MiFcXX8HX1PAcDHbGmfQ5b97L3lEJ+x/8aa+FZTzRZ+aaO
 8Xu1MEgaFa06pQxT4cs2sF7SftZz2VTHa/mZmFekuJ6xWzFpqJtBujkS9WlsMkLi1m
 gNwNiZ+ZMD0PjVKi1idx6+4Um/wIcUqgU7AAe5rpKcH8xwaAG8oOUJ/wH+zIgDVeex
 pnsnBTyH1Gv8w==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VDwR34rmdz9rxQ;
 Wed, 10 Apr 2024 10:07:11 +0200 (CEST)
Message-ID: <0004900a-2846-4f02-9c76-bf01ab21e11e@HIDDEN>
Date: Wed, 10 Apr 2024 08:07:08 +0000
MIME-Version: 1.0
Subject: Re: [bug#70282] [PATCH 1/2] gnu: gnome-shell: Wrap d-bus services.
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>, 70282 <at> debbugs.gnu.org
References: <cover.1712590252.git.dariqq@HIDDEN>
 <fbadd59837f7c90c8040a8abc91e7da7b09b712a.1712590252.git.dariqq@HIDDEN>
 <76b3569290ac70f823228916f8f102c1c5c94d7b.camel@HIDDEN>
 <0704fbb9-91f7-4868-9d45-8236be7a84d6@HIDDEN>
 <fe81e6510dec018ecc877d832fb7cf86cbcc7d1b.camel@HIDDEN>
Content-Language: en-US
From: Dariqq <dariqq@HIDDEN>
In-Reply-To: <fe81e6510dec018ecc877d832fb7cf86cbcc7d1b.camel@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: rekado@HIDDEN, Raghav Gururajan <rg@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -3.3 (---)



On 09.04.24 19:04, Liliana Marie Prikler wrote:
> You can possibly use wrap-script instead of wrap-program, so that you
> only need a single file.  I've also written Javascript code to expand
> GI_TYPELIB_PATH in other packages already, perhaps you want to copy
> that?
> 
> Cheers

Thanks for the hint with the javascript code. This makes the fix even 
easier as the extra patch is no longer required.

But then what to do with pipewire/GST_PLUGIN_SYSTEM_PATH? We would be 
back at propagating it somewhere.

Also do you have an idea how to communicate to users to enable the 
pipewire home service if they want the screenrecorder to work?

Have a nice day.




Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 9 Apr 2024 17:04:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 09 13:04:37 2024
Received: from localhost ([127.0.0.1]:51345 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruEtg-0002Gq-TA
	for submit <at> debbugs.gnu.org; Tue, 09 Apr 2024 13:04:37 -0400
Received: from mail-ed1-x544.google.com ([2a00:1450:4864:20::544]:60563)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1ruEtd-0002GC-BD
 for 70282 <at> debbugs.gnu.org; Tue, 09 Apr 2024 13:04:35 -0400
Received: by mail-ed1-x544.google.com with SMTP id
 4fb4d7f45d1cf-56c5d05128dso6590816a12.0
 for <70282 <at> debbugs.gnu.org>; Tue, 09 Apr 2024 10:04:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712682259; x=1713287059; darn=debbugs.gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=Wc3pztz54aKn/F3ovCzTIs+z3DPQx7rKAn3nxoMxDj8=;
 b=UKtWgls9l+FAoGnQw/xfnk9j6E6UsNsYHOZk4ytts2+5idigefnDZD8HNPLPGezYGq
 G9RNleGyaJPEkX8I1NclXi8qajc9aMG9MCh1Ag3qZEo8Nqk2RN0LUdeimITkb7PZeQ6Z
 GrrrdJX900Hj2uISYVlsj4fFB6iF9IeIhRjAc95N82SiFs1A1WgMkG9A04/IS4qI4XHq
 5ZeiCGYCN4TMrynyhUNeMh6JUof8eIxNpyVS50hY2et0ql8cbUrLnsIfBzmrCy1Kd50s
 V0ernVLHdPT9dUCETMkHjQMbKpahBi7zW3wbxe4WoU3vxo/61AvJH9v9Kst6isO9Uznf
 FnRw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712682259; x=1713287059;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=Wc3pztz54aKn/F3ovCzTIs+z3DPQx7rKAn3nxoMxDj8=;
 b=w8FWTy2EJv84jPjqRC2Puk9WLCNx4Tx4gZf3HFk9QjcxdX1cpoW1prUj0NK3TPTVs6
 aU/XAvFwZYvhGwnY0zCvM0HSyN0DSe9WB4dJrB/v9iTxOXlGlkn5Vk/PB5rfZ+xOEt+Y
 QBJnQGieBxWT7t96R8+iPMjInaHg1IYXOsGdbmYBZGjvaq+hS7HvK+fV+nKKD8HF8J7F
 WPf793BH6eB1QMqArmkxbXtJnlMLuaqW4SN/8/BhwtO9U5fz4QMcs3P3+a8yo6RqIi6n
 ql/w8NTY8Arm9Nf8As4fBJMrV9SbbTzY7xunHICje5sfRbp94ES/hz4CG7NRRsJr79ZD
 eCXw==
X-Forwarded-Encrypted: i=1;
 AJvYcCXvHzcECE+rttVJlaY5+vBqcNs4dN94sZW2nFkLUbBZbJ5ajBLf9oDJUOFICy6uE4AnF1svzpVQLqMBxnv7+MGeKoWRfWo=
X-Gm-Message-State: AOJu0YxwehdzdhW+Ab1eydJ/CMNwoNPEcqmiBO849TIngZcW6DY8iuj0
 41hGjsbrZaYdJ9m6phEE4yVn/Ml+tnyciqW35dNUTnhM3Ui7Da9x
X-Google-Smtp-Source: AGHT+IHf1+4ww6eh2cM6uQBxjNDLRPnzrMdie3MLv7HSz+FJYi3mXLXIWE9gZ5JQjDhesDLwoOPwGQ==
X-Received: by 2002:a50:d554:0:b0:56e:23db:3e87 with SMTP id
 f20-20020a50d554000000b0056e23db3e87mr91584edj.11.1712682258882; 
 Tue, 09 Apr 2024 10:04:18 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 t29-20020a056402241d00b0056e2495f92esm5493197eda.59.2024.04.09.10.04.17
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 09 Apr 2024 10:04:17 -0700 (PDT)
Message-ID: <fe81e6510dec018ecc877d832fb7cf86cbcc7d1b.camel@HIDDEN>
Subject: Re: [bug#70282] [PATCH 1/2] gnu: gnome-shell: Wrap d-bus services.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Dariqq <dariqq@HIDDEN>, 70282 <at> debbugs.gnu.org
Date: Tue, 09 Apr 2024 19:04:16 +0200
In-Reply-To: <0704fbb9-91f7-4868-9d45-8236be7a84d6@HIDDEN>
References: <cover.1712590252.git.dariqq@HIDDEN>
 <fbadd59837f7c90c8040a8abc91e7da7b09b712a.1712590252.git.dariqq@HIDDEN>
 <76b3569290ac70f823228916f8f102c1c5c94d7b.camel@HIDDEN>
 <0704fbb9-91f7-4868-9d45-8236be7a84d6@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.48.4 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70282
Cc: rekado@HIDDEN, Raghav Gururajan <rg@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -1.0 (-)

Am Dienstag, dem 09.04.2024 um 15:35 +0000 schrieb Dariqq:
> Hi,
>=20
>=20
> On 08.04.24 18:54, Liliana Marie Prikler wrote:
>=20
> > > new file mode 100644 index 0000000000..67ed6beadb --- /dev/null
> > > +++
> > > b/gnu/packages/patches/gnome-shell-wrappable-dbus-services.patch
> > > @@
> > > -0,0 +1,59 @@ +Retrieved from NixOS:=20
> > > https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/desktops/gnome=
/core/gnome-shell/wrap-services.patch
> > >=20
> > >=20
> +---
> > > +diff --git a/js/dbusServices/dbus-service.in
> > > b/js/dbusServices/dbus- service.in +old mode 100644 +new mode
> > > 100755 +index 524166102..6d0722a1c +---
> > > a/js/dbusServices/dbus-service.in ++++
> > > b/js/dbusServices/dbus-service.in +@@ -1,3 +1,9 @@ ++#!@gjs@ ++=20
> > > ++// gjs determines the package name from argv[0], which is .*-=20
> > > wrapped ++// so we need to override it to the original one.=20
> > > ++imports.package._findEffectiveEntryPointName =3D () =3D>
> > > '@service@'=20
> > > ++
> > Is there no other way to specify the entry point?
>=20
> If it is just about the name in argv[0] what about creating a *-
> wrapper instead and leaving the original file untouched rather than
> the wrapper replacing the original file?
>=20
> One quick way would be to rename the wrapper script and original file
> after wrap-program is called, fix the path in the wrapper script and=20
> adjust the dbus service file to call the *-wrapper instead.
>=20
> Have a nice day.
You can possibly use wrap-script instead of wrap-program, so that you
only need a single file.  I've also written Javascript code to expand
GI_TYPELIB_PATH in other packages already, perhaps you want to copy
that?

Cheers




Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 9 Apr 2024 15:35:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 09 11:35:36 2024
Received: from localhost ([127.0.0.1]:51274 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruDVW-0001rL-1j
	for submit <at> debbugs.gnu.org; Tue, 09 Apr 2024 11:35:35 -0400
Received: from mout02.posteo.de ([185.67.36.66]:46365)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1ruDVS-0001po-LM
 for 70282 <at> debbugs.gnu.org; Tue, 09 Apr 2024 11:35:32 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id CD261240103
 for <70282 <at> debbugs.gnu.org>; Tue,  9 Apr 2024 17:35:15 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1712676915; bh=M3O/FkmVNUVK8JumAxSPBzf10dssUZl3Fko/B3H1eZc=;
 h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:Content-Type:
 Content-Transfer-Encoding:From;
 b=IQoA/Z3HkwsAfFa5cRsax2eYNZ85tCaqaFMQ53nQ3iReNj2p3KTjbXo+oycYCLH6a
 odEp2jYmZbpYa+J1rZDs767Jx/Hb5ETQQOSw3xKFv50txhooomcawP+vNdApNvvkVx
 /SdfGoviR971NuxfF/gjfrF+HYEXKtmWnRvhEfHUaZ8jsX4D2knXrdeRpVQWUasESk
 Tgwv87vKrypeXNw+AWZRq1NZadK8vsn0nzqkSEuqeTTBHCXsjw2LcloaLwssMf3XNB
 ZmL5MW/NyKr3PycTb8wrdUeIY2yNYfSNfeDpssXtBvmJpF/Z8XB3iefWFjSHcKBjEK
 WXVviRvRmjEZA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VDVQV0SVqz6txd;
 Tue,  9 Apr 2024 17:35:14 +0200 (CEST)
Message-ID: <0704fbb9-91f7-4868-9d45-8236be7a84d6@HIDDEN>
Date: Tue,  9 Apr 2024 15:35:11 +0000
MIME-Version: 1.0
From: Dariqq <dariqq@HIDDEN>
Subject: Re: [bug#70282] [PATCH 1/2] gnu: gnome-shell: Wrap d-bus services.
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>, 70282 <at> debbugs.gnu.org
References: <cover.1712590252.git.dariqq@HIDDEN>
 <fbadd59837f7c90c8040a8abc91e7da7b09b712a.1712590252.git.dariqq@HIDDEN>
 <76b3569290ac70f823228916f8f102c1c5c94d7b.camel@HIDDEN>
Content-Language: en-US
In-Reply-To: <76b3569290ac70f823228916f8f102c1c5c94d7b.camel@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: rekado@HIDDEN, Raghav Gururajan <rg@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -3.3 (---)

Hi,


On 08.04.24 18:54, Liliana Marie Prikler wrote:

>> new file mode 100644 index 0000000000..67ed6beadb --- /dev/null +++
>> b/gnu/packages/patches/gnome-shell-wrappable-dbus-services.patch @@
>> -0,0 +1,59 @@ +Retrieved from NixOS: 
>> https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/desktops/gnome/core/gnome-shell/wrap-services.patch
>>
>> 
+---
>> +diff --git a/js/dbusServices/dbus-service.in
>> b/js/dbusServices/dbus- service.in +old mode 100644 +new mode
>> 100755 +index 524166102..6d0722a1c +---
>> a/js/dbusServices/dbus-service.in ++++
>> b/js/dbusServices/dbus-service.in +@@ -1,3 +1,9 @@ ++#!@gjs@ ++ 
>> ++// gjs determines the package name from argv[0], which is .*- 
>> wrapped ++// so we need to override it to the original one. 
>> ++imports.package._findEffectiveEntryPointName = () => '@service@' 
>> ++
> Is there no other way to specify the entry point?

If it is just about the name in argv[0] what about creating a *-wrapper
instead and leaving the original file untouched rather than the wrapper
replacing the original file?

One quick way would be to rename the wrapper script and original file 
after wrap-program is called, fix the path in the wrapper script and 
adjust the dbus service file to call the *-wrapper instead.

Have a nice day.




Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 9 Apr 2024 14:05:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 09 10:05:47 2024
Received: from localhost ([127.0.0.1]:51172 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruC6b-0004j3-SY
	for submit <at> debbugs.gnu.org; Tue, 09 Apr 2024 10:05:47 -0400
Received: from mout02.posteo.de ([185.67.36.66]:40669)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1ruC6U-0004hC-1m
 for 70282 <at> debbugs.gnu.org; Tue, 09 Apr 2024 10:05:43 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id EA647240101
 for <70282 <at> debbugs.gnu.org>; Tue,  9 Apr 2024 16:05:22 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1712671522; bh=LKOLbxfMoLYuj7pOMzaoSeMPbxWYg58Jm5uh429GLW0=;
 h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type:
 Content-Transfer-Encoding:From;
 b=U9ZT0mpzudqMNdVJhyBwf6v/Hd7lUTsjexQX4Qij5hYOEf1Eaf9o9vqGy34pFEGUn
 8URPyNyZsqv+nt6Qri+8CGeyBr7PZvJsjHOyW9+cGlgj7xtpn8HhsaUNb8oNwz6lfb
 Topad+oOvXR2qC/kNvUvvEmywfulXc/12UPGN+4oSxmBcgNYfPy8Ub+WT9xKVqAc98
 UTdik96/CWBKcALvmV5SYxsI9uXJsGT5Sl1MHZlWsLzrm3f/tn3P73/2vhv3A/BZJ/
 ZnWLG/MZAqw4RG9mxAet45pCGxlFqsE0lVA71/ypfF3d+vK0qSAu/k2CZ4i3rHEuib
 SVpso8H0caX+A==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VDSQm6NDDz6txl;
 Tue,  9 Apr 2024 16:05:20 +0200 (CEST)
Message-ID: <a3d11265-f2e1-4e52-be0a-daeec048cb19@HIDDEN>
Date: Tue,  9 Apr 2024 14:05:17 +0000
MIME-Version: 1.0
Subject: Re: [bug#70282] [PATCH 2/2] gnu: gnome-essential-extras: Propagate
 pipewire.
To: Liliana Marie Prikler <liliana.prikler@HIDDEN>, 70282 <at> debbugs.gnu.org
References: <cover.1712590252.git.dariqq@HIDDEN>
 <7fd6b30ef26c33ae6e83c930b202124f723b21fc.1712590252.git.dariqq@HIDDEN>
 <2f609eb58628aa60fdf2fa181852250ef35e9ee5.camel@HIDDEN>
Content-Language: en-US
From: Dariqq <dariqq@HIDDEN>
In-Reply-To: <2f609eb58628aa60fdf2fa181852250ef35e9ee5.camel@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: rekado@HIDDEN, Raghav Gururajan <rg@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -3.3 (---)


On 08.04.24 18:49, Liliana Marie Prikler wrote:
> Am Montag, dem 08.04.2024 um 15:53 +0000 schrieb Dariqq:
>> The built-in gnome-shell screencast requries pipewire.
>>
>> * gnu/packages/gnome.scm (gnome-essential-extras): Add pipewire.
>>
>> Change-Id: I6ca5d309f1e6a5f3396b35cfda6d2d470d5b62be
>> ---
>>   gnu/packages/gnome.scm | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
>> index e752232f78..f6e3c2f03b 100644
>> --- a/gnu/packages/gnome.scm
>> +++ b/gnu/packages/gnome.scm
>> @@ -10329,6 +10329,7 @@ (define-public gnome-essential-extras
>>                               gst-plugins-good
>>                               gucharmap
>>                               hicolor-icon-theme
>> +                            pipewire
>>                               pinentry-gnome3
>>                               pulseaudio
>>                               shared-mime-info
> Should pipewire not go into gnome-shell or something else?  Propagating
> it here seems weird.

I wasn't sure if only the gstreamer plugin of pipewire are required or 
something else from the pipewire package too and that was the easy solution.

I just tested adding pipewire to gnome-shell and adding 
GST_PLUGIN_SYSTEM_PATH to the wrapper seems to be enough.

While working on this I also found that also gst-plugins-good are also 
required for the Screencast service which will get found using the 
system profile as it is propagated by gnome-essential-extras. Should 
that also be added to gnome-shell?




Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 8 Apr 2024 16:54:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 08 12:54:51 2024
Received: from localhost ([127.0.0.1]:47518 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtsGe-0004op-GO
	for submit <at> debbugs.gnu.org; Mon, 08 Apr 2024 12:54:51 -0400
Received: from mail-lf1-x144.google.com ([2a00:1450:4864:20::144]:54761)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1rtsGa-0004oA-FE
 for 70282 <at> debbugs.gnu.org; Mon, 08 Apr 2024 12:54:46 -0400
Received: by mail-lf1-x144.google.com with SMTP id
 2adb3069b0e04-516dc51bb72so2633190e87.1
 for <70282 <at> debbugs.gnu.org>; Mon, 08 Apr 2024 09:54:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712595271; x=1713200071; darn=debbugs.gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=7WcR4prioRviF4YzHcblF+BNv/xCJ7OyYKIyOYFhnG0=;
 b=Ft/cI+aBN/lHEVE5WVxq7k6luTXAaRbe/8y4Uj0Y9n7WP5CpQ/KN60FJxGbJrP/iPj
 tYKi/C9FX0nPqRGqh5qfdtMXK53sma9n72kp2B+Vn/H7yh/nrNYwAYu7ZjPtOEV27HC1
 tbFbPecUVAWpdF1Osu7tbjGT+nk7FzMP6uIoI50pajvIwyNabawr7mznO7774jiGryJr
 n86jVmyb+3UXf7xRUiogsCx4PsX9jBuXLlq0GFsTkJXAEv4EAG49kLk5xSoOGNMl85Vw
 hLc2ES5OuZI1H32tRzghRY+VVCS57pb5bXN+XwEOgu3QUVqYEHN0YNLoh254ukVrtJ8U
 hplQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712595271; x=1713200071;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=7WcR4prioRviF4YzHcblF+BNv/xCJ7OyYKIyOYFhnG0=;
 b=FsrwAbq3AAZTwBmqfr0ftfLMjJoq+V58hxWmq83VZlrZOdSVj1Q6LMmCSAvVKnyxun
 MuuE+UBYIgJQW28KdQcLDsts0g/YP/p8u2Aw2XhepgJuzNJEzSxVBeW8BcwOY3GAVvpi
 Qh3/M6PTYO6zPxBs/KW7Esuv3rl/y/PJxUZqyePi37M2tiMavxYGTHvtYz3idUJErVlW
 wCj7NAPon2oDoPN/pSnQSTAKrMFf4LAZSr0WQ9IkvwkQdEK4ZWHwLkCf38v0clsc9dBv
 uyyLKB6v9Zhmm6jrNNpOXnCcMG8Aro93/fmz4Ru8WSiGDBvsPrl9gYeOT07J1fSUI/AR
 JI3w==
X-Forwarded-Encrypted: i=1;
 AJvYcCUjvK9LgirBak17PIdA+xtXA3c4z4ONz4FE7MfL5FGqj7jqn3sPKQyPQQQ2853lQuC15Mo38iD1zwCAN0jQmqo5VaYf5EE=
X-Gm-Message-State: AOJu0Yy6JGc3R4vECf0Gs0Bm2wmbMu8RN4er6dcamaxnY0cgs+iLMSOp
 K0XQpbUnPTRPRtLsFtByvPDlL/1cchKDumV4OP9YjlM00DN1Kyuy
X-Google-Smtp-Source: AGHT+IGv/KW1hidIZIKeeOjNIM6M0BJVdvsXjTW4aZuvEoxF+cPimnSSpiA5Kwvz6r9h6SUDmNUqLw==
X-Received: by 2002:ac2:5215:0:b0:513:84b6:6915 with SMTP id
 a21-20020ac25215000000b0051384b66915mr5506713lfl.20.1712595270501; 
 Mon, 08 Apr 2024 09:54:30 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 sd15-20020a170906ce2f00b00a518debfd49sm4640475ejb.116.2024.04.08.09.54.29
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 08 Apr 2024 09:54:30 -0700 (PDT)
Message-ID: <76b3569290ac70f823228916f8f102c1c5c94d7b.camel@HIDDEN>
Subject: Re: [bug#70282] [PATCH 1/2] gnu: gnome-shell: Wrap d-bus services.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Dariqq <dariqq@HIDDEN>, 70282 <at> debbugs.gnu.org
Date: Mon, 08 Apr 2024 18:54:29 +0200
In-Reply-To: <fbadd59837f7c90c8040a8abc91e7da7b09b712a.1712590252.git.dariqq@HIDDEN>
References: <cover.1712590252.git.dariqq@HIDDEN>
 <fbadd59837f7c90c8040a8abc91e7da7b09b712a.1712590252.git.dariqq@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
User-Agent: Evolution 3.48.4 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70282
Cc: rekado@HIDDEN, Raghav Gururajan <rg@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: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3Nl
cnZpY2UnLCBzZXJ2aWNlKQo+ICstwqAgc2VydmljZWNvbmYuc2V0KCdnanMnLCBnanMuZnVsbF9w
YXRoKCkpCj4gK8KgwqAgc2VydmljZWNvbmYuc2V0KCdwa2dkYXRhZGlyJywgcGtnZGF0YWRpcikK
PiArIAo+ICvCoMKgIGNvbmZpZ3VyZV9maWxlKApDaGVlcnMK





Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 8 Apr 2024 16:49:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 08 12:49:22 2024
Received: from localhost ([127.0.0.1]:47514 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtsBN-0004RH-1i
	for submit <at> debbugs.gnu.org; Mon, 08 Apr 2024 12:49:21 -0400
Received: from mail-ej1-x644.google.com ([2a00:1450:4864:20::644]:51505)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <liliana.prikler@HIDDEN>) id 1rtsBJ-0004QB-Hv
 for 70282 <at> debbugs.gnu.org; Mon, 08 Apr 2024 12:49:19 -0400
Received: by mail-ej1-x644.google.com with SMTP id
 a640c23a62f3a-a44ad785a44so553531966b.3
 for <70282 <at> debbugs.gnu.org>; Mon, 08 Apr 2024 09:49:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1712594944; x=1713199744; darn=debbugs.gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject
 :date:message-id:reply-to;
 bh=MKlNitkVRNwttS4z+P/Q312TLs/QHbC8oOVgbhj7k80=;
 b=HKMZ4ZC4rM8d7uRspPq/rhDMCla/B35CuO31cgP8OTB3C6dxB6h+DPoddSUw9nS+C6
 WLWYRVKHVWxfTJT11zrUkZxJdA/kkQX+RWggNRi6laVWCQuCvUS4Eum99Qxqu88QX2dg
 raCX9v0H5UbjiYhyL9y9gUbkc54dT2qWFwi463BCKvLpGKG4B9Nx2LTmB85LguRp341d
 XmfN1Jrcdnb+hVDNakEeZGUXBDe4UhtEFmGpKRy9GQ6mMWDbEi7WzZD0YCic+fpQzp0I
 WLpZW06j023yytdBNcVByj8d+WsqUvogt2SWka+DtgDM7MiC+3snuLfKAG7kdFug7opB
 kAOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1712594944; x=1713199744;
 h=mime-version:user-agent:content-transfer-encoding:references
 :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=MKlNitkVRNwttS4z+P/Q312TLs/QHbC8oOVgbhj7k80=;
 b=ahJZZc40LiDQTc+fnu6WkdwfpuRTF/oAPDQx/H38dlHqkDE81xffEJLiVovQ0ACmpZ
 mQWpqGA+ew9R2ruFIDxEMTA3cWJQbt+pzb8zKSepJ7hLJFrAxIlJ1YfVQI40blWHjVv+
 7qb4RyoKbpJR8p+Rm4aNimrEtHihQdQ+pXPtTNWRi1Wcz7ROkE7Zju6KZjADctu73i3u
 FguDLKsxA7inulFkpH9KCXqrbxDkJ6nTlJOpQVKZujQcDRzXXKmRALYxcyhD11d2Kd/I
 RO2my3LMKtGnU1sgYIXnHAgKuwJfZdwQbRXRGw1acyAR+JJBqKEy2TsaK21sz6KYEgp7
 eykw==
X-Forwarded-Encrypted: i=1;
 AJvYcCVqNuc6xrHkBx+wCJG16+rojcpEPH4Od59Y6pJ956qom/sGK4ltfsmRlJUZEVbFUX8T1RLkI0wW9rVdYbaX6fW51JvSXOE=
X-Gm-Message-State: AOJu0YwT3l+9KY6gM0rs06U3JeBeJidsz1DhleLzhBUqjEKi1xudElhi
 TDSlfqlqkEepfTVz/FBUgCERRtCM2oJyuGwMiMttFFQjD4W7Dt1R
X-Google-Smtp-Source: AGHT+IFhYl0QajfslqXFszVS4CNWo9qeFkKM5EKDVoHFq2vNkDvBYyJt8bqcbPlDzlR3FZwHONyPlQ==
X-Received: by 2002:a17:906:2291:b0:a51:9438:af01 with SMTP id
 p17-20020a170906229100b00a519438af01mr5856524eja.76.1712594943897; 
 Mon, 08 Apr 2024 09:49:03 -0700 (PDT)
Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at.
 [85.127.52.93]) by smtp.gmail.com with ESMTPSA id
 c22-20020a170906529600b00a51bbee7e55sm3277899ejm.53.2024.04.08.09.49.02
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 08 Apr 2024 09:49:03 -0700 (PDT)
Message-ID: <2f609eb58628aa60fdf2fa181852250ef35e9ee5.camel@HIDDEN>
Subject: Re: [bug#70282] [PATCH 2/2] gnu: gnome-essential-extras: Propagate
 pipewire.
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: Dariqq <dariqq@HIDDEN>, 70282 <at> debbugs.gnu.org
Date: Mon, 08 Apr 2024 18:49:02 +0200
In-Reply-To: <7fd6b30ef26c33ae6e83c930b202124f723b21fc.1712590252.git.dariqq@HIDDEN>
References: <cover.1712590252.git.dariqq@HIDDEN>
 <7fd6b30ef26c33ae6e83c930b202124f723b21fc.1712590252.git.dariqq@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
User-Agent: Evolution 3.48.4 
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70282
Cc: rekado@HIDDEN, Raghav Gururajan <rg@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@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: -1.0 (-)

QW0gTW9udGFnLCBkZW0gMDguMDQuMjAyNCB1bSAxNTo1MyArMDAwMCBzY2hyaWViIERhcmlxcToK
PiBUaGUgYnVpbHQtaW4gZ25vbWUtc2hlbGwgc2NyZWVuY2FzdCByZXF1cmllcyBwaXBld2lyZS4K
PiAKPiAqIGdudS9wYWNrYWdlcy9nbm9tZS5zY20gKGdub21lLWVzc2VudGlhbC1leHRyYXMpOiBB
ZGQgcGlwZXdpcmUuCj4gCj4gQ2hhbmdlLUlkOiBJNmNhNWQzMDlmMWU2YTVmMzM5NmIzNWNmZGE2
ZDJkNDcwZDViNjJiZQo+IC0tLQo+IMKgZ251L3BhY2thZ2VzL2dub21lLnNjbSB8IDEgKwo+IMKg
MSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspCj4gCj4gZGlmZiAtLWdpdCBhL2dudS9wYWNr
YWdlcy9nbm9tZS5zY20gYi9nbnUvcGFja2FnZXMvZ25vbWUuc2NtCj4gaW5kZXggZTc1MjIzMmY3
OC4uZjZlM2MyZjAzYiAxMDA2NDQKPiAtLS0gYS9nbnUvcGFja2FnZXMvZ25vbWUuc2NtCj4gKysr
IGIvZ251L3BhY2thZ2VzL2dub21lLnNjbQo+IEBAIC0xMDMyOSw2ICsxMDMyOSw3IEBAIChkZWZp
bmUtcHVibGljIGdub21lLWVzc2VudGlhbC1leHRyYXMKPiDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCBnc3QtcGx1Z2lucy1nb29kCj4gwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgZ3Vj
aGFybWFwCj4gwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqAgaGljb2xvci1pY29uLXRoZW1lCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCBwaXBld2lyZQo+IMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIHBpbmVudHJ5LWdub21lMwo+
IMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg
IHB1bHNlYXVkaW8KPiDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC
oMKgwqDCoMKgwqDCoCBzaGFyZWQtbWltZS1pbmZvClNob3VsZCBwaXBld2lyZSBub3QgZ28gaW50
byBnbm9tZS1zaGVsbCBvciBzb21ldGhpbmcgZWxzZT8gIFByb3BhZ2F0aW5nCml0IGhlcmUgc2Vl
bXMgd2VpcmQuCg==





Information forwarded to guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 8 Apr 2024 15:54:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 08 11:54:58 2024
Received: from localhost ([127.0.0.1]:47460 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtrKj-0008W8-Md
	for submit <at> debbugs.gnu.org; Mon, 08 Apr 2024 11:54:57 -0400
Received: from mout01.posteo.de ([185.67.36.65]:40379)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1rtrKi-0008Vi-N1
 for 70282 <at> debbugs.gnu.org; Mon, 08 Apr 2024 11:54:57 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 5EE0B24002A
 for <70282 <at> debbugs.gnu.org>; Mon,  8 Apr 2024 17:54:43 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1712591683; bh=hXWHM79gxGT6hC33/7gNkwJw9i8CHd7be/ylrDISTxc=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:
 Content-Transfer-Encoding:From;
 b=E0ZzHu+XmGe6N7Xt27eEU8DZM+jM07wFnLOiswaQP6cTnSTt+CweU+4n/Hy3FuBzO
 tgYYR5XuV3390zKGQLPUqIohtjLUfCOmQeeXIQMN5d7wFNez8nlj4mDmDCoNd2g9OG
 +/Ak+3+WbJxD3cvICun62hr2FnXByG1wgWhJRqOqXIgO5LBPs/8xYeR8Xl/JRlxRST
 wcPMuq1dUCa9h/9iDjis5PWK+pUtXNTfBSHjAe0GBsP2mTJzQjRx3BkP4kItCoaidh
 IEHyto0Y9N9+wqHtfGaznyQ4aXEBaGyGCpO2nf6S4OXvWWClwbVXPE5kxCqyHumxfY
 UTaoR22oJw7+w==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VCtvQ61tJz6tm8;
 Mon,  8 Apr 2024 17:54:42 +0200 (CEST)
From: Dariqq <dariqq@HIDDEN>
To: 70282 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: gnome-essential-extras: Propagate pipewire.
Date: Mon,  8 Apr 2024 15:53:52 +0000
Message-ID: <7fd6b30ef26c33ae6e83c930b202124f723b21fc.1712590252.git.dariqq@HIDDEN>
In-Reply-To: <cover.1712590252.git.dariqq@HIDDEN>
References: <cover.1712590252.git.dariqq@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>,
 Raghav Gururajan <rg@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: rekado@HIDDEN, Dariqq <dariqq@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: -3.3 (---)

The built-in gnome-shell screencast requries pipewire.

* gnu/packages/gnome.scm (gnome-essential-extras): Add pipewire.

Change-Id: I6ca5d309f1e6a5f3396b35cfda6d2d470d5b62be
---
 gnu/packages/gnome.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index e752232f78..f6e3c2f03b 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -10329,6 +10329,7 @@ (define-public gnome-essential-extras
                             gst-plugins-good
                             gucharmap
                             hicolor-icon-theme
+                            pipewire
                             pinentry-gnome3
                             pulseaudio
                             shared-mime-info
-- 
2.41.0





Information forwarded to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, rg@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at 70282) by debbugs.gnu.org; 8 Apr 2024 15:54:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 08 11:54:56 2024
Received: from localhost ([127.0.0.1]:47456 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtrKi-0008Vt-4P
	for submit <at> debbugs.gnu.org; Mon, 08 Apr 2024 11:54:56 -0400
Received: from mout01.posteo.de ([185.67.36.65]:45409)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1rtrKe-0008VQ-Tb
 for 70282 <at> debbugs.gnu.org; Mon, 08 Apr 2024 11:54:54 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 03EE3240028
 for <70282 <at> debbugs.gnu.org>; Mon,  8 Apr 2024 17:54:37 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1712591678; bh=vxUwEHTCbTWKF+ngxE08mJ41a5MCb2ZzYQ7IzLsAzgM=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:
 Content-Transfer-Encoding:From;
 b=iH45p7GNrgc9Ca9B/7MdvuJmv+fTuy64dPAYQMqYMzWy3G5xpYs0IF4qeIzN3SpL+
 G9UYlBjsZYZVv5idopbg5WBjfu4NzMjBVMMyU/jXB6j9Mew1fI/GHgfNfL/WJNFK/t
 mCYg63ytAzYxLc1JVK9w7XzYXXQZvFyJPrOsoQ6IYFBTCminZFX30gKrH92iywmaJ+
 XY0LurzPL9mvLeOBeD34Zn4A3Sz2SbD08snpgq6vbK5MWFE3Pu/sWTtkNikYaBGAww
 sBLZAv/yiOghX7uxZkGTZk38gY5E/rriYvq9YlrtzbeithFaBv2p381FIDXAIffe8H
 Ogsr/m/8o+5Pg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VCtvK1pZ7z6tyG;
 Mon,  8 Apr 2024 17:54:37 +0200 (CEST)
From: Dariqq <dariqq@HIDDEN>
To: 70282 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: gnome-shell: Wrap d-bus services.
Date: Mon,  8 Apr 2024 15:53:51 +0000
Message-ID: <fbadd59837f7c90c8040a8abc91e7da7b09b712a.1712590252.git.dariqq@HIDDEN>
In-Reply-To: <cover.1712590252.git.dariqq@HIDDEN>
References: <cover.1712590252.git.dariqq@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>,
 Raghav Gururajan <rg@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70282
Cc: rekado@HIDDEN, Dariqq <dariqq@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: -3.3 (---)

Some of the dbus services can't find typelibs.

* gnu/packages/patches/gnome-shell-wrappable-dbus-services.patch: New file
* gnu/lokal.mk: Register it.
* gnu/packages/gnome.scm (gnome-shell)[arguments]<#:phases>{'wrap}: Also wrap dbus-services.

Change-Id: I2c31bf1bd92e281b86c57b06988c6a3793a58d40
---
 gnu/local.mk                                  |  1 +
 gnu/packages/gnome.scm                        | 13 +++-
 .../gnome-shell-wrappable-dbus-services.patch | 59 +++++++++++++++++++
 3 files changed, 71 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/gnome-shell-wrappable-dbus-services.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 255bb870e9..21826c9ec7 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1376,6 +1376,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/gnome-online-miners-tracker-3.patch	\
   %D%/packages/patches/gnome-settings-daemon-gc.patch		\
   %D%/packages/patches/gnome-session-support-elogind.patch	\
+  %D%/packages/patches/gnome-shell-wrappable-dbus-services.patch\
   %D%/packages/patches/gnome-tweaks-search-paths.patch		\
   %D%/packages/patches/gnumach-support-noide.patch		\
   %D%/packages/patches/gnupg-default-pinentry.patch		\
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4934ade3dd..e752232f78 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -9311,7 +9311,9 @@ (define-public gnome-shell
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "01pw9qnnvh64x56z1gqh0qk6vfn0ihh4zijq23f4bpz9wszlbpwf"))))
+                "01pw9qnnvh64x56z1gqh0qk6vfn0ihh4zijq23f4bpz9wszlbpwf"))
+              (patches
+               (search-patches "gnome-shell-wrappable-dbus-services.patch"))))
     (build-system meson-build-system)
     (arguments
      (let ((disallowed-references
@@ -9405,7 +9407,14 @@ (define-public gnome-shell
                      (wrap-program (string-append #$output "/bin/" prog)
                        `("GUIX_PYTHONPATH"      ":" prefix (,python-path))
                        `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
-                   '("gnome-shell-perf-tool")))))
+                   '("gnome-shell-perf-tool"))
+                  ;; Make sure the dbus services can find typelibs
+                  (for-each
+                   (lambda (service)
+                     (wrap-program (string-append #$output "/share/gnome-shell/" service)
+                       `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))
+                   '("org.gnome.ScreenSaver" "org.gnome.Shell.Extensions"
+                     "org.gnome.Shell.Notifications" "org.gnome.Shell.Screencast")))))
             (add-after 'install 'rewire
               (lambda* (#:key inputs #:allow-other-keys)
                 (for-each
diff --git a/gnu/packages/patches/gnome-shell-wrappable-dbus-services.patch b/gnu/packages/patches/gnome-shell-wrappable-dbus-services.patch
new file mode 100644
index 0000000000..67ed6beadb
--- /dev/null
+++ b/gnu/packages/patches/gnome-shell-wrappable-dbus-services.patch
@@ -0,0 +1,59 @@
+Retrieved from NixOS: https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/desktops/gnome/core/gnome-shell/wrap-services.patch
+---
+diff --git a/js/dbusServices/dbus-service.in b/js/dbusServices/dbus-service.in
+old mode 100644
+new mode 100755
+index 524166102..6d0722a1c
+--- a/js/dbusServices/dbus-service.in
++++ b/js/dbusServices/dbus-service.in
+@@ -1,3 +1,9 @@
++#!@gjs@
++
++// gjs determines the package name from argv[0], which is .*-wrapped
++// so we need to override it to the original one.
++imports.package._findEffectiveEntryPointName = () => '@service@'
++
+ imports.package.start({
+     name: '@PACKAGE_NAME@',
+     prefix: '@prefix@',
+diff --git a/js/dbusServices/dbus-service.service.in b/js/dbusServices/dbus-service.service.in
+index 3b0d09abe..4fd4bb66d 100644
+--- a/js/dbusServices/dbus-service.service.in
++++ b/js/dbusServices/dbus-service.service.in
+@@ -1,3 +1,3 @@
+ [D-BUS Service]
+ Name=@service@
+-Exec=@gjs@ @pkgdatadir@/@service@
++Exec=@pkgdatadir@/@service@
+diff --git a/js/dbusServices/meson.build b/js/dbusServices/meson.build
+index eb941ed90..552051e5a 100644
+--- a/js/dbusServices/meson.build
++++ b/js/dbusServices/meson.build
+@@ -2,6 +2,7 @@ launcherconf = configuration_data()
+ launcherconf.set('PACKAGE_NAME', meson.project_name())
+ launcherconf.set('prefix', prefix)
+ launcherconf.set('libdir', libdir)
++launcherconf.set('gjs', gjs.full_path())
+ 
+ dbus_services = {
+   'org.gnome.Shell.Extensions': 'extensions',
+@@ -18,16 +19,17 @@ endif
+ config_dir = '@0@/..'.format(meson.current_build_dir())
+ 
+ foreach service, dir : dbus_services
++  svc_launcherconf = launcherconf
++  svc_launcherconf.set('service', service)
+   configure_file(
+     input: 'dbus-service.in',
+     output: service,
+-    configuration: launcherconf,
++    configuration: svc_launcherconf,
+     install_dir: pkgdatadir,
+   )
+ 
+   serviceconf = configuration_data()
+   serviceconf.set('service', service)
+-  serviceconf.set('gjs', gjs.full_path())
+   serviceconf.set('pkgdatadir', pkgdatadir)
+ 
+   configure_file(
-- 
2.41.0





Information forwarded to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, rg@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:
bug#70282; Package guix-patches. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 8 Apr 2024 15:49:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 08 11:49:55 2024
Received: from localhost ([127.0.0.1]:47428 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtrFq-00086X-M6
	for submit <at> 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 <dariqq@HIDDEN>) id 1rtrFo-00085T-25
 for submit <at> 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 <dariqq@HIDDEN>) id 1rtrFW-0008QT-2g
 for guix-patches@HIDDEN; 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 <dariqq@HIDDEN>) id 1rtrFT-000188-82
 for guix-patches@HIDDEN; 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 <guix-patches@HIDDEN>; 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 <dariqq@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/2] Fix gnome-shell screenrecorder
Date: Mon,  8 Apr 2024 15:39:06 +0000
Message-ID: <cover.1712590252.git.dariqq@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Liliana Marie Prikler <liliana.prikler@HIDDEN>,
 Maxim Cournoyer <maxim.cournoyer@HIDDEN>,
 Raghav Gururajan <rg@HIDDEN>,
 Vivien Kraus <vivien@HIDDEN>
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=185.67.36.65; envelope-from=dariqq@HIDDEN;
 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-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: rekado@HIDDEN, Dariqq <dariqq@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: -0.0 (/)

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





Acknowledgement sent to Dariqq <dariqq@HIDDEN>:
New bug report received and forwarded. Copy sent to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, rg@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN. Full text available.
Report forwarded to liliana.prikler@HIDDEN, maxim.cournoyer@HIDDEN, rg@HIDDEN, vivien@HIDDEN, guix-patches@HIDDEN:
bug#70282; 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: Wed, 8 May 2024 18:45:01 UTC

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