Hi,
We know that Webkit is not available in older systems. For instance in
CentOS 5.11, we are not able to build the iup_webbrowser control.
You can define your subset to simply what you weren't able to build.
There are not much cases like iup_webbrowser, usually only the additional
controls have some limitations like iup_scintilla and iup_mglplot that use
C++ and can be sensible to old compilers.
Best,
Scuri
2018-03-26 5:27 GMT-03:00 sur-behoffski <sur_behoff...@grouse.com.au>:
> G'day,
>
> This is a question possibly for Antonio, however others in the community
> may be able to help.
>
> I'm trying to get IUP working on a Gentoo box -- this combination is
> important to me as the underlying hardware is faster than the other
> boxes (GNU/Linux Mint on laptops) can handle... and I'm hoping to do quite
> a bit of experimentation on some models I have in mind.
>
> Sadly, while I've been able to get IUP working on GNU/Linux Mint,
> simply compiling every thing from the top-level "iup" directory (not
> "iup/src"), I haven't had success with Gentoo with the same setup.
>
> The last lines of the build show that "<webkit/webkit.h>" is not found:
>
> Tecmake: compiling iupgtk_webbrowser.c ...
> gcc -c -Wall -O2 -m64 -fPIC -I../include -I../src -I../src/gtk
> -I/usr/include/webkit-1.0 -I/usr/include/libsoup-2.4
> -I/usr/include/webkitgtk-3.0 -pthread -I/usr/include/gtk-3.0
> -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
> -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include
> -I/usr/include/atk-1.0 -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
> -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -DTEC_UNAME=Linux414_64 -DTEC_SYSNAME=Linux -DLinux=4.14
> -DTEC_LITTLEENDIAN -DTEC_64 -DFUNCPROTO=15 -DNDEBUG -o
> ../obj/iupweb/Linux414_64/iupgtk_webbrowser.o iupgtk_webbrowser.c
> iupgtk_webbrowser.c:9:27: fatal error: webkit/webkit.h: No such
> file or directory
> #include <webkit/webkit.h>
> ^
> compilation terminated.
>
> First, using "locate" to search for similar-ish filenames produces:
>
> $locate webkit.h
> /usr/include/wx-3.0/wx/gtk/webview_webkit.h
> /usr/include/wx-3.0/wx/gtk/webviewhistoryitem_webkit.h
>
> Second, using "eix" to search Gentoo's Portage package database, for both
> installed and uninstalled packages, produces only one hit relating to
> "webkit-gtk" (and a few more relating to Qt, which is not relevant here, as
> we're using GTK 3.x):
>
> $ eix webkit-gtk
> [I] net-libs/webkit-gtk
> Available versions: (4) 2.18.6(4/37)^t
> {+X aqua coverage doc +egl +geolocation gles2 gnome-keyring
> +gstreamer +introspection +jit libnotify nsplugin +opengl spell test
> wayland +webgl}
> Installed versions: 2.18.6(4)^t(17:45:05 03/25/18)(X egl
> geolocation gstreamer introspection jit libnotify nsplugin opengl spell
> webgl -aqua -coverage -doc -gles2 -gnome-keyring -test -wayland)
> Homepage: http://www.webkitgtk.org/
> Description: Open source web browser engine
>
> At this stage, the gap between the found header files and what IUP is
> expecting (Ubuntu/Mint - style), seems to be too hard to reconcile
> quickly...
>
> ------------------------
>
> SO: The documentation for IUP notes that building from the top-level
> directory, not from any specific "src" directory, means that it's possible
> for only a subset of IUP be built, as might be sufficient for a project.
>
> The question is: What are appropriate subsets? Can anyone point me in
> the direction of groups of packages? Also, how would such collections be
> labelled? One possible simple naming/grouping scheme might be:
>
> "small" == ...
> "medium" == "small" + ...
> "large" == "medium" + ...
> "huge" == "large" + ...
>
> Alternately, groups might be packaged using functional names/groups. In
> any case, there might be opportunities to explicitly exclude packages such
> as webkit, if it does not invalidate the integrity of the overall IUP
> package.
>
> ------------------------
>
> Any help/suggestions on bundles (name + IUP sub-package list) that results
> in a functional IUP component would be gratefully received.
>
> cheers,
>
> sur-behoffski (Brenton Hoff)
> programmer, Grouse Software
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users