Debian Patches

Status for gjs/1.82.3-2

Patch Description Author Forwarded Bugs Origin Last update
overrides-Gio-Add-wrappers-for-platform-specific-Gio-func.patch overrides/Gio: Add wrappers for platform-specific Gio functions
GLib will not expose anymore platform specific functions in Gio
namespace as it used to do when GI Repository 1.0 was used, in order to
keep retro-compatibility in gjs applications, generate wrappers for
Gio platform-specific definitions that we used to provide inside the
main Gio object, but warn the users of these APIs that they should
migrate to GioUnix or GioWin32 instead.
=?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> no upstream, 1.85.90, commit:6a78c4ba9e48cf0320631e318381191e64692f94 2025-08-19
Add-JS-API-wrapping-warn_deprecated_once_per_callsite.patch Add JS API wrapping warn_deprecated_once_per_callsite
Expose it in the print module

[smcv: Adjust for gjs 1.82.x based on changes contributed to cjs]
Philip Chimento <philip.chimento@gmail.com> no backport, 1.85.90, commit:1b6a60afa254bb5751cd43ad18548037d999d855 2024-02-26
overrides-Gio-Use-print-s-warnDeprecatedOncePerCallsite-t.patch overrides/Gio: Use print's warnDeprecatedOncePerCallsite to warn
Re-use the C definition to warn when using a deprecated namespace
instead of doing the same in pure JS.
=?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> no upstream, 1.85.90, commit:0004bdff8fb72854a046a62f2ae0b0011d2a80b9 2025-08-26
gi-repo-Do-not-manual-loading-of-platform-specific-Gio-na.patch gi/repo: Do not manual loading of platform-specific Gio namespace
This will be handled by GLib upstream now.
=?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> no upstream, 1.85.90, commit:63c6134cbdd38f91fb7580c46e657e4d2a2c43bb 2025-08-29
modules-package-Fix-checking-interface-properties.patch modules/package: Fix checking interface properties
GObject.type_default_interface_ref() is no longer
introspectable for some reason, but as it is deprecated
in favor of GObject.type_default_interface_get() anyway,
use that instead.
=?utf-8?q?Florian_M=C3=BCllner?= <fmuellner@gnome.org> yes upstream upstream, 1.86.0, commit:054f78c756b631c347c6f64ab5b7349331f5f420 2025-09-08
gjs-deprecation-Use-a-larger-deprecation-stack-for-JS-inv.patch gjs/deprecation: Use a larger deprecation stack for JS invoked requests

When using warnDeprecatedOncePerCallsite() from JS we need to use a
larger stack to track the call site, otherwise we may end up considering
the same call site for different actual callers.

In fact when using this in Gio.js override the call site is always the
same, but we care about where that function is being invoked from.
=?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> no upstream, 1.86.0, commit:9133e3551787e379f67a9bfdda526469f71e0579 2025-09-10
overrides-Gio-Use-Platform-prefix-for-platform-only-symbo.patch overrides/Gio: Use Platform prefix for platform-only symbols
In previous versions of GLib, platform-specific symbols such as
GUnixMountMonitor were mapped in the Gio namespace as Gio.UnixMountMonitor,
while since commit 6a78c4ba9 we create wrappers such as
Gio.MountMonitor.

This is not correct, and does not serve the initial purpose of providing
a backward compatible wrapper.

So, use the same logic that we had before: if the GType of a symbol starts
with G{Unix,Win32} we use the platform specific name as prefix of the
wrapper type, so that it will be Gio.{Unix,Win32}TypeName
=?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> no upstream, 1.86.0, commit:91c5ec48f6a8c36ea65779786566046ba0bfd922 2025-09-10
gi-function-Implement-name-property-for-functions.patch gi/function: Implement name property for functions
JS functions have a name properties by default, but we did not implement
it for our function wrappers.

Given that there's no a defined specification for it and that it can be
used for debugging purposes, use it to store the original C function
name.

[smcv: Adjust for gjs 1.82 based on the change that Marco contributed to cjs]
=?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> no backport, 1.86.0, commit:d9a77a804eff1942e4aa9235ed43167d7f2240c3 2025-09-10
overrides-Gio-Use-Platform-prefix-for-platform-only-funct.patch overrides/Gio: Use Platform prefix for platform-only functions
In case a platform-only function is being mapped inside the Gio
namespace and that has a platform-specific prefix, then we should use it
inside the more generic Gio namespace.

This is preserving the pre-girepository-2.0 behavior
=?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> no upstream, 1.86.0, commit:e9f256495a753d4089f31382511dce5ff510da34 2025-09-10
overrides-Gio-Enable-platform-specific-wrappers-only-on-n.patch overrides/Gio: Enable platform-specific wrappers only on newer GLib =?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> no upstream, 1.86.0, commit:a7a51b4e84ca98dabfb63feef2d68a21a5ee7fc7 2025-09-10
gi-ns-Do-not-trigger-platform-specific-warnings-from-C-si.patch gi/ns: Do not trigger platform-specific warnings from C++ side
These functions are now part of GioUnix and it's not needed to do any
translation at namespace level
=?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> no upstream, 1.86.0, commit:5534a6d2aa41bccd8661cd829f499df92b7bbb11 2025-09-10

All known versions for source package 'gjs'

Links