Public bug reported:

Installing package gnome-software-dev doesn't satisfy all of
dependencies needed for development.

After installing it there are still missing libraries needed for
compilation of basic examples provided by gnome
(https://developer.gnome.org/gnome-software/stable/plugins.html - the
first example from here)

```
~/plugin$ 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 &&  sudo cp 
libgs_plugin_example.so `pkg-config gnome-software --variable=plugindir`
Package json-glib-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `json-glib-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'json-glib-1.0', required by 'gnome-software', not found
gs-plugin-example.c:5:10: fatal error: gnome-software.h: No such file or 
directory
    5 | #include <gnome-software.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
```

As a reference list of packages required by Fedora version of this
package could is worth checking: https://fedora.pkgs.org/33/fedora-
updates-x86_64/gnome-software-devel-3.38.1-1.fc33.x86_64.rpm.html

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

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

Title:
  gnome-software-dev misses dependencies required for development

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to