[Pkg-sugar-devel] Bug#1056128: sugar-browse-activity: please replace SoupGNOME.CookieJarSqlite with Soup.CookieJarDB

Simon McVittie smcv at debian.org
Fri Nov 17 11:44:20 GMT 2023


Package: sugar-browse-activity
Version: 207-2
Severity: normal
User: pkg-gnome-maintainers at lists.alioth.debian.org
Usertags: oldlibs libsoup2.4 libsoup-gnome

While checking how many packages are still using the
deprecated libsoup2.4, I noticed that according to codesearch,
sugar-browse-activity appears to be the only package in Debian that
requires SoupGNOME-2.4.typelib.

It seems that it's only using that typelib to construct an instance
of SoupGNOME.CookieJarSqlite. libsoup2.4 (the not-GNOME part) has a
CookieJarDB class, documented like this:

> SoupCookieJarDB is a SoupCookieJar that reads cookies from and writes
> them to a sqlite database in the new Mozilla format.
>
> (This is identical to SoupCookieJarSqlite in libsoup-gnome; it has
> just been moved into libsoup proper, and renamed to avoid conflicting.)

I hope this means that it would be straightforward to switch from
SoupGNOME.CookieJarSqlite to Soup.CookieJarDB, which would bring us one
step closer to being able to drop libsoup-gnome.

This would also be a step closer to being able to port sugar-browse-activity
from libsoup2.4/gir1.2-webkit2-4.0 to libsoup3/gir1.2-webkit2-4.1
(a mass bug filing for that will follow at some point). libsoup3 does
not have libsoup-gnome any more.

Thanks,
    smcv



More information about the pkg-sugar-devel mailing list