[Libguestfs] Continuing the split (was: Let's split up the libguestfs git repo and tarballs)

Daniel P. Berrangé berrange at redhat.com
Fri Nov 29 16:08:36 UTC 2019


On Fri, Nov 29, 2019 at 05:04:14PM +0100, Pino Toscano wrote:
> On Friday, 29 November 2019 13:09:47 CET Richard W.M. Jones wrote:
> > So, the difficulty of git submodules aside, we have now split off
> > virt-v2v and virt-p2v into separate projects.
> > 
> > I also yesterday split off the boot analysis tools into a repo which
> > is likely to be rarely used and which I'll probably not bother to
> > package in Fedora.
> > https://github.com/libguestfs/libguestfs-analysis-tools
> > 
> > Where do we go from here?
> 
> Before going on with splitting, I'd take a "pause" to review the status
> of the projects, after their split. Considering the work that was
> already done to split them, and various difficulties we faced, there is
> enough material to check what still need to be improved/fixed, as most
> probably the same issues will happen in case of further splits.
> 
> The biggest issue I see so far is the impossibility to build virt-v2v
> (the only split project that requires libguestfs) with an uninstalled
> version of libguestfs. I see (at least) two problems.
> 
> 1) building C programs.
> Usually this means having a .pc file for pkg-config in PKG_CONFIG_PATH,
> with headers and library in the location of that file.  An approach
> I've seen done is to create a -uninstalled.pc file with its paths
> pointing to the source/build directories, and making sure the path of
> that -uninstalled.pc file is in PKG_CONFIG_PATH (which ./run can do).
> I never tried to do this, I can give it a try on Monday to see how it
> works.

This is what libvirt has done - though we didn't call it "-uninstalled".
We just have built two libvirt.pc files in different directories, one
for use when installed, and one for use against uninstalled trees.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the Libguestfs mailing list