1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2026-03-07 05:10:22 +00:00
Low-level core library that forms the basis for projects such as GTK and GNOME.
Find a file
Philip Withnall 219ece985d Merge branch 'update-translation-pt_BR-from-main' into 'main'
Update Brazilian Portuguese translation

See merge request GNOME/glib!5069
2026-03-06 20:35:04 +00:00
.gitlab-ci ci: Install gi-docgen in the Fedora CI image 2026-02-26 13:37:27 +00:00
.reuse Docs: Migrate gvariant-*.svg licenses to comments 2025-10-16 19:37:00 +00:00
build-aux Merge branch 'compilation-fixes' into 'main' 2026-02-10 19:18:53 +00:00
docs Merge branch 'glib-platform-break' into 'main' 2026-01-26 06:48:20 +01:00
fuzzing Use test-profile-dep in tests 2026-01-30 12:07:21 +01:00
gio Merge branch '3897-set-symlink' into 'main' 2026-03-03 10:09:03 -06:00
girepository Fix const qualifiers where discarded 2026-02-23 11:44:02 +00:00
glib Merge branch 'localtime-tests-runtime' into 'main' 2026-03-02 15:45:57 +00:00
gmodule Fix const qualifiers where discarded 2026-02-23 11:44:02 +00:00
gobject Minor documentation Markdown/gi-docgen fixes 2026-02-26 14:14:30 +00:00
gthread Use test-profile-dep in tests 2026-01-30 12:07:21 +01:00
LICENSES REUSE: Add missing AFL-2.0 and CC-BY-SA-3.0 texts 2025-10-16 19:37:00 +00:00
m4macros m4macros: drop unused m4 files 2023-07-30 17:03:07 +04:00
po Merge branch 'update-translation-pt_BR-from-main' into 'main' 2026-03-06 20:35:04 +00:00
subprojects pcre2.wrap: Add a patch to fix the iOS build 2026-02-03 16:44:36 +05:30
tests Tests: do not set a timeout in Python tests 2025-08-04 10:47:50 +02:00
tools Revert "tools: Add script to create UAC manifests for Windows" 2025-11-20 11:00:59 +01:00
.clang-format .clang-format: update coding conventions url 2025-08-09 18:32:40 +01:00
.dir-locals.el Add .dir-locals.el to tell Emacs users not to use tabs for C 2012-07-30 04:09:08 -04:00
.editorconfig docs: Add .editorconfig file 2021-10-28 14:47:53 +01:00
.gitignore pcre2.wrap: Add a patch to fix the iOS build 2026-02-03 16:44:36 +05:30
.gitlab-ci.yml ci: Install gi-docgen in the Fedora CI image 2026-02-26 13:37:27 +00:00
.gitmodules build: Bump gvdb subproject dependency and disable tests 2024-09-12 21:15:42 +01:00
.lcovrc lcov: Fix use of deprecated lcov_branch_coverage option 2024-09-28 22:38:00 +01:00
CODE_OF_CONDUCT.md docs: Update Code of Conduct URI 2024-04-12 20:36:29 +01:00
CONTRIBUTING.md docs: Mention how to run the test suite in CONTRIBUTING.md 2025-04-12 18:32:09 +01:00
COPYING docs: Add all used licenses in a REUSE-compatible directory 2022-05-17 17:23:34 +01:00
glib.doap docs: Add Luca Bacci as a co-maintainer of the Windows code 2025-09-05 14:18:08 +01:00
INSTALL.md docs: Stop mentioning outdated C versions in various docs 2025-02-04 16:01:44 +00:00
meson.build 2.87.3 2026-02-25 11:39:48 +00:00
meson.options build: Make the sysprof feature yield 2025-06-07 23:53:19 -04:00
NEWS 2.87.3 2026-02-25 11:39:48 +00:00
README.md docs: Clarify link in README.md 2024-08-29 08:58:36 +01:00
SECURITY.md Expand security policy to cover previous stable branch 2023-10-03 09:12:37 +01:00

GLib

GLib is the low-level core library that forms the basis for projects such as GTK and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.

The official download locations are: https://download.gnome.org/sources/glib

The official web site is: https://www.gtk.org/

Installation

See the file INSTALL.md. There is separate and more in-depth documentation for building GLib on Windows.

Supported versions

Upstream GLib only supports the most recent stable release series, the previous stable release series, and the current development release series. All older versions are not supported upstream and may contain bugs, some of which may be exploitable security vulnerabilities.

See SECURITY.md for more details.

Documentation

API documentation is available online for GLib for the:

Discussion

If you have a question about how to use GLib, seek help on GNOMEs Discourse instance. Alternatively, ask a question on StackOverflow and tag it glib.

Reporting bugs

Bugs should be reported to the GNOME issue tracking system. You will need to create an account for yourself. You may also submit bugs by e-mail (without an account) by e-mailing incoming+gnome-glib-658-issue-@gitlab.gnome.org, but this will give you a degraded experience.

Bugs are for reporting problems in GLib itself, not for asking questions about how to use it. To ask questions, use one of our discussion forums.

In bug reports please include:

  • Information about your system. For instance:
    • What operating system and version
    • For Linux, what version of the C library
    • And anything else you think is relevant.
  • How to reproduce the bug.
    • If you can reproduce it with one of the test programs that are built in the tests/ subdirectory, that will be most convenient. Otherwise, please include a short test program that exhibits the behavior. As a last resort, you can also provide a pointer to a larger piece of software that can be downloaded.
  • If the bug was a crash, the exact text that was printed out when the crash occurred.
  • Further information such as stack traces may be useful, but is not necessary.

Contributing to GLib

Please follow the contribution guide to know how to start contributing to GLib.

Patches should be submitted as merge requests to gitlab.gnome.org. Note that you will need to be logged in to the site to use this page. If the patch fixes an existing issue, please refer to the issue in your commit message with the following notation (for issue 123):

Closes: #123

Otherwise, create a new merge request that introduces the change. Filing a separate issue is not required.