Compiling against system Python causes a compiler mis-match.
This can be worked around, but as a workaround suggest using
a Homebrewed version of Python instead.
Upgrade mplayer to version 1.1.
Add configure switches so we use our compiler, fixes clang error.
Add build time dep on `xz`.
Add `ENV.O1` to stop symbols being optimized out, fixes llvm error.
Remove fails with llvm that was fixed by `ENV.O1`.
Add `fails_with :clang` build 211 for a 32bit inline asm error.
Remove the patch for Lion because it's fixed in this version.
Mplayer runs well using all five compilers on 64bit Snow Leopard
and Lion using XCode-4.3.2, 4.2, and 4.0.2, but it fails on 32bit
SL due an inline asm error using clang. Can't win them all.
FixesHomebrew/homebrew#12434 and Homebrew/homebrew#7827 -- two birds, one commit!
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
The patch has been merged upstream.
Add `unless ARGV.build_head?` to the patch block.
Note in the comments to remove the patch at version 2.0.2.
Mapnik HEAD builds well again.
FixesHomebrew/homebrew#12683
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade arabica to the 2010 November archive, 20101023.
Add `fails_with :clang` block to handle an undeclared identifier.
Add upstream bug report url in the comments.
Remove the autotools deps and the autoreconf. They're not needed.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade aldo to version 0.7.7.
Remove the patch because the changes exist already in this version.
Tested on Lion with clang and llvm.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade apgdiff to version 2.3.
Use `version` string in the heredoc and libexec.install lines
so we don't have to change that at the next upgrade.
Install the metafiles in `prefix`.
Use the official site as the url. Change sf.net to the mirror.
Tested on Lion using clang and llvm-gcc.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade arping to version 2.11.
Remove the patch that's not needed anymore due to changes upstream.
Tested on Lion using clang and llvm-gcc, then pinging my router
by ip address.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade adol-c to version 2.3.0
Adjust the inreplace to patch configure.ac also, because this
software tends to recreate configure on Lion and wipe out the
changes we inreplaced. Tested using clang and llvm.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade colpack to version 1.0.6.
The `makefile` doesn't exist and has to be created with configure.
Remove the `inreplace` that applied to the `makefile`.
Add a call to `system "./configure"`. It creates a Makefile that
has all the features the previous formula inrepalced.
This software is used by adol-c, and adol-c was tested against this
new version. Tested with llvm and clang on Lion.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
[jn: add --without-gtk; gtk+ is (currently) not in the dependency tree
here.]
ClosesHomebrew/homebrew#12681.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade weechat to version 0.3.8.
Remove the patch block because the patch is included.
ClosesHomebrew/homebrew#12679.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
LevelDB is a fast key-value storage library written at Google that
provides an ordered mapping from string keys to string values.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Remove AM_C_PROTOTYPES from configure.in, which was dropped in automake
1.12 as pre-ANSI C compilers are no longer worth caring about.
Add fails_with clang. AGG tries to return a const reference as a
non-const reference, which is allowed by gcc and llvm but not clang 3.1.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Without this option, freetds will compile against other available ODBC, in
Mac OS X for example, it will compile against native OS X iodbc installation.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
libewf > 20100226 introduced a significant API change that is not backwards
compatible. The included patch for sleuthkit was provided by the maintainer
of libewf. This patch is not needed to build HEAD in sleuthkit as the issue
was fixed in sleuthkit/sleuthkit@7dcf7863b4FixesHomebrew/homebrew#12628.
ClosesHomebrew/homebrew#12660.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
* fix suggested framework symlink location
* add "python3" executable for --framework builds.
* warn if ~/.pydistutils.cfg is found
* Tk warnings not necessary for Lion.
* Caveats: Fix naming of easy_install
ClosesHomebrew/homebrew#9869.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
TBB enables parallel code in OpenCV. Some task like opencv_traincascade
will be slow without TBB enabled.
ClosesHomebrew/homebrew#12407.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- Build Python bindings manually so we can exert some semblance of
control over where they are installed.
Tentatively fixesHomebrew/homebrew#12078.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Qt4 has a configure option, `--developer-build` that compiles and
links Qt with Qt developer options. This feature was requested
in an issue. Add that as a user install option. This has no
affect on the bottles, which can remain unchanged. This compiles
without error on Lion using llvm-gcc from XCode-4.3.2.
ClosesHomebrew/homebrew#12284.
ClosesHomebrew/homebrew#12595.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
To support Xcode without CLT installations we need to set LIBS and
INCLUDES, because the default flags are not fully respected by their
build scripts.
ClosesHomebrew/homebrew#12448.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Facebook no longer provides or maintains flvtool++. (This
addresses Homebrew/homebrew#12158.)
ClosesHomebrew/homebrew#12578.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
yaml-cpp does not require libyaml, so it shouldnt be specified as a
dependency.
ClosesHomebrew/homebrew#12590.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
propertiespatternconverter.cpp fails to compile when the optimization flag
is "-Os", which is the default. Appending "-O2" to CXXFLAGS, which is a
similar optimization level, resolves the issue.
FixesHomebrew/homebrew#12565.
ClosesHomebrew/homebrew#12566.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
This patch makes it possible to use `-DCMAKE_FIND_FRAMEWORK` to override
CMake default of giving priority to Frameworks when satisfying dependencies.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Upgrade twolame to version 0.3.13.
Remove the unrecognized `--disable-debug` flag.
Add a dependency on libsndfile if the user options it.
Add a user option called `--frontend`.
Twolame contains a well coded frontend cli named `twolame` that
will automatically be created if libsndfile is present. Because
some users may want that so they can convert audio file types,
this commit adds that dependency as a user triggered option.
The frontend can't be turned off by any configure switches. So
there is no code in the formula for args here. This software
passes all 77 tests from `make check` when the frontend is built,
but that is also left out because it's not critical.
ClosesHomebrew/homebrew#12549.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The included libpcap sometimes tries to compile a universal binary,
including PPC.
ClosesHomebrew/homebrew#12499.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Rationale: some users insist on replacing the /usr/bin/ruby symlink
to point to another ruby on their system, which may break homebrew.
Use the full Framework path instead, which is less likely to be tampered with.
This also reorganizes the brew --config checks to reflect the different path.
FixesHomebrew/homebrew#12009.
ClosesHomebrew/homebrew#12333.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
fuse4x was incorrectly tagged and pointed to the tree without
'version update' commit. Fix the tag and homebrew formula.
ClosesHomebrew/homebrew#12543.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
For the following reasons:
- The main downloads page at littlecms.com directs users to SourceForge.
- The parent site of the little-cms 1.x downloads, littlecms.com/1 looks
ancient and unmaintained.
- The server that provides the 1.x downloads does not properly set
Content-Encoding and Content-Type headers which causes some proxies to
perform on-the-fly gunzipping. This causes the checksum to fail.
ClosesHomebrew/homebrew#12418.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
xchat hasn't had any activity upstream since 2010, so here's a patch to
fix the build against recent glib.
While at it, modernize the style a bit.
FixesHomebrew/homebrew#12477.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Useful for Audacity and Mixxx, which both want libmp3lame but need i386
binaries.
ClosesHomebrew/homebrew#12460.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Riak has included riak-search since 1.0. Since Riak 1.1.2 is
already included in the Homebrew repo, removing this stale formula.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
net-snmp-5.7.1 is missing a darwin11.h header that can be copied
from the existing darwin10.h, if the 10s are changed to 11s.
Configure also warns that mibII/icmp is required but disabled.
* remove the configure flag --with-out-mib-modules=mibII/icmp
* if lion, cp the darwin10.h to darwin11.h
* patch the darwin11.h to replace the 10s with 11s.
This builds again on Lion without error. The patch has been
reported upstream, and its url is in the formula comments.
ClosesHomebrew/homebrew#11378.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Upgrade wiggle to version 0.9.
Patch OSX compile errors using the developer's git repo.
Patch two functionality issues released the day after 0.9.
Include patch removal information in the comments.
Remove the `malloc` patches. They are fixed in this version.
Remove the `-w` from cflags lets the developer use `-Werror`.
Use our `cflags` and `-g` rather than `-ggdb` to support clang.
Add the `test` make target (~2sec) to verify the build because
we are trusting wiggle to do complex patching.
ClosesHomebrew/homebrew#12305.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The GitHub checkout needs an autotools bootstrap. Patches welcome to
enable it, but removing it until then.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The weechat saga continues... This commit makes all the language
modules optional rather than the default. It adds a dep on guile
if the user options for that module. It adds a patch from HEAD
to fix the perl segfault on exit and a removal comment for 0.3.8.
This commit does not patch the ruby-1.9.3+rvm issue other than
not building that module by default. Still waiting on the
upstream patch.
cf. Homebrew/homebrew#12377ClosesHomebrew/homebrew#12392.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
GST-ffmpeg comes bundled with an internal ffmpeg that suffers from
the known issue of a hardcoded gcc unless the right configure arg
is thrown. When building with clang, the hardcoded gcc in the
libav subdirectory causes an error where gcc doesn't recognize
`-march=native`. GST-ffmpeg offers a configure flag to fix that.
Add a flag to use our ENV.cc.
FixesHomebrew/homebrew#12312ClosesHomebrew/homebrew#12390.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Change path from sbin/nagios-plugins to sbin in order to avoid hacks in
related formulae.
ClosesHomebrew/homebrew#12181.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Configure fails to disable make tasks when Doxygen is not installed and this
causes the build to fail. We don't install Doxygen docs anyway.
Also, move `ENV.fortran` to the top of the install block so that the build will
fail early if a fortran compiler is not installed.
FixesHomebrew/homebrew#12406.
Add an explicit dependency on libxml2 for clarity. Previously it was
implicit in the gnome-doc-utils dep. Prepend its site-packages directory
to the PYTHONPATH.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
GDAL can't compile against Poppler 0.20.0 so it is explicitly disabled for the
time being in order to prevent compilation errors. This commit can be reverted
once a fix goes in upstream.
The configure script tries to be clever with figuring out rpath flags for the
compilers. It fails epically.
Also, use `ENV.x11` which removes the need for a couple of configure arguments
and allows libpng to be found.
Starting with the 4.2 release, NetCDF has a new distribution model where the
core C library and command line utilities are shipped as one package and the
C++ and Fortran libraries are shipped as seperate packages.
For now, we're handling this by including the C++ and Fortran libraries as
sub-brews so there is no need for a bunch of `netcdf-cxx` and `netcdf-fortran`
packages. The C++ library is also built by default to mirror the behavior of
the pre-4.2 formula.
These changes preserve the status quo as much as possible.
This patch compiles ffmpeg against libvo-aacenc (if installed) to
provide AAC encoding support - preferred by the maintainers over
libfaac.
ClosesHomebrew/homebrew#12231.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Library containing VisualOn implementation of Advanced Audio Coding
(AAC) encoder. May be used by ffmpeg, among other tools, to provide
AAC encoding capability.
ClosesHomebrew/homebrew#12231.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- Mark as fails_with :clang due to libpar2 dependency.
ClosesHomebrew/homebrew#12319.
[jn: add cause to fails_with block]
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade gwyddion to version 2.28.
Remove the unrecognized `--disable-debug`.
Add `--with-html-dir=#{doc}` to get the docs in the right place.
Add the xz build time dep to handle the tarball.
Tested on Lion with clang and llvm from XCode-4.3.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Update gcal to version 3.6.2
Add the `xz` dep to decrease the download size and mirror load.
Add `--disable-dependency-tracking` because it's an option now.
Tested on Lion with clang and llvm-gcc from XCode-4.3.2.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Switch to using `configure`
* Remove `head` because it requires gtk.
* Add a build time dep on gettext, otherwise link errors.
* Add `--disable-perl` to stop segfault on program exit.
* Add `--disable-aspell` which is still being reviewed.
* Add `--disable-static` to stop building duplicate plugins.
* Add `--disable-python` unless Python is a framework.
* Note that the one `inreplace` is fixed in HEAD.
* Delete the plugin symlinks to stop runtime warnings.
Weechat-0.3.7 can be built using cmake or configure, but their
cmake build scripts are prone to errors when building the ruby
bindings. By switching to `configure` the formula is greatly
simplified, and all the plugins it creates get neatly installed
into lib+'weechat/plugins' automatically.
Weechat `head` builds require `gtk` even if the `gtk` gui is
not enabled, which it isn't because it's b0rked. So remove head.
Weechat comes with an internal gettext and libintl that cause
errors when linking. So add a dep on Homebrew's gettext.
As reported by another user and confirmed through gdb, the perl
plugin causes a segfault on exit. So disable building that.
Aspell is still under construction in Homebrew, and weechat will
compile that plug by default. So disable aspell for now.
Disable the static plugins and delete the plugin symlinks. That
leaves only one `.so` for each plugin and stops a dozen warnings
when running weechat about _can't load duplicate plugins._
Disable building the Python plugin unless Python is a framework
because it will build but fail to load the plugin with an error
that it can't dlopen a module expected in flat namespace.
Even if we add a dep on Homebrew/dupes/ncurses to get the wide
variety of it, that formula doesn't actually create `-lnursesw`.
So that is not added, because it can't be found.
The gtk interface to weechat is not added as a user option because
it runs but doesn't make a useable gui. It's blank & unresponsive.
Weechat compiles, runs, and connects to freenode without error
using clang and llvm on Lion, tested against system Ruby, system
Python, and Homebrew Python frameworks.
FixesHomebrew/homebrew#11289.
FixesHomebrew/homebrew#11835.
FixesHomebrew/homebrew#12066.
ClosesHomebrew/homebrew#12193.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade libvpx to version 1.1.0.
Remove the patches and inreplace. Both are fixed in this version.
It correctly checks before trying to add `-isysroot`, and it uses
the correct target for your OS.
ClosesHomebrew/homebrew#12307.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Libdnet uses `autoreconf` and has deps on automake and libtool
when using XCode-4.3 or greater; however, the previous commit I
authored has the wrong conditional where it also checks if the
formula is building HEAD. That's not right. There is no HEAD,
and `autoreconf` is used for stable.
* Remove `if ARGV.build_head?`
This was tested on Lion by removing automake, autoconf, and libtool
then using `brew install libdnet` which now builds all the deps.
It was also tested on SL using the system autotools without any
ENV vars set, such as LIBTOOLIZE. Tested with XCode-4.3.2, 4.0.2.
FixesHomebrew/homebrew#12280.
ClosesHomebrew/homebrew#12286.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
If asciidoc is present, the HTML docs are built, which also requires
xmlto.
ClosesHomebrew/homebrew#12242.
jn:
- it wasn't immediately clear to me how to just disable building the
HTML docs, so I left the deps in
- mark asciidoc and xmlto as build-time deps and set XML_CATALOG_FILES
- remove unused configure switch
- use builtin ln_s instead of shelling out
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade raptor to version 0.9.29 and adjust the location of the
html docs from gtk-doc to the usual location in share. For this
app, the standard helper path `doc` results in `doc/rasqal/rasqal`.
So `share/doc` is used to eliminate the duplicate `rasqal` path.
Note: The homepage for rasqal mentions an upcoming API change:
'RDQL support will be removed in the next release (0.9.30)'
ClosesHomebrew/homebrew#12259.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>