Description
slackguy
2014-11-28 19:47:09 UTC
# doesnt' include all headers (only works if in tree using middleware until patched) patches-X11R7.6/xorg/Mesa-7.8.2/src/mesa/drivers/dri/i915/intel_buffer_objects.c-X11R7.6.patch MAJOR BUG # Xorg configure.ac broken: XV is default but won't build it, cannot turn off XV either. changelog shows many hackign XV out. i then find (much later) compiled w/o XV my video server has been hacked to quit without XV (in XFree86 the same driver can do both XV and FB, but i think XV support looks better?) patches-X11R7.6/xorg/xorg-server-1.9.3/configure.ac-X11R7.6.patch MAJOR BUG. xfree86 comes with hand preened sdksyms.c, Xorg comes with empty one and tries to build it with this. but it's HIGHLY BROKEN (in X11R7.6 at least) patches-X11R7.6/xorg/xorg-server-1.9.3/hw/xfree86/loader/sdksyms.sh-X11R7.6.patch in X11R7.6 sources, libfreetype and libXft are separate libs and pkg-configs. (i hear on ?Oracle the two are combined so no problem). these all add check for libfreetype, thus include dir and lib flat with pkg-config is seen and added by make they all FAIL TO BUILD without patch. patches-X11R7.6/xorg/xdm-1.1.10/configure.ac-X11R7.6.patch patches-X11R7.6/xorg/x11perf-1.5.2/configure.ac-X11R7.6.patch patches-X11R7.6/xorg/xlsclients-1.1.1/xlsclients.c-X11R7.6.patch patches-X11R7.6/xorg/xclock-1.0.5/configure.ac-X11R7.6.patch patches-X11R7.6/xorg/xlogo-1.0.3/configure.ac-X11R7.6.patch # same for xterm but xterm build fine, just w/o Xft patches-X11R7.6/xorg/xterm-312/aclocal.m4-X11R7.6.patch patches-X11R7.6/xorg/xterm-312/configure.in-X11R7.6.patch # uses ONE __builtin tiny bit hack only new gcc has (i replaced with code, infact just re-uploaded missed a ~. if you have new gcc build won't stop here but patch is ok or use orig l8tr when done) patches-X11R7.6/xorg/libdrm-2.4.22/radeon/radeon_cs_gem.c-X11R7.6.patch sdksyms.sh was a total rework, allot of work the original: 1) old had added XV syms when option XV was false # include "xv.h" (to mess with XV) #include "xv.h" 2) i then had to go fix configure.ac so ./configure --with-XV (or disable) actually did something (ie, so #if XV works) 3) whoever wrote sdksyms.sh was smart but HARDLY KNOWS THE AWK LANGUAGE 4) getting: (void *) &CheckExtension, (void *) &GetExtensionEntry, (void *) &void, (void *) &void, (void *) &void, of course stops build. void return (not K&R C doesn't have void) means that C should magic take care of the stack. while K&R allowed it, and let you access the stack without using asm too (new C gives you bogus error telling you you cant return without popping stack. you can. that's a bogus message you can and possibly wanted to.). void is stack return. as "a width and location of memory, a cpu instruction" it's a real error. -------detour------------ i've written a C parser (a dependancy sorter, and tot. dep. ord. dpkg installer/remover) bnf2xml. C code -> BNF(parser rules) -> XML tagged C which unlike gcc bison is never ambiguous (dont' clap yet due to recursive design it's slower on many things but for complicated tasks worse than C++, it's all u got that goes right from BNF rules to XML markup) 4) sdksyms.sh I GUARANTEE was trying to parse C with just awk - believe me you can't luckily you found me in a good mood :) i wanted to use bnf2xml but to keep others happy not trying to push a binary into X, i made it work it was a "B" but i think works very well now (IT FINDS 129 symbols that progs may well need the other didn't AND SHOULD KEEP OUT ones that stop build that shouldn't be there) and it's preety fast. no notice on build speed. i applied the above. i didnt' test the script well. but i did the whole process 3x from fresh. i have a server that works, has all goodies on x.org + xterm + cairo, no video glitches. running X login using xdm as if it were pre-packages (or better, for one thing fonts are not buggy and showing nicely! thank you Keith !) omission. i said "debian sarge" - that old sarge compiled it all in order (with patches applied) with no stop, backports nices. however the kernel was updated a couple years back 2.6.4+ and has (newish) drm/X support which work on a different host running nearly the same X11R7.6 on a newer debian, the build tools (gcc) though appear from sarge. Created attachment 110191 [details]
building X11R7.6 from tarballs, w/o middleware, w/o middleware, w/patches
i'm unsure if middleware is expected. if so i didnt' see any lead i could use on x.org though would like to. on the other hand i see so many w/server problems i don't have: maybe this way is wise.
Created attachment 110192 [details] [review] xorg/libdrm-2.4.22/radeon/radeon_cs_gem.c-X11R7.6.patch Created attachment 110193 [details] [review] xorg/Mesa-7.8.2/src/mesa/drivers/dri/i915/intel_buffer_objects.c-X11R7.6.patch Created attachment 110194 [details] [review] xorg/xorg-server-1.9.3/configure.ac-X11R7.6.patch Created attachment 110195 [details] [review] xorg/xorg-server-1.9.3/hw/xfree86/loader/sdksyms.sh-X11R7.6.patch Created attachment 110196 [details] [review] xorg/xdm-1.1.10/configure.ac-X11R7.6.patch Created attachment 110197 [details] [review] xorg/xterm-312/aclocal.m4-X11R7.6.patch Created attachment 110198 [details] [review] xorg/xterm-312/configure.in-X11R7.6.patch Created attachment 110199 [details] [review] xorg/xlsclients-1.1.1/xlsclients.c-X11R7.6.patch Created attachment 110200 [details] [review] xorg/x11perf-1.5.2/configure.ac-X11R7.6.patch Created attachment 110201 [details] [review] xorg/xclock-1.0.5/configure.ac-X11R7.6.patch Created attachment 110202 [details] [review] xorg/xlogo-1.0.3/configure.ac-X11R7.6.patch after wget, patches applied, mk+install (in depends order which is done), and (see ending tips in .sh) ... i had a nice running accelerated deskop logged in from xdm X Login query X host, no artifacts, and thanks to (Keith) very nice fonts ! and firefox doesn't have any glitches (and i didn't even reinstall my /home/usr/firefox) all that was necessary after (what .sh does) was to install a diplay manager properly and a few tips (i use xdm-options, kdm, gdm are others) (tip, ie, mouseopenfail may give you black screen even if mouse is working). (the script puts that in /tmp/dm.tar.gz and says it's there for you) i did it a total of 3x, once to insure steps i'd taken didn't effect the list i'm showing ----------------------- so that's as far as i know the only posting on web of X11R7.6 on sarge (w/new kernel) from tarballs WHICH IS COMPLETE (and yet small, not requiring a GNU distro as provided by admins). also it's the only straight down list of depends / version one needs ---------------------- thank you. please post comments if you feel git(1) is better than i think, or someone alread posted the full monte with patches i have, or whatever. i personally don't mind at all whatever is commented. thank you (OOPS: tip, ie, mouseopenfail SOLVE your black screen even if mouse is working) ------------------------- please be patient with this post I AM STILL READING bugzilla user guide i will try and catch up with board rules, thank you *** This bug has been marked as a duplicate of bug 86810 *** thank you, however this repost has xorg/libdrm-2.4.22/radeon/radeon_cs_gem.c-X11R7.6.patch (850 bytes, patch) updated, for some reason i cannot update the orig post. sorry about that. (as i said the patch is only useful to those who are still using gcc versions < 3.4 (approx)) Created attachment 110249 [details] [review] xorg/libdrm-2.4.22/radeon/radeon_cs_gem.c-X11R7.6.patch redid patch so __builtin_ctz is used if present in gcc, else code is provided Created attachment 110250 [details]
xorg/xorg-server-1.9.3/hw/xfree86/loader/sdksyms.sh-X11R7.6.patch
re-upload, removes debug print line previous patch to X11R7.6 left in
Created attachment 110252 [details] [review] xorg/libdrm-2.4.22/radeon/radeon_cs_gem.c-X11R7.6.patch remove comment upon shl from last patch Created attachment 110254 [details] [review] xorg/libdrm-2.4.22/radeon/radeon_cs_gem.c-X11R7.6.patch minor, as to last patch, patchlevel is >= 6 not 60 excuse me, i didn't realize patch comments went on main page Created attachment 110268 [details]
get-mk-install-X11R7.6-from-tarballs.sh
prev upload did not run autoreconf for xterm aclocal.m4, fixed
Created attachment 110269 [details]
get-mk-install-X11R7.6-from-tarballs.sh
as to last upload, tested, found a few minor fixes and removal of old hack thing (script even simpler)
Created attachment 110271 [details]
get-mk-install-X11R7.6-from-tarballs.sh
as to last upload, tested, found a few minor fixes and removal of old hack thing (script even simpler)
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.