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

Bug 884503

Summary: net-im/telegram-desktop-4.3.4 has unconditional x11-libs/xcb-util-keysyms dep
Product: Gentoo Linux Reporter: Yaroslav Isakov <yaroslav.isakov>
Component: Current packagesAssignee: Esteve Varela Colominas <esteve.varela>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28600
Whiteboard:
Package list:
Runtime testing required: ---

Description Yaroslav Isakov 2022-12-05 20:54:12 UTC
Hello! I've started update for Telegram (as some message types cannot be read in stable version), and found that it now depends on xcb-util-keysyms, even though I have completely X11-free system. I've checked Telegram code, and cannot find and references for such dep.

I've also found this wiki page https://github.com/telegramdesktop/tdesktop/wiki/The-Packaged-Building-Mode, where xcb-keysyms is mentioned, but as "Linux-only, can be disabled with DESKTOP_APP_DISABLE_X11_INTEGRATION", which is what is done with USE=-X.

I've added xcb-util-keysyms into provides file for portage, and successfully merged and run telegram-desktop.

Please, consider moving this dep under X? condition
Comment 1 Larry the Git Cow gentoo-dev 2022-12-08 20:03:59 UTC
The bug has been closed via the following commit(s):

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

commit a05851d6fc5abd91f5b16dbf97f0cee6743308a5
Author:     Esteve Varela Colominas <esteve.varela@gmail.com>
AuthorDate: 2022-12-08 12:04:02 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2022-12-08 19:54:53 +0000

    net-im/telegram-desktop: Fix dependencies
    
    Closes: https://bugs.gentoo.org/884503
    Thanks-to: Yaroslav Isakov <yaroslav.isakov@gmail.com>
    Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 ...m-desktop-4.3.4-r1.ebuild => telegram-desktop-4.3.4-r2.ebuild} | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)