- Fix link error with clang
Fix a link error with clang & libtool. Configure chooses
--export-dynamic
but that flag doesn't normally start with two dashes, only one.
There are no overrides or switches available for that. The fix is an
inline patch for configure, adding the compiler case for darwin*) to set
ZZIPLIB_LDFLAGS="-export-dynamic". Add the inline patch and bug report
url to the formula. Add the 2sec make check for this compression
library. Checks on Lion 10.7.3 and SL 10.6.8 with all five compilers
from the 4.3 CLT and XCode-4.0.2 (4D502).
ClosesHomebrew/homebrew#10672.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
We disable building the agent program and provide it as a separate
gpg-agent package so that gnupg 1.x can use it as well. However, gpg2
still tries to find the agent in its own keg if it isn't already
running; that is, if the user hasn't done something like
eval $(gpg-agent --daemon)
Using --with-agent-pgm, we can tell gpg2 to look in HOMEBREW_PREFIX/bin
for the agent instead.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
OS X ships with iconv. glib failed to detect it, and this snowballed
into a few formulas requiring a superfluous duplicate install of
libiconv. All of the formulas in this commit compile without the
libiconv dependency.
jn:
The libiconv shipped with 10.5, 10.6, and 10.7 is version 1.11, so there
shouldn't be any cases of "10.x needs a newer libiconv but 10.y does
not".
In any case, we'll wait a week or so just in case any weird issues crop
up, and if not, then we can remove the libiconv formula and blacklist
it.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ClosesHomebrew/homebrew#10636.
[jn: the switch to disable the GTK client changed from "disable-gtk" to
"without-gtk" for some reason, adjusted.]
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The latest release is four years old and incompatible with recent
berkeley-db versions.
ClosesHomebrew/homebrew#10633.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* also removed automake dependency
* boost is now only a build dependency
ClosesHomebrew/homebrew#10619.
Signed-off-by: Max Howell <max@methylblue.com>
pixman uses includes from X11. Declaring Env.x11 makes this explicit (even if it may work on your system without).
Xcode without CLTs needs to set this explicit in order to add the right sdk path.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Fixed a regression where the definition of clang_dir was removed.
ClosesHomebrew/homebrew#10515.
Signed-off-by: Max Howell <max@methylblue.com>
Modified patch so clang_dir is a function rather than a variable.
FixesHomebrew/homebrew#10559.
Also added missing deps for osm2pgsql.
Removed some ACLOCAL_FLAGS stuff as in theory this is not set in ENV.rb. Would like to see if it causes trouble. Should just work now.
Adjust the formula for libvpx to determine the correct target.
This was tested on 32bit and 64bit Snow Leopard 10.6.8 using
all three compilers from XCode-4.0.2, and it was tested on Lion
using both compilers from XCode-4.2.1 and 4.3.
ClosesHomebrew/homebrew#10249.
Remove the option to --enable-postproc because it's always enabled
Set --disable-runtime-cpu-detect so it's detected during make.
Don't allow --gcov when compiling with Clang. Cleans up warnings.
Remove the O-level from cflags with Clang. Cleans up warnings.
This was tested on 32bit and 64bit Snow Leopard 10.6.8 using
all three compilers from XCode-4.0.2, and it was tested on Lion
using both compilers from XCode-4.2.1.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Also some of this patch was meant to be in the last commit. I've reverted to brotherbard gitx and it doesn't auto-refresh if the file changes, so I missed part of it. Proof that tools can break your flow :P
ClosesHomebrew/homebrew#10498.
Signed-off-by: Max Howell <max@methylblue.com>
Made the clang patches only get applied if using clang and clang version <= 3.1. This may mean it breaks for 3.2 but we do this because we need to continue testing such things.
This formula is carrying around a large Project Builder patch,
which is not compatible going forward. Upstream progress seems
to have stopped too. Probably the precompiled download could be used
if someone wanted to install this.
ClosesHomebrew/homebrew#10063.
We packaged version "0.0.1", but there may have been a more recent
version available. In any case, no one submitted any updates and
upstream work seems to have stalled 2 years ago.
ClosesHomebrew/homebrew#10390.
Way back in the day, Homebrew defaulted to LLVM/-O3. A lot of stuff
failed to compile, and a lot of stuff just took forever with -O4.
We don't default this way anymore, and in fact use -Os per Apple
guidelines.
So remove these old "fixes" since they are no longer needed.
Also move to using pre-packaged downloads for Riak.
Rationale:
Riak does not always compile against the latest version of Erlang.
As we like to bump Erlang aggresively, this ends up breaking Riak.
Since the pre-packaged Riak comes with a specific verison of Erlang,
this gets around this problem. And there's no compelling reason to want
to compile Erlang-based software from scratch.
Parsley is head-only with no stable versions available, and hasn't been
updated for two years. argp-standalone is only used by parsley and does
not have a real homepage.
ClosesHomebrew/homebrew#10458.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- Upgrade fluid-synth to 1.1.5.
- Switch to cmake build. Docs say configure is deprecated.
- Add a patch to fix a missing CoreAudio header on Lion.
- Disable the framework build.
- Remove lib suffix to avoid lib64.
- Compiles on Lion 10.7.3 and SL 10.6.8 using all five compilers.
ClosesHomebrew/homebrew#10197.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
MacPorts used to have this too, for whatever reason, but they removed it
almost two years ago. I can build irssi fine without it, so I think it
needs better justification in the formula.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Fixes some build issues on Lion.
Apparently it's enough to remove just the '-O' flags and preserve our
other optimization flags. This may only be needed on Lion, but frankly
clisp tends to have issues on all platforms so it's probably acceptable
to just disable it everywhere.
ClosesHomebrew/homebrew#10450.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
These are unstable versions.
This reverts commit 9b5cba752f678a11686299d09a78f2970ed0f4bd.
This reverts commit 130b408db14d4d54f8ec4fb1c8cca5caa2edcd29.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
We provide a pcre formula as OS X does not provide libpcre headers.
However, it does provide the library itself and so occasionally things
will use Homebrew's pcre headers and link against the system library.
This should be avoided to prevent incompatibilities, so explicitly tell
the build system where to look for the library where necessary.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
libplist-1.8 has a broken inreplace that is supposed to disable swig
python bindings. Fix that and inline the patch to prevent future
inreplace failures. Also disables Cython python bindings until there is
a homebrew formula for Cython. Tested on Lion with Homebrew
python-2.7.2.
ClosesHomebrew/homebrew#10436.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Use the standard `ENV.m32` to force a 32-bit build now that Homebrew's
environment tools can work with Objective C flags.
Only specify `-arch` flags when building Python modules---this prevents Python
from trying to build for more architectures than it should.
FixesHomebrew/homebrew#10348.
This version includes a workaround to not trigger an LLVM optimizer bug
which was causing a LLVM to hang.
ClosesHomebrew/homebrew#10406.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Upgrade libmagic to version 5.10.
Throw the --enable-fsect-man5 flag to configure because OSX uses
magic(5) not magic(4) when it comes to man page sections.
ClosesHomebrew/homebrew#10198.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Add the flag --disable-visibility to configure, fixes compile errors
with Clang and llvm from CLT-4.3. That flag means don't use ELF
visibility attributes.
FixesHomebrew/homebrew#10283.
ClosesHomebrew/homebrew#10287.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
The tests try to link with dbus-glib, but dbus-glib depends on dbus.
SMH.
FixesHomebrew/homebrew#10367.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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>
This has had ENV.j1 since the beginning, but it seems to build fine
these days. If it still fails for someone it needs a comment with
justification.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Better tests are certainly welcome, but keep in mind that the source is
not available to `brew test`. If `make check` is necessary it should be
done as part of the build.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This adds a very small patch to fix an issue with building nmap with
clang. The crux of the issue is that clang no longer compiles files with
void main() instead requiring int main(). This causes the configure to
fail when attempting to identify if a certain feature exists which
causes nmap to include its own version which off course causes a compile
failure because now you have two structs with the same name and two
functions with the same name in the same compilation unit.
This patch should probably be sent upstream as well.
ClosesHomebrew/homebrew#10302.
ClosesHomebrew/homebrew#10300.
Signed-off-by: Max Howell <max@methylblue.com>
This adds an extra flag --enable-debug so that the user can build Botan
with debugging enabled which is handy for debugging programs written
with Botan.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
ECM is a program to remove redundant information from cd images, and
losslessly replace that information when you want the original back.
This formula installs two binaries: ecm and unecm. That's all.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
A formula for GibbsLDA++ (A C/C++ Implementation of Latent Dirichlet Allocation (LDA) using Gibbs Sampling for Parameter Estimation and Inference). http://gibbslda.sourceforge.net/ClosesHomebrew/homebrew#7164.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
- Adjust CFLAGS to preserve building with clang
- Remove the patch, which fails to apply. It was not submitted upstream
prior to the 1.4.12 release; users who need this patch preserved
should see that it is sent to the GnuPG maintainer. We will consider
carrying it again once that is done.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Fix call to poppler to render normal thickness lines in Firefox.
ClosesHomebrew/homebrew#10317.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
arp-scan is a command-line tool that uses the ARP protocol to discover
and fingerprint IP hosts on the local network. It is available under the
GPL licence (GPLv3).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
"Blackbox is a planning system that works by converting problems
specified in STRIPS notation into Boolean satisfiability problems, and
then solving the problems with a variety of state-of-the-art
satisfiability engines. The front-end employs the graphplan system (Blum
and Furst 1995). There is extreme flexibility in specifying the engines
to use. For example, you can tell it to use walksat (Selman, Kautz, and
Cohen 1994) for 60 seconds, and if that fails, then satz (Li and
Anbulagan 1997) for 1000 seconds. This gives blackbox the capability of
functioning efficiently over a broad range of problems. The name
blackbox refers to the fact that the plan generator knows nothing about
the SAT solvers, and the SAT solvers know nothing about plans: each is a
"black box" to the other."
[http://www.cs.rochester.edu/u/kautz/satplan/blackbox/]
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Conserver is an application that allows multiple users to watch a serial
console at the same time. It can log the data, allows users to take
write-access of a console (one at a time).
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
These now return an Array of all the target destinations.
Previously, if a single argument was passed a single non-
Array was returned.
This behavior has been changed so that an Array is always returned
even for a single argument.
Updated the test.
Hopefully this won't break any custom code out there.
Determining build-time deps as part of the download strategy is probably
a Homebrew 2 topic, so avoid the "you need to install xz" warning by
declaring xz as a dep where used.
The "don't use xz if there are alternatives" policy is still in effect,
though.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Several issues with PostGIS are addressed with this refactoring:
- PostGIS takes all of its orders from the PGXS makefiles distributed with
Postgresql. This means that it installs its self into the Postgres keg and
there is nothing that can be done. The solution is to avoid `make install`
and manually install everything.
- Gettext is no longer used as there is no way to properly specify paths to a
keg-only formula when all of the flags are being dictated by PGXS.
- The list of components in the 2.0 HEAD builds has been updated.
- The default behavior for HEAD is to build the raster and topology
extensions. Because of this, the `--with-raster` and `--with-topology`
options have been dropped.
ClosesHomebrew/homebrew#9448.
Frink is a head-only formula served up as a jar with no version information
in the path. Removing from Homebrew-core.
To reinstate, encourage upstream to tag stable releases.
- 64bit and cocoa is only possible in the 2.9 series.
- Using the bundle wxPython+wxWidgets for 2.9.x.
- Better caveats telling about all issues based on the actual options to guide the users with options/problems.
- Building gizmos, sec and ogl only for 2.8 (because 2.9 does not have these subduers)
- Python bindings for 2.8 are now built with MacOS 10.6 sdk on Lion explicitly for i386. This fixes the error of "Cursor" not found during build time in current wxmac formula.
- Added head for wxPython (may be of use later on)
- Set right home pages.
- Removed --system-python. Not needed, since the policy is to take whichever python is upfront in the path.
- Fixed bug that "gizmos", "stc" and "ogl" were not built because "$c" is not a variable expansion expression in ruby. "#{c}" was meant.
ClosesHomebrew/homebrew#8639.
ClosesHomebrew/homebrew#10149.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Benefit: For brewed Python, adding stuff to the PYTHONPATH is no longer needed.
For other Pythons nothing changes but the X.Y part in the path. Oh, and you
only need to edit your PYTHONPATH once.
- Added a method to get the major.minor version number from the current python
- Updated the caveats to reflect the new path
FixesHomebrew/homebrew#8182.
ClosesHomebrew/homebrew#10051.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Both of these were picked up by the checks added in 641d22f. While
lowercase is the convention used across Homebrew, I wonder if the audit
check should be more forgiving; after all, uppercase letters are valid.
And the checksum validation code does an uppercase comparison.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
To be safe (because this is an important dep), mark 2335 as the failure
point since a 2335.x shipped with older Xcode. Given that Clang 2.1 is
one of Boost's test compilers, current Xcode compilers should be fine.
And most users will get the bottle, anyway.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Monotone does not build against botan 1.10.x, so we need to build an
ad-hoc botan 1.8 in the Monotone keg.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Define a couple of variables to help --HEAD run autogen.sh and locate
our m4 macros. Adds a Dir.chdir for HEAD, and a depend_on libotr,
otherwise configure will choke once you generate it and run it. Adds a
caveat to inform the user how to setup their .mcabberrc configuration
file. This compiles on Lion and Snow Lep with all five compilers,
either stable or head.
Changes --enable-otr from an option to being the default.
ClosesHomebrew/homebrew#10174.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Rather than download a shell script and tell users to run it with
`sudo`, it is better to keep everything under Homebrew's control.
Luckily, the XML toolchain provides the environment variable
XML_CATALOG_FILES to allow files otehr than /etc/xml/catalog to be used.
So remove the shell script, and do all the work inside the formula
itself. When we're done, we just tell the user to add
HOMEBREW_PREFIX/etc/xml/catalog to their shell configuration, rather
than tell them to `sudo docbook-register`.
Rather than download the shell script, just download docbook 5.0, which
we need anyway.
This also simplifies the logic in a handful of docbook-using formula.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>