public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "John M. Harris, Jr." <johnmh@johnmh.me>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/, ...
Date: Tue,  2 Jul 2024 03:00:29 +0000 (UTC)	[thread overview]
Message-ID: <1719889016.d039999249fd50cd454fa6035456ba69ae0c27d0.johnmh@gentoo> (raw)

commit:     d039999249fd50cd454fa6035456ba69ae0c27d0
Author:     John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Tue Jul  2 02:56:56 2024 +0000
Commit:     John M. Harris, Jr. <johnmh <AT> johnmh <DOT> me>
CommitDate: Tue Jul  2 02:56:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0399992

gui-libs/xdg-desktop-portal-hyprland: Add patch for pipewire >=1.1.0

Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>

 ...-desktop-portal-hyprland-9999_fix_pipewire.patch | 21 +++++++++++++++++++++
 .../xdg-desktop-portal-hyprland-9999.ebuild         |  1 +
 2 files changed, 22 insertions(+)

diff --git a/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-9999_fix_pipewire.patch b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-9999_fix_pipewire.patch
new file mode 100644
index 000000000..0655bbe38
--- /dev/null
+++ b/gui-libs/xdg-desktop-portal-hyprland/files/xdg-desktop-portal-hyprland-9999_fix_pipewire.patch
@@ -0,0 +1,21 @@
+diff --git a/src/shared/ScreencopyShared.hpp b/src/shared/ScreencopyShared.hpp
+index d626da6..2368833 100644
+--- a/src/shared/ScreencopyShared.hpp
++++ b/src/shared/ScreencopyShared.hpp
+@@ -5,16 +5,12 @@
+ extern "C" {
+ #include <spa/pod/builder.h>
+ 
+-#undef SPA_VERSION_POD_BUILDER_CALLBACKS
+-#define SPA_VERSION_POD_BUILDER_CALLBACKS .version = 0
+ #include <spa/buffer/meta.h>
+ #include <spa/utils/result.h>
+ #include <spa/param/props.h>
+ #include <spa/param/format-utils.h>
+ #include <spa/param/video/format-utils.h>
+ #include <spa/pod/dynamic.h>
+-#undef SPA_VERSION_POD_BUILDER_CALLBACKS
+-#define SPA_VERSION_POD_BUILDER_CALLBACKS 0
+ }
+ #include <wayland-client.h>
+ 

diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
index ac2bb3c93..fabc08977 100644
--- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
+++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild
@@ -84,6 +84,7 @@ src_unpack() {
 
 src_prepare() {
 	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-9999_use_sys_sdbus-c++.patch"
+	eapply "${FILESDIR}/xdg-desktop-portal-hyprland-9999_fix_pipewire.patch"
 	sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die
 	cmake_src_prepare
 }


             reply	other threads:[~2024-07-02  3:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-02  3:00 John M. Harris, Jr. [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-06 14:39 [gentoo-commits] repo/proj/guru:dev commit in: gui-libs/xdg-desktop-portal-hyprland/, sin-ack
2024-10-06 14:30 sin-ack
2024-07-25 16:49 John M. Harris, Jr.
2024-04-21 22:11 Anthony Ruhier
2024-01-08  8:57 Remigiusz Micielski
2023-11-22 17:27 Remigiusz Micielski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1719889016.d039999249fd50cd454fa6035456ba69ae0c27d0.johnmh@gentoo \
    --to=johnmh@johnmh.me \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox