| Age | Commit message (Collapse) | Author |
|
|
|
Closes #27597.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #27275.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
this will fix #26610 which failed the build with error:
no such file or directory: 'Python.framework/Versions/2.7/Python'
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
Closes #26556.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
|
|
Closes #23554.
|
|
Closes #21012.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Closes #20592.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes #20250.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
New `depends_on :python` Dependency.
New `depends_on :python3` Dependency.
To avoid having multiple formulae with endings -py2 and -py3,
we will handle support for different pythons (2.x vs. 3.x)
in the same formula.
Further brewed vs. external python will be transparently supported.
The formula also gets a new object `python`, which is false if
no Python is available or the user has disabled it. Otherwise
it is defined and provides several support methods:
python.site_packages # the site-packages in the formula's Cellar
python.global_site_packages
python.binary # the full path to the python binary
python.prefix
python.version
python.version.major
python.version.minor
python.xy # => e.g. "python2.7"
python.incdir # includes of python
python.libdir # the python dylib library
python.pkg_config_path # used internally by brew
python.from_osx?
python.framework?
python.universal?
python.pypy?
python.standard_caveats # Text to set PYTHONPATH for python.from_osx?
python.if3then3 # => "" for 2.x and to "3" for 3.x.
Further, to avoid code duplication, `python` takes an optional
block that is run twice if the formula defines depends_on
:python AND :python3.
python do
system python, 'setup.py', "--prefix=#{prefix}"
end
Read more in the Homebrew wiki.
|
|
|
|
* fixes CMake Python detection
Fixes #19168.
Closes #20025.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
This is a workaround for #18722.
|
|
Closes #18306.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Change the way cmake determines whether libiconv is available, since
the existing check is broken and makes cmake think that libiconv
isn't available.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
|
|
|
|
- Upgrade to 0.3.9.2. Still works with superenv.
Closes #16152.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Fixes #15966.
Closes #15967.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Closes #15237.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
The weechat devs have informed us that configure is deprecated.
Switch back to cmake.
Add a user option to enable the aspell module.
Add a user option to enable the lua module.
Add an inreplace to fix the bad path in HB framework Python's
LINKFORSHARED variable and an explanation for it.
Add deps for lua and apsell if the user options those.
Add a caveat suggesting the user install aspell manually before
installing weechat, otherwise they won't have any dictionaries.
Remove the code that deleted the extra module symlinks.
The Aspell dep could be made into a requirement, but it would be
nice if Aspell installed at least the en dictionary by default.
All bindings work except the Ruby bindings when built against
rbenv and ruby-1.9. This has been reported upstream and is the
main reason for switching back to cmake, so we can get support.
Tested on Lion using clang and llvm from XCode-4.3.3 against
system Python, HB framework and non-framework python, the current
Aspell, Lua, and Guile, system Ruby, and system Perl.
Fixes #12377
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Upgrade weechat to version 0.3.8.
Remove the patch block because the patch is included.
Closes #12679.
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. #12377
Closes #12392.
Signed-off-by: Jack Nagel <jacknagel@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.
Fixes #11289.
Fixes #11835.
Fixes #12066.
Closes #12193.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Also disable Python plugins.
We would gladly accept options for ruby/perl/python to attempt enabling
support for those langs.
|
|
|
|
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
|
|
|
|
* remove patch to find libiconv
* disable ruby extension in head and stable (build fails)
|
|
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
|
|
|
|
Signed-off-by: Max Howell <max@methylblue.com>
Fixes #82
|
|
The WeeChat devs don't know about CMAKE_INSTALL_PREFIX apparently, someone
should tell them. I won't. I plan on just sitting back and shacking my head
side-to-side instead.
|
|
|