Git Product home page Git Product logo

homebrew-libguestfs's Introduction

Amar1729 Libguestfs

https://libguestfs.org/

Monsters be here: formulae in this tap are deprecated, as they don't build on macOS anymore. Good luck if you need libguestfs on macOS D:


How do I install these formulae?

brew install amar1729/libguestfs/<formula>

Or brew tap amar1729/libguestfs and then brew install <formula>.

Versions

Old release of libguestfs. This tap will try to provide bottles for 1.32 but may not stay up to date. If there aren't available bottles, you can build from source. However, there are a few build dependencies that conflict with common formulae you might have installed on your system. The easiest way to solve this is to unlink the up-to-date formulae, install this formula from source, and then remove build dependencies once you are done:

$ brew unlink coreutils # conflicts with our build dependency `truncate`
$ brew unlink automake # conflicts with our build dep automake-1.15

# -v is verbose, -s is build from source
$ brew install -v -s amar1729/libguestfs/[email protected]

# once build is complete, test to make sure it's ok
$ brew test -v amar1729/libguestfs/[email protected]

# safely remove build dependencies
$ brew uninstall automake-1.15 truncate
$ brew link automake
$ brew link coreutils

Documentation

brew help, man brew or check Homebrew's documentation.

History

Originally based off of work done zchee's homebrew tap. That tap has only been updated to support libguestfs 1.30 (current version as of spring 2021 is 1.40).

Building libguestfs inside Homebrew is a bit of a pain, due to differences in the macOS build as well as certain homebrew restrictions over time (e.g. removing the osxfuse formula in early 2021) so this tap will try to include previous versions of libguestfs as well as the current version (as libguestfs.rb).

other work: https://listman.redhat.com/archives/libguestfs/2015-February/msg00040.html

homebrew-libguestfs's People

Contributors

amar1729 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

homebrew-libguestfs's Issues

Unsupported on Linux

Libguestfs can be installed on Linux (indeed, it's typically used on Linux rather than macOS) but I can't quite get different parts of it to build properly under homebrew for linux.

Hivex: regedit/hivexml not working

Two of hivex's targets are having problems building:

  • hivexml (see errors i dealt with in this pr)
  • hivexregedit. I found PERL errors with the formula, but can't figure out the proper write_env_script invocation, so have removed it from the formula's build (for now) 166021c

Require cask `osxfuse`

as of early 2021 homebrew-core no longer ships osxfuse due its change in licensing, but it is provided by homebrew-cask.

Some reference boilerplate code for homebrew taps that depend on osxfuse functionality:

This should be added to libguestfs (all versions).

  • Done for 1.32 1dd2a1f
  • 1.40 (that one still doesn't build/test yet)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.