Added another 16MB RAM. Two 8 MB SIMMs.
Only way now to add more is to use 16MB memory sticks.
Sunday, October 13, 2019
Thursday, October 10, 2019
AbiWord 2.0.14 (1)
Latest version is 3.0.2 from 2016
Gitlab has newer version but it needs gtk+3.
https://gitlab.gnome.org/World/AbiWord/commits/master
Needs fribidi-0.10.9. Built it.
I will use 2.0.14 version of AbiWord.
Build time: 22 hours.
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x40036000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x402fb000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40402000)
libz.so.1 => /lib/libz.so.1 (0x40454000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x40467000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x404d7000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x404ec000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x40500000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4050a000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x40545000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x405b9000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x405f1000)
libdl.so.2 => /lib/libdl.so.2 (0x405f5000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x405fa000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x406b4000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x406bc000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x406d3000)
libm.so.6 => /lib/libm.so.6 (0x4079e000)
libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x407c1000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x407d1000)
libpopt.so.0 => /usr/lib/libpopt.so.0 (0x40802000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x4080a000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4081b000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x4088a000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40892000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x408b8000)
librt.so.1 => /lib/librt.so.1 (0x408bc000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x408cf000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x4099d000)
libc.so.6 => /lib/libc.so.6 (0x409a6000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x40ac3000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x40acb000)
/lib/ld-linux.so.2 (0x40000000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40ad6000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40ada000)
libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x40ae2000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40ae5000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x40af4000)
libexpat.so.0 => /usr/X11R6/lib/libexpat.so.0 (0x40b1c000)
Gitlab has newer version but it needs gtk+3.
https://gitlab.gnome.org/World/AbiWord/commits/master
System Requirements
- GTK+ 2.12 or newer
- At least 16MB RAM (embedded systems probably won't require more than 8)
Needs fribidi-0.10.9. Built it.
I will use 2.0.14 version of AbiWord.
Download
wget https://www.abisource.com/downloads/abiword/2.0.14/source/abiword-2.0.14.tar.gz
Build time: 22 hours.
ldd AbiWord-2.0libglade-2.0.so.0 => /usr/lib/libglade-2.0.so.0 (0x40020000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x40036000)
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x402fb000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40402000)
libz.so.1 => /lib/libz.so.1 (0x40454000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x40467000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x404d7000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x404ec000)
libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x40500000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x4050a000)
libcairo.so.2 => /usr/lib/libcairo.so.2 (0x40545000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x405b9000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x405f1000)
libdl.so.2 => /lib/libdl.so.2 (0x405f5000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x405fa000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x406b4000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x406bc000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x406d3000)
libm.so.6 => /lib/libm.so.6 (0x4079e000)
libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x407c1000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x407d1000)
libpopt.so.0 => /usr/lib/libpopt.so.0 (0x40802000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x4080a000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4081b000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x4088a000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x40892000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x408b8000)
librt.so.1 => /lib/librt.so.1 (0x408bc000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x408cf000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x4099d000)
libc.so.6 => /lib/libc.so.6 (0x409a6000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x40ac3000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x40acb000)
/lib/ld-linux.so.2 (0x40000000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40ad6000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40ada000)
libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x40ae2000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40ae5000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x40af4000)
libexpat.so.0 => /usr/X11R6/lib/libexpat.so.0 (0x40b1c000)
X Window System: X.org (3)
X.Org
There is no X Window present in system. I renamed all folders.compile package and install:
12.1 ver Slackware source
d/pkg-config
install it
x/x11
build proto
installpkg *
-rw-r--r-- 1 root root 7220 2019-09-14 03:49 compositeproto-0.4-noarch-1.tgz
-rw-r--r-- 1 root root 5481 2019-09-14 03:49 damageproto-1.1.0-noarch-1.tgz
-rw-r--r-- 1 root root 4390 2019-09-14 03:49 dmxproto-2.2.2-noarch-1.tgz
-rw-r--r-- 1 root root 2462 2019-09-14 03:50 evieext-1.0.2-noarch-1.tgz
-rw-r--r-- 1 root root 3727 2019-09-14 03:50 fixesproto-4.0-noarch-1.tgz
-rw-r--r-- 1 root root 2802 2019-09-14 03:50 fontcacheproto-0.1.2-noarch-1.tgz
-rw-r--r-- 1 root root 10074 2019-09-14 03:51 fontsproto-2.0.2-noarch-1.tgz
-rw-r--r-- 1 root root 21378 2019-09-14 03:51 glproto-1.4.9-noarch-1.tgz
-rw-r--r-- 1 root root 13646 2019-09-14 03:52 inputproto-1.4.3-noarch-1.tgz
-rw-r--r-- 1 root root 24512 2019-09-14 03:52 kbproto-1.0.3-noarch-1.tgz
-rw-r--r-- 1 root root 8715 2019-09-14 03:52 printproto-1.0.4-noarch-1.tgz
-rw-r--r-- 1 root root 19869 2019-09-14 03:53 randrproto-1.2.1-noarch-1.tgz
-rw-r--r-- 1 root root 4127 2019-09-14 03:53 recordproto-1.13.2-noarch-1.tgz
-rw-r--r-- 1 root root 16887 2019-09-14 03:54 renderproto-0.9.3-noarch-1.tgz
-rw-r--r-- 1 root root 1470 2019-09-14 03:54 resourceproto-1.0.2-noarch-1.tgz
-rw-r--r-- 1 root root 3505 2019-09-14 03:54 scrnsaverproto-1.1.0-noarch-1.tgz
-rw-r--r-- 1 root root 13937 2019-09-14 03:55 trapproto-3.4.3-noarch-1.tgz
-rw-r--r-- 1 root root 7535 2019-09-14 03:55 videoproto-2.2.2-noarch-1.tgz
-rw-r--r-- 1 root root 1968 2019-09-14 03:55 xcmiscproto-1.1.2-noarch-1.tgz
-rw-r--r-- 1 root root 38006 2019-09-14 03:56 xextproto-7.0.2-noarch-1.tgz
-rw-r--r-- 1 root root 1987 2019-09-14 03:56 xf86bigfontproto-1.1.2-noarch-1.tgz
-rw-r--r-- 1 root root 4617 2019-09-14 03:57 xf86dgaproto-2.0.3-noarch-1.tgz
-rw-r--r-- 1 root root 7824 2019-09-14 03:57 xf86driproto-2.0.3-noarch-1.tgz
-rw-r--r-- 1 root root 2981 2019-09-14 03:57 xf86miscproto-0.9.2-noarch-1.tgz
-rw-r--r-- 1 root root 2186 2019-09-14 03:58 xf86rushproto-1.1.2-noarch-1.tgz
-rw-r--r-- 1 root root 4659 2019-09-14 03:58 xf86vidmodeproto-2.2.2-noarch-1.tgz
-rw-r--r-- 1 root root 3333 2019-09-14 03:58 xineramaproto-1.1.2-noarch-1.tgz
-rw-r--r-- 1 root root 76632 2019-09-14 04:00 xproto-7.0.12-noarch-1.tgz
-rw-r--r-- 1 root root 2077 2019-09-14 04:01 xproxymanagementprotocol-1.0.2-noarch-1.tgz
-
to build in data you need:
./x11.Build app xkbcomp
./x11.Build app xkbcomp
No package 'x11' found
No package 'xkbfile' found
Skip that for now
Start bulding ./buld utils
install them:
-rw-r--r-- 1 root root 3201 2019-09-14 05:02 gccmakedep-1.0.2-noarch-1.tgz
-rw-r--r-- 1 root root 28211 2019-09-14 05:04 imake-1.0.2-i486-1.tgz
-rw-r--r-- 1 root root 6667 2019-09-14 05:05 lndir-1.0.1-i486-1.tgz
-rw-r--r-- 1 root root 17403 2019-09-14 05:07 makedepend-1.0.1-i486-1.tgz
-rw-r--r-- 1 root root 5665 2019-09-14 05:08 util-macros-1.1.6-noarch-1.tgz
-rw-r--r-- 1 root root 227374 2019-09-14 05:08 xorg-cf-files-1.0.2-noarch-1.tgz
install them:
-rw-r--r-- 1 root root 3201 2019-09-14 05:02 gccmakedep-1.0.2-noarch-1.tgz
-rw-r--r-- 1 root root 28211 2019-09-14 05:04 imake-1.0.2-i486-1.tgz
-rw-r--r-- 1 root root 6667 2019-09-14 05:05 lndir-1.0.1-i486-1.tgz
-rw-r--r-- 1 root root 17403 2019-09-14 05:07 makedepend-1.0.1-i486-1.tgz
-rw-r--r-- 1 root root 5665 2019-09-14 05:08 util-macros-1.1.6-noarch-1.tgz
-rw-r--r-- 1 root root 227374 2019-09-14 05:08 xorg-cf-files-1.0.2-noarch-1.tgz
Next,
Start bulding ./buld xbc
istall
-rw-r--r-- 1 root root 33601 2019-09-14 05:27 xcb-proto-1.0-noarch-1.tgz
configure: error: Package requirements (xau pthread-stubs) were not met:
No package 'xau' foundNo package 'pthread-stubs' found
Start bulding ./buld xserver
pixman missing
build lib pixman
memory fail, add 16MB swap. build again.fail.32 MB,
make spawns 7 sh builds for cc1, no wonder that it failed.
whay? changed build script to not include -j 7 option. :D
fails /usr/bin/ld: cannot find -lgtk-x11-2.0
ffs lets buld gtk and gtk2. at the start fail.
ok.
lets do
libXau
xtrans
make lib libpthread
xcb -> still prbolems->sh: dot: command not found when building docs ->but we have lib
make lib libX11 "-O2"
X11 will be built with the following settings:
Loadable i18n module support: no
Loadable xcursor library support: yes
Use XCB: yes
Threading support: yes
Use Threads safe API: yes
Threads stubs in libX11: no
XCMS: yes
Internationalization support: yes
XF86BigFont support: yes
XKB support: yes
XLOCALEDIR environment variable support: yes
Manual pages suffix: none
Compose table cache enabled: yes
make lib libX11 "-Os"
make lib libX11 "-Os.Min"
disable XF86BigFont, ipv6,man pages
X11 will be built with the following settings:
Loadable i18n module support: no
Loadable xcursor library support: yes
Use XCB: yes
Threading support: yes
Use Threads safe API: yes
Threads stubs in libX11: no
XCMS: yes
Internationalization support: yes
XF86BigFont support: no
XKB support: yes
XLOCALEDIR environment variable support: yes
Manual pages suffix: none
Compose table cache enabled: yes
build lib libXext
XEXT not found. hmmm.
export PKG_CONFIG_PATH=/usr/lib/pkgconfig/:$PKG_CONFIG_PATH
export PKG_CONFIG=/usr/bin/
and build again., oh well, libXdmcp was not built and pkg config listed it as missing,
pkg-config --exists --print-errors "xproto x11 xextproto xau"
it gives errors. after build and install its ok.
rebuild libX11, then libXext
Use this order:
https://cgit.freedesktop.org/xorg/util/modular/tree/build.sh?h=X11R7.6
build lib libxtrans +
build lib libXau +
build lib libXdmcp +
build xcb pthread-stubs +
build xcb libxcb +
build xcb util +
build lib libX11 +
build lib libXext +
build lib libdmx +//DMX − X Window System DMX (Distributed Multihead X) extension
build lib libfontenc +
build lib libFS +//X Font Service client library
build lib libICE +
build lib libSM +
build lib libXt +
build lib libXmu +
build lib libXpm+
build lib libXaw +
build lib libXfixes +
build lib libXcomposite +
build lib libXrender +
build lib libXdamage +
build lib libXcursor +
build lib libXfont +
build lib libXft -> needs fontconfig +
build lib libXi+
build lib libXinerama +
build lib libxkbfile +
build lib libXrandr +
build lib libXres +
build lib libXScrnSaver +
build lib libXtst +
build lib libXv +
build lib libXvMC +
build lib libXxf86dga libXxf86misc +
build lib libXxf86vm +
build lib libpciaccess +
build pixman "" mmx???? needs manual change. still gtk x11 libs missing
lets build gtk x11
then gtk+2 2.12.9
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.13.5 atk >= 1.9.0 pango >= 1.17.3 cairo >= 1.2.0) were not met:
Requested 'glib-2.0 >= 2.13.5' but version of GLib is 2.6.1
Requested 'pango >= 1.17.3' but version of Pango is 1.8.0
No package 'cairo' found
glib +
pango needs cario so build cario:
cairo will be compiled with the following surface backends:
image: yes (always builtin)
Xlib: yes
Xlib Xrender: yes
Quartz: no (disabled, use --enable-quartz to enable)
XCB: no (disabled, use --enable-xcb to enable)
Win32: no (disabled, use --enable-win32 to enable)
OS2: no (disabled, use --enable-os2 to enable)
PostScript: yes
PDF: yes
SVG: yes
glitz: no (disabled, use --enable-glitz to enable)
BeOS: no (disabled, use --enable-beos to enable)
DirectFB: no (disabled, use --enable-directfb to enable)
the following font backends:
FreeType: yes
Win32: no (disabled, use --enable-win32 to enable)
ATSUI: no (disabled, use --enable-atsui to enable)
the following features:
PNG functions: yes
and the following debug options:
gcov support: no
test surfaces: no
pdf testing: no (requires poppler-glib >= 0.4.1)
svg testing: no (requires librsvg-2.0 >= 2.15.0)
then pango
now back to gtk+2
needs swap 32bm lets build x11 lib pixman -> finaly create new patch to exclude mmx and replace current patch data needs app's driver needs xserver + build driver + build app + build data + build font +
Install
and still get 'fixed' font missing on startup.
Well. Removed all newly added packages and in XFree86 dir:
make installAtleast i have it running.
It was total waste of time :D
Until next time you X.Org.
Wednesday, October 9, 2019
Some (re)builds of libs and programs
atk-1.10.0
pango-1.20.0 -> xft.pc was missing, actually was in X11R6 dir. changed configure to exclude xrender (is part of xft.pc)
gtk+2 to include xft. and with -Os compile option.
mc-4.6.0 - v4.6.1+ complains when Ctrl+O:
Solution probably but will not implement.
Something to do with posix_openpt. Need to change this.
gzip-1.3.12
bzip2-1.0.5
tar-1.16.1
procps-3.2.7
If possible i disable NLS.
Now going for Abiword 2.0.14.
pango-1.20.0 -> xft.pc was missing, actually was in X11R6 dir. changed configure to exclude xrender (is part of xft.pc)
gtk+2 to include xft. and with -Os compile option.
mc-4.6.0 - v4.6.1+ complains when Ctrl+O:
Cannot open master side of pty: No such file or directory (2)https://www.dahelp.ru/zametki/mc-cannot-open-master-side-of-pty
Solution probably but will not implement.
Something to do with posix_openpt. Need to change this.
gzip-1.3.12
bzip2-1.0.5
tar-1.16.1
procps-3.2.7
If possible i disable NLS.
Now going for Abiword 2.0.14.
Labels:
Abiword,
atk-1.10.0,
bzip2-1.0.5,
gtk+2,
gzip-1.3.12,
mc-4.6.0,
pango-1.20.0,
procps-3.2.7,
tar-1.16.1
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
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>
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 ?
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)
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-cacheAnd 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 ?
Labels:
cairo-1.4.14,
freetype,
gtk+2,
gtk+2-2.12.9,
libdatrie,
libthai 0.1.9,
pango 1.20.0
Wednesday, October 2, 2019
Speed up compile and rebuilding with ccache-2.4
Rebuilding on this old 486 takes forever sometimes. ccache allows to speed up this process.
Create links
What is first:
After some re-buildings:
Build
From source.Install
Create links
ln -s ccache /usr/local/bin/gccSet cache:
ln -s ccache /usr/local/bin/g++
ln -s ccache /usr/local/bin/cc
ln -s ccache /usr/local/bin/c++
ccache -M 250M
What is first:
type -a gcc
After some re-buildings:
ccache -s
ccache -s
cache directory /root/.ccache
cache hit 339
cache miss 317
called for link 75
compile failed 10
preprocessor error 11
not a C/C++ file 11
autoconf compile/link 313
no input file 58
files in cache 634
cache size 3.2 Mbytes
max cache size 250.0 Mbytes
Subscribe to:
Posts (Atom)