[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn-config taken out of subversion-devel rpm package

From: Kristian Hogsberg <hogsberg_at_users.sourceforge.net>
Date: 2003-07-03 19:17:26 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> Kristian Hogsberg <hogsberg@users.sf.net> writes:
>
> > Hi,
> >
> > I'm using the Redhat 8 RPMs of subversion 0.24.2. I couldn't find
> > svn-config, and found out that it was removed from the devel RPM in
> > r5880. What was the reason it was taken out? Devel RPMs typically
> > distribute x-config files - are you considering switching to
> > pkg-config?
>
> 'svn-config' has never worked correctly; it was a half-started
> thing. So we stopped installing it, because we didn't want to people
> to think it was usable. :-)

Ok, I see, I'll stop using it then :-)

> Yes, there's a wishlist issue to use pkg-config someday, but nobody's
> got a round tuit.

I could do that, it's a pretty simple format. There would have to be
a pkg-config file for each of the svn libs, but the dependencies
between the svn libraries could be expressed nicely using the 'Requires'
pkg-config keyword. For example, svn_repos.pc.in:

        prefix=@prefix@
        exec_prefix=@exec_prefix@
        libdir=@libdir@
        includedir=@includedir@
        
        Name: svn_repos
        Description: Subversion Local Repository Access
        Requires: svn_fs svn_delta svn_subr
        Version: @PACKAGE_VERSION@
        Libs: -L${libdir} -lsvn_repos-1
        Cflags: -I${includedir}/subversion-1

and when you write

        pkg-config --libs svn_repos

you get

         -L/tmp/svn-install/lib -lsvn_repos-1 -lsvn_fs-1 -lsvn_delta-1 -lsvn_subr-1 -laprutil-0 -lgdbm -ldb-4.0 -lexpat -lapr-0 -lrt -lm -lcrypt -lnsl -ldl

(I put @SVN_APRUTIL_EXPORT_LIBS@ @SVN_APR_EXPORT_LIBS@ in svn_subr.pc.in)

I can write the rest of these if you want, but I'm not sure how to
write the install rules for the Makefile. The .pc.in files could be
put in a pkg-config subdirectory to avoid cluttering the top source
directory.

Kristian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jul 3 19:18:33 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.