waf miscompiles py2cairo on Lion, linking the wrong Python Library when
HB Python is installed. So add a LINKFLAG that sets the path to the real
python Library as determined by `python-prefix`, where it gets used at
link time and fixes the problem where you can't import cairo into Python.
Also add a `fails_with :llvm` block to work around a build error where
waf tries to optimize with `-march=native` which llvm doesn't accept.
https://bugs.freedesktop.org/show_bug.cgi?id=51544
Tested on Lion and SL using system Python, HB framework Python,
HB non-framework Python with clang building both native and
universal binaries, by importing the cairo module into Python.
Rebased on Homebrew 0.9.2
FixesHomebrew/homebrew#12893ClosesHomebrew/homebrew#12943.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
pygtk-2.24.0 on Lion will not compile because it can't find
`<pango/pangocairo.h>. This occurs because pkgconfig has trouble
querying the pangocairo.pc module because it complains that a
required module, `fontconfig` can't be found and suggests adding
it's path to `PKG_CONFIG_PATH`. We know `fontconfig` is a part
of X11. So add `depends_on :x11` to the formula so that all the
pkgconfig modules can be located.
Tested by importing pygtk, importing cairo, and by running
`brew test -v pygtk` on Lion with clang and llvm from XCode-4.3.3.
FixesHomebrew/homebrew#13205 and possibly Homebrew/homebrew#13256ClosesHomebrew/homebrew#13257.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
SCons was having a crisis of identity and could not find its own modules.
Things are now re-rooted to libexec so that the formula functions similar to
other python tools such as duplicity and denyhosts.
This adds the hard commit hash to the URL instead of using the master
branch which ensures that the hash stays valid and the code works with
1.2.0.
FixesHomebrew/homebrew#13228.
ClosesHomebrew/homebrew#13137.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Samba calls autogen.sh, but never had any deps on autotools.
This causes a build error for Lion users who never installed them.
Add the standard deps on automake & libtool if XCode >= 4.3
Tested on with Clang and llvm from XCode-4.3.3.
FixesHomebrew/homebrew#13188ClosesHomebrew/homebrew#13208.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Eventually we should try to just get this from XQuartz, but for now
let's depend on cairo for consistency.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
jpeg-turbo-1.2.0 can fail `make install` due to a race condition
on Lion using clang, where you get the error that a path exists.
Separate the make steps, and deparallelize the install.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade stow to version 2.2.0. Stow is used to create symlinks.
Remove the `--mandir` because it uses the correct path.
Remove the `--infodir` because it also uses the correct path.
Tested using clang and llvm from XCode-4.3.3.
ClosesHomebrew/homebrew#13162.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade sdl_ttf to version 2.0.11.
Tested both native and universal on Lion using clang and llvm
from XCode-4.3.3.
ClosesHomebrew/homebrew#13161.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade sdl_net to version 1.2.8.
Tested both native and universal on Lion with llvm and clang from
XCode-4.3.3.
ClosesHomebrew/homebrew#13160.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade sdl_gfx to version 2.0.23.
Remove the `--enable-shared` because it is the default.
Remove the `--enable-static=no` because it's okay to build.
Remove the `--disable-mmx` because it no longer fails.
Tested both native and universal on Lion against clang and llvm
from XCode-4.3.3.
ClosesHomebrew/homebrew#13159.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade sdl_image to version 1.2.12.
Tested both native and universal on Lion using clang and llvm
from XCode-4.3.3.
ClosesHomebrew/homebrew#13158.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade sdl_mixer to version 1.2.12.
Tested on Lion using clang and llvm from XCode-4.3.3.
ClosesHomebrew/homebrew#13157.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
A user can pass `--disable-fortran` to avoid compiling the Fortran
bindings.
Also remove the redundant default `--with-device=ch3:nemesis` argument
to configure.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Upgrade open-mpi to version 1.6, the new super stable.
Add code to build the Fortran bindings by default.
Add an option to disable building the Fortran bindings.
Add an option to run `make check`. Works with llvm-gcc.
Add a `fails_with :clang` because it fails `make check`.
Failure reported upstream and noted in comments.
Fix mv mpi.mod command. It wasn't moving the file to include.
Mv the vtsetup.jar out of bin into libexec to stop the warning.
Add a shell wrapper in bin, vtsetup.jar, for the jar in libexec.
Use bin/vtsetup.jar because `vtsetup` already exists in bin.
Use `make all` because the INSTALL docs say to use that target.
Works on Lion 10.7.4 using XCode-4.3.2.
Works on Snow Leopard 10.6.8 using XCode-4.0.2.
ClosesHomebrew/homebrew#12302.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Upgrade atf to version 0.15.
Change to the new homepage because the old `homepage` redirects.
Change the `url` to googlecode according to the `homepage`.
Remove the `--mandir` because it work correctly now.
Add `ENV.j1` and a separate `make install` step to stop a race
condition when brewing with llvm where a file is claimed to exist.
Tested on Lion using clang and llvm from XCode-4.3.3.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
libjpeg-turbo is a derivative of libjpeg that uses
SIMD instructions (MMX, SSE2, NEON) to accelerate
baseline JPEG compression and decompression on
x86, x86-64, and ARM systems.
ClosesHomebrew/homebrew#11894.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Add redirection wrappers for all of the utilities in platform-tools, not
just adb. Also add emulator variant wrappers for tools.
ClosesHomebrew/homebrew#12751.
ClosesHomebrew/homebrew#13101.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit removes readpst from the main Homebrew repo because
it is a duplicate of libpst. They both use the same tarball,
same homepage, and compile nearly the same. The only difference
is that libpst has a dep on boost. So go with libpst which is
already the latest version.
ClosesHomebrew/homebrew#13089.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade renameutils to version 0.12.0.
Adjust one of the three patches for the new file structure.
Add a fourth patch to fix a Makefile syntax error that would cause
`make install` to fail. Reported upstream via email and fixed in
HEAD. Taken from HEAD but not applied directly to `Makefile.am`.
Apply it to `Makefile.in` so there's no need for new deps on
autotools.
Tested on Lion using clang and llvm from XCode-4.3.3.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade rakudo-star to version 2012.05.
Adjust `CPPFLAGS` to correctly locate the libffi includes.
Add `ENV.j1` to stop intermittent race conditions when compiling.
Add code to move the man pages into share because there's no
configure option for that.
Tested on Lion using clang and llvm from XCode-4.3.3.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
wemux enhances tmux to make multi-user terminal multiplexing both easier and
more powerful. It allows users to host a wemux session and have clients join
in either mirror (read-only) or pair mode, allowing multiple people to work in
the same system simultaneously.
It features multi-session support as well as user listing and notifications when
users attach/detach.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Cairo-1.10.2 doesn't build well with link time optimization.
Patch `configure` to remove `-flto`. This fixes the build error
with llvm. This also fixes a build error when brewing cairo as
a universal library.
Add `--universal` option. Works if gettext & glib are universal.
Patch `configure` to change `-Werror-implicit-function-declaration`
to a warning with `-Wimplicit-function-declaration`. Fixes a
build error when universal & clang.
Tested on Lion with clang and llvm from XCode-4.3.3.
Tested by building py2cairo and `import cairo`.
FixesHomebrew/homebrew#12923 and Homebrew/homebrew#10400
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Metapixel doesn't compile against libpng 1.5 without patching.
There was some movement upstream, but now the head source is hard-coded
to Lion pathnames, which won't work on Snow Leopard and might break
on Mountain Lion too.
Rather than maintain our own patches, move to the boneyard.
Interested parties should work with upstream to get broad OS X
compatibility.
There has been no upstream activity for this software, and the build
depends on specific versions of Xcode and GCC. Since this isn't compatible
going forward, and we don't want to carry xcode project patches in core,
moving to the boneyard.
Upgrade qhull to version 2012.1
Adjust the patch for this version and put it inline.
Patch doesn't need to remove `user_eg user_eg2 user_eg3` anymore
because the test programs are not built by default.
Remove the CMake variable to adjust the man page location which
it gets correct now.
Put the source directory last on the `cmake` command line.
Tested on Lion using clang and llvm from XCode-4.3.3 by using
the examples provided in the `qhull` usage.
ClosesHomebrew/homebrew#12911.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade qdbm to version 1.8.78.
Add flag to `--enable-bzip`.
Add flag to `--enable-zlib`.
Add flag to `--enable-iconv`.
Those increase functionality at no cost.
Remove the unnecessary `--mandir`. It gets it right now.
Remove the unrecognized `--disable-dependency-tracking`.
Qdbm passes `make check-mac` using clang and llvm from XCode-4.3.3.
ClosesHomebrew/homebrew#12910.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade qca to version 2.0.3.
Add `--disable-tests` to stop building the unittests and examples.
Tested on Lion with clang and llvm from XCode-4.3.3.
ClosesHomebrew/homebrew#12908.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The previous commit restricted the targets to just the native one,
but Qemu is an emulator. So that change disabled functionality.
Remove the target specifier, and let Qemu build all targets again.
Fixes problems posted by two users in the comments of the previous
pull request: Homebrew/homebrew#12909ClosesHomebrew/homebrew#13008.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade quassel to version 0.8.0.
Adjust the patch to apply to the altered files.
Add another line to the patch to support `<QtWebKit/QWebSettings>`
otherwise there's a compile error.
Tested on Lion with clang and llvm from XCode-4.3.3 by starting
the chat gui.
ClosesHomebrew/homebrew#12939.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade quantlib to version 1.2.
Tested on Lion with Clang and llvm from XCode-4.3.3.
ClosesHomebrew/homebrew#12938.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
libvpx-1.1.0 has a problem on Mt. Lion where an asm file is not
created due to an extra operator in a regular expression, where
the file `asm_enc_offsets.asm` goes missing.
Add a patch to fix the regular expression. See the issue and
formula comments for links to the analysis.
Remove the unneeded `--disable-debug` and `--enable-vp8` flags
because they are the default.
Tested on Snow Leopard, Lion, and Mt. Lion using XCode-4.0.2, 4.3.3,
and 4.5.
FixesHomebrew/homebrew#12567
Signed-off-by: Adam Vandenberg <flangy@gmail.com>