Subject: Re: pkg-config files
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-x11
Date: 10/26/2003 13:32:59
On Sun, 26 Oct 2003, Patrick Welche wrote:

> What are your views on this sort of thing?

It looks good to me. "Imake" already stuffs the run-paths, so
"pkgconfig" should to. What else would you do?

> Index: Xcursor/xcursor.pc.in
> ===================================================================
> RCS file: /cvsroot/xsrc/xfree/xc/lib/Xcursor/xcursor.pc.in,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 xcursor.pc.in
> --- xcursor.pc.in	2003/02/28 13:18:51	1.1.1.1
> +++ xcursor.pc.in	2003/10/26 18:48:55
> @@ -7,5 +7,5 @@
>  Description: X Cursor library
>  Version: @PACKAGE_VERSION@
>  Requires:
> -Libs: -L${libdir} -lXcursor
> +Libs: -Wl,-R${libdir} -L${libdir} -lXcursor
>  Cflags: -I${includedir}
> Index: Xft/xft.pc.in
> ===================================================================
> RCS file: /cvsroot/xsrc/xfree/xc/lib/Xft/xft.pc.in,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 xft.pc.in
> --- xft.pc.in	2003/02/28 13:18:51	1.1.1.1
> +++ xft.pc.in	2003/10/26 18:48:55
> @@ -11,5 +11,5 @@
>  Description: X FreeType library
>  Version: @PACKAGE_VERSION@
>  Requires: fontconfig
> -Libs: -L${libdir} -lXft ${freetypelibs} ${xrenderlibs}
> +Libs: -Wl,-R${libdir} -L${libdir} -lXft ${freetypelibs} ${xrenderlibs}
>  Cflags: -I${includedir} ${freetypecflags} ${xrendercflags}
> Index: fontconfig/fontconfig.pc.in
> ===================================================================
> RCS file: /cvsroot/xsrc/xfree/xc/lib/fontconfig/fontconfig.pc.in,v
> retrieving revision 1.1.1.1
> diff -u -r1.1.1.1 fontconfig.pc.in
> --- fontconfig.pc.in	2003/02/28 13:18:56	1.1.1.1
> +++ fontconfig.pc.in	2003/10/26 18:48:55
> @@ -6,5 +6,5 @@
>  Name: Fontconfig
>  Description: Font configuration and customization library
>  Version: @PACKAGE_VERSION@
> -Libs: -L${libdir} -lfontconfig
> +Libs: -Wl,-R${libdir} -L${libdir} -lfontconfig
>  Cflags: -I${includedir}
>

Frederick