Closed Bug 1653950 Opened 5 years ago Closed 5 years ago

Bump glib version requirement

Categories

(Core :: Widget: Gtk, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: rmader, Assigned: rmader)

Details

Attachments

(1 file, 1 obsolete file)

We still support glib versions not having this - so silence a bunch of warnings by replacing it with slightly longer code.

We still support glib versions not having this - so silence a bunch of
warnings by replacing it with slightly longer code.

Assignee: nobody → robert.mader
Status: NEW → ASSIGNED

The upgrade of build machines to Debian 8, I assume means the build is now against libglib2.0-0 2.42.1-1+deb8u3.

GTK version for build has increased and systems with GTK 3.14 need at least GLib 2.41.2, so it's appropriate to increase GLIB_VERSION_MIN_REQUIRED to GLIB_VERSION_2_42.

g_clear_pointer() is available from version 2.34.

Attachment #9164673 - Attachment is obsolete: true
Summary: Replace g_clear_pointer with backward compatible version → Bump glib version requirement

We already inherit a minimum version of 2.41.2 through GTK 3.14.
This silences some build warnings.

Karl, I suppose we need to make sure this gets updated in docs etc.?

Flags: needinfo?(karlt)

Ryan, system requirements for GTK were updated in https://bugzilla.mozilla.org/show_bug.cgi?id=1634204#c22.
The GLib build requirement update here is already implicit in that (2.41 is the pre-release versioning for the 2.42 release), but the GLib 22.2 requirement on https://www.mozilla.org/en-US/firefox/78.0.2/system-requirements/ is therefore unnecessary.

Similarly, Pango 1.22 is very old and GTK 3.14 requires Pango 1.36.7, so the Pango requirement also need not be specified.

Are you the best person to contact re getting the Pango and GTK requirements removed from future system-requirements pages?

Flags: needinfo?(karlt) → needinfo?(ryanvm)

Meh, updated.

Flags: needinfo?(robert.mader)

(In reply to Karl Tomlinson (:karlt) from comment #6)

the GLib 22.2 requirement [...] is therefore unnecessary.
the Pango requirement also need not be specified.

I've removed both from the Fx78+ system requirements. Should show up on the live site in the next 15-20min.

Flags: needinfo?(ryanvm)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: