GNU bug report logs - #63380
[PATCH 0/4] Update pipewire and xdg-desktop-portal

Previous Next

Package: guix-patches;

Reported by: Benjamin <benjamin <at> uvy.fr>

Date: Mon, 8 May 2023 21:52:01 UTC

Severity: normal

Tags: patch

Done: Andrew Tropin <andrew <at> trop.in>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63380 in the body.
You can then email your comments to 63380 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63380; Package guix-patches. (Mon, 08 May 2023 21:52:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Benjamin <benjamin <at> uvy.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 08 May 2023 21:52:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Benjamin <benjamin <at> uvy.fr>
To: guix-patches <at> gnu.org
Cc: Benjamin <benjamin <at> uvy.fr>
Subject: [PATCH 0/4] Update pipewire and xdg-desktop-portal
Date: Mon,  8 May 2023 23:50:32 +0200
Hello Guixers,

These patches are updating components to be able to screencast from
ungoogle-chromium. On my setup : wayland with sway, it was previously
failing.

To be able, for screencast to work, pipewire, wireplumber
xdg-desktop-portal and xdg-desktop-portal-wlr need to be running as
explained in #52492.

While updating pipewire, the upstream repo has been installing an rlimits
file to /etc/security/limits.d/25-pw-rlimits.conf and this was failing
during the installation phase.

Such configuration file would be working with pam_limits service.

I think it is possible to instead copy this file to the store (in
/gnu/store/...pipewire.../etc/security/limits.d/ I guess).
Though, while grepping I did not see such thing beeing done in another
package. 
I am pretty new to guix so I do not exactly know what should be done. But
for now, I disabled the installation of this file using meson flag 
-Drlimits-install=false

Best

Benjamin


Benjamin (4):
  gnu: pipewire: Update to 0.3.70.
  gnu: wireplumber: Update to 0.4.14.
  gnu: xdg-desktop-portal: Update to 1.16.0.
  gnu: xdg-desktop-portal-wlr: Update to 0.7.0.

 gnu/packages/freedesktop.scm |  9 +++++----
 gnu/packages/linux.scm       | 16 +++++++++-------
 2 files changed, 14 insertions(+), 11 deletions(-)


base-commit: 28c2c570f80cc0b4e7302ad11cccc8ad600b3274
-- 
2.39.2





Information forwarded to me <at> tobias.gr, guix-patches <at> gnu.org:
bug#63380; Package guix-patches. (Mon, 08 May 2023 21:57:01 GMT) Full text and rfc822 format available.

Message #8 received at 63380 <at> debbugs.gnu.org (full text, mbox):

From: Benjamin <benjamin <at> uvy.fr>
To: 63380 <at> debbugs.gnu.org.
Cc: Benjamin <benjamin <at> uvy.fr>
Subject: [PATCH 1/4] gnu: pipewire: Update to 0.3.70.
Date: Mon,  8 May 2023 23:55:35 +0200
* gnu/packages/linux.scm (pipewire): Update to 0.3.70.
[inputs]: Add glib.
[arguments]: Do not install rlimits.
---
 gnu/packages/linux.scm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ea64e9d241..eac9a241cd 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -9156,7 +9156,7 @@ (define-public inputattach
 (define-public pipewire
   (package
     (name "pipewire")
-    (version "0.3.63")
+    (version "0.3.70")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -9165,18 +9165,20 @@ (define-public pipewire
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1pkngynvhxc6iyv75gsyqjy18ky4si9dhvpavb9xwq5xj71nj0hr"))))
+                "1n74rrbwymm89ri4daa4v092f4b81wrak4vg685xfz2wl89p64n6"))))
     (build-system meson-build-system)
     (arguments
      (list
       #:configure-flags
       #~(list (string-append "-Dudevrulesdir=" #$output "/lib/udev/rules.d")
-              "-Dsystemd=disabled"
+              "-Dman=enabled"
+              "-Drlimits-install=false"
               "-Dsession-managers=[]"
               "-Dsysconfdir=/etc"
-              "-Dman=enabled")))
+              "-Dsystemd=disabled")))
     (native-inputs
-     (list pkg-config
+     (list `(,glib "bin")
+           pkg-config
            python-docutils))
     (inputs (list alsa-lib
                   avahi
-- 
2.39.2





Information forwarded to me <at> tobias.gr, guix-patches <at> gnu.org:
bug#63380; Package guix-patches. (Mon, 08 May 2023 21:57:02 GMT) Full text and rfc822 format available.

Message #11 received at 63380 <at> debbugs.gnu.org (full text, mbox):

From: Benjamin <benjamin <at> uvy.fr>
To: 63380 <at> debbugs.gnu.org.
Cc: Benjamin <benjamin <at> uvy.fr>
Subject: [PATCH 2/4] gnu: wireplumber: Update to 0.4.14.
Date: Mon,  8 May 2023 23:55:36 +0200
* gnu/packages/linux.scm (wireplumber): Update to 0.4.14.
---
 gnu/packages/linux.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index eac9a241cd..faca5d808a 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -9218,7 +9218,7 @@ (define-public pipewire
 (define-public wireplumber
   (package
     (name "wireplumber")
-    (version "0.4.13")
+    (version "0.4.14")
     (source
      (origin
        (method git-fetch)
@@ -9228,7 +9228,7 @@ (define-public wireplumber
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "07psjb7rxsigwnwnzmw2y767vhyyha7cn8i8dgq80rzhwgl0sgv7"))))
+        (base32 "0jmnd6000j4wx68lxgz5b4g4hxkf243ivi9swaaf8rnx99cbx91w"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags '("-Dsystemd=disabled"
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#63380; Package guix-patches. (Mon, 08 May 2023 21:57:02 GMT) Full text and rfc822 format available.

Message #14 received at 63380 <at> debbugs.gnu.org (full text, mbox):

From: Benjamin <benjamin <at> uvy.fr>
To: 63380 <at> debbugs.gnu.org.
Cc: Benjamin <benjamin <at> uvy.fr>
Subject: [PATCH 3/4] gnu: xdg-desktop-portal: Update to 1.16.0.
Date: Mon,  8 May 2023 23:55:37 +0200
* gnu/packages/freedesktop.scm (xdg-desktop-portal): Update to 1.16.0.
---
 gnu/packages/freedesktop.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 78b459443a..09637cccbd 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -2755,7 +2755,7 @@ (define-public libportal
 (define-public xdg-desktop-portal
   (package
     (name "xdg-desktop-portal")
-    (version "1.14.6")
+    (version "1.16.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -2763,7 +2763,7 @@ (define-public xdg-desktop-portal
                     version "/xdg-desktop-portal-" version ".tar.xz"))
               (sha256
                (base32
-                "1q0djpnwlrqm0h0alyh1r6dlkqdrr7mj5hiam4mqzxqa5jbqkrgj"))))
+                "06cczlh39kc41rvav06v37sad827y61rffy3v29i918ibj8sahav"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("pkg-config" ,pkg-config)
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#63380; Package guix-patches. (Mon, 08 May 2023 21:57:02 GMT) Full text and rfc822 format available.

Message #17 received at 63380 <at> debbugs.gnu.org (full text, mbox):

From: Benjamin <benjamin <at> uvy.fr>
To: 63380 <at> debbugs.gnu.org.
Cc: Benjamin <benjamin <at> uvy.fr>
Subject: [PATCH 4/4] gnu: xdg-desktop-portal-wlr: Update to 0.7.0.
Date: Mon,  8 May 2023 23:55:38 +0200
* gnu/packages/freedesktop.scm (xdg-desktop-portal-wlr): Update to 0.7.0.
[inputs]: Add mesa.
---
 gnu/packages/freedesktop.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 09637cccbd..6d166a09e6 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -2912,7 +2912,7 @@ (define-public xdg-desktop-portal-kde
 (define-public xdg-desktop-portal-wlr
   (package
     (name "xdg-desktop-portal-wlr")
-    (version "0.5.0")
+    (version "0.7.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -2921,7 +2921,7 @@ (define-public xdg-desktop-portal-wlr
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1ipg35gv8ja39ijwbyi96qlyq2y1fjdggl40s38rv68bsya8zry1"))
+                "1b3hpp3ybjgnnmnwsyb5bsnvz9q5nr3zz0j1alh02g24f68lf00k"))
               (patches (search-patches "xdg-desktop-portal-wlr-harcoded-length.patch"))))
     (build-system meson-build-system)
     (arguments
@@ -2955,6 +2955,7 @@ (define-public xdg-desktop-portal-wlr
                   grim
                   iniparser
                   libinih
+                  mesa
                   pipewire
                   slurp
                   wayland
-- 
2.39.2





Reply sent to Andrew Tropin <andrew <at> trop.in>:
You have taken responsibility. (Wed, 14 Jun 2023 09:51:02 GMT) Full text and rfc822 format available.

Notification sent to Benjamin <benjamin <at> uvy.fr>:
bug acknowledged by developer. (Wed, 14 Jun 2023 09:51:02 GMT) Full text and rfc822 format available.

Message #22 received at 63380-done <at> debbugs.gnu.org (full text, mbox):

From: Andrew Tropin <andrew <at> trop.in>
To: Benjamin <benjamin <at> uvy.fr>, 63380-done <at> debbugs.gnu.org
Cc: Benjamin <benjamin <at> uvy.fr>
Subject: Re: [bug#63380] [PATCH 0/4] Update pipewire and xdg-desktop-portal
Date: Wed, 14 Jun 2023 13:50:03 +0400
[Message part 1 (text/plain, inline)]
On 2023-05-08 23:50, Benjamin wrote:

> Hello Guixers,
>
> These patches are updating components to be able to screencast from
> ungoogle-chromium. On my setup : wayland with sway, it was previously
> failing.

Hi Benjamin!

This thread was on my backlog, but I forgot about it, when was updating
xdg-desktop-portals, so I did it separately.  Screensharing via pipewire
now works again.  I applied your pipewire and wireplumber patches, thank
you very much.

>
> To be able, for screencast to work, pipewire, wireplumber
> xdg-desktop-portal and xdg-desktop-portal-wlr need to be running as
> explained in #52492.
>
> While updating pipewire, the upstream repo has been installing an rlimits
> file to /etc/security/limits.d/25-pw-rlimits.conf and this was failing
> during the installation phase.
>
> Such configuration file would be working with pam_limits service.
>
> I think it is possible to instead copy this file to the store (in
> /gnu/store/...pipewire.../etc/security/limits.d/ I guess).
> Though, while grepping I did not see such thing beeing done in another
> package. 
> I am pretty new to guix so I do not exactly know what should be done. But
> for now, I disabled the installation of this file using meson flag 
> -Drlimits-install=false

That's right, limits should be configured via pam-limits-service-type.

>
> Best
>
> Benjamin
>
>
> Benjamin (4):
>   gnu: pipewire: Update to 0.3.70.
>   gnu: wireplumber: Update to 0.4.14.
>   gnu: xdg-desktop-portal: Update to 1.16.0.
>   gnu: xdg-desktop-portal-wlr: Update to 0.7.0.
>
>  gnu/packages/freedesktop.scm |  9 +++++----
>  gnu/packages/linux.scm       | 16 +++++++++-------
>  2 files changed, 14 insertions(+), 11 deletions(-)
>
>
> base-commit: 28c2c570f80cc0b4e7302ad11cccc8ad600b3274

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 12 Jul 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 288 days ago.

Previous Next


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