This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XFree 4.2.1 + fontconfig-2


On Tue, 17 Sep 2002, Nicholas Wourms wrote:

> Harold,
> 
> (Feel free to tell me that this will be ready when it is ready...)
> 
> I was just wondering if you were fixing up a release for the 4.2.1
> patchset?  If you are working on this, might I suggest the inclusion
> of Keith Packard's fontconfig-2 libraries
> [http://www.fontconfig.org]?  The suite provides enhanced support and
> capabilities for using truetype fonts.  There are one or two issues
> with it, mostly having to do with the fact that the XFree dll's
> aren't versioned [i.e. libXt-1.dll, etc.].  

That is a windows problem. The XFree libraries are in fact versioned.
(libXaw.so.6.1 vs libXaw.so.7.0)

>Is there any way to build
> the core dll's with versioning information incorporated into the
> runtime library's name?  The reason for this is that Keith has bumped
> Xft to v2, but it is both source and binary incompatible with Xft v1.
>  However, Keith has provided a compatibility library, Xft1, to deal
> with this, but has kept the base names the same (libXft).  

Hm, after all I would rename the the -2 version of the library. Existing
programs might link to libXft.dll and expect version 1 of the abi. New
programs must then be linked against libXft2.dll if they use the version
2 abi. OTOH the linker will use libXft.dll if -lXft was used. 

> On
> linux/unix, this works fine because the runtime libraries are
> appended with versioning information.  On Cygwin, however, the
> libraries clobber each other.  What do you think?

Hm, recalling from Memory:
The version number is always defined in the makefile. So instead of
of doing Libraryname.so.Libraryname (from linux) we could do
Libraryname$(patsubst ...).dll

Or even better,
#ifdef CygwinArchitecture
#define LibraryName Xft2
#else
#define LibraryName Xft
#endif

Maybe this should be wrapped to NoShlibVersions or similar. I think 
this is a problem for OS/2 too.

bye
	ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]