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 application metadata and a manpage #8

Merged
merged 5 commits into from
Apr 30, 2021
Merged

Conversation

rafalcieslak
Copy link
Owner

A number of adjustments that should help package maintainers.

@musicinmybrain please let me know if this matches your expectations 🙂

@musicinmybrain
Copy link
Contributor

Thanks, this looks great to me, except for a couple of details!

Here’s what it looks like in GNOME Software Center:

harmonyseq-gnome-software

I see only two small issues:

  1. The unordered list entry “chord management system which allows to easily organize melodies that sound great together” is split between two list entries, so there is a </li> and a <li> that need to be removed in the middle.
  2. A generic icon is displayed. I’m not sure what’s going on there. I’ll try to look into it.

Also, with the desktop file renaming, the icon of the running application is now generic (the launcher, based on the desktop file, is fine). This looks like a variation on spyder-ide/spyder#13786.

I’ll try to study the icon issues a bit more and follow up.

@musicinmybrain
Copy link
Contributor

Oh, one more typo fix: polyrythmspolyrhythms, here and anywhere else it shows up.

@musicinmybrain
Copy link
Contributor

Well, I haven’t figured out why the icon is not appearing in the GNOME Software Center. Maybe it will work once the package is in the Fedora repositories instead of just a local RPM install. It’s hard to debug. Not a dealbreaker, though.

For the running application icon under GNOME/Wayland, the same fix Inkscape used seems to work well:

diff -Naur harmonySEQ-0.17-original/src/main.cpp harmonySEQ-0.17/src/main.cpp
--- harmonySEQ-0.17-original/src/main.cpp	2020-03-04 08:48:23.000000000 -0500
+++ harmonySEQ-0.17/src/main.cpp	2021-04-25 08:41:47.832909900 -0400
@@ -209,6 +209,10 @@
     // Initialize GTK
     Gtk::Main gtk_main(argc, argv);
 
+    // For the icon to appear correctly on GNOME/Wayland, this needs to match
+    // the ID used in the AppStream XML and desktop files.
+    g_set_prgname("org.cielak.harmonyseq");
+
     // Initialize the MIDI driver...
     engine = new Engine();
 

That should probably be part of this PR, since it was working before the desktop file name change.

@rafalcieslak
Copy link
Owner Author

Thanks for your feedback, I think I've addressed all your remarks.

@musicinmybrain
Copy link
Contributor

Looks reasonable to me! If I figure out anything else down the road, I’ll submit a PR. Thanks for adding these files.

@rafalcieslak rafalcieslak merged commit 9e0a014 into master Apr 30, 2021
@rafalcieslak rafalcieslak deleted the metadata-improvements branch April 30, 2021 12:29
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.

None yet

2 participants