Packaging for Fedora

Jan-Henrik Haukeland hauk at tildeslash.com
Sun Feb 8 16:31:55 CET 2009


The following has been added to the repository:

* From version 2.4, libzdb places its header files into a zdb
   sub-directory as in, <prefix>/include/zdb. Clients can choose to
   use the include-dir compiler flag, -I<prefix>/include/zdb and not
   modify their code or skip zdb from the include flag and instead  
prefix
   their #include statements with zdb like so; #include <zdb/URL.h>. If
   name interposing can be a problem the latter variant should be used.

Version 2.4 is planned to be released before Monday february 16.

On 6. feb.. 2009, at 04.15, Bernard Johnson wrote:

>
> On Thu, Feb 5, 2009 at 6:01 AM, Jan-Henrik Haukeland <hauk at tildeslash.com 
> > wrote:
> This is a good suggestion and we have dropped release info from the  
> library name. Can you please check out libzdb from svn, build it and  
> verify that the library is named as you requested?
>
> Checkout from http://code.google.com/p/libzdb/source/checkout
>
> You need re2c (a scanner) to build from subversion. re2c should be  
> available in a fedora package otherwise try http://re2c.org/
>
> I checked out the r175 diff and applied it to the 2.3 sources and  
> ran autoreconf and the library names came out without the release  
> version - this was what I was looking for.  If you want me to test  
> specifically the svn version too, I can do that.
>
> The other suggestion that was made to me was that you might want to  
> move the header file install from $DESTDIR$(includedir) to $DESTDIR$ 
> (includedir)/$(PACKAGE_NAME)  [or similar].   The names of the  
> header files are fairly generic and might create a namespace  
> collision.
>
> For Fedora I'm currently applying a patch for this, but it seems  
> like a good idea to me.
>
> Thank you.



More information about the libzdb-general mailing list