Hmm.. More tests indicate that that .desktop file and src/gs-folders.c
have nothing to do with it. An AppStream metadata file seems to be
sufficient. Maybe there was just some kind of time lag.

Closing.

** Changed in: gnome-software (Ubuntu)
   Importance: Medium => Undecided

** Changed in: gnome-software (Ubuntu)
       Status: In Progress => Invalid

** Changed in: gnome-software (Ubuntu)
     Assignee: Gunnar Hjalmarsson (gunnarhj) => (unassigned)

-- 
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/1839682

Title:
  ibus-avro not shown in Ubuntu Software

Status in gnome-software package in Ubuntu:
  Invalid

Bug description:
  ibus-avro, an IBus plugin for inputting Bangla, is a brand new package
  in Ubuntu eoan. It's not shown in Ubuntu Software, though, so I dived
  into the gnome-software source to see if I could figure out why, and
  found src/gs-folders.c. The gs_folders_convert() function in that file
  includes some hard coded lists including "sundry_apps". sundry_apps
  holds the names of some .desktop files, including a few ibus-
  setup-*.desktop files.

  As a test I built gnome-software with "ibus-setup-ibus-avro.desktop"
  added to sundry_apps. That made a difference - suddenly Ubuntu
  Software found ibus-avro.

  The conclusion from my investigation is that IBus input methods are
  shown in Ubuntu Software if all three of these criteria are met:

  1. The package has an AppStream metadata file.

  2. The package has an ibus-setup-[engine_name].desktop file in
     /usr/share/applications.

  3. The .desktop file is included in the "sundry_apps" list in
     src/gs-folders.c.

  I don't know if this is how it's supposed to work, but if it is, the
  patch in the linked merge proposal ought to be a proper fix (and
  should also be upstreamed).

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to