Thursday, October 10, 2019

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  1824 2019-09-14 03:48 bigreqsproto-1.0.2-noarch-1.tgz
-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
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

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.1Requested 'pango >= 1.17.3' but version of Pango is 1.8.0No 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 install
Atleast i have it running.

It was total waste of time :D 
Until next time you X.Org.

No comments:

Post a Comment