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

Bug #1914868 reported by Paweł
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-software (Ubuntu)
Fix Released
Low
Sebastien Bacher
Focal
Confirmed
Low
Unassigned
Hirsute
Fix Released
Low
Sebastien Bacher

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

Olivier Tilloy (osomon)
Changed in gnome-software (Ubuntu):
status: New → Confirmed
tags: added: rls-ff-incoming
Changed in gnome-software (Ubuntu):
assignee: nobody → Sebastien Bacher (seb128)
Revision history for this message
Sebastien Bacher (seb128) wrote :

the issue was an upstream one fixed in the current Ubuntu serie

https://gitlab.gnome.org/GNOME/gnome-software/-/commit/5b0e476

Changed in gnome-software (Ubuntu):
importance: Undecided → Low
status: Confirmed → Fix Released
Changed in gnome-software (Ubuntu Focal):
importance: Undecided → Low
assignee: nobody → Olivier Tilloy (osomon)
Olivier Tilloy (osomon)
Changed in gnome-software (Ubuntu Focal):
status: New → Confirmed
Olivier Tilloy (osomon)
Changed in gnome-software (Ubuntu Focal):
assignee: Olivier Tilloy (osomon) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.