[libosinfo PATCH v3 0/7] Drop GVFS dependency in favour of libsoup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Let's rely on libsoup in order to to http:// and https:// requests.

By doing this, GVFS (more specifically, gvfs-http) won't be dragged as
a dependency, which caused errors for apps running as root (as GVFS
relies on being run in the user's session).

https://gitlab.com/libosinfo/libosinfo/issues/30

Changes since v2:
https://www.redhat.com/archives/libosinfo/2019-July/msg00006.html
- Moved requires_soup() function to osinfo_util_private.[ch]
- Used osinfo_util_requires_soup() when detecting a tree in order to
  error out in case a "ftp://"; tree is passed.
- The patch fixing the doc issue was dropped, as it was fixed together
  with another series

Changes since v1:
https://www.redhat.com/archives/libosinfo/2019-June/msg00121.html
- Explicitly mention that we support only http:// and https:// as "non
  local";
- One patch was added fixing a doc issue that was noticed during v2

Fabiano Fidêncio (7):
  media: Fix indentation in create_from_location_asunc_data_free()
  tree: Remove not used Tree from _CreateFromLocationAsyncData struct
  media: Improve on_location_read error message readability
  media: Use GInpuStream directly in on_location_read()
  media: Use libsoup for http:// & https:// requests
  tree: Use libsoup for http:// & https:// requests
  spec: Drop gvfs dependency

 configure.ac                 |   5 +-
 libosinfo.spec.in            |   2 +-
 osinfo/Makefile.am           |   7 +-
 osinfo/libosinfo.syms        |   2 +
 osinfo/osinfo_media.c        |  78 +++++++++++++++-------
 osinfo/osinfo_tree.c         | 122 +++++++++++++++++++++++++----------
 osinfo/osinfo_tree.h         |  14 ++++
 osinfo/osinfo_util_private.c |  35 ++++++++++
 osinfo/osinfo_util_private.h |  28 ++++++++
 9 files changed, 230 insertions(+), 63 deletions(-)
 create mode 100644 osinfo/osinfo_util_private.c
 create mode 100644 osinfo/osinfo_util_private.h

-- 
2.21.0

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux