Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 769494 - www-client/firefox-78.7.0 requires >=x11-libs/gtk+-2.18:2
Summary: www-client/firefox-78.7.0 requires >=x11-libs/gtk+-2.18:2
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gtk2-removal
  Show dependency tree
 
Reported: 2021-02-08 09:15 UTC by charles17
Modified: 2021-09-15 22:04 UTC (History)
3 users (show)

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


Attachments
0031-Remove-gtk2-dependency.patch (0031-Remove-gtk2-dependency.patch,342.87 KB, patch)
2021-06-04 06:43 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description charles17 2021-02-08 09:15:56 UTC
emerge -pvc x11-libs/gtk+:2

Calculating dependencies... done!
  x11-libs/gtk+-2.24.32-r1 pulled in by:
    www-client/firefox-78.7.0 requires >=x11-libs/gtk+-2.18:2
Comment 1 Niko Böckerman 2021-04-20 15:41:27 UTC
Upstream bug [1] to allow building firefox without gtk+2 was just closed and it seems that the changes are going to be in firefox version 90.

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1377445
Comment 3 Peter Levine 2021-06-04 06:45:59 UTC
I should add that it applies clean but I am still in the process of building and testing.
Comment 4 Peter Levine 2021-06-04 14:48:31 UTC
Builds and runs fine on my end.
Comment 5 Larry the Git Cow gentoo-dev 2021-07-12 23:32:46 UTC
The bug has been referenced in the following commit(s):

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

commit a9814d14ea6f15d74e5640eb9059083ef6c0652a
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-07-12 23:19:05 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-07-12 23:31:53 +0000

    www-client/firefox-bin: bump to v90.0
    
    Bug: https://bugs.gentoo.org/769494
    Package-Manager: Portage-3.0.21, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox-bin/Manifest                |  97 ++++++
 www-client/firefox-bin/firefox-bin-90.0.ebuild | 410 +++++++++++++++++++++++++
 2 files changed, 507 insertions(+)

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

commit 8721304c311546700bc378fe9ffc9851f93ced20
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-07-12 22:21:23 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-07-12 23:31:50 +0000

    www-client/firefox: bump to v90.0
    
    Bug: https://bugs.gentoo.org/769494
    Package-Manager: Portage-3.0.21, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 www-client/firefox/Manifest            |   98 +++
 www-client/firefox/firefox-90.0.ebuild | 1178 ++++++++++++++++++++++++++++++++
 2 files changed, 1276 insertions(+)
Comment 6 ashpil@pm.me 2021-07-17 01:32:04 UTC
I believe `firefox-bin` still needs to explicitly depend on `libXcursor` and `libXi` - emerging the current ebuild on Wayland gives me:
```
 * QA Notice: Unresolved soname dependencies:
 *
 * 	/opt/firefox/libxul.so: libXcursor.so.1 libXi.so.6
 *
```
I think explicitly depending on `libXcursor` and `libXi` would be preferable to depending on gtk+3[X], as then you would avoid pulling in the rest of the gtk+3[X] dependencies on Wayland.
Comment 7 Sam James archtester gentoo-dev Security 2021-09-15 22:04:13 UTC
(In reply to ashpil@pm.me from comment #6)
> I believe `firefox-bin` still needs to explicitly depend on `libXcursor` and
> `libXi` - emerging the current ebuild on Wayland gives me:
> ```
>  * QA Notice: Unresolved soname dependencies:
>  *
>  * 	/opt/firefox/libxul.so: libXcursor.so.1 libXi.so.6
>  *
> ```
> I think explicitly depending on `libXcursor` and `libXi` would be preferable
> to depending on gtk+3[X], as then you would avoid pulling in the rest of the
> gtk+3[X] dependencies on Wayland.

See https://bugs.gentoo.org/813129.