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 mimetypes information #44

Closed
aleixpol opened this issue Jun 1, 2016 · 3 comments
Closed

Missing mimetypes information #44

aleixpol opened this issue Jun 1, 2016 · 3 comments

Comments

@aleixpol
Copy link
Collaborator

aleixpol commented Jun 1, 2016

I was trying to make use of mimetypes from Discover UI, then I found it's not offered for any of the assets.

I'm not sure if it's actually no application offering it (then we should find out how to get them to) or whether it's the distribution not gathering the information properly.

@ximion
Copy link
Owner

ximion commented Jun 1, 2016

Hmm, that information is definitely available.
Did you try with appstreamcli to get the information? E.g. appstreamcli get org.kde.gwenview.desktop --details shows it for me.

@aleixpol
Copy link
Collaborator Author

aleixpol commented Jun 1, 2016

$ appstreamcli get org.kde.gwenview.desktop --details
Identifier: org.kde.gwenview.desktop [desktop]
Name: Gwenview
Summary: A simple image viewer
Package: gwenview
Homepage: http://gwenview.kde.org/
Icon: gwenview_gwenview.png
Description: 

        Gwenview is a fast and easy to use image viewer for KDE.


  Features:
   • Supports simple image manipulations: rotate, mirror, flip, and resize
   • Supports basic file management actions such as copy, move, delete, and others
   • Functions both as a standalone application and an embedded viewer in the Konqueror
  web browser
   • Can be extended using KIPI plugins.
Sample Screenshot URL: http://kde.org/images/screenshots/gwenview.png
Project Group: KDE
License: GPL-2.0+
Categories: Graphics, Viewer, Photography, 

@ximion
Copy link
Owner

ximion commented Jun 1, 2016

Looking at the Archlinux metadata, it doesn't have mime information.
Could be a bug in appstream-generator, on Arch's side or in the libappstream XML writing code.
I suspect the latter right now.

@ximion ximion closed this as completed in 94da019 Jun 1, 2016
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

No branches or pull requests

2 participants