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

Missing appstream metadata #7859

Open
hefee opened this issue Feb 15, 2025 · 0 comments
Open

Missing appstream metadata #7859

hefee opened this issue Feb 15, 2025 · 0 comments

Comments

@hefee
Copy link
Contributor

hefee commented Feb 15, 2025

Most of the Software Centers need AppStream metadata to find application properly. Currently this metadata file is generated out of the desktop file. But this is deprecated and lacking a lot metadata (see e.g. author field and copyright).

Image

It would be helpful if nextcloud desktop itself would ship a appstream metadata file.

MetaInfo Localization

AppStream MetaInfo files are recognized by xgettext, so you just need to add com.nextcloud.desktopclient.nextcloud to your POTFILES.in to generate templates for all translatable elements in the file. When building the software, you can then instruct your build system to merge in the translations into the new file before installing the translated file as /usr/share/metainfo/com.nextcloud.desktopclient.nextcloud.metainfo.xml.

A first start of the appstream metadata file. See :

<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
  <id>com.nextcloud.desktopclient.nextcloud</id>

  <metadata_license>CC0-1.0</metadata_license>
  <project_license>GPL-2.0-or-later</project_license>

  <developer id="nextcloud.com">
    <name translate="no">Nextcloud</name>
  </developer>

  <name>Nextcloud Desktop</name>
  <summary>Nextcloud desktop synchronization client</summary>
  <description>
    <p>
      The Nextcloud desktop app lets you always have your latest files wherever you are.
      Just specify one or more folders on the local machine to and a server to synchronize to.
      You can configure more computers to synchronize to the same  server and any change to
      the files on one computer will silently and reliably flow across to every other.
    </p>
  </description>

  <launchable type="desktop-id">com.nextcloud.desktopclient.nextcloud.desktop</launchable>  

  <screenshot type="default">
    <caption>Nextcloud Desktop under Windows</caption>
    <image width="960" height="540" type="source">https://nextcloud.com/c/uploads/2022/12/nextcloud-windows-desktop-integration.jpg</image>
 <screenshot>
  <categories>
    <category>Office</category>
    <category>Utility</category>
  </categories>
  <url type="homepage">https://nextcloud.com</url>
  <url type="bugtracker">https://github.com/nextcloud/desktop/issues</url>
  <provides>
    <binary>nextcloud-desktop</binary>
  </provides>
 </component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant