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

Port appdata to AppStream 1.0 #660

Merged
merged 4 commits into from
Mar 11, 2024
Merged

Port appdata to AppStream 1.0 #660

merged 4 commits into from
Mar 11, 2024

Conversation

A6GibKm
Copy link
Contributor

@A6GibKm A6GibKm commented Mar 3, 2024

This is required for updating the app at Flathub as of a few weeks ago.

This is a key=value dict, with two entries one gets an error:

    E: com.github.tchx84.Flatseal:39: custom-key-duplicated Purism::form_factor
       A key can only be used once.

Apps generally remove the workstation key so the app is still marked as
mobile capable.
@A6GibKm
Copy link
Contributor Author

A6GibKm commented Mar 3, 2024

@tchx84
Copy link
Owner

tchx84 commented Mar 4, 2024

Hey @A6GibKm , thank you! Ill check this ASAP and that other link 🙌

@@ -32,10 +33,12 @@
<update_contact>[email protected]</update_contact>
<!-- TRANSLATORS: Don't translate this text -->
<developer_name>Martin Abente Lahaye</developer_name>
<developer id="com.github.tchx84">
<name translatable="no">Martin Abente Lahaye</name>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I set this as translatable="no" based on the line above. Alternatively I could offer one of:

  • Set the other as translatable="no" too and remove its comment
  • Remove translatable="no" from this one, the comment will appear anyways in the .po file due to how gettext works (as long as it remains on top of the string above).

While there is no consensus on the matter, there is an argument in favor of allowing translations. It might be useful to provide a transliteration in certain languages.

A6GibKm added 3 commits March 9, 2024 18:07
developer_name was deprecated in AppStream 1.0, this is the replacement.
Fixes the following error:

    com.github.tchx84.Flatseal:~: desktop-app-launchable-missing
    This `desktop-application` component is missing a `desktop-id` launchable tag. This means that
    this application can not be launched and has no association with its desktop-entry file. It also
    means no icon data or category information from the desktop-entry file will be available, which
    will result in this application being ignored entirely.
@tchx84 tchx84 merged commit 7342c48 into tchx84:master Mar 11, 2024
1 check passed
@tchx84 tchx84 deleted the appstreamcli branch March 11, 2024 11:35
@tchx84
Copy link
Owner

tchx84 commented Mar 11, 2024

thank you @A6GibKm !!

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.

2 participants