Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926102 - net-im/telegram-desktop-4.15.0: verify dependency virtual/opengl
Summary: net-im/telegram-desktop-4.15.0: verify dependency virtual/opengl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Esteve Varela Colominas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-03 16:18 UTC by xiaoming
Modified: 2024-03-05 23:38 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xiaoming 2024-03-03 16:18:56 UTC
Dose telegram-desktop really dependent on virtual/opengl?
I viewed some source code, seems it use opengl through qt, and ldd /usr/bin/telegram-desktop shows it don't direct links to mesa.
For reference, archlinux's telegram package does not directly depend on opengl.
Comment 1 Ionen Wolkens gentoo-dev 2024-03-03 16:47:05 UTC
mesa is not really the one to look at given it no longer provides libGL (virtual/opengl should be replaced by libglvnd[X] or libglvnd in general, it's kind of an obsolete virtual but mesa pulls libglvnd so it still satisfies that in the interim). 

Just to be clear, is it directly linking with either libGL or libOpenGL? (haven't built it to check), if not then yeah it could be dropped entirely given don't think it does anything else special. Directly as in, it would be listed in /var/db/pkg/net-im/telegram-desktop/NEEDED.

Also what about when USE=-qt6? It does not depend on qtopengl:5 currently so perhaps it uses it differently if the dependencies are not wrong.

Given who added the dependency back in commit 78b3d318d70c402f45b8440cd1fa4d0b52b4bb79, I would assume that it was linked with it back then but perhaps that changed.
Comment 2 Ionen Wolkens gentoo-dev 2024-03-03 16:52:14 UTC
(In reply to Ionen Wolkens from comment #1)
> Given who added the dependency back in commit
> 78b3d318d70c402f45b8440cd1fa4d0b52b4bb79, I would assume that it was linked
> with it back then but perhaps that changed.
Well, that or failed to build. cmake may have checked for it, and it's allowed to be missing without qtopengl:5
Comment 3 Esteve Varela Colominas 2024-03-04 09:19:28 UTC
Might be an old dependency, yeah. Feel free to drop it and see if anyone complains.
Comment 4 Larry the Git Cow gentoo-dev 2024-03-05 23:38:15 UTC
The bug has been closed via the following commit(s):

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

commit 8fdf538d3b6bbcaf7d33f1ab43f0c3e4d98be044
Author:     Yixun Lan <dlan@gentoo.org>
AuthorDate: 2024-03-04 23:59:46 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2024-03-05 23:37:34 +0000

    net-im/telegram-desktop: drop dep of virtual/opengl
    
    telegram doesn't depend on virtual/opengl directly
    
    Closes: https://bugs.gentoo.org/926102
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 .../telegram-desktop-4.15.0-r1.ebuild              | 237 +++++++++++++++++++++
 1 file changed, 237 insertions(+)