FS#76224 - [smalltalk]: gst-browser (GTK GUI) does not start
Attached to Project:
Community Packages
Opened by bill-auger (bill-auger) - Monday, 17 October 2022, 02:56 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 26 October 2022, 23:25 GMT
Opened by bill-auger (bill-auger) - Monday, 17 October 2022, 02:56 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 26 October 2022, 23:25 GMT
|
Details
Description:
gst-browser (GTK GUI) does not start Additional info: community/smalltalk 3.2.91-11 Steps to reproduce: $ sudo pacman -Sy smalltalk $ gst-browser Object: PackageLoader class error: Invalid argument GTK: package not found i discovered the cause of it; but i believe that deserves a separate bug report |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Wednesday, 26 October 2022, 23:25 GMT
Reason for closing: Implemented
Additional comments about closing: Removed gst-browser, added SDL and GL.
Wednesday, 26 October 2022, 23:25 GMT
Reason for closing: Implemented
Additional comments about closing: Removed gst-browser, added SDL and GL.
FS#762252. Did you check the optional deps pacman told you about when you installed the package?
FS#76225- important files are missing: GTK.star and gst-gtk-3.2.92.soconfigure:21999: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.3"
Package gobject-introspection-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-introspection-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gobject-introspection-1.0', required by 'virtual:world', not found
configure:22002: $? = 1
configure:22017: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.3"
Package gobject-introspection-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-introspection-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gobject-introspection-1.0', required by 'virtual:world', not found
configure:22020: $? = 1
Package 'gobject-introspection-1.0', required by 'virtual:world', not found
configure:22048: result: no
configure:22060: checking whether to install GObject-Introspection
configure:22121: result: no
configure:22170: checking for pkg-config
configure:22206: result: /usr/bin/pkg-config
configure:22228: checking for GTK+ - version >= 2.0.0
configure:22498: result: no
configure:22526: gcc -o conftest -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protectio
n -fcf-protection -flto=auto -ffat-lto-objects -Wl,--allow-multiple-definition -w -Wall -Wdeclaration-after-statement -Wno-format -Wpointer-arith -Wno-pointer-sign -Wno-switch -Wwrite-string
s -Wno-strict-aliasing -fno-gcse -fstrict-aliasing -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto conftest.c -lm >&5
conftest.c:191:10: fatal error: gtk/gtk.h: No such file or directory
191 | #include <gtk/gtk.h>
| ^~~~~~~~~~~
compilation terminated.
FS#76225makedepends+=(freeglut glew glu libepoxy libglvnd mesa) # at least one of these is necessary for openGL support
makedepends+=(gtkmm3 glade gtk2 gtksourceview3) # at least one of these is necessary for GTK support
i will leave it to the package maintainer to reduce that set; and maybe figure out what else is needed - based on the configure log, my guess is that gtk2 is the important one for gst-browser, and should probably be an optdepends also
| checking for GTK+ - version >= 2.0.0... yes (version 2.24.33)
WRT DBD-PostgreSQL.star, this is the only clue i saw
| checking for PQconnectdb in -lpq... no
| checking whether to install DBD-PostgreSQL... no
| checking whether to run PostgreSQL tests... no
i noticed it complained that SDL support would not be built - maybe SDL could be supported also
| checking whether to install LibSDL... no
| checking whether to install LibSDL_GL... no
| checking whether to install CairoSDL... no
| checking for IMG_Linked_Version in -lSDL_image... no
| checking whether to install LibSDL_image... no
| checking for Mix_Linked_Version in -lSDL_mixer... no
| checking whether to install LibSDL_mixer... no
| checking for Sound_GetLinkedVersion in -lSDL_sound... no
| checking whether to install LibSDL_sound... no
| checking for TTF_Init in -lSDL_ttf... no
| checking whether to install LibSDL_ttf... no
GTK2 has reached its end of life around 2 years ago. I tried building the package with gtk2-compat (pretends to be gtk2 at compile time, but uses gtk3 at runtime), but it did not work out.
Adding support for SDL (SDL2, if possible) and OpenGL to the package would be nice.
Thanks for communicating issues to upstream: https://lists.gnu.org/archive/html/help-smalltalk/2022-10/threads.html
One option is to add gtk2 as a dependency (but it has reached its end of life), another is to wait for a new release from upstream (but that could take years). Yet another could be to move smalltalk to AUR. I'm contemplating what the best option would be.
Object: Namespace new: 32 "<0x7f187c821c20>" error: Invalid argument
#GtkTreeModel: key not found
^CObject: Gtk error: did not understand #gtkWindowToplevel
i have an install that i compiled from source about 18 months ago, and that still works perfectly, with an up-to-date system - either i have some unspecified runtime dependency installed, or some build dependency that i had installed 18 months ago, has regressed
pragmatically speaking o/c, EOL or not, the 'gtk2' package still has 139 dependents in the arch repos - so as far as arch is concerned, it is still very much "alive" - though, some activity upstream is overdue - perhaps you would try to contact the upstream maintainer, to ask if there is any plan to migrate to GTK3
another point to consider, is that the GTK support is not strictly essential - if is only needed for GUI applications (like the GTK bindings for python, ruby, etc) - smalltalk itself would probably continue working indefinitely (ie: instead of moving it to AUR, this bug could also be fixed by disabling GTK support, so that the broken IDE is not built)
Please test if smalltalk-3.2.91-12 is an improvement.