As of now dev-util/glade-3.10.0 uses same slot "3" as dev-util/glade-3.8.0.
But this versions are very different. In the 3.10.0 support for libglade was dropped in favor of GtkBuilder.
So xml files based on libglade cann't be opened and error appears: (glade:12225): GladeUI-WARNING **: Couldnt recognize GtkBuilder xml, skipping /path/to/file.glade
I think it must be slotted if possible
Steps to Reproduce:
1. Create .glade file with glade <=3.8 using libglade format
2. Try to open this file in newest glade-3.10.0
glade 3.10 fails with error: (glade:12225): GladeUI-WARNING **: Couldnt recognize GtkBuilder xml, skipping /path/to/file.glade
Legacy libglade files can be opened in glade 3.8
That's more or less correct.
Actually, while I'm not 100% if that's still the case, 3.8 and 3.10 were meant to be able to be installed side-by-side.
3.10 drops everything pre-gtk+-3.0 - libglade, deprecated widgets, etc.
Created attachment 274079 [details]
glade-3.10.0 ebuild slotted to "0"
glade-3.10.0 and 3.8.0 are *almost* parallel-installable. The only problem is that their API documentation and gnome help files collide, and to avoid those collisions, we need to do a bit of sedding in the 3.10.0 ebuild. In addition, I believe that the Name fields in the .desktop file should be adjusted so that the user can easily pick the correct version of glade from an application chooser.
Since glade-3.8.0 installs its executable as /usr/bin/glade-3, while glade-3.10.0 use /usr/bin/glade, I believe it's most logical to make glade-3.10.0 slot "0".
The 3.10.0 ebuild incorporating these changes is attached. Note: to use it with the gnome overlay in its current state, you will probably need to override several ebuilds (e.g. libpeas) using a local overlay in order to specify the correct slot dependencies.
Created attachment 274081 [details]
glade-3.8.0 ebuild with versioned .desktop
And for the sake of completeness, here is a glade-3.8.0 ebuild that adjusts the Name parameters in its .desktop file to make it easier to tell which version of glade you are picking in an application selector.
I'm not on the gnome team but it looks like SLOT="3.10" in the gnome overlay by now. If you need more changes applied provided patches (instead of whole ebuilds) may speed things up, just my 2 cents.
This should be fixed in the overlay now. glade-3.10.0-r1 has been slotted to "3.10" and dependencies on glade in other ebuilds have been adjusted.
Dependency must be fixed for dev-libs/libpeas. It depends on dev-util/glade-3.9.1:3
(In reply to comment #6)
> Dependency must be fixed for dev-libs/libpeas. It depends on
Thanks a lot! I see no more problems with it.
3.8 and 3.10 successfully installs and works
This was also solved in main tree