Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832071 - sys-apps/flatpak-1.12.3: make X11 dependency optional
Summary: sys-apps/flatpak-1.12.3: make X11 dependency optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-25 21:58 UTC by Michel Ganguin
Modified: 2022-01-31 03:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
add X USE flag for optional X11 dependency (file_832071.txt,1.38 KB, patch)
2022-01-25 22:00 UTC, Michel Ganguin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!