** Changed in: gnome-software (Ubuntu Focal)
     Assignee: Olivier Tilloy (osomon) => (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/1914868

Title:
  gnome-software-dev doesn't contain all the header files in
  /usr/include/gnome-software

Status in gnome-software package in Ubuntu:
  Fix Released
Status in gnome-software source package in Focal:
  Confirmed
Status in gnome-software source package in Hirsute:
  Fix Released

Bug description:
  I have tried to compile example plugin mentioned here:
  
https://gitlab.gnome.org/GNOME/gnome-software/-/blob/master/contrib/gs-plugin-example.c
  and here:
  https://developer.gnome.org/gnome-software/stable/plugins.html
  I have installed package gnome-software-dev (required for compilation)

  But I am not able to compile it:

  $ gcc -shared -o libgs_plugin_example.so gs-plugin-example.c -fPIC  
`pkg-config --libs --cflags gnome-software`  
-DI_KNOW_THE_GNOME_SOFTWARE_API_IS_SUBJECT_TO_CHANGE
  In file included from gs-plugin-example.c:5:
  /usr/include/gnome-software/gnome-software.h:16:10: fatal error: 
gs-app-collation.h: No such file or directory
     16 | #include <gs-app-collation.h>
        |          ^~~~~~~~~~~~~~~~~~~~
  compilation terminated.

  
  It appears package gnome-software-dev lacks some headers.

  
  This issue was already reported here: 
  https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1119#note_1002516

  My system:
  Description:  Ubuntu 20.04.2 LTS
  Release:      20.04

  Package version:
  apt-cache policy gnome-software-dev 
  gnome-software-dev:
    Zainstalowana: 3.36.1-0ubuntu0.20.04.0
    KandydujÄ…ca:   3.36.1-0ubuntu0.20.04.0
    Tabela wersji:
   *** 3.36.1-0ubuntu0.20.04.0 500
          500 http://pl.archive.ubuntu.com/ubuntu focal-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       3.36.0-0ubuntu3 500
          500 http://pl.archive.ubuntu.com/ubuntu focal/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1914868/+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