rizinorg / cutter

Free and Open Source Reverse Engineering Platform powered by rizin
https://cutter.re
GNU General Public License v3.0
15.32k stars 1.14k forks source link

Added metainfo file to the installation #3346

Closed xvitaly closed 1 month ago

xvitaly commented 1 month ago

Your checklist for this pull request

Detailed description

Test plan (required)

Run the build and installation on any UNIX operating system. The desktop and metainfo files should be installed.

Closing issues

n/a

karliss commented 1 month ago

The generic name and comment in .desktop file feels somewhat redundant.

image

Just browsed my /usr/share/applications folder to see how it gets used in practice

a) A lot of programs didn't bother with generic name. b) For software that have both the generic name and comment. Generic name is often a noun, but comment starts with verbs. It somewhat matches the example in .desktop file spec.

So my suggestion is doing one of the following:

Does anyone have an example of a desktop environment displaying the "GenericName" or "Comment" values anywhere. At least on Gnome the application menu didn't seem to use it, and more detailed view in software center was based on appdata.xml not the .desktop file content. I am not saying that it's useless, I am just curios how various desktop environments use this information.

xvitaly commented 1 month ago

getting rid of GenericName

GenericName is heavily used by KDE Plasma. Without it, the second line of the application launcher is empty and it looks ugly.

Does anyone have an example of a desktop environment displaying the "GenericName" or "Comment" values anywhere.

image

The first line - Name. The second line - GenericName. Tooltip - Comment.

the application menu didn't seem to use it, and more detailed view in software center was based on appdata.xml not the .desktop file content

Appdata is only used by package managers. Application launchers use only desktop files.

replace the FOSS part in comment with a more useful information like "Reverse engineering platform based on rizin".

Done.