Added libtool as a dependency for libgphoto2.
When building libgphoto2's configure script reported that it could not
link against libltdl which is included in libtool.
ClosesHomebrew/homebrew#14450.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Ctail and Serf suffer from the ML bug where `apr-1-config --cpp`
returns a non-existent path. Serf is fixed. Add the same changes
to Ctail where `CPP` and `APR_LIBTOOL` get sane values, where
there are new deps on `libtool` and `automake`, and where
XCode-only installs get help finding the apr includes. Also
change from manual compile commands into using their Makefile
because it works correctly and was doing the same thing basically.
By using the `Makefile` we also get all the `apr-1-config --libs`
brought in which may be different for SL vs L vs ML.
cf. Homebrew/homebrew#13891FixesHomebrew/homebrew#14313ClosesHomebrew/homebrew#14451.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Building GraphViz.app requires a full install of XCode.app so building it
by default breaks the installation for users who only install the Command Line
Tools.
FixesHomebrew/homebrew#14431.
Anything that calls `xcodebuild` needs a full install of XCode.app. Two
formulae ommitted from this patch:
- `fuse4x_kext`: Everything that depends on the kernel extension can be
compiled by the CLT. Therefore, this formula is bottled and XCode is only
needed to produce the bottles.
- `graphviz`: XCode is only used to create GraphViz.app which is not used by
any of the things which depend on `graphviz`. Creating the app should be
made into an option.
- When using CPATH, we only need -isysroot and not the other -I spam.
- LDFLAGS use -isysroot instead of -L
Turns out that the linker also understands the
-isysroot flag which behaves more natural (in the
sense: "like the internal defaults `/usr/lib` etc.)
than adding `-L$(SDKROOT).
Especially for duplicates, the linker first searches
through all `-L` dirs and then looks at the sysroot
or internal defaults. This is what we want.
- Pkg-config needs CC with CFLAGS passed to configure.
ClosesHomebrew/homebrew#14351.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* changes checksum to sha1
* comments on CFLAGS requirements for 10.8
* add download url for HEAD
* add autotools as dependency for HEAD
* runs autogen for HEAD build
* changes references to MACOS_VERSION to MacOS.version
ClosesHomebrew/homebrew#14323.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
zeromq gets a makeover to fix build errors and to offer the devel
version. This has been tested with clang and llvm from XCode-4.4.1.
* Add a devel block
* Add a dep on libpgm, a new formula. The internal libpgm is b0rked
* Add a `do_config` function that gets run for devel or head builds.
* Add ENV.universal_binary for devel and head, it works.
* Add conditionals so that the manual lipo to UB is only for stable
FixesHomebrew/homebrew#14210ClosesHomebrew/homebrew#14292.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Libpgm is from OpenPGM, An implementation of the PGM reliable
multicast protocol. It's a dep for zeromq that fixes zeromq
so that it compiles on ML. Tested with clang and llvm from
XCode-4.4.1.
FixesHomebrew/homebrew#14210ClosesHomebrew/homebrew#14290.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
RHash is used to recursively calculate hashes on files, similar to
md5deep, except that it implements a few more specialized hash
algorithms. Key among these are the ones used in many file-sharing
protocols such as DC++, BitTorrent and others.
ClosesHomebrew/homebrew#11841.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
If we d not explicitly specify utf8 as the encoding, the server will be
initialized with ASCII encoding for the template1 database, which causes
problems when trying to create new databases with UTF8 encoding.
ClosesHomebrew/homebrew#14149.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade libunique to version 3.0.2.
Add a flag to disable gtk docs.
Change the gtk dep to gtk+3.
Tested with clang and llvm from XCode-4.3.3.
ClosesHomebrew/homebrew#13421.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
- the std_cmake_args already include the prefix.
- The CMAKE_C_FLAGS are no longer needed for cmake >= 2.8.8
- Update to options DSL.
ClosesHomebrew/homebrew#12921.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
opencv has a 32bit option meant to work with HB libraries
like libtiff, jpeg, and jasper when those are universal.
Add CMake flags to stop opencv from trying to build all
those from source. Instead let if find the HB libraries.
Add CMake flags to stop it building tests.
Add a dep on Eigen, which is used to speed up code. OpenCV
has it enabled by default.
Add a CMake flag to specify that CUDA is OFF.
Duplicate the 32bit extra_CFLAGS to extra_CXXFLAGS also.
When building 32bit specify `-DCMAKE_OSX_ARCHITECTURES=i386`
per the install docs.
Switch to an OOS build. Put the source dir last.
Use the new `option` DSL.
Adjust python includes to support XCode-only installs.
Use their new homepage `opencv.org`
Tested with clang and llvm from XCode-4.4.1 against HB python
and system python on Mt. Lion, all options.
FixesHomebrew/homebrew#14237Homebrew/homebrew#13603ClosesHomebrew/homebrew#14305.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Add the `option :universal` to eigen. Tested with clang and llvm
from XCode-4.4.1.
ClosesHomebrew/homebrew#14304.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Disable support for the jaql query language, which is beta-quality and
fails to build.
ClosesHomebrew/homebrew#14239.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- Remove HEAD build; HEAD is incompatible with the bash that OS X
ships. Add a comment suggesting users check out homebrew-versions for
a bash-completion 2.0 formula.
- Automatically symlink Homebrew's completion script into the
bash_completion.d directory.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ossp-uuid-1.6.2 has a flakey main ftp site, and they are no longer
hosted on the current `mirror` site. Change the mirror to use the
archive at googlecode.
FixesHomebrew/homebrew#14265ClosesHomebrew/homebrew#14288.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- Since 3.2.3, the "2to3" script has a version suffix already.
- Added `--without-gcc` to ensure python uses clang.
- Avoid optimization flags that are remembers by python
(e.g. `python3.2-config --cflags`) and lead to problems
with certain C-extensions.
ClosesHomebrew/homebrew#14198.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- Extras now in HOMEBREW_PREFIX/share/python/Extras instead of
HOMEBREW_PREFIX/share/python2.7/Extras
- Assure no '-march=...' or '-msse4' or similar flags are there
because `python-config --cflags` reports them later and can
break certain c-extensions. (happend for SciPy).
ClosesHomebrew/homebrew#14199.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Reasons:
- It only adds 10 seconds to a deparallelized make job.
- We do it for GraphicsMagick
A new option, `--without-magick-plus-plus` has been added for those who wish to
leave the C++ interface out.
FixesHomebrew/homebrew#13559.
brew install ncmpcpp was failing on a sha1 mismatch. It turns out the
link is dead or something and redirects to a new homepage. The new links
come from the page where the old ones were redirected to.
ClosesHomebrew/homebrew#14218.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Node builds just fine under CLT-only installs. Node will not build under any
non-XCode package that provides Apple compilers but lacks a full set of
development Frameworks such as the osx-gcc-compiler.
FixesHomebrew/homebrew#14274.
Open-scene-graph has two patches. Change the patch block so
that something is returned. Fixes patches not being applied.
Change the fails_with build number for clang to 421.
ClosesHomebrew/homebrew#14236.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade bdw-gc to version 7.2d. It passes make check on 10.8
using clang and llvm from XCode-4.4.1. Remove the `fails_with`.
FixesHomebrew/homebrew#13940.
ClosesHomebrew/homebrew#14259.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Currently we patch mysql_config to sanitize the CFLAGS that are exported
to software that queries it during builds, such as the mysql gem. Since
there isn't any way to control what compiler is used by Ruby/gem to
build native extensions, we must remove any compiler or CPU specific
flags.
Instead, let's build without these flags to begin with, which will keep
mysql_config clean and provide consistency between the flags used to
build mariadb and those used to build software that links to it.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Currently we patch mysql_config to sanitize the CFLAGS that are exported
to software that queries it during builds, such as the mysql gem. Since
there isn't any way to control what compiler is used by Ruby/gem to
build native extensions, we must remove any compiler or CPU specific
flags.
Instead, let's build without these flags to begin with, which will keep
mysql_config clean and provide consistency between the flags used to
build percona-server and those used to build software that links to it.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Currently we patch mysql_config to sanitize the CFLAGS that are exported
to software that queries it during builds, such as the mysql gem. Since
there isn't any way to control what compiler is used by Ruby/gem to
build native extensions, we must remove any compiler or CPU specific
flags.
Instead, let's build without these flags to begin with, which will keep
mysql_config clean and provide consistency between the flags used to
build mysql and those used to build software that links to it.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This is no longer shipped as of 10.8, but is required to build the
documentation for a few formulae, like ffmpeg and ffmbc.
This wasn't given a symbolized dependency because I don't anticipate
it coming up that often.
ncmpcpp has a build-time dep on pkg-config so that it can find
libmpdclient, and it needs the `fails_with` version updated
because it still has problems with clang.
Add a dep on pkg-config
Update the fails_with build.
Use the new options DSL.
Tested on ML with clang and llvm from XCode-4.4.1.
FixesHomebrew/homebrew#14160ClosesHomebrew/homebrew#14172.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
We only offer framework builds, so remove comments that suggest
otherwise.
Use HOMEBREW_PREFIX instead of `brew --prefix`, as that is what is
available inside of the formula, and how it is referenced elsewhere in
Homebrew.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
We only offer framework builds, so remove comments that suggest
otherwise.
Use HOMEBREW_PREFIX instead of `brew --prefix`, as that is what is
available inside of the formula, and how it is referenced elsewhere in
Homebrew.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
gtest was removed because it is not meant to be installed on its own,
but rather included as a part of software build systems. flann was the
only formula which expected a preinstalled copy of gtest; this disables
its tests which depend on gtest.
FixesHomebrew/homebrew#14126.
libxmlsec1 already has an option thrown on the command line to
`disable-apps-crypte-dl` which stops the build from looking for
`libltdl`. But that option only applies to the command line app
and another option needs to be thrown otherwise configure will
error on ML when it can't find `libltdl`.
Add a configure flag to `--disable-crypto-dl`
FixesHomebrew/homebrew#13845ClosesHomebrew/homebrew#14129.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Icarus-verilog-0.9.5 crashes clang or llvm into an assertion
error when either of those two binaries is used as the linker.
Add a command to set `ENV['LD']`. It also works for XCode-only.
Remove both the fails_with because it works now.
Add a separate line to `make installdirs` that fixes a build error
where a directory does not exist.
Tested on ML with XCode-4.4.1 using clang and llvm.
FixesHomebrew/homebrew#13650ClosesHomebrew/homebrew#14138.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
vorbis-tools needs libao to create ogg123, a command line binary.
Add a `depends_on 'libao'` and one for `flac` also, because flac
is often found in an ogg container like webm. Ogg123 will also
be used in solfege. Tested by playing some files.
ClosesHomebrew/homebrew#14134.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade x264 to version 2197.4 which makes libx264.125.dylib,
where the previous formula created `libx264.124.dylib`.
Tested on ML with clang and llvm from XCode-4.4.1.
ClosesHomebrew/homebrew#14155.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
sdhash is a tool for generating and comparing similarity digest hashes.
When comparing these hashes, it gives a confidence level as to how
similar two objects are to each other.
ClosesHomebrew/homebrew#13753.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Run make in order to properly detect which version of XCode is
installed
Run make install instead of bin.install
Update to latest version which resolves the multiple symlink
layers issue.
Fixed head to use svn. Previous head didn't work (just downloaded
a single html file).
ClosesHomebrew/homebrew#14143.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
gettext is now bottled on three of the platforms we support, so remove
the hackery and just depend on it.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>