Regarding Test Case 1 - gtk4-demo on containers (running on WSL in my
case), installing libgtk-4-1 from noble-proposed pulls out libgles2:

```
s@DESKTOP-551PQ9O:/mnt/c/Users/User$ sudo apt install libgtk-4-1/noble-proposed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Selected version '4.14.5+ds-0ubuntu0.1' (Ubuntu:24.04/noble-proposed [amd64]) 
for 'libgtk-4-1'
Selected version '4.14.5+ds-0ubuntu0.1' (Ubuntu:24.04/noble-proposed [all]) for 
'libgtk-4-common' because of 'libgtk-4-1'
The following package was automatically installed and is no longer required:
  fonts-cantarell
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libgles2 libgtk-4-common
Suggested packages:
  gvfs
The following packages will be REMOVED:
  gtk-4-examples
The following NEW packages will be installed:
  libgles2
The following packages will be upgraded:
  libgtk-4-1 libgtk-4-common
```

I tried running gtk4-demo before and after enabling proposed and the
behaviour matched the expectation: crash before due missing libgles2 and
success after enabling proposed and installing gtk4 packages from there
due the explicit dependency being acknowledged.

Regarding test 2, I ran the following commands on Ubuntu Desktop
(24.04.2):

```
git ubuntu clone gtk4
cd gtk4/testsuite/gtk
sudo apt install libgtk-4-dev
git checkout pkg/ubuntu/noble-proposed
gcc -o notify notify.c $(pkgconf --cflags --libs gtk4 gtk4-unix-print)
./notify
```

The notify binary succeeded when I changed my date to Jan 31. To make
sure it would fail without the patches herein requested, I checked out
the previous version of noble-proposed and it did fail:

```

...
# Checking GtkButton:can-shrink
ok 204 /Notification/GtkButton
ok 205 /Notification/GtkButtonsType
not ok /Notification/GtkCalendar - Gtk-FATAL-CRITICAL: gtk_calendar_set_month: 
assertion 'date != NULL' failed
Bail out!
zsh: trace trap (core dumped)  ./notify
```

Tests 3 and 4 also succeed as expected with libgtgk-4-1 from noble-
proposed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2109978

Title:
  [SRU] Update gtk4 to 4.14.5 for Noble

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk4/+bug/2109978/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to