Am Samstag, 10.01.04 um 13:40 Uhr schrieb Warren Turkal:
Mario Klebsch wrote:But without digging to deep into that question, does freedesktop only provide an alternative xlib or do they offer an alternative to XFree (providing a complete set of libraries (xlib, Xt, Xaw, ...) and the imake based build system?
Freedesktop is intending to produce a full set of xlibs. All of the libs we
have packaged are built with autotools. We have also broken many of the
libs into their own packages so that pieces can be upgraded independently.
We have added pkgconfig support to all libs so that autoconf can more
easily detect libs and compile flags and link flags needed.
I never understood why so many people consider these autotools easier to use than the imake system. Imake (or to be precise, the config files included with X11) knows everything about the local X11 installation, where configure has to guess and far too often guesses wrong. I really do see no benefit in not using the imake system and I must admit that I do not understand why configure does not use an Imakefile to find out all the details needed to compile X11 programs on a given platform.
When I did not know the details of how the automatically generated configures work, I often spend hours on getting this fu**ing configure to detect the correct settings for X11. Today, I know, that I simply can edit config.status and execute it afterwards, but this 'feature' seems to be kept secret.
I hope X11 will keep the imake system. However if these efforts do get configure to reliably detect the X11 specific settings, I would be happy if this stuff is included in X11, so this pain finally get to an end.
We are hoping
to do a number of things including moving to an XCB/XCL implementation in
the near future. We would love it if XFree86 programs could be compiled
against our libs so that we could test our libs more fully.
I still do not see, what is gained by this. As long, as the X11 protocol is still used, it should not matter, which libs are linked. BTW, it is easy to build everything of X11 except the Xserver. A simple setting in site.def will do the job.
You could just install X11 somewhere on your system, make a copy of xmkmf, imake and its configuration, edit the config files according to your needs and compile the X11 programs using your new configuration. No changes should be needed anywhere inside of the X11 application directories.
As a starting point you could pick up xlogo or xlock and compile them stand alone. just type
mkmf -a;make
and it should do the job. I just did it for xclock and it worked fine. Just for curiosity, I tried it witk Xaw and it worked, too. Sou it seems, you can also build the X11 libs against your imake system and your config files as well as individual libs agaainst the rest of your package.
I also tried it for lib/X11, but it failed. :-( It somehow references source files in a sibling directory named xtrans. xtrans itself does contain some code but does not produce anything when I run make. xmkmf simply creates some symbolic links. I am not sure, wether compiling libX11 standalone is is supposed to work.
Only having an xlib is not sufficient to build most X11 applications.
We also have the canonical versions of the render extension, the randr extension, the kdrive server, and other goodies.
Do you have the imake build system? X11 applications generally have an Imakefile, so you must have xmkmf, imake and the config files to build it.
73, Mario -- Mario Klebsch [EMAIL PROTECTED] PGP-Key available at http://www.klebsch.de/public.key Fingerprint DSS: EE7C DBCC D9C8 5DC1 D4DB 1483 30CE 9FB2 A047 9CE0 Diffie-Hellman: D447 4ED6 8A10 2C65 C5E5 8B98 9464 53FF 9382 F518
_______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
