Re: [hackers] [surf][PATCH 2/2] webext: use flags for gio-unix rather than gio

From: NRK <nrk_AT_disroot.org>
Date: Mon, 24 Oct 2022 06:55:10 +0600

Hi Quentin,

> On my system, gio-unix symbols are provided by the gio library,
> is that different on your system?
> If so, could you provide the contents of pkg-config cflags and libs
> for gio-unix-2.0?

In the "old documentation" [0] I see the following:

| Note that <gio/gunixfdlist.h> belongs to the UNIX-specific GIO
| interfaces, thus you have to use the gio-unix-2.0.pc pkg-config file
| when using it.

And in the (hopefully current) docs [1]:

| Before 2.74, <gio/gunixfdlist.h> belonged to the UNIX-specific GIO
| interfaces, thus you had to use the gio-unix-2.0.pc pkg-config file
| when using it.
|
| Since 2.74, the API is available for Windows.

It seems that using `gio-unix-2.0` explicitly should be more portable.

[0]: https://developer-old.gnome.org/gio/stable/GUnixFDList.html
[1]: https://docs.gtk.org/gio/class.UnixFDList.html

- NRK
Received on Mon Oct 24 2022 - 02:55:10 CEST

This archive was generated by hypermail 2.3.0 : Mon Oct 24 2022 - 03:00:36 CEST