[PATCH libXft 0/1] config: remove deprecated xft-config script and man page

Gaetan Nadon memsize at videotron.ca
Tue Mar 30 12:19:57 PDT 2010

This script was introduced earlier than 2003 because pkg-config was not
available or was not used:

2003-04-30 17:49  branden

	* xft-config.in, xft.pc.in: Add -lX11 to the list of libraries one
	needs to link against when using Xft.  (Someday, perhaps XFree86
	will support pkg-config...)

The script does not seem to return the correct values for the libraries as
suggested by this bug report:

	"So IMO the fix for this bug is to move all xft-config users to
	pkg-config, and to remove xft-config completely."

There is evidence that distros have removed the script from their builds:

	Fedora release notes:
	21.4.5. xft-config

	"Modular X now uses GNU autotools and pkg-config for its buildsystem configuration
	and execution. The xft-config utility has been deprecated for some time, 
	and pkgconfig *.pc files have been provided for most of this time. 
	Applications that previously used xft-config to obtain the Cflags or libs build 
	options must now be updated to use pkg-config."

There is evidence that the distros did a job of removing it (still there in Debian):

	2006-03-11 18:16 +0000 [r517646]  aacid

	* branches/KDE/3.5/kdegraphics/kpdf/configure.in.in: use of
	  pkg-config on crazy distro that decided to remove xft-config
	  Patch by Philippe Rigault BUGS: 123417

There was an attempt in x.org to convert the script into a pkg-config wrapper,
but this was not retained:

	"I've hacked up xft-config to be now just a wrapper around 
	pkg-config. So it's no longer necessary to generate it."

It looks to me it's time to remove it. There may be a few old build scripts that
could break, nothing that hasn't already happened. 

Gaetan Nadon (1):
  config: remove deprecated xft-config script and man page

 .gitignore          |    5 +-
 Makefile.am         |    4 --
 configure.ac        |    2 -
 man/Makefile.am     |    4 +-
 man/xft-config.1.in |  120 ---------------------------------------------------
 xft-config.in       |  100 ------------------------------------------
 6 files changed, 4 insertions(+), 231 deletions(-)
 delete mode 100644 man/xft-config.1.in
 delete mode 100644 xft-config.in

More information about the xorg-devel mailing list