Outdated version of libglib2.0-dev in Ubuntu Jammy

Bug #2002212 reported by Bajcsi Elias-Robert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glib2.0 (Ubuntu)
Won't Fix
Wishlist
Unassigned

Bug Description

The version of libglib2.0-dev that is currently included in the repositories for Ubuntu is 2.72.1-1, which is outdated and missing important features and bug fixes. In particular, the G_APPLICATION_DEFAULT_FLAGS macro, which was added in GTK+ 3.22, is not available in this version of libglib2.0-dev. This is causing issues with my application, which requires the use of this macro.

I request that the package be updated to the latest version (currently 2.74) in order to resolve this issue.

Steps to reproduce:
  1. Install libglib2.0-dev version 2.72.1-1 on an Ubuntu system
  2. Attempt to compile an application that uses the G_APPLICATION_DEFAULT_FLAGS macro
  3. Observe the compilation error due to the missing macro

Expected result:
The application compiles successfully and can be run.

Actual result:
The application fails to compile due to the missing G_APPLICATION_DEFAULT_FLAGS macro.

Release:
  Description: Ubuntu 22.04.1 LTS
  Release: 22.04

Using version:
2.72.1-1

Requested version:
2.74(+)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Updating to a new major serie of glib isn't going to be done as a stable update because that wouldn't be a safe update and might create build or runtime issues for existing software.
You probably want to update your code to be compatible with older version of glib since that's what most users will still have today, use G_APPLICATION_FLAGS_NONE instead of the new default flag for example

Changed in glib2.0 (Ubuntu):
importance: Undecided → Wishlist
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.