On 1): The metainfo/appdata file is only enough if it is complete, so,
contains an icon reference and name/summary/etc. tags. If it doesn't,
then you'll need the .desktop file as well and a launchable entry.

On 2): All of these locations are wrong ^^ Metainfo files *must* be installed 
into /usr/share/metainfo in order to be valid. Refer to the AppStream 
specification (specifically 
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location)
 for details.
There's also an online tool to help people making metainfo files at 
https://www.freedesktop.org/software/appstream/metainfocreator/#/ now

As for that existing "appdata" file, make sure it's actually an
AppStream metainfo file before installing it somewhere else - maybe it
just coincidentally has the same name as a metainfo file, but actually
is something different.

Also, google.chrome and network-manager need their metainfo locations
fixed ;-) It's likely that support for the legacy location will go away
soonish (almost nothing installs files there nowadays).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1825766

Title:
  search results don't match apt search

Status in gnome-software package in Ubuntu:
  New

Bug description:
  searching for "guake" does not show the "guake" package, but if I
  search it via apt, I do see it available.

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: gnome-software 3.30.6-2ubuntu3
  ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6
  Uname: Linux 5.0.0-13-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.10-0ubuntu27
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Apr 21 17:39:19 2019
  InstallationDate: Installed on 2019-04-21 (0 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-snap    3.30.6-2ubuntu3
  SourcePackage: gnome-software
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1825766/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to