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

assets: Add linux specific assets #507

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joebonrichie
Copy link

@joebonrichie joebonrichie commented Nov 23, 2023

This will be used by distro packagers to help integrate chatty into a linux install.

  1. Provide a .desktop file

    • https://specifications.freedesktop.org/desktop-entry-spec/latest/
    • Distros need to install this to: /usr/share/applications/io.github.chatty.desktop
    • Distros may provide a wrapper script such as: exec $JAVA_HOME/bin/java -jar /usr/share/chatty/Chatty.jar "$@" installed to /usr/bin/chatty.
    • Validated with desktop-file-validate
  2. Provide appstream metainfo file

The metainfo will need to be updated if any URLs change for example, but, otherwise they will require no maintenance.

One nice to have in the future would be to autogenerate the <releases>, using appstreamcli news-to-metainfo from a generic text file, however, this isn't necessary.

This will be used by distro packagers to help integrate chatty into a linux install.

1. Provide a .desktop file
    - https://specifications.freedesktop.org/desktop-entry-spec/latest/
    - Distros need to install this to:
      `/usr/share/applications/io.github.chatty.desktop`
    - Distros may provide a wrapper script such as:
      `exec $JAVA_HOME/bin/java -jar /usr/share/chatty/Chatty.jar "$@"`
      installed to `/usr/bin/chatty`.
    - Validated with `desktop-file-validate`

2. Provide appstream metainfo file
    - https://www.freedesktop.org/wiki/Distributions/AppStream/
    - Distros need to install this to:
      `/usr/share/metainfo/io.github.chatty.metainfo.xml`
    - Validated with `appstreamcli validate --pedantic`

The metainfo will need to be updated if any URLs change for example, but,
otherwise they will require no maintenance.

One nice to have in the future would be to autogenerate the `<releases>`,
using `appstreamcli news-to-metainfo` from a generic text file, however,
this isn't neccessary.
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

1 participant