[barcode] pkg-config support

Jim Evins evins@snaught.com
Thu Nov 19 05:19:03 CET 2009


On 11/18/2009 10:57 PM, Daniel Macks wrote:
> On Wed, Nov 18, 2009 at 10:12:57PM -0500, Jim Evins wrote:
>   
>> >From ad64bbcd04716f96ac4e233a0967b54f15275753 Mon Sep 17 00:00:00 2001
>> From: Jim Evins <evins@snaught.com>
>> Date: Wed, 18 Nov 2009 21:45:37 -0500
>> Subject: [PATCH] Added pkg-config support
>>
>> diff --git a/barcode.pc.in b/barcode.pc.in
>> --- /dev/null
>> +++ b/barcode.pc.in
>> @@ -0,0 +1,11 @@
>> +prefix=@prefix@
>> +exec_prefix=@exec_prefix@
>> +libdir=@libdir@
>> +includedir=@includedir@
>> +
>> +Name: barcode
>> +Description: GNU-barcode Library
>> +Version: @PACKAGE_VERSION@
>> +Libs: -L${libdir} -lbarcode @LIBPAPER@
>> +Cflags: -I${includedir}
>> +
>>     
> It appears that libpaper is only an internal implementation detail,
> not part of public API/ABI. If that's true, would be better in
> Libs.private than in Libs. That makes it less likely to publish "link
> with -lpaper" to other packages that use libbarcode.
>
> dan
>
>   
Actually, after closer inspection, it looks like libbarcode will not
depend on libpaper at all -- it is only potentially used in main.c.  
Attached is an updated patch.

-Jim
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Added-pkg-config-support.patch
URL: <http://lists.linux.it/pipermail/barcode/attachments/20091118/e6dd92c3/attachment.txt>


More information about the barcode mailing list