Re: [Dps-devel] Static XFree86 w/DPS
Status: Inactive
Brought to you by:
jch
From: Kevin B. <Co...@co...> - 2001-01-17 03:02:49
|
Juliusz Chroboczek wrote: > > KB> It took me a little while to get a server with static DPS linked in, and > KB> I know Juliusz mentioned having it working... I had to make a library > KB> with all the libdps and libdpsi code in one library to get it to link > KB> cleanly into XFree86. > > Yes, this is almost exactly how I did it (except that I created a > single .o from libdps.a and libdpsi.a using ld -r). > I was debating different ways of handling this. At the moment I've built dps-0.0.6 outside of my X tree and it doesn't see the LoaderServer flag in the Imakefiles, so I was considering building two versions, maybe by adding another directory, something like libxstat. And building a single library in that new directory. Or just fix up the dps makefiles so that it builds one or the other (can we make the static library name something like libdpse so it's not confused with the libdps and libdpstk used for clients? Or is that just me?) > KB> I also had to make a bunch of makefile changes to the XFree86 tree to > KB> link it in. Juliusz, are you planning on submitting some static build > KB> changes for XFree86, or are you interesting in seeing (or having me > KB> submit) mine? > > I'm not well-versed in Imake magic, and the dps build process is a > nasty hack. If you have any idea about how to clean it up, I'll be > very glad to include any changes of yours. > I'm not an expert either... I modeled the XFree86 changes after some of Keith's changes for freetype2, since he was linking in an externally built library. I set it up to let us add a directory path to the dps-0.0.6 directory in host.def if we want to statically link in dps, else it doesn't link it. You'd still need to pre-compile dps, but it would not have to be in the XFree86 tree. > I'm planning to make a new release with my latest changes in a few > weeks (sorry, no time right now). I'll be glad to include your > changes in it. > > Juliusz > Okay. I'm open to suggestions about which libraries to build by default. If nobody has a preference then I'll pick one and put together a patch. I'll have a little time this week and should have a preliminary patch available sometime this weekend. -- Kevin |