Commit Graph
59 Commits
Author SHA1 Message Date
Doug Goldstein 4095c5bfcb libvirt: Fix Mavericks build issues
The typedef for xdrproc_t was changed in Mavericks. This change makes it
build again on Mavericks however this change is backwards compatible
with older versions.

Closes #23737.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-29 19:59:05 -07:00
Doug Goldstein aeafb2f249 libvirtd: apply upstream patches
libvirtd would fail to successfully run on Mac OS X. With these two
upstream changes that is resolved. It can be tested by running 'virsh
version'.

Closes #23141.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-10-11 20:09:10 -07:00
Douglas Goldstein 529ef27bca libvirt 1.1.3
Closes #22966.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-10-01 16:38:51 +01:00
Samuel John fd03aa527d Improve python tests for brew bots
Allow `build.with?` and similar methods to be used during the test
phase. The BuildOptions (`build`) are initialized with the
`Tab.used_options` unless explicitly overwritten on the command line.

So basically `build.with?` works in `def install` and in `test do` as
one would naively expect. (For the test, gramatically it should be
`built.with?` but who cares)

If a formula was installed `--with-python`, now the tests are also
run `--with-python`. This enables us to use the `python do ... end` in
a meaningful manner.

Using `python do ... end` blocks for the tests, because the bot.brew.sh has
system python per default and we need to set the PYTHONPATH for the test.
Potentially to different values for Python 2.x and 3.x.
2013-09-05 15:26:57 +02:00
Mike McQuaid ec36776d60 Fix various Python import tests. 2013-09-02 22:32:02 +01:00
Justin Clift 0f75405359 libvirt 1.1.2
Closes #22262.
Closes #22269.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-09-02 21:55:36 +01:00
Justin Clift 092a6df87c Libvirt 1.1.1
Closes #21536.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-30 07:02:48 -07:00
Misty De Meo 7fc8cc09a3 Replace == :leopard with <= :leopard 2013-07-10 01:51:09 -07:00
Justin Clift fcc53bc68b Libvirt 1.1.0
Closes #20950.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-02 09:03:20 -07:00
Samuel John af00318f0e libvirt: typo in --without-python option 2013-06-12 18:23:53 +02:00
Samuel John c2462e6e9f libvirt: Adding a test 2013-06-12 18:23:04 +02:00
Doug Goldstein 35cea0ba42 libvirt: Add python bindings (:recommended)
With the new python dependency support in Homebrew, libvirt can now
build Python bindings.

Closes #20311.

Signed-off-by: Samuel John <github@SamuelJohn.de>
2013-06-12 18:20:01 +02:00
Justin Clift c1f5ee2c93 Libvirt 1.0.6
Closes #20220.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-03 13:45:08 -07:00
Justin Clift a738ee67a6 Libvirt 1.0.5.1
Closes #19958.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-21 13:49:34 -07:00
Justin Clift 7cfc41d297 Libvirt 1.0.5
Closes #19579.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-05-02 11:16:54 -07:00
Justin Clift 3fa395b218 Libvirt 1.0.4
Closes #18875.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-31 21:16:04 -07:00
Justin Clift 45a42583d8 Libvirt 1.0.3
Closes #18255.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-03-06 15:17:05 -06:00
Adam Vandenberg 896e1ff762 libvirt uses pkg-config
Closes #17739.
2013-02-10 08:06:37 -08:00
Justin Clift 38b88f5a10 Libvirt 1.0.2
Libvirt 1.0.x series seems pretty stable now,
so making it the default instead of a --devel
option.

Closes #17435.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-01-30 08:35:22 -08:00
Justin Clift 2449639c96 Libvirt 1.0.1 and 0.9.11.8
Closes #16620.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-17 11:48:51 -06:00
Stefan 7cd89cd5d1 Add missing libgcrypt dependencies post-gnutls 3 update
Closes #16093.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-11-15 13:20:22 -06:00
Jack Nagel bdaae65b9a Revert "Rename readline to gnu-readline"
This reverts commit adee531526.

Turns out one of the "other things" is a dealbreaker.

We only create kegs using a formula's canonical name. However, we do not
check that this is the case when mapping existing kegs back to formula
objects, and thus a keg with a name that happens to be an alias can fool
Homebrew into thinking the canonically-named keg exists.

