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

Bug 832071

Summary: sys-apps/flatpak-1.12.3: make X11 dependency optional
Product: Gentoo Linux Reporter: Michel Ganguin <ganguin>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED FIXED    
Severity: enhancement CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: add X USE flag for optional X11 dependency

Description Michel Ganguin 2022-01-25 21:58:49 UTC
flatpak only requires X11 when installing packages requiring X11. The build force enables --enable-xauth for X11 compatibility.

Add a X USE flag to make this optional.



Reproducible: Always

Steps to Reproduce:
1. ensure xauth is not installed
2. emerge =flatpak-1.12.3
3. xauth gets installed
Actual Results:  
x11-apps/xauth and x11-libs/libXaugets get installed alongside with their X11 dependencies.

Expected Results:  
Be able to install flatpak without X support
Comment 1 Michel Ganguin 2022-01-25 22:00:16 UTC
Created attachment 763635 [details, diff]
add X USE flag for optional X11 dependency
Comment 2 Larry the Git Cow gentoo-dev 2022-01-31 03:18:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8bcf7b3e7441cb5658164ffb9dbc608d315dbf8

commit a8bcf7b3e7441cb5658164ffb9dbc608d315dbf8
Author:     Michel Ganguin <ganguin@gmail.com>
AuthorDate: 2022-01-31 03:09:04 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2022-01-31 03:18:48 +0000

    sys-apps/flatpak: add X USE flag
    
    Closes: https://bugs.gentoo.org/832071
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/flatpak/flatpak-1.12.3.ebuild | 10 ++++++----
 sys-apps/flatpak/flatpak-1.12.4.ebuild | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)
Comment 3 Zac Medico gentoo-dev 2022-01-31 03:19:07 UTC
Thanks!