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

Add flatpak Discord Rich Presence support #39

Merged
merged 1 commit into from
Jun 1, 2019
Merged

Add flatpak Discord Rich Presence support #39

merged 1 commit into from
Jun 1, 2019

Conversation

Parnassius
Copy link
Contributor

No description provided.

@flathubbot
Copy link
Contributor

Started test build 3240

@flathubbot
Copy link
Contributor

Build 3240 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/3096/org.DolphinEmu.dolphin-emu.flatpakref

@cpba cpba requested a review from TingPing May 10, 2019 22:31
@cpba
Copy link
Collaborator

cpba commented May 11, 2019

Thank you for taking the time to do this.

Could you elaborate a bit on what this feature does and how to test it?

The discord website describes it as a source of viral advertising for games, is it intended to show other people on discord that you are playing games on dolphin? Does it do anything else?

@Parnassius
Copy link
Contributor Author

Yes, it allows to show other people what game you are playing on dolphin. Upstream dolphin already has this feature, this pull request only adds support for discord installed as a flatpak. See flathub/com.discordapp.Discord#29 and https://github.com/flathub/com.discordapp.Discord/wiki/Rich-Precense-(discord-rpc) for more informations.

I tested both a local build and the build provided by the bot, and it appears to be working. To test it yourself you should install discord from flathub, create an account if you don't already have one, and then run dolphin.

If you just created a new account probably the easiest way to test is to create a new server (green + on the left side of the window, you only have to provide a name).
On your profile (on the right side) should then appear something like this:

screenshot NRR9R0hNJHrBdrwf

screenshot fuLXWH8kDi4GZUDr

@TingPing
Copy link
Member

Desktop file needs updated.

@flathub flathub deleted a comment from flathubbot May 13, 2019
@flathubbot
Copy link
Contributor

Queued test build for org.DolphinEmu.dolphin-emu.

@flathubbot
Copy link
Contributor

Started test build 3296

@flathubbot
Copy link
Contributor

Build 3296 failed

@flathubbot
Copy link
Contributor

Started test build 3350

@flathubbot
Copy link
Contributor

Build 3350 failed

@flathubbot
Copy link
Contributor

Started test build 3488

@flathubbot
Copy link
Contributor

Build 3488 failed

@cpba
Copy link
Collaborator

cpba commented May 16, 2019

@Parnassius your builds are failing because of the new flathub appdata requirements, I've been meaning to fix it for a while but I haven't gotten around to doing it yet.

@cpba
Copy link
Collaborator

cpba commented May 16, 2019

bot, build

@flathubbot
Copy link
Contributor

Queued test build for org.DolphinEmu.dolphin-emu.

@flathubbot
Copy link
Contributor

Started test build 3502

@flathubbot
Copy link
Contributor

Build 3502 failed

@TingPing
Copy link
Member

Looks fine. @cpba can fix the appdata then we'll rebase this.

@cpba
Copy link
Collaborator

cpba commented May 17, 2019 via email

@gasinvein
Copy link
Member

Before this is merged, I hope to change discord-rpc socket path from xdg-run/discord/ipc-0 to xdg-run/app/com.discordapp.Discord/discord-ipc-0, see flathub/com.discordapp.Discord#68.

@flathubbot
Copy link
Contributor

Started test build 3776

@flathubbot
Copy link
Contributor

Build 3776 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/3604/org.DolphinEmu.dolphin-emu.flatpakref

@cpba
Copy link
Collaborator

cpba commented May 21, 2019

I understand that this pull request is waiting on flathub/com.discordapp.Discord#68 before it can be merged?

@gasinvein
Copy link
Member

The change required after that PR would be trivial, so it's probably not a blocker. Just be aware of its state.

@cpba
Copy link
Collaborator

cpba commented May 22, 2019 via email

@gasinvein
Copy link
Member

gasinvein commented May 22, 2019 via email

@TingPing
Copy link
Member

Merged the Discord change so we can update this.

@flathubbot
Copy link
Contributor

Started test build 4045

@flathubbot
Copy link
Contributor

Build 4045 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/3861/org.DolphinEmu.dolphin-emu.flatpakref

@TingPing
Copy link
Member

This has a merge conflict and needs to be rebased (feel free to squash).

@flathubbot
Copy link
Contributor

Started test build 4052

@flathubbot
Copy link
Contributor

Build 4052 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/3869/org.DolphinEmu.dolphin-emu.flatpakref

@flathubbot
Copy link
Contributor

Started test build 4053

@flathubbot
Copy link
Contributor

Build 4053 successful
To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/3870/org.DolphinEmu.dolphin-emu.flatpakref

@Parnassius
Copy link
Contributor Author

Should be ready now

@TingPing TingPing merged commit f3109ca into flathub:master Jun 1, 2019
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

Successfully merging this pull request may close these issues.

5 participants