So anything that enumerates kegs and then tries to do stuff with the
resulting formula objects will just break. This is obviously worse than
the debugger being broken, so reverting this for the time being.
2012-11-10 21:12:26 -06:00
Jack Nagel adee531526 Rename readline to gnu-readline
The Readline class clashes with the Readline module from the Ruby
stdlib. This has mostly worked, but with the recent debugging support's
integration of IRB, it is no longer possible for them to coexist. So we
need to rename it.

The implications of this are:

 - Anything that depends on readline will reinstall it as
   "gnu-readline". Anything already installed will continue to function.

 - "brew upgrade readline" will say "gnu-readline not installed", as
   "readline" is now an alias.

 - Probably other things.

So there are some downsides, but we will just have to deal with them.

Fixes #15776.
2012-11-10 20:07:32 -06:00
Justin Clift 73993f50ee Libvirt 0.9.11.7 and 1.0.0.
Closes #15847.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-04 16:11:48 -08:00
Justin Clift 68fa9d119f libvirt 0.9.11.6
For new upstream release.

Closes #15378.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-09 10:04:31 -07:00
Justin Clift b01dec74ed libvirt 0.10.2
Closes #15075.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-09-24 08:33:58 -07:00
Jack Nagel 6b8d25f2d2 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Adam Vandenberg cb0c576a16 libvirt: use new dsl 2012-08-31 14:01:10 -07:00
Justin Clift 346a4a665e libvirt 0.10.1
Closes #14595.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-31 08:56:40 -07:00
Justin Clift 44ab88f76d libvirt --devel 0.10.0
Closes #14517.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-29 07:04:47 -07:00
Justin Clift eddcc076eb libvirt 0.9.13
Closes #13155.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-02 13:00:56 -05:00
Justin Clift f3145f2282 libvirt 0.9.11.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-28 14:46:05 -07:00
Justin Clift ff9088c5e1 libvirt 0.9.11.3 + 0.9.12
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-05-14 07:04:05 -07:00
Justin Clift 95e9b86ba1 libvirt 0.9.11
Closes #11413.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-03 16:41:11 -05:00
Jack Nagel 497b13ac9e Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Justin Clift 13eea18635 libvirt 0.9.10
Includes a patch by Lincoln Myers <lincoln_myers@yahoo.com>,
fixing a recently introduced compilation bug on OSX.

Patch is already included upstream, and will be in libvirt 0.9.11.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-20 18:09:28 -08:00
Justin Clift b88c58f1ce libvirt 0.9.9
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-15 12:25:21 -08:00
Justin Clift 5ea4f72f76 libvirt 0.9.8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-09 09:35:18 -06:00
Justin Clift 31d234c39b libvirt 0.9.7
Now supports VirtualBox 4.1.x on OSX, plus many other enhancements:

  http://www.libvirt.org/news.html

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-08 20:20:38 -08:00
Justin Clift d621c8d980 libvirt 0.9.6
Closes #7755.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-22 19:19:42 -05:00
gnu-user 051dabf4e5 libvirt: support VirtualBox by default
- Enabled support for VirtualBox by default - Removed support for qemu,
since there is no OS X support, because according to libvirt
"./configure --help" qemu is installed by default with the argument
"--with-qemu=yes" unless otherwise specified

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-10 10:58:13 -07:00
Justin Clift 9e3a46b154 libvirt 0.9.4
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-08-03 13:59:32 -07:00
Justin Clift 99f150be13 libvirt 0.9.3
Also includes upstream patch from 0.9.4

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-05 09:43:36 -07:00
Justin Clift 1800d8c49d libvirt 0.9.2
* Works with YAJL 2.x now.
* OpenVZ support is now Linux-only, so has been disabled.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-06 07:20:55 -07:00
Adam Vandenberg 23bcae1bab Revert libvirt due to yajl conflict. 2011-05-16 07:41:12 -07:00
Adam Vandenberg 5216de3fc8 libvirt 0.9.1 2011-05-16 07:33:15 -07:00
Adam Vandenberg b782d9da90 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg f4a925da5a Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Adam Vandenberg 0476235ce0 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Justin Clift 798944171e Update formula: libvirt
Now explicitly lists compilation options in use, and also now depends
upon YAJL 1.0.11.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-19 09:30:59 -08:00