Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global menu patch fails to merge #350

Closed
darthoctopus opened this issue Jan 2, 2018 · 7 comments
Closed

Global menu patch fails to merge #350

darthoctopus opened this issue Jan 2, 2018 · 7 comments

Comments

@darthoctopus
Copy link

darthoctopus commented Jan 2, 2018

Previously I've been able to build Waterfox with Ubuntu's global menu patch (see e.g. this) matching the appropriate version of firefox. As of waterfox 56 this is no longer possible (the object files compile successfully but I get a linker error when linking libxul.so).

Ancillarily, would it be possible to merge in the global menu by default?

@criztovyl
Copy link

Also, can you post the specific linker error? :)

@PandaCodex
Copy link

Latest stable release version version

Build revision 56.0

Try these patches, same ones Cyberfox uses but ones for the latest stable release 57.0 branch the other is targeted for 56.0 branch same one as Waterfox.

@darthoctopus
Copy link
Author

../../widget/gtk/nsMenu.o: In function `nsMenu::OnAttributeChanged(nsIContent*, nsIAtom*)':
<redacted>/Waterfox/widget/gtk/nsMenu.cpp:(.text._ZN6nsMenu18OnAttributeChangedEP10nsIContentP7nsIAtom+0x124): undefined reference to `nsStyleContext::Release()'
/usr/bin/ld: libxul.so: hidden symbol `_ZN14nsStyleContext7ReleaseEv' isn't defined

I've noticed that the patch I'm using differs slightly from the 56.0 one that @PandaCodex linked; will try that and report shortly

@darthoctopus
Copy link
Author

update: it works, I'm an idiot D:

For future reference: I was using revision 1189, which was missing an include for "nsStyleContextInlines.h" (this is probably the reason for the linker error).

However, I would like to keep open the possibility of merging in the global menu by default.

@hawkeye116477
Copy link
Contributor

hawkeye116477 commented Jun 24, 2019

It can be closed, cuz now Global Menu integration is available since 56.2.10.1.
d7201d4

@darthoctopus
Copy link
Author

darthoctopus commented Jun 28, 2019

It can be closed, cuz now Global Menu integration is available since 56.2.10.1.
d7201d4

thank you! I have verified this to work on the version of waterfox currently available for download..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants