Saturday, October 5, 2019

gtk+2-2.12.9 build

Build packages from source:
atk ????
libdatrie
libthai 0.1.9, needs datrie
freetype 2.1.5 pango, cario?
cairo-1.4.14
glib2 2.14.0 glib-2.0
pango 1.20.0
gtk+2 needs glib-2.0 2.13.5 atk 1.9.0(need to build it) pango 1.17.3 cairo 1.2.0

Memory: 64MB swap (-j1 needs 32MB swap) +16MB RAM
Build time: 16 hours (-j2 was not sane idea)

Installed gtk+2

Started X Window and runned gtk-demo.
Complained allot about missing fonts. All squares. Also fc-chache complained missing function.
https://bugs.freedesktop.org/show_bug.cgi?id=8281
Oh well. XFree86 has his own freetype and fontconfig. Used by default. Removed them
In font.conf added line <dir>/usr/X11R6/lib/X11/fonts</dir>
fc-cache
And now gtk-demo runs fine.
Not sure about rebuilding all again. In order cairo, pango and gtk+2. :D
There are only some files where gcc -O2 is ok, pixbuf is one. Otherwise i think using -Os would be better, less memory usage by binary.



Now what? GIMP, Firefox ?

No comments:

Post a Comment