Debian Patches
Status for glib2.0/2.86.0-5
Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
debian/gdesktopappinfo-Try-using-x-terminal-emulator-for-Termina.patch | gdesktopappinfo: Try using x-terminal-emulator for Terminal=true apps Debian Policy provides x-terminal-emulator as an interface for launching a preferred terminal, for some definition of "preferred". However, the x-terminal-emulator alternative is a system-wide choice, so in situations where for example a GNOME user and a KDE user share a computer, only one of them can have the terminal that will match their desktop environment's appearance and behaviour conventions as the x-terminal-emulator. As a result, we still try to use a GTK-based terminal as a higher preference than x-terminal-emulator. This is done on the assumption that when apps are launched using GLib interfaces, they are most likely to have been launched from a GTK application or GTK-based desktop environment, and therefore a GTK-based terminal will be the best fit for the desktop environment's conventions and appearance. I've somewhat arbitrarily sorted x-terminal-emulator as less preferred than KDE's Konsole, but more preferred than rxvt and various xterm variants which are not associated with a particular desktop environment. |
Simon McVittie <smcv@debian.org> | not-needed | debian | 2023-02-04 | |
workarounds/timer-test-use-volatile-for-locals.patch | timer test: use 'volatile' for locals GCC seems to be failing to follow the letter of the C spec by allowing extra precision in floating point values to persist across assignments which are optimised away. Force its hand by using 'volatile' on the locals in question. |
Ryan Lortie <desrt@desrt.ca> | yes | upstream | 2014-03-04 | |
workarounds/gwakeuptest-Be-less-parallel-unless-invoked-with-m-slow.patch | gwakeuptest: Be less parallel unless invoked with -m slow This is a workaround for test failures on the reproducible-builds infrastructure, where a multi-threaded stress-test sometimes takes longer to finish on x86_64 than it would have done on slow architectures like arm and mips on the official Debian autobuilders. It is not clear why. This change will make this test more likely to pass, but less likely to detect bugs. |
Simon McVittie <smcv@debian.org> | no | debian | 2017-12-18 | |
workarounds/closures-test-Skip-on-arm-unless-flaky-tests-are-allowed.patch | closures test: Skip on arm* unless flaky tests are allowed Choosing the right number of iterations to avoid either taking literally hours on some hardware, or getting spurious failures when one thread starves another, seems to be too hard to get right in practice. Make this test opt-in so that its failures aren't release-critical. We can run it as a separate autopkgtest that is marked flaky. |
Simon McVittie <smcv@debian.org> | not-needed | debian | 2019-01-03 | |
workarounds/Disable-some-tests-on-slow-architectures-which-keep-faili.patch | Disable some tests on slow architectures which keep failing the tests [smcv: Modified to use g_test_skip() instead of omitting those test cases completely, and allow them to be re-enabled with a Debian-specific environment variable] |
Martin Pitt <martin.pitt@ubuntu.com> | no | 2012-09-27 | ||
workarounds/Skip-test-which-performs-some-unreliable-floating-point-c.patch | Skip test which performs some unreliable floating point comparisons [smcv: Modified to use g_test_skip() instead of omitting those test cases completely, and allow them to be re-enabled with a Debian-specific environment variable] |
Iain Lane <laney@debian.org> | no | upstream | 2014-03-18 | |
debian/02_gettext-desktopfiles-ubuntu.patch | Provide backwards compatibility for 01_gettext-desktopfiles.patch for X-{Debian,Ubuntu}-Gettext-Domain Ubuntu-specific. 01_gettext-desktopfiles.patch was changed to use X-GNOME-, so this is necessary until all our .desktop files are converted. |
Martin Pitt <mpitt@debian.org> | no | 2009-02-24 | ||
debian/03_disble_glib_compile_schemas_warning.patch | Disable confusing (to users) warning about deprecated schema paths Disable a warning when compiling schemas which are installed into 'deprecated' locations. Users see this very often due to glib-compile-schemas being called from libglib2.0-0's trigger and it is not very useful for them. |
Iain Lane <iain.lane@canonical.com> | not-needed | 2012-09-10 | ||
gutils-Handle-singletons-in-unlocked-functions.patch | gutils: Handle singletons in unlocked functions Make sure that results of build functions are stored in singletons to avoid creating multiple instances which eventually could leak. (cherry picked from commit 18a7e7b4a2f248d3c70b3f50a56e16003d625d36) |
Michael Catanzaro <mcatanzaro@redhat.com> | yes | upstream | upstream, 2.86.1, commit:bcf4274f4381841f90b7b2ea898190d6fa31e4a5 | 2025-09-16 |
Update-Esperanto-translation.patch | Update Esperanto translation | Kristjan ESPERANTO <kristjan.schmidt@googlemail.com> | no | upstream, 2.86.1, commit:dacbf04a008b2eeceab88c95223944e9f46d743c | 2025-09-16 | |
ghash-Fix-entry_is_big-for-CHERI-architecture.patch | ghash: Fix entry_is_big for CHERI architecture The entry_is_big function checks if an entry fits into a so-called small entry, i.e. into a guint. This optimizes space for hash tables on 64 bit system with hash tables containing 32 bit entries. This code actually checks if the highest 32 bits are set, which would become an issue with CHERI and its 128 bit pointers. |
Tobias Stoeckmann <tobias@stoeckmann.org> | yes | upstream | upstream, 2.86.1, commit:cf97e674abf98fe41f7276400ea75809e27539c9 | 2025-08-25 |
ghash-Handle-all-table-sizes-in-iterator.patch | ghash: Handle all table sizes in iterator A table size of 2**31 cannot be represented in a gint. Adjust RealIter to use a guint for its current position to support the largest power of two possible for a hash table size. This makes sure that g_hash_table_iter_next does not trigger a signed integer overflow, which would eventually lead to an out of boundary read. With input by Philip Withnall. |
Tobias Stoeckmann <tobias@stoeckmann.org> | yes | upstream | upstream, 2.86.1, commit:7367c518f1ed9f06e11c336e0fc28bfb1547a652 | 2025-08-25 |
ghash-Fix-signed-integer-overflow-in-g_hash_table_set_shi.patch | ghash: Fix signed integer overflow in g_hash_table_set_shift Shifting 1 by 31 bits triggers a signed integer overflow. Use 1u for unsigned data type to allow such operation. |
Tobias Stoeckmann <tobias@stoeckmann.org> | yes | upstream | upstream, 2.86.1, commit:f8bda4d10990a1e229fc3c3fd09b263ef6f99288 | 2025-08-25 |
gbookmarkfile-Escape-icon-href-and-mime.patch | gbookmarkfile: Escape icon href and mime If callers supply strings containing unescaped characters for icon href or mime, then dumping the content can lead to corrupted files. |
Tobias Stoeckmann <tobias@stoeckmann.org> | no | upstream, 2.86.1, commit:f795a8a5de943ea764f120a874b202400086c3e4 | 2025-08-28 | |
Update-Ukrainian-translation.patch | Update Ukrainian translation | Yuri Chornoivan <yurchor@ukr.net> | no | upstream, 2.86.1, commit:4310757baac41eab3987a00d01d2a9ebf8e9c25b | 2025-09-05 | |
Update-Catalan-translation.patch | Update Catalan translation | Jordi Mas <jmas@softcatala.org> | no | upstream, 2.86.1, commit:a04e18fc6d85e0b09f292054e5a87eef1e5cf1b6 | 2025-09-05 | |
Update-Lithuanian-translation.patch | Update Lithuanian translation | =?utf-8?q?Aurimas_=C4=8Cernius?= <aurimas.cernius@mailo.com> | no | upstream, 2.86.1, commit:fcaefd2fa6ec3cda415f5b2c4893c461ad017c3d | 2025-09-05 | |
tests-Fix-clang-compilation-warnings.patch | tests: Fix clang compilation warnings With these adjustments, building with clang leads to no warnings: - The "{ NULL }" statement could be replaced with "{ 0 }" to satisfy clang, but this way it's explicitly filling all fields - Even though "i" is not read with these g_array_binary_search calls, it rightfully should be set |
Tobias Stoeckmann <tobias@stoeckmann.org> | no | upstream, 2.86.1, commit:c546ac20d8ec9fe7c52a2a8ebb256c9052710f57 | 2025-09-05 | |
Update-Serbian-translation.patch | Update Serbian translation | =?utf-8?b?0JzQuNC70L7RiCDQn9C+0L/QvtCy0LjRmw==?= <gpopac@gmail.com> | no | upstream, 2.86.1, commit:95f85b7e44c6d689e4bb29b6ad6d351572f645cc | 2025-09-16 | |
gmem-Replace-SIZE_OVERFLOWS-with-g_size_checked_mul.patch | gmem: Replace SIZE_OVERFLOWS with g_size_checked_mul Using the builtin multiplication checks leads to less instructions used for these common functions (true for clang as well as gcc on x86_64). Also, from a C perspective, the result is re-used, making code audits easier. |
Tobias Stoeckmann <tobias@stoeckmann.org> | no | upstream, 2.86.1, commit:ceb5ac4925c0b7beecc9578942d9ecb2c76eb2bb | 2025-09-05 | |
Update-Brazilian-Portuguese-translation.patch | Update Brazilian Portuguese translation | Rafael Fontenelle <rffontenelle@gmail.com> | no | upstream, 2.86.1, commit:9e1241a0d017b0c3db4e5a0771b3ad4eb6d672ae | 2025-09-05 | |
Update-eu-translation.patch | Update eu translation | Asier Saratsua Garmendia <asier.sarasua@gmail.com> | no | upstream, 2.86.1, commit:1177c8eae3ee46bacdc030805dbfc3df3a158193 | 2025-09-06 | |
Update-Korean-translation.patch | Update Korean translation | Changwoo Ryu <cwryu@debian.org> | no | upstream, 2.86.1, commit:89a20f8c5b9f09277481bca7766c113e2a829067 | 2025-09-06 | |
Update-Japanese-translation.patch | Update Japanese translation From https://l10n.gnome.org/vertimus/glib/main/po/ja/ |
Makoto Sakaguchi <ycco34vx@gmail.com> | no | upstream, 2.86.1, commit:5b450a2390bceb0f3fe625d8c8f8bd4495b665a1 | 2025-09-07 | |
Update-Galician-translations.patch | Update Galician translations | Fran Dieguez <fran.dieguez@situm.com> | no | upstream, 2.86.1, commit:31c519a8518c674bd0303ecac7ee71292a480ab8 | 2025-09-08 | |
Update-Hungarian-translation.patch | Update Hungarian translation | =?utf-8?b?QmFsw6F6cyDDmnI=?= | no | upstream, 2.86.1, commit:7a5a7a7133c30de868594698f919c4c638c9c6fe | 2025-09-09 | |
gstrfuncs-Check-string-length-in-g_strescape.patch | gstrfuncs: Check string length in g_strescape If the input string is too large on a 32 bit system, it is possible to trigger an integer overflow which subsequently leads to an out of boundary write. |
Tobias Stoeckmann <tobias@stoeckmann.org> | no | upstream, 2.86.1, commit:b274f829638282a71757620ad226869d9cc4f7df | 2025-09-09 | |
gio-tests-socket-listener-should-depend-on-libdl.patch | `gio/tests/socket-listener` should depend on `libdl` | Uwe Korn <gnome@uwekorn.com> | yes | upstream | upstream, 2.86.1, commit:2b0f5304bdf8804855ca3831d9ac265038442c20 | 2025-09-11 |
gutils-Support-test-env-in-load_user_special_dirs.patch | gutils: Support test env in load_user_special_dirs XDG_CONFIG_DIR and HOME can be overridden with test environments. Read these variables before building them again. It's not possible to call the getter functions directly because the caller of load_user_special_dirs already holds a lock and locking again is undefined behavior and could lead to deadlocks. Separate the functionality out into unlocked functions which definitely have to be static to not expose them. Use them while holding the lock. |
Tobias Stoeckmann <tobias@stoeckmann.org> | no | upstream, 2.86.1, commit:82c83a88712fb6e8ff16e228a6806137058b508b | 2025-09-12 | |
Update-Turkish-translation.patch | Update Turkish translation Approved by Emin Tufan Çetin https://l10n.gnome.org/vertimus/glib/main/po/tr/ |
=?utf-8?q?Sabri_=C3=9Cnal?= <yakushabb@gmail.com> | no | upstream, 2.86.1, commit:25b5bf8ea7faeae2da0910b7791a50926b74fd71 | 2025-09-14 | |
gutils-Only-allow-HOME-in-load_user_special_dirs.patch | gutils: Only allow $HOME in load_user_special_dirs Make sure that the allowed environment variable is actually HOME, not any environment variable starting with HOME, e.g. HOMER. |
Tobias Stoeckmann <tobias@stoeckmann.org> | no | upstream, 2.86.1, commit:2e88bd5fdd76da70571f06ae47246ea13dd64095 | 2025-09-11 | |
gutils-Strip-all-trailing-slahes-in-load_user_special_dir.patch | gutils: Strip all trailing slahes in load_user_special_dirs Do what the comment states and strip all trailing slashes. Also, do not strip the trailing slash if it's the only character left, i.e. if it denotes the root directory. |
Tobias Stoeckmann <tobias@stoeckmann.org> | no | upstream, 2.86.1, commit:43d9e506548a4a00446fa365eb0871d942cb19d0 | 2025-09-11 | |
gutils-Reject-unquoted-entries-in-load_user_special_dirs.patch | gutils: Reject unquoted entries in load_user_special_dirs If the end quote is missing, reject the entry. Please note that this still allows entries with an uneven amount of quotes, e.g. "/"". |
Tobias Stoeckmann <tobias@stoeckmann.org> | no | upstream, 2.86.1, commit:9a2d221e90b5e00062e32b610754a98cc25ed834 | 2025-09-11 | |
gutils-Handle-huge-lines-in-load_user_special_dirs.patch | gutils: Handle huge lines in load_user_special_dirs If a line is longer than G_INTMAX, still treat it correctly without possibly provoking an out of boundary read. |
Tobias Stoeckmann <tobias@stoeckmann.org> | no | upstream, 2.86.1, commit:300722b6c42639891bc37cab0de0e03fb2a9e127 | 2025-09-11 | |
fuzzing-add-special-dirs-fuzzing-test.patch | fuzzing: add special dirs fuzzing test Split custom user-dirs.dirs parser into its own gutilsprivate.c file for easier fuzzing support and add a fuzzing test. |
Tobias Stoeckmann <tobias@stoeckmann.org> | no | upstream, 2.86.1, commit:ed594d819e94ad2f399c9167bfe37f728e1b6544 | 2025-09-15 | |
fuzzing-Fix-fuzz_special_dirs.patch | fuzzing: Fix fuzz_special_dirs Always NUL-terminate the data, which g_file_get_contents does as well. This fixes unnecessary fuzzer warnings. For further clarification of this requirement, rename the internally used function. |
Tobias Stoeckmann <tobias@stoeckmann.org> | yes | upstream | upstream, 2.86.1, commit:0bebad35cf212c759cf6859d171d0655b0d87310 | 2025-09-16 |
get_help-Ignore-width-of-invisible-options.patch | get_help(): Ignore width of invisible options When get_help() gets ready to lay out the help text into columns, it first goes through and computes the max_width of the strings in the left column. Problem is, it measures the width of every available option, whether or not they'll actually be displayed. Instead, let's use the same criteria used when deciding whether to display an option, to decide whether or not to account for it when computing max_width. This way, the layout is sized for the help that's actually being produced. |
"FeRD (Frank Dana)" <ferdnyc@gmail.com> | yes | upstream | upstream, 2.86.1, commit:bff4dcb3d803c73c6601d75fe2d700ee7016af03 | 2025-09-12 |
gtype-Define-copy-and-free-functions-for-GTypeClass-and-G.patch | gtype: Define copy and free functions for GTypeClass and GTypeInterface We have some (deprecated) methods that technically still return transfer-full instances of GTypeClass's and GTypeInterface's. The introspection scanner cannot generate bindings for them though since it does not know how to manage their lifecycle, and we end up skipping these symbols. This is breaking some language bindings, and in particular gjs [1] and lua-lgi, that were using the .ref methods. While we should not use deprecated functions in the language bindings, these symbols should still be introspected. [1] https://gitlab.gnome.org/GNOME/gjs/-/issues/711 |
=?utf-8?b?Ik1hcmNvIFRyZXZpc2FuIChUcmV2acOxbyki?= <mail@3v1n0.net> | yes | 2025-09-10 | ||
gio-tests-Factor-out-connection_wait_for_bus-from-gdbus-s.patch | gio/tests: Factor out connection_wait_for_bus() from gdbus-subscribe | Simon McVittie <smcv@debian.org> | yes | 2025-09-19 | ||
gio-tests-Avoid-a-race-condition.patch | gio/tests: Avoid a race condition We have two things happening in parallel: 1. The GDBus worker thread writes out an AddMatch call to the socket, the message bus reads that method call from the other end of the socket, and the message bus responds by adding the match rule for the signal subscription 2. The main thread forks, and the child execs gdbus-connection-flush-helper, which sends the signal that we are expecting; the message bus receives that signal, and broadcasts it to subscribers, if any Normally (1.) wins the race because exec'ing a child process is more time-consuming than IPC, and the test passes. However, it is possible for (2.) to win the race. If so, we will never receive the expected signal (because it was received by the message bus before the AddMatch() method call, so at the time it was received, the test was not yet a subscriber); the test waits until the timeout and then gives up, and the test fails. For whatever reason, Debian's s390x buildd seems to be reliably failing this test since this week, having previously passed. I don't know what changed. I can (very rarely) reproduce the race condition described above on a developer-accessible s390x machine by repeatedly running the /gdbus/connection/flush test in a loop. |
Simon McVittie <smcv@debian.org> | yes | debian | 2025-09-19 | |
gio-tests-Convert-the-time-to-wait-for-expected-signal-in.patch | gio/tests: Convert the time to wait for expected signal into a constant No functional change. |
Simon McVittie <smcv@debian.org> | yes | 2025-09-19 | ||
gio-tests-Wait-up-to-10-seconds-for-a-signal-to-be-receiv.patch | gio/tests: Wait up to 10 seconds for a signal to be received If the build/test machine is slow, heavily-loaded or otherwise inconvenienced, it might take a few seconds for the signal to be sent by the subprocess, received by the message bus, re-broadcasted by the message bus and received by the test code. Wait a few more seconds before giving up. If this test is successful, increasing this timeout will not slow it only make any difference if the test would have failed. |
Simon McVittie <smcv@debian.org> | yes | 2025-09-19 | ||
01_gettext-desktopfiles.patch | Call gettext if .desktop file does not have inline translations Patch from OpenSUSE via Ubuntu, original author unknown. Martin Pitt and Vincent Untz appear to be the main authors. Reworked slightly by Philip Withnall to avoid exposing new public API for the non-standard keys. |
Philip Withnall <withnall@endlessm.com> | yes | upstream | 2017-11-23 | |
workarounds/Skip-unreliable-gdbus-threading-tests--by-default.patch | Skip unreliable gdbus-threading tests by default test_threaded_singleton() test to reproduce a race condition between last-unref of the global singleton GDBusConnection and g_bus_get_sync(). test_method_calls_in_thread() checks that multiple threads can all make method calls to the same proxy. However, test setup intermittently times out with: # GLib-GIO-DEBUG: run 0: refcount is 2, sleeping Bail out! GLib-GIO-FATAL-ERROR: connection had too many refs The current theory upstream is that this might be a reference leak in test_delivery_in_thread(). Furthermore, test teardown is now often failing when destroying the test bus. Demote these tests to be run as part of the "flaky" autopkgtests, but not at build time or in the part of the autopkgtest run that gates progress into testing. |
Simon McVittie <smcv@debian.org> | no | upstream | 2019-01-04 | |
workarounds/gvariant-test-Don-t-run-at-build-time-on-mips.patch | gvariant test: Don't run at build-time on mips DEB_ALLOW_FLAKY_TESTS is not quite right here, because we don't know that the test would fail if left for long enough - the problem is that it doesn't get there, because generating random floating-point numbers is very slow on some of our mips hardware. However, it has the right practical effect. |
Simon McVittie <smcv@debian.org> | no | upstream | 2019-07-26 | |
workarounds/gdbus-server-auth-Normally-skip-flaky-DBUS_COOKIE_SHA1-te.patch | gdbus-server-auth: Normally skip flaky DBUS_COOKIE_SHA1 tests These intermittently fail on the buildds, but the failure cannot be reproduced in a debugging environment. We do not expect to use D-Bus over TCP on non-Windows platforms: we use an AF_UNIX socket, which is much more robust and secure. However, when using AF_UNIX, DBUS_COOKIE_SHA1 is unnecessary, because we can use the more reliable EXTERNAL authentication. |
Simon McVittie <smcv@debian.org> | not-needed | 2020-11-19 | ||
workarounds/Skip-memory-monitor-dbus-test-if-not-specifically-request.patch | Skip memory-monitor-dbus test if not specifically requested This seems to be unreliable, particularly on non-x86. |
Simon McVittie <smcv@debian.org> | no | debian | 2021-10-24 | |
workarounds/tests-Skip-debugcontroller-test.patch | tests: Skip debugcontroller test This is known to be flaky upstream. |
Simon McVittie <smcv@debian.org> | not-needed | 2022-02-15 | ||
workarounds/testfilemonitor-Skip-if-we-are-avoiding-flaky-tests.patch | testfilemonitor: Skip if we are avoiding flaky tests See https://gitlab.gnome.org/GNOME/glib/issues/1634 |
Simon McVittie <smcv@debian.org> | no | 2020-02-25 | ||
debian/girepository-Describe-the-Debian-specific-cross-prefixed-.patch | girepository: Describe the Debian-specific cross-prefixed names | Simon McVittie <smcv@debian.org> | not-needed | 2024-02-28 |
All known versions for source package 'glib2.0'
- 2.86.0-6 (experimental)
- 2.86.0-5 (forky, sid)
- 2.84.4-3~deb13u1 (trixie)
- 2.84.3-1 (trixie-security)
- 2.74.6-2+deb12u7 (bookworm-proposed-updates, bookworm)
- 2.74.6-2+deb12u6 (bookworm-backports, bookworm-security)