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

signal-desktop: Add optional libdbusmenu-glib support #96078

Merged
merged 1 commit into from Aug 25, 2020

Conversation

LouisDK1
Copy link
Contributor

Motivation for this change

libdbusmenu support is needed in some cases - eg. when using appmenu on Plasma/Xfce/Cinnamon or Budgie.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@LouisDK1
Copy link
Contributor Author

@primeos Pull req created

Copy link
Member

@primeos primeos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you using this on Ubuntu? From Electron's source-code comments this should only be required for Unity, but if it affects other environments as well we could enable it by default.

Edit:

libdbusmenu support is needed in some cases - eg. when using appmenu on Plasma/Xfce/Cinnamon or Budgie.

Nvm, feel free to enable this by default (i.e. without enableLibdbusmenuSupport) if it also helps/works on "Plasma/Xfce/Cinnamon or Budgie".

@LouisDK1 LouisDK1 force-pushed the signal-desktop_libdbusmenu-glib branch from 660d554 to cb20617 Compare August 23, 2020 19:46
Provides optional menu bar support for various desktop environments.
@primeos primeos force-pushed the signal-desktop_libdbusmenu-glib branch from cb20617 to 0fec62c Compare August 24, 2020 22:14
@primeos
Copy link
Member

primeos commented Aug 24, 2020

Ok, so I just updated the PR to how I visioned that, could you try if that still works as expected?

@LouisDK1
Copy link
Contributor Author

@primeos

It works as expected. Appmenu is supported under Plasma without overwriting anything.

Thanks for your assistance. I'd say it's ready to merge.

@primeos primeos merged commit 6b34320 into NixOS:master Aug 25, 2020
@LouisDK1 LouisDK1 deleted the signal-desktop_libdbusmenu-glib branch August 25, 2020 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants