require glib 2.68, remove deprecated GTimeVal usage, gobject API, g_memdup
these are changes separated from !28 (closed) that can be applied to the current primary branch without any compatibility breakage, as requested
in addition to separating the changes, i've applied equivalent changes to the deprecated APIs i removed in the other MR (in order to avoid warnings)
Edited by q66