Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 918925

Summary: [guru] gui-libs/xdg-desktop-portal-hyprland-1.2.5 fails to install necessary files to function
Product: GURU Reporter: Brett Alcox <brettalcox>
Component: Package issuesAssignee: Remigiusz Micielski <rmicielski>
Status: RESOLVED FIXED    
Severity: major CC: mia
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Brett Alcox 2023-11-30 21:50:43 UTC
Upon installing xdg-desktop-portal-hyprland-1.2.5, I noticed that I wasn't getting any Pipewire screen capture outputs, which ultimately let me down the rabbit hole of figuring out the 1.2.5 ebuild does not install all of the required files for this package to operate and function correctly. 

Specifically, the missing files are:
- hyprland.portal
- xdg-desktop-portal-hyprland.service
- org.freedesktop.impl.portal.desktop.hyprland.service

It looks to be the shift away from Meson -> CMake eclass. I modified the ebuild in my local repo to use the Meson inherit (instead of CMake) and the package installs the files and functions as expected. 

Reproducible: Always

Steps to Reproduce:
1.Don't have a prior version of xdg-desktop-portal-hyprland installed
2.Install xdg-desktop-portal-hyprland
3.Profit
Actual Results:  
The program is installed without portal definition, DBus service, or systemd user unit 

Expected Results:  
The program is installed with portal definition, DBus service, or systemd user unit
Comment 1 Viorel Munteanu gentoo-dev 2023-12-01 09:12:58 UTC
Note - qa_cmp from app-portage/iwdevtools is very good at spotting missing files between releases
Comment 2 Remigiusz Micielski 2023-12-03 09:34:31 UTC
Thanks a lot for all those details!
It should be fixed now in the dev branch of ::guru and this bug report will be marked as resolved soon.
I can't move the ebuild to meson unfortunately due to https://bugs.gentoo.org/917678 still being an issue.

(In reply to Viorel Munteanu from comment #1)
> Note - qa_cmp from app-portage/iwdevtools is very good at spotting missing
> files between releases

Thanks! It will be a part of my workflow now.
Comment 3 Larry the Git Cow gentoo-dev 2023-12-04 07:11:51 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=21bb8280314df3c51a74c8bf2c964a018424f66f

commit 21bb8280314df3c51a74c8bf2c964a018424f66f
Author:     Remigiusz Micielski <rmicielski@purelymail.com>
AuthorDate: 2023-12-03 09:27:50 +0000
Commit:     Remigiusz Micielski <rmicielski@purelymail.com>
CommitDate: 2023-12-03 09:30:44 +0000

    gui-libs/xdg-desktop-portal-hyprland: install missing files
    
    Closes: https://bugs.gentoo.org/918925
    Signed-off-by: Remigiusz Micielski <rmicielski@purelymail.com>

 .../xdg-desktop-portal-hyprland-1.2.2.ebuild       | 23 ++++++++++++++++++++--
 .../xdg-desktop-portal-hyprland-1.2.5.ebuild       | 23 ++++++++++++++++++++--
 2 files changed, 42 insertions(+), 4 deletions(-)