FW: How to accomodate the transformation of fribidi-config into pkg-config

FW: How to accomodate the transformation of fribidi-config into pkg-config

Ron Varburg linux-il at hotmail.com
Mon Jul 5 14:17:07 IDT 2010



----------------------------------------
> From: 
oron actcom co il
> To: linux-il cs.huji ac il
> Subject: 
Re: How to accomodate the transformation of fribidi-config into 
pkg-config
> Date: Sun, 4 Jul 2010 10:30:21 +0300
>
> On Sunday, 4 בJuly 2010 08:44:55 
Ron Varburg wrote:
>>
>> 1) geresh
>> The 
geresh package was written when there was a fribidi-config.
>>
 It turns out that now days there is no longer fribidi-config.
> 
> It looks like pkg-config does the job of fribidi-config.
> 
>
>> Do the following patches looks reasonable?
> 
> How would you fix the following files:
>
> No need to 
guess. If you read the man page of pkg-config, there's a short
> 
and easy explanation how to integrate any pkg-config based library
>
 into any autoconf project.
>
> In configure.ac, all you 
need is:
> PKG_CHECK_MODULES([FRIBIDI], [fribidi>= 0.19.2])
>
>
 Than:
>> 1) Makefile.in:
>> ===============
>
> -FRIBIDI_CONFIG = @FRIBIDI_CONFIG@
>> +PKG_CONFIG = 
@PKG_CONFIG@
>
> FRIBIDI_CXXFLAGS=@FRIBIDI_CFLAGS@
> 
FRIBIDI_LIBS=@FRIBIDI_LIBS@
>
> CXXFLAGS=$(CXXFLAGS) 
$(FRIBIDI_CXXFLAGS)
> LDFLAGS=$(LDFLAGS) $(FRBIDI_LIBS)
>
>
 BTW, from your partial code it seems the configuration is based on very
>
 old autoconf version (e.g: they use configure.in instead of 
configure.ac)
>
> Maybe in this opportunity it would be best
 to update it to modern
> autoconf+automake implementation.

 		 	   		  
_________________________________________________________________
Hotmail: שירות דואר אלקטרוני רב עוצמה בחינם עם האבטחה של Microsoft.
https://signup.live.com/signup.aspx?id=60969


More information about the Linux-il mailing list