Which version of Ubuntu? If it's 20.04, that would be bug #1914868
(which you reported yourself).

** Changed in: gnome-software (Ubuntu)
       Status: New => Incomplete

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

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

Status in gnome-software package in Ubuntu:
  Incomplete

Bug description:
  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

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