Public bug reported:

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

** Affects: gnome-software (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: packaging

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1914868

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to