Re: Update of xft2-dev package to 2.2.0

Peter Dyballa <[email protected]> Sun, 3 Apr 2011 01:02:43 +0200
Newsgroups gmane.os.apple.fink.gnome
Message-ID <[email protected]>
Am 02.04.2011 um 20:26 schrieb Daniel Macks:

> I wonder if other packages' configure scripts might still be coded to
> use xft-config? If so, having it go away would be a problem.

A find + grep lists:

/sw/fink/10.4/stable/main/finkinfo/utils/uim.info:   
PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/ 
lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"  
FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config XFT_CONFIG=%p/ 
lib/xft2/bin/xft-config

/sw/fink/10.4/stable/main/finkinfo/x11-wm/icewm.info:ConfigureParams:  
--with-docdir=%p/share/doc --mandir=%p/share/man --with-cfgdir=%p/etc/ 
icewm --enable-guievents --enable-menus-gnome2 --with-icesound=esd  
PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:%p/lib/fontconfig2/ 
lib/pkgconfig:$PKG_CONFIG_PATH" XFT_CONFIG=%p/lib/xft2/bin/xft-config  
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --disable- 
xrandr

/sw/fink/10.4/unstable/main/finkinfo/utils/uim.info:   
PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/ 
lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"  
FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config XFT_CONFIG=%p/ 
lib/xft2/bin/xft-config

/sw/fink/10.4/unstable/main/finkinfo/x11-wm/ 
icewm-10.6.info:ConfigureParams: --with-docdir=%p/share/doc --mandir= 
%p/share/man --with-cfgdir=%p/etc/icewm --enable-guievents --enable- 
menus-gnome2 --with-icesound=esd PKG_CONFIG_PATH="%p/lib/glib-2.0/ 
pkgconfig-strict:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"  
XFT_CONFIG=%p/lib/xft2/bin/xft-config --x-includes=/usr/X11R6/include  
--x-libraries=/usr/X11R6/lib

/sw/fink/10.4/unstable/main/finkinfo/x11-wm/ 
icewm.info:ConfigureParams: --with-docdir=%p/share/doc --mandir=%p/ 
share/man --with-cfgdir=%p/etc/icewm --enable-guievents --enable-menus- 
gnome2 --with-icesound=esd PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig- 
strict:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH" XFT_CONFIG= 
%p/lib/xft2/bin/xft-config --x-includes=/usr/X11R6/include --x- 
libraries=/usr/X11R6/lib --disable-xrandr

Looks as if leaving away is the fix.


> PKG_CONFIG_PATH is what the build system uses to find other
> already-installed packages, not anything about where this package
> itself should install. Also, because xft is a binary-library thing, it
> needs to place the .pc in a /lib/ rather than /share/ directory. On  
> the
> other hand, the x11 .pc files should already be found automatically
> (part of the builtin search path) without having to add to them with
> PKG_CONFIG_PATH. If not, that might be a problem in the pkgconfig
> package (it should know to look in standard system places).


The addition was needed because configure (pkg-config) was not able to  
find xorg-modules.pc, I think, and reported this explicitly. The next  
time, with the augmented PKG_CONFIG_PATH, this report simply vanished...

Line #4799:

	macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg- 
macros`
	INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$ 
(top_srcdir)/.INSTALL.tmp && \
	mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
	|| (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
	echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found:  
installing possibly empty INSTALL.' >&2)"

--
Greetings

   Pete

Atheism is a non prophet organization.


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
fink-gnome-core mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.gnome
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-gnome-core