[Fontconfig] Re: fontconfig-config?

Nicholas Wourms nwourms at myrealbox.com
Sun Jun 15 08:53:43 EST 2003

Keith Packard wrote:
> Around 0 o'clock on Jun 13, Olivier Chapuis wrote:
>>Can one can explain me why fontconfig-config has been removed from
>>the fontconfig package?
> I switched the configuration from autoconf to automake and didn't bother 
> to bring that app forwards.  I prefer 'pkg-config', but if you think 
> fontconfig-config is necessary, please feel free to submit a working 
> version to the bugzilla...


The acutual fix is rather trivial, becuase you didn't really "loose" 
anything by moving to Automake.  Attached is a patch which resurrects 
and properly generates fontconfig-config.  Also included in the patch is 
a new AM_CONDITIONAL to handle shared library generation on native 
Cygwin builds.  Yes, Cygwin is different from mingw, in that we are 
targeting Cygwin/XFree86 rather then the generic w32api.  Anyhow, it was 
fairly trivial to add that support in.  Also, I've cleaned up the 
configure.in a bit to be more in compliance with the current autoconf 
standards.  Hope this helps!

-------------- next part --------------
2003-06-14  Nicholas Wourms  <nwourms at myrealbox.com>

	* Makefile.am: Resurrect fontconfig-config.in and configure the
	Makefile to install it.

	* configure.in: Fix deprecated use of AM_INIT_AUTOMAKE by
	moving package name & version to AC_INIT.  Add AC_CONFIG_SRCDIR
	macro for source directory detection.  Add a new AM_CONDITIONAL
	check "OS_CYGWIN" for proper handling of native Cygwin (XFree86)
	builds.  Fix some Autoconf quoting.  Fix deprecated use of
	AC_OUTPUT by moving arguments to the new macro AC_CONFIG_FILES.
	Add the newly resurrected fontconfig-config to AC_CONFIG_FILES
	and make it executable.

	* fontconfig-config.in: Resurrect from 2.1.X and update the
	"version" output variable substitution to reflect recent changes.

	* src/Makefile.am: Fix an obvious cut&paste error in OS_WIN32's
	install-libtool-import-lib statement.  Add a conditional statement
	for Cygwin to handle the shared-library generation in the newer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fontconfig-cygwin-fixes.patch
Type: application/octet-stream
Size: 5660 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20030614/03956043/fontconfig-cygwin-fixes.obj

More information about the Fontconfig mailing list