In the last 12 months I have seen nothing about planned GTK4 support for Gentoo. I had installed GTK4 on my box from git sources to /opt as I needed it to test the example code for the GTK4 book: http://ssalewski.de/gtkprogramming.html Now that GTK4 is officially released, is there a plan to support it by Gentoo? If not, what would you suggest? Boot Arch Linux for GTK4 dev? The Gtk devs seems to recomment "Flatpack", see https://discourse.gnome.org/t/developing-over-gtk-without-installation/5250 Reproducible: Always Steps to Reproduce: 1. emerge -av gtk4 2. 3. Actual Results: emerge: there are no ebuilds to satisfy "gtk4". Expected Results: Gtk4 is successfully installed.
Assigning to current x11-libs/gtk+ maintainers.
This is going to just be another SLOT for gtk. However, because we'd ideally want to also slotmove it to gui-libs/gtk, which would be too large of an endeavor, we will just put any new slots in the new location as a clean break. So there will be a gui-libs/gtk:4 (or maybe :4.0, depending what the pkg-config file is and a decision from there), while we keep the rest in x11-libs/gtk+:3 and x11-libs/gtk+:2 for the time being. Also note the removed + sign in the new package name. The meson port of gtk3 might be a good starting basis for gtk4 ebuild. I think David actually also did a gtk4 ebuild, but I can't find it immediately. For me personally, I consider the pango news item and getting the pango bump unmasked a soft blocker for working on gtk:4 ebuild myself, as it requires the newer pango and getting newer pango done has to get done anyways, so that'd be my order of work over adding a p.masked gtk4 first.
The referenced initial meson ebuild port contribution for gtk3 is https://754312.bugs.gentoo.org/attachment.cgi?id=671272 - can't find if a gtk4 one was made. David, if you did make one, maybe you can attach it here (but no worries if you didn't and feel free to unCC yourself).
I attached it to a Pango update (bug #754402) to test it during RCs. I haven't updated it since, though (and I noticed I forgot to change SLOT to 4). https://754402.bugs.gentoo.org/attachment.cgi?id=671437
kde-plasma/breeze-gtk has theme support for GTK4 based applications starting with KDE Plasma 5.21.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02f3b2375d264b550997dc52a0d5698e9f316c8 commit c02f3b2375d264b550997dc52a0d5698e9f316c8 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-04-04 23:21:47 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-04-05 16:54:21 +0000 profiles: Mask gui-libs/gtk4 and dependent GNOME bits Bug: https://bugs.gentoo.org/764266 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/package.mask | 7 +++++++ 1 file changed, 7 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e0918a0dd95df4bb77ddf004693dacab208698e commit 6e0918a0dd95df4bb77ddf004693dacab208698e Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-04-01 03:50:02 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-04-05 16:54:19 +0000 gui-libs/gtk: Add new package Bug: https://bugs.gentoo.org/764266 Signed-off-by: Matt Turner <mattst88@gentoo.org> gui-libs/gtk/Manifest | 1 + gui-libs/gtk/gtk-4.2.0.ebuild | 178 ++++++++++++++++++++++++++++++++++++++++++ gui-libs/gtk/metadata.xml | 20 +++++ 3 files changed, 199 insertions(+)
1. "${EROOT}${GLIB_COMPILE_SCHEMAS}" is called in src_test(). It should be "${BROOT}${GLIB_COMPILE_SCHEMAS}", and add BDEPEND="test? ( dev-libs/glib:2 )". 2. weston is called in src_test(). Add BDEPEND="test? ( wayland? ( dev-libs/weston ) )". 3. sys-devel/gettext and fonts (media-fonts/*) in DEPEND are suspicious. Probably they should be only in BDEPEND. (sys-devel/gettext has some headers and libraries. When its headers are used, libraries are usually also needed, and then sys-devel/gettext would be needed in DEPEND+RDEPEND.)
4. !<x11-libs/vte-0.31.0:2.90 blocker (and 2 comments about x11-libs/vte) are not needed. That slot of x11-libs/vte was specific to x11-libs/gtk+:3.
5. DESCRIPTION="Gimp ToolKit +" is obsolete :) .
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd3a44934421b51c846688ae0143702a57f94005 commit fd3a44934421b51c846688ae0143702a57f94005 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-05-01 03:29:39 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-05-01 03:35:44 +0000 profiles: Unmask gui-libs/gtk:4 and reverse dependencies Closes: https://bugs.gentoo.org/764266 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/package.mask | 9 --------- 1 file changed, 9 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48403d1dcd09eaea89414e640b04d5e6224309c8 commit 48403d1dcd09eaea89414e640b04d5e6224309c8 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-05-01 03:34:29 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-05-01 03:35:43 +0000 gui-libs/gtk: Apply suggested improvements Bug: https://bugs.gentoo.org/764266 Suggested-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Matt Turner <mattst88@gentoo.org> gui-libs/gtk/gtk-4.2.0.ebuild | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-)