471 Commits
Author SHA1 Message Date
NotAlexNoyle b5ed5a851e Fix dpkg links 2018-10-08 20:16:49 -04:00
Misty De Meo 302295537d Merge pull request #613 from mistydemeo/libid3tag_fix_patches
libid3tag: fix patches
2018-10-06 09:32:17 -07:00
Misty De Meo 2b3f9c7b25 libid3tag: fix patches
Fixes #612.
2018-10-06 09:31:28 -07:00
Misty De Meo 2fa0b4d8b0 Merge pull request #610 from dcwar/master
Coreutils 8.30
2018-09-07 10:32:40 -07:00
dcwar 22f34dd7db Merge pull request from dcwar/dcwar-patch-2
Update coreutils.rb
2018-09-06 23:17:22 -04:00
dcwar f8eb7ddd35 Update coreutils.rb 2018-09-06 23:15:33 -04:00
Misty De Meo 82e130df9f Merge pull request #604 from mistydemeo/fix_python_superenv
superenv: filter out -Wno-implicit-fallthrough
2018-07-20 19:53:28 -07:00
Misty De Meo f0e8417be4 superenv: filter out -Wno-implicit-fallthrough
Fixes #599.
2018-07-20 19:52:32 -07:00
Misty De Meo 431181406f Merge pull request #603 from mistydemeo/qt_fix_url
qt: fix download URL
2018-07-20 19:50:44 -07:00
Misty De Meo e8217afe1b qt: fix download URL
Fixes #601.
2018-07-20 19:47:34 -07:00
Misty De Meo 63d275701b Merge pull request #598 from mistydemeo/update_python
Update Python and Python 3 formulae
2018-07-06 23:41:21 -07:00
Misty De Meo d387bb74ea python3: add Tiger bottles 2018-07-06 23:33:48 -07:00
Misty De Meo ff986520d1 python: add Tiger bottles 2018-07-06 23:33:39 -07:00
Misty De Meo 20f97682ac python3: remove quicktest 2018-07-06 23:21:11 -07:00
Misty De Meo f447a8a640 python3 3.7.0 2018-07-06 23:21:11 -07:00
Misty De Meo 37491333e6 python: sync Homebrew changes 2018-07-06 22:36:48 -07:00
Misty De Meo 1e620f5e7d python 2.7.15 2018-07-06 22:36:48 -07:00
Misty De Meo e0daa8cb68 grip: add Tiger bottles 2018-07-06 21:29:14 -07:00
Daniel Toman a2bdd1c804 grip 4.5.2
Closes #596.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2018-07-06 21:29:07 -07:00
Misty De Meo b48d6bd5af Merge pull request #597 from mistydemeo/fix_g3_vendor_ruby
Fix vendored Ruby script on G3 (again)
2018-07-06 20:11:30 -07:00
Misty De Meo 36827d7637 vendor-install: remember VENDOR_DIR is a variable 2018-07-06 19:42:02 -07:00
Misty De Meo e6522ee54e vendor-install: fix checking processor on PPC
I always forget that "cpufamily" is only defined on Intel, while
"cpusubtype" is only defined on PowerPC. This adds a check for the
CPU type first to avoid using the wrong value on the wrong CPU.
2018-07-06 19:08:57 -07:00
Misty De Meo da9c583c2d Merge pull request #590 from mistydemeo/update_tcsh
tcsh 6.20.00
2018-05-13 10:22:13 -07:00
Misty De Meo d0625075ea tcsh: add Tiger bottles 2018-05-13 10:21:42 -07:00
Misty De Meo 458e371515 tcsh: Tiger doesn't have /usr/bin/seq 2018-05-13 10:14:31 -07:00
Misty De Meo 02c724dd21 tcsh 6.20.00 2018-05-13 10:08:59 -07:00
Misty De Meo 03f7f8cbd2 vendor-install: remove stray else statement
Fixes #588.
2018-05-12 09:18:00 -07:00
Misty De Meo 975edee3a7 Merge pull request #587 from mistydemeo/add_back_perl_sha256
vendor-install: use pure Perl to avoid broken sha2
2018-05-11 16:00:46 -07:00
Misty De Meo 4b379beae2 vendor-install: use pure Perl to avoid broken sha2 2018-05-10 23:12:44 -07:00
Misty De Meo acb6c9febe Merge pull request #580 from mistydemeo/add_mgba
mgba 0.6.3
2018-05-07 17:58:07 -07:00
Misty De Meo 421a659181 Merge pull request #586 from mistydemeo/readline_bottles
readline: add Tiger bottles
2018-05-07 17:57:12 -07:00
a400253621 mgba 0.6.3
Co-authored-by: Kyungdahm Yun <tomyun@gmail.com>
Co-authored-by: equal-l2 <equal-l2@users.noreply.github.com>
Co-authored-by: JCount <JCount42@gmail.com>
Co-authored-by: Zhiming Wang <zmwangx@gmail.com>
Co-authored-by: FX Coudert <fxcoudert@gmail.com>
Co-authored-by: ilovezfs <ilovezfs@icloud.com>
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2018-05-07 17:23:44 -07:00
Misty De Meo a11591ba69 readline: add Tiger bottles 2018-05-07 17:03:57 -07:00
Misty De Meo 9e81b8295b Merge pull request #581 from mistydemeo/gcc_fix_g5
GCC 7.3.0
2018-04-29 20:11:35 -07:00
Misty De Meo d7740e2513 gcc: add Tiger Altivec bottle 2018-04-29 20:08:41 -07:00
Misty De Meo e3836cad36 gcc: add Tiger G3 bottle 2018-04-28 20:03:15 -07:00
Misty De Meo e1334e7b95 Merge pull request #583 from mistydemeo/pcre2_bottles
pcre2: add bottles
2018-04-28 19:56:42 -07:00
Misty De Meo edf2aa9573 pcre2: add bottles 2018-04-28 19:55:29 -07:00
Misty De Meo 2ba239c9ab Merge pull request #582 from mistydemeo/fish_fix_tiger
fish: fix Tiger build
2018-04-28 19:54:41 -07:00
Misty De Meo cff044e22e fish: add bottles 2018-04-28 19:54:10 -07:00
Misty De Meo 78661fd581 fish: fix incompatible ttyname_r on 10.4 2018-04-28 19:54:10 -07:00
Misty De Meo ba81e638f7 gcc: use upstream patch 2018-04-27 21:55:32 -07:00
Misty De Meo 34de07506c gcc: pass -force_cpusubtype_ALL for G3 bottle builds, too 2018-04-27 21:55:32 -07:00
Misty De Meo fd979d03e7 gcc 7.3.0 2018-04-27 21:31:46 -07:00
Misty De Meo 629231d8d5 Merge pull request #576 from mistydemeo/libpcap_flex_bison
libpcap: needs newer bison/flex
2018-04-10 20:48:00 -07:00
Misty De Meo 342c8683e4 libpcap: needs newer bison/flex
Fixes #574.
2018-04-10 20:38:51 -07:00
Misty De Meo 564673f49e Merge pull request #570 from EricFromCanada/gcc44-update
gcc44: fix build for all
2018-03-11 23:46:44 -07:00
EricFromCanada 94c13e55ee gcc44: fix build for all 2018-03-07 15:57:56 -05:00
Misty De Meo 296e4fb18b Merge pull request #525 from mistydemeo/revert_to_qemu_221
Revert to QEMU 2.2.1
2018-03-05 20:41:11 -08:00
Misty De Meo 3cfb8fd22a Merge branch 'vendor_ruby' 2018-03-05 20:31:45 -08:00
Misty De Meo d7324f0ff5 brew.sh: Update curl version variable, too 2018-03-03 16:33:54 -08:00
Misty De Meo aca22acb83 doctor: kill Ruby version test 2018-02-28 17:29:41 -08:00
Misty De Meo 36c2d3e611 brew.sh: redeclare HOMEBREW_USER_AGENT_CURL after vendoring curl 2018-02-28 17:25:49 -08:00
EricFromCanada 17a9268052 gcc47: fix build on 10.4 2018-02-25 16:50:05 -08:00
Misty De Meo 58bbe40b84 Fix vendor curl comments 2018-02-25 14:47:58 -08:00
Misty De Meo 6755501c79 Simplify vendor conditional 2018-02-25 14:47:24 -08:00
Misty De Meo a9d4bc393e Fix version number for PPC curl 2018-02-25 12:26:36 -08:00
Misty De Meo cd25ed22b3 Add Tiger Intel Ruby/Curl packages 2018-02-25 12:26:11 -08:00
Misty De Meo 69df652c46 Config: print curl to use 2018-02-25 11:34:24 -08:00
Misty De Meo 891751521b Fix path to curl script 2018-02-25 11:31:40 -08:00
Misty De Meo 1fe7926d8b +x vendor-curl.sh 2018-02-25 11:31:04 -08:00
Misty De Meo a2009ec874 Fix copypaste error 2018-02-25 11:26:39 -08:00
Misty De Meo d0190691a2 Bump portable-curl version 2018-02-25 11:23:05 -08:00
Misty De Meo 881e07123d Add PPC Ruby 2.3.3 binary 2018-02-25 11:21:15 -08:00
Misty De Meo 9968e8d031 Don't use PPC curl on Intel 2018-02-25 11:17:58 -08:00
Misty De Meo b058e4c268 Promote OS X version to use the Tiger install on 2018-02-25 11:17:34 -08:00
Misty De Meo 90b3a466a9 vendor-install: bump Intel Ruby version 2018-02-25 11:16:42 -08:00
Misty De Meo 5c9aa6afc6 Move vendor-curl path to a Homebrewish location 2018-02-25 11:15:11 -08:00
Misty De Meo b044b21851 vendor-install: update shasum/sha256sum calls 2018-02-25 11:15:11 -08:00
Misty De Meo 6258a28a9c vendor-install: use Ruby as a sha256 fallback where appropriate 2018-02-25 11:15:11 -08:00
Misty De Meo 155db8df8a Remove vendored openssl
This isn't actually necessary!
2018-02-25 11:15:11 -08:00
Misty De Meo ff438dea59 brew.sh: stop using non-vendor curl 2018-02-25 11:15:11 -08:00
Misty De Meo a5f9b37c27 vendor-install: pass --insecure to curl when certs are too old 2018-02-25 11:15:11 -08:00
Misty De Meo bdcf5daac5 vendor-install: restructure URLs
This fixes an issue where Intel 10.4 Macs would try to
download an incompatible Ruby.
2018-02-25 11:15:11 -08:00
Misty De Meo 9f32b5fd9b vendor-install: add Intel curl/openssl URLs 2018-02-25 11:15:11 -08:00
Misty De Meo 0d5cd31b45 vendor-install: update sha256 incantation 2018-02-25 11:15:11 -08:00
Misty De Meo 36fbc6378a Restore lock support 2018-02-25 11:15:11 -08:00
Misty De Meo 68ebfce8cf vendor-install: use non-@2.2 Ruby URLs 2018-02-25 11:15:11 -08:00
Misty De Meo 642131c25a brew.sh: set up openssl and curl 2018-02-25 11:15:11 -08:00
Misty De Meo 8b0d0c9374 Add portable-curl script 2018-02-25 11:15:10 -08:00
Misty De Meo 702ce9e879 Add portable-openssl script 2018-02-25 11:15:10 -08:00
Misty De Meo a317f9f31c vendor-install: add curl and openssl URLs 2018-02-25 11:15:10 -08:00
Martin Afanasjew 6215fe45cd brew.sh: rename 'chdir' to 'safe_cd'
This is inspired by `safe_system` with basically the same implication
(fail on error), making the name a lot less confusing and avoiding a
clash with the `chdir` function previously defined in `bin/brew`.

Closes #414.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2018-02-25 11:15:10 -08:00
Misty De Meo f62a04151d vendor-install: fix another typo 2018-02-25 11:15:10 -08:00
Misty De Meo 8e4052b10c vendor-install: fix typo 2018-02-25 11:15:10 -08:00
Misty De Meo 72836585fa vendor-install: don't depend on newer behaviour of which 2018-02-25 11:15:10 -08:00
Misty De Meo bedd97399a Add portable-ruby-version 2018-02-25 11:15:10 -08:00
Misty De Meo 9863ed82de vendor-install: temporarily disable locking 2018-02-25 11:15:10 -08:00
Misty De Meo db852cc3f4 vendor-install: fix array syntax for old bash 2018-02-25 11:15:10 -08:00
Misty De Meo 7e7b4d68c0 vendor-install: support Tigerbrew's vendored sha2 2018-02-25 11:15:10 -08:00
Misty De Meo 31f4e224ce vendor-install: add ppc/i386 binaries 2018-02-25 11:15:10 -08:00
Mike McQuaid 12fa7b4b6b Enable vendored Ruby 2.0. 2018-02-25 11:15:09 -08:00
Mike McQuaid b26d13a698 ruby.sh: allow forcing the usage of the vendored Ruby. 2018-02-25 11:15:09 -08:00
Mike McQuaid fd1b06d2ff ruby.sh: fix original setup ruby path name. 2018-02-25 11:15:09 -08:00
Xu Cheng e1f289149b ruby.sh: add test flag 2018-02-25 11:15:09 -08:00
Xu Cheng 7a80aba76d brew.sh: new HOMEBREW_RUBY_PATH resolution logic
* Use vendor Ruby if it's present
* Install vendor Ruby for system without Ruby 2.x
2018-02-25 11:15:09 -08:00
Xu Cheng 0b31135ea0 various: don't assume non-OS X == Linux. 2018-02-25 11:15:09 -08:00
Xu Cheng 74bd32cf74 add vendor-install command 2018-02-25 11:15:09 -08:00
EricFromCanada 1eb6fd51a8 gcc45: fix build on 10.5 PPC by disabling plugins 2018-02-19 22:59:27 -08:00
EricFromCanada 7c08aa6304 ppl011: fix dependent & conflicting formulae 2018-02-12 09:42:42 -08:00
EricFromCanada 6f7568af59 xz: fix 410 on primary mirror 2018-02-12 09:42:04 -08:00
EricFromCanada cc8a6b9deb gmp: fix bottling on Intel 2018-02-08 09:50:47 -08:00
EricFromCanada 9893857aad curl: change HTTP mirror 2018-02-08 09:23:39 -08:00
Misty De Meo bbefbf8fc4 Merge pull request #558 from vivlim/python3-postinstall
Fix python3 postinstall
2018-02-06 22:57:58 -08:00
Vivian Lim c9039c23e0 Fix python3 postinstall
Postinstall was failing with these errors, which caused (perhaps among other problems?) easy_install and pip3 to not be linked & added to PATH properly.

`vivtop-g4:~/Desktop vivlim$ brew postinstall python3
Error: wrong number of arguments (2 for 1)
Please report this bug:
    https://github.com/mistydemeo/tigerbrew/wiki/troubleshooting
/usr/local/Library/Formula/python3.rb:220:in '[]'
/usr/local/Library/Formula/python3.rb:220:in 'post_install'
/usr/local/Library/Homebrew/formula.rb:765:in 'run_post_install'
/usr/local/Library/Homebrew/cmd/postinstall.rb:3:in 'postinstall'
/usr/local/Library/Homebrew/cmd/postinstall.rb:3:in 'each'
/usr/local/Library/Homebrew/cmd/postinstall.rb:3:in 'postinstall'
/usr/local/Library/brew.rb:143:in 'send'
/usr/local/Library/brew.rb:143
vivtop-g4:~/Desktop vivlim$`
2018-02-06 21:46:46 -08:00
Misty De Meo ce12bf72fc Merge pull request #555 from mistydemeo/curl_ca_bundle_mirror
curl-ca-bundle: add archive.org mirror
2018-01-25 10:34:50 -08:00
Misty De Meo f154230944 curl-ca-bundle: add archive.org mirror 2018-01-25 10:32:45 -08:00
Misty De Meo 6d85291c79 Merge pull request #553 from mistydemeo/update_fish
Update Fish, pcre2
2018-01-25 07:37:26 +11:00
Misty De Meo 0a26601faf fish: needs C++11 2018-01-23 17:17:38 -08:00
Misty De Meo 9310ffb044 pcre2 10.30 2018-01-23 17:13:27 -08:00
Misty De Meo 908c35b455 fish 2.7.1 2018-01-23 17:12:13 -08:00
Misty De Meo c3023f596f fish: correct tarball path 2018-01-23 17:09:42 -08:00
Misty De Meo 05cefc309e Merge pull request #552 from mistydemeo/gcc_build_without_plugin
gcc{6,7}: build without plugins on Leopard, too
2018-01-21 20:51:51 +11:00
Misty De Meo ae22afb01c gcc{6,7}: build without plugins on Leopard, too
Fixes #518.
Fixes #551.
2018-01-21 20:50:25 +11:00
Misty De Meo 2957b570c5 Merge pull request #550 from mistydemeo/backport_g3_gcc_fix
Backport G3 GCC fix to older GCCs
2018-01-12 22:20:14 +11:00
Misty De Meo 38e441f190 gcc6: apply G3 fix 2018-01-12 22:16:40 +11:00
Misty De Meo 5cae01d81d gcc5: apply G3 fix 2018-01-12 22:16:36 +11:00
Misty De Meo 7bc12c58da gcc49: apply G3 fix 2018-01-12 22:16:32 +11:00
Misty De Meo 2ecde7fe57 gcc48: apply G3 fix 2018-01-12 22:16:26 +11:00
Misty De Meo 54e3e4778c gcc47: apply G3 fix 2018-01-12 22:16:21 +11:00
Misty De Meo 2c6008d531 gcc46: apply G3 fix 2018-01-12 22:16:14 +11:00
Misty De Meo 69afc839fa gcc45: apply G3 fix 2018-01-12 22:15:58 +11:00
Misty De Meo ed6f8c5c12 gcc44: apply G3 fix 2018-01-12 22:15:49 +11:00
Misty De Meo 67e64dee16 Merge pull request #549 from mistydemeo/gcc_7
Upgrade GCC to 7.2.0
2018-01-12 22:11:22 +11:00
Misty De Meo 80371e4c82 compilers: add support for gcc-7 2018-01-12 22:08:12 +11:00
Misty De Meo 27cf902d42 gcc: force CPU subtype on G3 2018-01-12 22:04:59 +11:00
Misty De Meo 6a4b719574 gcc: sync options with Homebrew
See: https://github.com/Homebrew/homebrew-core/pull/13011
2018-01-12 22:04:59 +11:00
Misty De Meo 8d1d0721cb gcc: add patches for 7.2.0 2018-01-12 21:59:30 +11:00
Misty De Meo 266c314a3c gcc: update sysdep patch for 7.2.0 2018-01-12 21:59:30 +11:00
Misty De Meo 61bece1f21 gcc: remove upstreamed patch 2018-01-12 21:59:29 +11:00
Misty De Meo df762b8675 gcc 7.2.0 2018-01-12 21:59:29 +11:00
Misty De Meo ecac1a3b48 isl 0.18 2018-01-12 21:59:29 +11:00
Misty De Meo cf5046f264 gmp 6.1.2 2018-01-12 21:59:29 +11:00
Misty De Meo d625cc33fb mpfr 3.1.6 2018-01-12 21:56:53 +11:00
Misty De Meo 40c826da08 curl: pass --insecure on 10.6 2018-01-02 10:12:48 +08:00
Misty De Meo 02d0f0cd5a doxygen: can't build under gcc-4.2 in stdenv on Tiger 2018-01-02 09:58:35 +08:00
Misty De Meo 5b717f87a4 doxygen: strip incompatible flag on Tiger
Fixes #371.
2018-01-02 09:58:35 +08:00
Misty De Meo e599e661a8 mysql: fix download URL
Fixes #546.
2018-01-01 22:24:22 +11:00
Misty De Meo 9a9e5214d9 unar: update tarball url 2017-12-14 10:52:36 +11:00
Misty De Meo db1d50a8ed timedog 1.4
Fixes #540.
2017-11-27 23:20:18 +11:00
Misty De Meo 4051106416 ruby: fix patch URL/SHAs 2017-11-13 17:14:42 +11:00
Misty De Meo 4b3efa56f4 apple-gcc42: mirror on archive.org
This is a bit too important to let it go missing.
Relying on AT&T to host it forever feels dangerous.
2017-11-13 16:23:14 +11:00
Misty De Meo 826de7f70f Merge pull request #533 from 128keaton/patch-1
Update README.md
2017-11-03 11:53:20 +13:00
Keaton Burleson 2042394e16 Update README.md
Not sure why the brackets were there for brew-desc. Also--I linked the creator in the Credits.
2017-11-02 17:46:53 -05:00
tcj 7ce57f53eb Update URL to Alpine information and source code
Update URL to Alpine information and source code
2017-09-30 10:29:11 -07:00
Misty De Meo 555bba6421 Merge pull request #531 from mistydemeo/http_curl_mirror
curl: add HTTP mirror.
2017-09-15 16:40:02 -07:00
Mike McQuaid f69cbc2929 curl: add HTTP mirror.
This allows a curl that cannot handle modern SSL certificates to install a newer version.

Fixes #506

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2017-09-15 16:35:35 -07:00
Misty De Meo b53a9ce35f qemu: restore desc 2017-07-13 16:20:58 -07:00
Misty De Meo 68bde3e786 qemu: remove bottle block 2017-07-13 16:20:31 -07:00
Misty De Meo 7ce22a5fba qemu: use a newer make on 10.4 2017-07-13 16:09:12 -07:00
Misty De Meo 006b1328cd qemu: disable cocoa on 10.4 2017-07-13 15:48:45 -07:00
Misty De Meo 72f9e297b8 qemu: fix stdint on 10.4 2017-07-13 15:41:46 -07:00
Misty De Meo 36151ca31a qemu: fix 32-bit build on 64-bit CPU 2017-07-13 15:33:25 -07:00
Misty De Meo b5c0b675a3 qemu: revert to 2.2.1 2017-07-13 15:25:11 -07:00
Misty De Meo 1236c7435f qemu: fix patch sha256
Fixes #521.
2017-07-03 10:23:28 -07:00
Misty De Meo 24972db79f gist-logs: fix user agent
Refs #518.
2017-06-17 22:18:25 -07:00
Misty De Meo 1975f0f33a Merge pull request #515 from mistydemeo/use_internal_sha256
Use internal Ruby 1.8.2 sha256
2017-05-30 09:11:29 -07:00
Misty De Meo 1964065a71 Use internal Ruby 1.8.2 sha256
Turns out this was here all along! Just with a slightly different
API from modern versions of Ruby.
2017-05-30 09:06:08 -07:00
Misty De Meo bddb767290 Only include RUBY_PATCHLEVEL if defined
Hotfix for #514.
2017-05-26 17:13:00 -07:00
Misty De Meo a460f2d1b5 Merge pull request #513 from mistydemeo/perl-fallbacks-sha256
Make sha256 resilient with platform-independent fallback.
2017-05-25 18:06:43 -07:00
Misty De Meo c307a32fb2 sha256: add homebrew/vendor openssl to the rotation 2017-05-25 18:03:48 -07:00
Geoff Nixon 9774dff598 Make sha256 resilient with platform-independent fallback. 2017-05-25 18:03:45 -07:00
Misty De Meo 3bd76c45ca Merge pull request #509 from mistydemeo/introduce_brew_sh
Introduce brew.sh
2017-05-25 18:03:19 -07:00
Misty De Meo 47b7bb4226 miniupnpc: needs ld64 on Tiger 2017-05-22 23:39:49 -07:00
Thomas Bernard 1fed6abaa3 miniupnpc: bump to version 2.0.20170509. Fixes CVE-2017-8798
also update homepage for https

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2017-05-22 23:39:00 -07:00
Misty De Meo 103cc7908a utils: remove merge blah 2017-05-11 00:04:31 -07:00
Misty De Meo 23c4d834f1 Revert "brew.sh: simplify HOMEBREW_OSX_VERSION_NUMERIC"
This reverts commit 549201c986.

This doesn't work on old versions of bash - printf doesn't do -v.
2017-05-11 00:02:53 -07:00
Misty De Meo 5d2497a719 os: needs a require 2017-05-11 00:00:51 -07:00
Xu Cheng 260b830fd9 move brew shell function to brew.sh 2017-05-10 23:58:55 -07:00
Mike McQuaid 143b7bee5f brew.sh: error out if no Ruby found.
This is a nicer error message than the `exec` failing at a later stage.
2017-05-10 23:57:24 -07:00
Max Nordlund 116fe7b2dc Implement the brew help command
This is also used by `brew <cmd> --help`. The basic idea is to have the
documentation as a top level comment in each command file. To find these
comments, they have to be like this `#:`.

This is also used by the `brew man` command to keep the documentation
DRY, and for that there are now a header and footer for the man page.
2017-05-10 23:55:18 -07:00
Martin Afanasjew b9d5136fb3 brew.sh: make sure to always use system 'awk'
This should prevent issues like #47 and make us more resilient.
2017-05-10 23:53:15 -07:00
Martin Afanasjew 1fcd5f3c24 brew.sh: tweak HOMEBREW_PROCESSOR on Linux
`uname -p` seems to be less useful on Linux (Debian 8 yields `unknown`),
thus prefer `uname -m` on those systems to determine the processor type.

Closes #35.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2017-05-10 23:53:07 -07:00
Martin Afanasjew 5bafc03354 brew.sh: fix HOMEBREW_OS_VERSION on Linux et al.
On Linux (and other non-OS X platforms), `HOMEBREW_OS_VERSION` was
*always* replaced with the product name, leading to less useful user
agent. E.g., on a reasonably up-to-date Debian system:
  Linuxbrew/0.9.9 (Linux; unknown Linuxbrew)

With this fix the user agent is instead (first if `lsb_release` is
available and outputs something, second otherwise):
  Linuxbrew/0.9.9 (Linux; unknown Debian GNU/Linux 8.3 (jessie))
  Linuxbrew/0.9.9 (Linux; unknown 3.16.0-4-amd64)
2017-05-10 23:52:59 -07:00
Martin Afanasjew 549201c986 brew.sh: simplify HOMEBREW_OSX_VERSION_NUMERIC
Use `printf -v` and strip out the unnecessary `echo`, thus avoiding two
unnecessary command substitutions.
2017-05-10 23:52:34 -07:00
Martin Afanasjew 1c4a0f33cf brew.sh: streamline setting HOMEBREW_{OSX,LINUX}
For uses like this one, `case` is much more compact and easier to read.
2017-05-10 23:52:19 -07:00
Misty De Meo 3b1f4e031b brew.sh: remember, we need those certs real bad 2017-05-10 23:49:58 -07:00
Mike McQuaid 8d435e616c Make Homebrew user agent consistent, use a slash.
Generally it seems user agents are all `software/version` but ours is
not. Also, set the user agent in a way that it's shared between Bash
and Ruby code.

Closes https://github.com/Homebrew/legacy-homebrew/pull/50480.
2017-05-10 23:47:00 -07:00
Mike McQuaid 1147bf3e92 Fix brew update user agent.
This needs to be `Homebrew $HOMEBREW_VERSION` so we can be adequately
filtered.

Closes Homebrew/homebrew#49961.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2017-05-10 23:41:50 -07:00
Xu Cheng bdc303e035 brew.sh: add tap-pin to sudo check list 2017-05-10 23:40:36 -07:00
Misty De Meo fde676c52f brew.sh: don't call xcode-select if it doesn't exist 2017-05-10 23:31:31 -07:00
Martin Afanasjew 7a4a90411a brew.sh: improve empty argument handling
Follow-up to Homebrew/homebrew#49327 that leaves empty argument handling to the Ruby code
(it is a bit more sophisticated and distinguished between `help` and an
empty argument list and treats them differently) instead of hard-wiring
the former to the `help` command.

Closes Homebrew/homebrew#49538.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2017-05-10 23:24:25 -07:00
Martin Afanasjew 09cd8a467d brew.sh: drop reference to removed 'update-ruby'
This is a follow-up fix to a minor oversight in Homebrew/homebrew#49523.
2017-05-10 23:24:13 -07:00
Misty De Meo b67e4d6f23 brew: print help when no commands given
Fixes Homebrew/homebrew#49325.

Closes Homebrew/homebrew#49327.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2017-05-10 23:23:57 -07:00
Misty De Meo d2d4cead91 Use /usr/bin/ruby for HOMEBREW_RUBY_PATH 2017-05-10 23:23:35 -07:00
Mike McQuaid dd55d98f84 bin/brew: move logic to Library.
`bin/brew` is getting a bit bloated and it's annoying to open all of
`HOMEBREW_PREFIX` in your editor of choice and have it search through
the `Cellar`. Let's instead keep the bare minimum in `bin/brew` and
move the rest to `Library`.

Closes Homebrew/homebrew#49185.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2017-05-10 23:16:33 -07:00
Mike McQuaid dc8d60d116 tap_constants: allow formulae to have @ in name.
Follow-up from #812 to fix handling fully-qualified versioned formulae
names.

Allows pulling https://github.com/Homebrew/homebrew-core/pull/971.
2017-05-09 21:34:12 -07:00
Misty De Meo 3304b115ae Import linkage checker 2017-05-09 21:14:15 -07:00
Misty De Meo 15aeaae83d Import GCC formulae dependencies
These were missed in the last PR.
2017-05-08 22:53:13 -07:00
Misty De Meo 2c22b28cb4 Import gcc formulae from homebrew/versions
Eventually these will be replaced with versions using Homebrew's new
naming format, but these will allow users who already had them to use
them.

Fixes #499.
2017-04-29 22:30:01 -07:00
Misty De Meo 7c33bcb67d Merge pull request #496 from mistydemeo/fix_qemu_tiger
(WIP) Fix qemu on 10.4
2017-04-25 16:23:10 +10:00
Misty De Meo 8c13057d44 qemu: use a newer make on 10.4 2017-04-25 16:21:49 +10:00
Misty De Meo deceb82db5 qemu: help find Rez on 10.4 2017-04-25 16:19:46 +10:00
Misty De Meo 41815fdb92 qemu: disable cocoa on 10.4 2017-04-24 19:15:47 +10:00
Misty De Meo d11482da3d qemu: fix stdint on 10.4 2017-04-24 19:15:19 +10:00
Misty De Meo cca45a2a3b qemu: needs libutil 2017-04-24 19:14:36 +10:00
Misty De Meo ac0327ec7b libutil 11
This is shipped by newer versions of OS X, and used by some
packages.
2017-04-24 17:08:57 +10:00
Misty De Meo 5fedb43743 qemu: fails with gcc-4.0, gcc-4.2
Refs #400, #428.
2017-04-23 18:02:27 +10:00
Misty De Meo ff1511fdcf qemu: fix build on 10.5
Fixes #489.
2017-04-23 16:49:46 +10:00
Misty De Meo 0177765a84 qemu: fix 32-bit build on 64-bit CPU 2017-04-23 16:40:33 +10:00
Misty De Meo d9be2ff23d gmp: need to specify ABI=32 for 32-bit builds on 64-bit 2017-04-23 15:30:16 +10:00
Misty De Meo 5244096353 harfbuzz: use newer make helper 2017-04-17 18:44:35 +08:00
Andrea Canciani 532998dddd harfbuzz: Fix introspection
On Tiger, the default `make` command cannot handle the
`Makefile.introspection` provided by gobject-introspection.

Fix it by using `gmake`, just like in gobject-introspection.
2017-04-17 18:43:51 +08:00
Andrea Canciani c9ad4e924d harfbuzz: Fix build on Tiger
The `ld64` linker is needed in order to lookup run-path dependent
dynamic libraries (that reference each other using paths that contain
special variables, such as `@loader_path`).

Fixes #70.
2017-04-17 18:43:51 +08:00
Andrea Canciani ba8a443f53 harfbuzz: Do not hardcode CoreText enable flag
CoreText is not available on Tiger. The flag is conditionally enabled
for Leopard and better.
2017-04-17 18:43:51 +08:00
Misty De Meo 30098374fc Mac Hardware: provide a more Mac-specific implementation of can_run? 2017-04-17 18:31:10 +08:00
Misty De Meo 2cd8548477 Hardware: add helper to determine if an executable can be run 2017-04-17 18:31:10 +08:00
Misty De Meo b4370995c6 lsof: add libproc headers for 10.4
Fixes #426.
2017-04-17 17:17:53 +08:00
Misty De Meo a3ae55562d Import lsof from homebrew/dupes 2017-04-17 17:17:53 +08:00
Misty De Meo 4fb54be672 Add a helper to determine make path on Tiger 2017-04-10 17:32:25 +10:00
Dominyk Tiller 55941f1cef formulary: tweak @ translation 2017-04-10 17:08:54 +10:00
Dominyk Tiller 897d36590b search: handle name@v.v formulae.
Before this change:
```
~> brew search openssl@1.1
openssl@1.1 ✔
==> Did you mean to perform a regular expression search?
==> Surround your query with /slashes/ to search by regex.
```
2017-04-10 17:08:54 +10:00
Dominyk Tiller 05b0e69f98 test_formulary: add formula@version class translation check 2017-04-10 17:08:54 +10:00
Dominyk Tiller cb7987167b formulary: translate @ to AT for classname 2017-04-10 17:08:54 +10:00
Andrea Canciani bfdd4db599 htop-osx: Fix build on Tiger
Tiger is missing some of the APIs used by htop:

 - references to `backtrace` have been removed, as it was only used
   upon crashes to provide information for error reporting

 - references to the APIs introduced in 10.5 for the 64-bit kernels
   are replaced with the legacy APIs

 - at runtime, the `sysctl` API was not returning the correct size
   information for `VM_SWAPUSAGE` when invoked with a NULL buffer, but
   the destination size is known in advance and the size computation
   step can be skipped safely

Further information about the kernel IOKit APIs (and more specifically
to their migration) is available from Apple:
https://developer.apple.com/library/content/documentation/Darwin/Conceptual/64bitPorting/KernelExtensionsandDrivers/KernelExtensionsandDrivers.html
https://developer.apple.com/library/content/samplecode/SimpleUserClient/Listings/User_Client_Info_txt.html

Fixes #233, #367, #421.

Closes #482.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2017-04-10 12:05:14 +10:00
Andrea Canciani 9829892078 cmake: Fix build on 10.4
After bootstrapping, `cmake` passes `-isysroot /path/to/SDK` as
argument to the compiler unless overridden. This causes apple-gcc42 to
be unable to find the `stdarg.h` header.

Fixes #479.

Signed-off-by: Misty De Meo <mistydemeo@github.com>
2017-04-10 10:59:16 +10:00
Misty De Meo 1b61e85644 Import used formulae from homebrew/dupes 2017-04-05 11:41:26 +10:00
Misty De Meo 1171b8092b icu4c: update patch syntax
refs #467
2017-04-05 11:41:13 +10:00
Andrea Canciani 77afa0cd0d ruby: Fix build of 2.4.1 on Tiger i386 2017-04-05 11:27:55 +10:00
Misty De Meo 5c2f424bc9 ruby 2.4.1 2017-04-05 11:27:55 +10:00
Misty De Meo c4058addb3 ruby: fix build on Tiger
Fixes #473.
2017-04-04 21:25:43 +10:00
Misty De Meo d0af946307 gcc: add patch to fix libcilkrts build on Tiger 2017-04-04 12:00:04 +10:00
Misty De Meo 546a0b8c31 gcc: add patch to fix make 3.80 2017-04-04 12:00:04 +10:00
Misty De Meo b8bd33f94b stdenv: only apply -faltivec on PPC 2017-04-04 12:00:04 +10:00
Misty De Meo d3a6f0e1d4 gmp: fix build on i386 2017-04-03 17:11:16 +10:00
Misty De Meo 045b0b74c6 cairo: add Leopard comment 2017-04-03 16:32:20 +10:00
Misty De Meo 43cf0029ca cairo: can't enable xcb on Leopard 2017-04-03 16:31:32 +10:00
Andrea Canciani c662a07a0c cairo: Fix building Cairo w/ X11 on Tiger
Tiger ships with an old X11 that does not include the XCB (X protocol
C-language Binding), but the Xlib backend builds just fine.

The build failure at https://gist.github.com/anonymous/5695285 is
caused by a defect in the cairo build system that has been fixed
upstream.

Fixes #69.
2017-04-03 16:31:32 +10:00
Andrea Canciani 13b101201d cairo: Modernize formula
Instead of having the explicit option `without-x`, make the `:x11`
requirement `:recommended`.
2017-04-03 16:31:32 +10:00
Misty De Meo bbfb647c6a curl-ca-bundle: update 2017-01-18 bottles 2017-04-03 15:52:35 +10:00
Misty De Meo c24a5cf7ad curl-ca-bundle 2017-01-18 2017-04-03 15:52:35 +10:00
Joshua Jones 2705f1bb8f zsh: update version 2017-04-03 13:30:49 +10:00
Andrea Canciani d20e3c000e icu4c: Fix build on Tiger
The assembler available on Tiger does not understand the `.balign`
directive, but `.p2align` can be used in its place.

Fixes #325.
2017-04-03 13:05:43 +10:00
Misty De Meo 3df1f1a9dc Rebuild i386 slice of sha256
Fixes #427.
2017-03-31 07:59:04 +11:00
Misty De Meo 02d5b55858 openssl: fix multiple Dir args
refs #463
2017-03-01 09:10:54 +11:00
Misty De Meo 46a2af30a3 glib: requires newer Python on 10.4 2017-01-19 08:37:54 -08:00
Misty De Meo 0714704092 cairo: add Tiger patch 2017-01-19 08:37:54 -08:00
Misty De Meo a85a5d6600 cairo 1.14.8 2017-01-19 08:37:54 -08:00
Misty De Meo 5d1869d4e3 mplayer: fix build on 10.4 and 10.5
Fixes #397.
2017-01-14 00:38:16 -08:00
Misty De Meo 2411876bdd subversion: fix apr dependencies
Fixes #453.
2017-01-13 21:56:45 -08:00
Thomas Bernard bce1d614a9 mysql: update to version 5.6.35
fixes #404
2017-01-13 16:26:37 -08:00
Thomas Bernard 4a74b632c4 mercurial: update URL
from https://mercurial.selenic.com/
to https://www.mercurial-scm.org/

fixes #455
2017-01-12 09:52:09 -08:00
Misty De Meo 0b8f50b821 libcue: update url
Fixes #445.
2016-12-27 12:56:35 -04:00
Misty De Meo aabe87964d openssl: fix build on non-tiger
Fixes #448.
2016-12-27 12:53:05 -04:00
Misty De Meo bc79d33c5a Merge pull request #447 from mistydemeo/update_readline
Update readline
2016-12-24 12:54:25 -04:00
Misty De Meo f06c7447bf Merge branch 'master' into update_readline 2016-12-24 12:52:44 -04:00
ilovezfs 5ff630d322 xonsh: revision for python3 2016-12-24 12:51:22 -04:00
ilovezfs 5d7ec9de76 vdirsyncer: revision for python3 2016-12-24 12:51:12 -04:00
ilovezfs 879528d2cb khard: revision for python3 2016-12-24 12:50:54 -04:00
ilovezfs c1829a410c khal: revision for python3 2016-12-24 12:50:41 -04:00
ilovezfs eb733b3fb9 guile: fix _Atomic type errors 2016-12-24 12:50:04 -04:00
ilovezfs e0a67c4390 yafc: revision for readline 2016-12-24 12:49:57 -04:00
ilovezfs 28dc3eadaf with-readline: revision for readline 2016-12-24 12:49:47 -04:00
ilovezfs 19b1f2f87f tig: revision for readline 2016-12-24 12:49:47 -04:00
ilovezfs 68d4ad6275 takt: revision for readline 2016-12-24 12:49:35 -04:00
ilovezfs 4c041c2756 spidermonkey: revision for readline 2016-12-24 12:49:14 -04:00
ilovezfs 155397cf6e socat: revision for readline 2016-12-24 12:49:05 -04:00
ilovezfs a10f3a43b5 sdcv: revision for readline 2016-12-24 12:48:57 -04:00
ilovezfs cb459a92a2 ruby: revision for readline 2016-12-24 12:48:47 -04:00
ilovezfs 351557a6fc rlwrap: revision for readline 2016-12-24 12:48:39 -04:00
ilovezfs ac798b126a renameutils: revision for readline 2016-12-24 12:48:30 -04:00
ilovezfs f56b40848c python3: revision for readline 2016-12-24 12:48:21 -04:00
ilovezfs b7bed24260 python: revision for readline 2016-12-24 12:48:12 -04:00
ilovezfs 1464346b15 pwsafe: revision for readline 2016-12-24 12:47:25 -04:00
ilovezfs a9e88f3320 postgresql: revision for readline 2016-12-24 12:46:41 -04:00
ilovezfs 8a58e0c2b5 postgres-xc: revision for readline 2016-12-24 12:46:31 -04:00
ilovezfs 97f4f7ada9 pdsh: revision for readline 2016-12-24 12:46:15 -04:00
ilovezfs 49a5ae2b15 pce: revision for readline 2016-12-24 12:46:05 -04:00
ilovezfs b12ccf5c38 opendbx: revision for readline 2016-12-24 12:46:05 -04:00
ilovezfs 7bdfa550f8 nickle: revision for readline 2016-12-24 12:45:56 -04:00
ilovezfs 1e5d38e2a6 newlisp: revision for readline 2016-12-24 12:45:48 -04:00
ilovezfs b0be408d9f ncmpcpp: revision for readline 2016-12-24 12:45:36 -04:00
ilovezfs e01fa6d680 monetdb: revision for readline 2016-12-24 12:45:26 -04:00
ilovezfs a7d272e410 mdk: revision for readline 2016-12-24 12:45:13 -04:00
ilovezfs 7ff0c26888 mdbtools: revision for readline 2016-12-24 12:44:47 -04:00
ilovezfs a5ffc1a184 lnav: revision for readline 2016-12-24 12:44:38 -04:00
ilovezfs ca726349de lldpd: revision for readline 2016-12-24 12:44:29 -04:00
ilovezfs a32ada3711 libreadline-java: revision for readline 2016-12-24 12:44:19 -04:00
ilovezfs 57d25b0ff0 libqalculate: revision for readline 2016-12-24 12:44:19 -04:00
ilovezfs 5c8ef21bb4 libgda: revision for readline 2016-12-24 12:44:09 -04:00
ilovezfs 875f82031d ldapvi: revision for readline 2016-12-24 12:43:56 -04:00
ilovezfs 7d6d68cb70 kes: revision for readline 2016-12-24 12:43:29 -04:00
ilovezfs 5dfdead82f hunspell: revision for readline 2016-12-24 12:43:29 -04:00
ilovezfs 26dae8bef7 hh: revision for readline 2016-12-24 12:43:19 -04:00
ilovezfs fe4e29c119 gqlplus: revision for readline 2016-12-24 12:43:12 -04:00
ilovezfs 88086440d1 gphoto2: revision for readline 2016-12-24 12:43:01 -04:00
ilovezfs e2ceb8f76f gnuplot: revision for readline 2016-12-24 12:42:49 -04:00
ilovezfs 8511663e3a gnu-units: revision for readline 2016-12-24 12:42:22 -04:00
ilovezfs 71495bbf42 gnu-smalltalk: revision for readline 2016-12-24 12:42:11 -04:00
ilovezfs b11f0b15b9 gnu-apl: revision for readline 2016-12-24 12:42:00 -04:00
ilovezfs 6c89dceec2 ginac: revision for readline 2016-12-24 12:41:39 -04:00
ilovezfs 7c28ef5619 gawk: revision for readline 2016-12-24 12:41:30 -04:00
ilovezfs 3847b49275 ekg2: revision for readline 2016-12-24 12:41:21 -04:00
ilovezfs ab666acbba dwarf: revision for readline 2016-12-24 12:41:12 -04:00
ilovezfs b5e26e9cb4 devtodo: revision for readline 2016-12-24 12:41:03 -04:00
ilovezfs 4fc6cf0248 clisp: revision for readline 2016-12-24 12:40:53 -04:00
ilovezfs 74136a606d cgdb: revision for readline 2016-12-24 12:40:33 -04:00
ilovezfs 9cbc35d943 calc: revision for readline 2016-12-24 12:40:23 -04:00
ilovezfs 172229c376 cadaver: revision for readline 2016-12-24 12:40:23 -04:00
ilovezfs e290d7982c bash: revision for readline 2016-12-24 12:40:23 -04:00
ilovezfs 8202ac08f6 bacula-fd: revision for readline 2016-12-24 12:39:46 -04:00
ilovezfs cc99ce3ed6 augeas: revision for readline 2016-12-24 12:39:36 -04:00
ilovezfs 5c831caa15 argus-clients: revision for readline 2016-12-24 12:39:28 -04:00
ilovezfs 0b3751a07e algernon: revision for readline 2016-12-24 12:39:17 -04:00
ilovezfs 2964e24a22 abook: revision for readline 2016-12-24 12:39:03 -04:00
ilovezfs c95a5d6e87 sqlite: revision for readline 2016-12-24 12:39:03 -04:00
ilovezfs 5e5859a2f8 readline 7.0 2016-12-24 12:38:47 -04:00
dcwar 2cc4ec5867 Updates for various tiger/homebrew formula, and tigerbrew's compilers selection (so GCC 6 can be used). (#440) 2016-12-24 12:30:04 -04:00
Misty De Meo c0c17366e0 README: simplify set remote command
Fixes #446.
2016-12-23 18:00:49 -04:00
Misty De Meo 77a5d56352 ghostscript: update stable URL
Fixes #443.
2016-11-29 14:31:27 -08:00
Misty De Meo 45a5a7f7f7 jbig2dec: fix patch URL
refs #443.
2016-11-29 14:30:48 -08:00
Misty De Meo 444eb21da9 mp4v2: fix URL
fixes #435.
2016-11-17 14:13:26 -08:00
Misty De Meo 3269a8aa3b BottleSpecification: ditto 2016-11-03 19:18:45 -07:00
Misty De Meo 236623da56 SoftwareSpec: add rebuild alias 2016-11-03 19:14:42 -07:00
Mike Cochran eb1eb11bd2 Correctly disable javac on < 10.6 2016-10-17 13:29:39 -07:00
Misty De Meo 1cdf87c6f1 libevent: update URL
refs #264.
2016-04-28 22:00:08 -07:00
Zac Bentley 08d3bcf8aa Additional fixes for #412
Closes #412.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2016-03-20 12:29:03 -07:00
Zac Bentley c4fc17f762 Old OSX fixes for homebrew/homebrew#50219
The OnDemand key in dbus's included plist file should be uncommented
on old OSX versions.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2016-03-20 12:28:58 -07:00
Misty De Meo 06ddfb9e84 Array#count alias didn't always exist
Fixes mistydemeo/tigerbrew#408.
2016-02-06 14:21:55 -08:00
ilovezfs bdbedc8a04 DSL method "apply" to specify patch files
The "apply" DSL method can be called from patch-do blocks to specify
the paths within an archive of the desired patch files, which will be
applied in the order in which they were supplied to the "apply" calls.
If "apply" isn't used, raise an error whenever the extracted directory
doesn't contain exactly one file.

The "apply" method can be called zero or more times within a patch-do
block with the following syntaxes supported:

    apply "single_apply"
    apply "multiple_apply_1", "multiple_apply_2"
    apply [array_of_apply]

If apply must be used, a single call using the second syntax above is
usually best practice. Each apply leaf should be the relative path to a
specific patch file in the extracted directory.

For example, if extracting this-v123-patches.tar.gz gives you

    this-123
    this-123/.DS_Store
    this-123/LICENSE.txt
    this-123/patches
    this-123/patches/A.diff
    this-123/patches/B.diff
    this-123/patches/C.diff
    this-123/README.txt

and you want to apply only B.diff and C.diff, then you need to use
"patches/B.diff" and "patches/C.diff" for the lowest-level apply leaves.

The code was provided by Xu Cheng. Any mistakes are mine.
2016-02-04 14:20:23 -08:00
Baptiste Fontaine 77ce720df0 tests: ExternalPatch test added 2016-02-04 14:20:20 -08:00
Baptiste Fontaine 28331c48a8 more core unit tests
Closes #47182.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-02-04 14:20:11 -08:00
Alex Dunn 702947edfc test: add metafiles to testball 2016-02-04 14:19:40 -08:00
Misty De Meo 760a2c3e9f node: :arch => :intel, not :macos
Fixes #406.
2016-02-04 14:13:46 -08:00
Misty De Meo cf946543ba config: return early if java_home is missing
Fixes #365.
2016-02-01 09:59:03 -08:00
Misty De Meo 44f038e149 libpng: update 1.6.21 bottles 2016-01-26 11:01:08 -08:00
Misty De Meo 2183f39a47 libpng 1.6.21 2016-01-26 10:25:55 -08:00
Tomasz Pajor 38964bd46d libpng 1.6.20 2016-01-26 10:04:03 -08:00
Dominyk Tiller f0fd6a24d9 libpng: restore brew backup mirror 2016-01-26 10:04:03 -08:00
Daniel Trebbien b4b83a3146 libpng 1.6.19
Closes #45993.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-26 10:04:03 -08:00
Misty De Meo 8f5368b5b2 heroku-toolbelt: binary components are x86_64 only 2016-01-19 10:19:20 -08:00
Misty De Meo 9fb367dd95 superenv: properly filter gcc-4.2 flags
These weren't being filtered correctly if the compiler was being called
as g++ instead of gcc.

Fixes mistydemeo/tigerbrew#371.
2016-01-15 22:59:50 -04:00
Xu Cheng 3e24d82016 Formula: add bottle disable DSL 2016-01-15 10:09:41 -04:00
Misty De Meo 76640fe1d9 heroku-toolbelt: remove outdated caveats 2016-01-14 10:18:02 -04:00
Misty De Meo 992e70691f heroku-toolbelt: don't use Tigerbrew ruby
Refs #403.
2016-01-14 10:17:40 -04:00
Alex Grant 3d3c190e80 heroku-toolbelt: Remove outdated caveat
The Heroku Toolbelt has replaced Foreman with `heroku local`, which
internally uses Forego but does not require any separate installation.
See: https://devcenter.heroku.com/articles/heroku-local

Closes #46214.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-14 09:07:27 -04:00
Jason Karns 7957d94dee heroku-toolbelt 3.42.22
Closes #46177.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-14 09:07:27 -04:00
Xu Cheng 621c31f23f heroku-toolbelt: bottle unneeded 2016-01-14 09:07:27 -04:00
dickeyxxx 46f9314695 heroku-toolbelt 3.42.20
Closes #45039.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-14 09:07:27 -04:00
dickeyxxx b54e17d9c7 heroku-toolbelt 3.42.17
Closes #44453.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-14 09:07:27 -04:00
Misty De Meo 29b2fc220b node: requires intel
Closes #346.
2016-01-11 23:49:39 -04:00
BrewTestBot 63a9f575c1 mplayer: update 1.2_1 bottle. 2016-01-11 23:14:07 -04:00
Justin Scholz 11a3f1cd1d mplayer: bump revision for recent changes
bump formula revision for https://github.com/Homebrew/homebrew/pull/46749 to go to all users

Closes #46871.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-11 23:14:02 -04:00
BrewTestBot d8c8d5051d mplayer: update 1.2 bottle. 2016-01-11 23:13:55 -04:00
Justin Scholz aafd555d3f mplayer: cleanup formula.
Remove old options, especially remove --enable-freetype as it caused
the bug where the window stayed black and disable osd options and x11
as enable-menu is not an option anymore for configure and enable-gui
requires gtk+. clarify inclusion of cdparanoia disable configure option.

Closes #46749.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-11 23:13:43 -04:00
BrewTestBot fde1e737f4 mplayer: update 1.2 bottle. 2016-01-11 23:12:47 -04:00
Justin Scholz 301f00b5da mplayer 1.2
Update formula to 1.2, remove patch as it's seemingly not longer needed (couldn't test on 10.9, but at least at 10.11 not needed) and also removed disbale libopenjpeg as it's a fixed bug.

Closes #45523.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2016-01-11 23:12:43 -04:00
Baptiste Fontaine 74a6541a38 mplayer: use https URLs 2016-01-11 23:12:37 -04:00
Misty De Meo ad87edc0d9 openexr: fix build on 32-bit targets
Fixes #398.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2016-01-11 22:39:03 -04:00
Misty De Meo ee390b09d5 superenv: filter flags for older GCCs
Fixes mistydemeo/tigerbrew#371.
Fixes #47949.
2016-01-11 22:25:10 -04:00
Misty De Meo 6ba763d049 sdl2: apply fixes to Snow Leopard, too 2016-01-11 13:40:37 -04:00
Misty De Meo d12a6447f8 pidgin: needs Python 2.7
Fixes #399.
2016-01-11 13:01:14 -04:00
Misty De Meo d6d1fb9b1d android-*: requires Intel
Fixes #391.
2016-01-11 10:45:45 -04:00
Martin Afanasjew 92063284e1 bin/brew: enforce UTF-8 locale
Everyone should be using a UTF-8 locale nowadays. Not using one causes
issues like `brew doctor` failing while checking symbolic links that
point at file names with non-ASCII characters, since OS X always uses
Unicode for the file system.

Rely on `locale charmap` to detect the currently selected encoding and
if that's not UTF-8, override the user's choice (if any) by setting
`LC_ALL` to `en_US.UTF-8`, the assumption being that every system has a
usable `en_US.UTF-8` locale installed.

Fixes #44744.
Closes #47247.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-11 10:18:00 -04:00
Martin Afanasjew be46eefde0 bin/brew: avoid unnecessary 'readlink' invocation
For typical installations where `brew` is not a symbolic link, this
reduces the number of processes that need to be spawned.

Closes #46269.

Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2016-01-11 10:17:52 -04:00
Martin Afanasjew b70d8220c3 bin/brew: avoid unnecessary 'tr' invocation
This reduces the number of processes that need to be forked. If
libtool's `config.guess` is to be trusted, there was never another
spelling/capitalization other that `Darwin`.
2016-01-11 10:17:36 -04:00
Martin Afanasjew b2aa0db6cc bin/brew: separate variable assignment and export
This very slightly reduces duplication and the risk of inconsistency by
exporting in one branch, but not the other. By putting all the `export`
statements right before the `exec` it is more obvious what is passed on.
2016-01-11 10:17:25 -04:00
Martin Afanasjew 62d4577ce3 bin/brew: quote in assignments for consistency
While `var=$(<command>)` is perfectly valid and won't create any issues,
it is often surprising for less shell-savvy users. Quoting these cases
like in all other instances makes the code more uniform, helps to avoid
future mistakes, and has no downsides.
2016-01-11 10:16:55 -04:00
Martin Afanasjew 5dabe20a51 bin/brew: be consistent about code style 2016-01-11 10:16:47 -04:00
Xu Cheng 67ad5cd346 brew: ensure full path for HOMEBREW_RUBY_PATH 2016-01-11 10:16:14 -04:00
Mike McQuaid c534157697 brew.rb: export HOMEBREW_RUBY_PATH. 2016-01-11 10:16:07 -04:00
Misty De Meo 2326ca7437 bin/brew: don't use framework path b/c of 10.4 2016-01-11 10:15:27 -04:00
Mike McQuaid 3e5be81ecf travis: test 10.9 using Ruby 1.8.
Closes #45816.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-01-11 10:15:03 -04:00
Misty De Meo 7267edadd9 gambit-scheme: don't try to build with GCC 4.2 or 4.3
Fixes #389.
2016-01-11 09:54:30 -04:00
Misty De Meo d6ec751e14 dwarf-fortress 0.28.181.40d
Refs #383.
2016-01-11 00:18:54 -04:00
Misty De Meo 962f176d54 harfbuzz: fix build pre-10.6
Fixes #388.
2016-01-10 23:24:27 -04:00
Misty De Meo c9a8f9e4be erlang: disable jinterface on older OS Xs
Fixes #372.
2016-01-10 23:17:01 -04:00
Misty De Meo 7e4175b542 tmux-mem-cpu-load: needs C++11
Fixes #380.
2016-01-09 21:05:01 -04:00
Misty De Meo 81d2c80f8b sdl2: fix build on 10.4, 10.5
Fixes #361.
2016-01-09 20:58:26 -04:00
Misty De Meo 6557a34cde mercurial: needs newer Python on 10.4 & 10.5
Fixes #373.
2016-01-09 19:44:52 -04:00
Misty De Meo 2a1b7dccb5 openssl: fix building x86_64
Fixes #382.
2016-01-09 16:09:36 -04:00
Misty De Meo b76c7e5bd1 clamav: fails_with :gcc_4_0
Fixes #360.
2015-10-31 20:59:01 -07:00
Misty De Meo 1692013336 ffmpeg: remove duplicate line 2015-10-24 18:22:46 -07:00
dcwar 8967e5c481 ffmpeg: removal of erroneous lines
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2015-10-24 18:21:20 -07:00
Misty De Meo 4e8c5b97f9 bind: fix build on Tiger, Leopard
Fixes #358.
2015-10-07 09:17:09 +11:00
Misty De Meo 08f16905f4 Merge remote-tracking branch 'Homebrew/master' into updates 2015-09-30 18:21:04 -07:00
BrewTestBot 8b98a97555 swiftlint: update 0.2.0 bottle. 2015-09-30 21:08:19 +01:00
JP Simard 602cf5e62b swiftlint 0.2.0
SwiftLint 0.2.0

Thanks!

Closes #44476.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 21:08:15 +01:00
Dominyk Tiller eca9e04547 dspdfviewer: use bin/ for test 2015-09-30 20:29:45 +01:00
BrewTestBot 99835d0d70 dspdfviewer: add 1.13.1 bottle. 2015-09-30 20:26:04 +01:00
Ben Bieker 43943ac922 dspdfviewer 1.13.1 (new formula)
Closes #44357.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 20:26:00 +01:00
Felix Bünemann 4d6cb5dd9e saxon 9.6.0.7
Updated to latest version 9.6.0.7 and added a simple transform test.

Closes #44393.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 20:11:16 +01:00
Boyan Penkov 0005fb9b88 duplicity 0.7.05 (devel)
Closes #44334.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 20:06:40 +01:00
BrewTestBot a476570489 cogl: update 1.22.0 bottle. 2015-09-30 20:02:00 +01:00
BrewTestBot d08cca6f44 clutter-gtk: update 1.6.4 bottle. 2015-09-30 20:02:00 +01:00
BrewTestBot bf70996462 clutter: update 1.24.0 bottle. 2015-09-30 20:02:00 +01:00
Tom Schoonjans 893f9fa694 clutter-gtk 1.6.4
Closes #44029.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 20:01:54 +01:00
Tom Schoonjans 1aa0c82825 clutter 1.24.0 2015-09-30 20:01:51 +01:00
Tom Schoonjans fdb9a03d73 cogl 1.22.0 2015-09-30 20:01:51 +01:00
BrewTestBot 021f5b6d21 gstreamermm: update 1.4.3 bottle. 2015-09-30 19:56:12 +01:00
BrewTestBot ab5f2395b2 gstreamer: update 1.6.0 bottle. 2015-09-30 19:56:12 +01:00
BrewTestBot f6b595af5c gst-validate: update 1.6.0 bottle. 2015-09-30 19:56:12 +01:00
BrewTestBot b7ce80066c gst-python: update 1.6.0 bottle. 2015-09-30 19:56:12 +01:00
BrewTestBot fdfd09b4ac gst-plugins-ugly: update 1.6.0 bottle. 2015-09-30 19:56:12 +01:00
BrewTestBot af850e5e3f gst-plugins-good: update 1.6.0 bottle. 2015-09-30 19:56:12 +01:00
BrewTestBot 0afd50ab33 gst-plugins-base: update 1.6.0 bottle. 2015-09-30 19:56:12 +01:00
BrewTestBot 47b0ef55cb gst-plugins-bad: update 1.6.0 bottle. 2015-09-30 19:56:12 +01:00
BrewTestBot a3713918a2 gst-libav: update 1.6.0 bottle. 2015-09-30 19:56:12 +01:00
BrewTestBot eff6eb8cde clutter-gst: update 3.0.10 bottle. 2015-09-30 19:56:12 +01:00
Tom Schoonjans 426044039f gst-libav: added explicit runtime xz dependency
Closes #44368.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 19:56:05 +01:00
Tom Schoonjans 894ea6a4b8 gst-validate 1.6.0 2015-09-30 19:56:01 +01:00
Tom Schoonjans 25e0aa4feb gst-python 1.6.0 2015-09-30 19:56:01 +01:00
Tom Schoonjans c4bd2649df gst-libav 1.6.0 2015-09-30 19:56:01 +01:00
Tom Schoonjans 8a55b775bb gst-plugins-ugly 1.6.0 2015-09-30 19:56:01 +01:00
Tom Schoonjans 0ad9b8cd3d gst-plugins-bad 1.6.0 2015-09-30 19:56:01 +01:00
Tom Schoonjans 8f12c3e25d clutter-gst and gstreamermm: test fixes 2015-09-30 19:56:01 +01:00
Tom Schoonjans e7510e745c gst-plugins-good 1.6.0 2015-09-30 19:56:01 +01:00
Tom Schoonjans 21a230cadc gst-plugins-base 1.6.0 2015-09-30 19:56:01 +01:00
Tom Schoonjans 1448558325 gstreamer 1.6.0 2015-09-30 19:56:01 +01:00
BrewTestBot 28ded3a0f1 peco: update 0.3.4 bottle. 2015-09-30 19:53:24 +01:00
Dominyk Tiller 2392e53388 peco 0.3.4
Closes #44459.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 19:53:19 +01:00
BrewTestBot aa52ef5033 wellington: update 0.9.3 bottle. 2015-09-30 19:51:00 +01:00
Drew Wells 8da14674ce wellington 0.9.3
update wellington 0.9.3

Added devel of beta
fixed bug in brew versioning

Signed-off-by: Drew Wells <drew.wells00@gmail.com>

Closes #44463.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 19:50:56 +01:00
Bas Hintemann dd76798c4b nginx: Fix passenger caveat after upstream change
The locations.ini file changed location in #44333, this corrects the nginx caveat to show the current path. Existing installations of nginx using passenger will fail to start passenger until this change in nginx.conf is made.

Closes #44465.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 19:49:44 +01:00
BrewTestBot dfd8a37977 awscli: update 1.8.8 bottle. 2015-09-30 19:47:26 +01:00
Tomasz Pajor 44012a5809 awscli 1.8.8
Closes #44466.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 19:47:23 +01:00
Dominyk Tiller 4ef874ba48 geographiclib: use bin/ for test 2015-09-30 19:45:40 +01:00
BrewTestBot 960f68871f geographiclib: update 1.45 bottle. 2015-09-30 19:43:59 +01:00
Charles Karney df5851320d geographiclib 1.45
Closes #44470.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 19:43:55 +01:00
BrewTestBot 781fbb8679 galen: update 2.1.2 bottle. 2015-09-30 19:40:00 +01:00
Alexandre Espinosa Menor 99349207ff galen 2.1.2
Closes #44471.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 19:39:54 +01:00
BrewTestBot 1103150d1b mycli: update 1.4.0 bottle. 2015-09-30 19:34:56 +01:00
Robson Peixoto bc41c67c51 mycli 1.4.0
Closes #44473.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 19:34:52 +01:00
Misty De Meo 2c0a7fa26c Merge remote-tracking branch 'Homebrew/master' into updates 2015-09-30 11:17:03 -07:00
Dominyk Tiller 14eb880c78 swiftgen: fix ruby 1.8 syntax break
Closes #44474.
2015-09-30 18:56:36 +01:00
Dominyk Tiller 88eaeeca93 fish: fix head compile 2015-09-30 16:33:10 +01:00
BrewTestBot c4cd8fece4 fpp: update 0.6.2 bottle. 2015-09-30 07:11:12 -07:00
Peter Cottle f41d921880 fpp 0.6.2
Closes #44427.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-09-30 07:11:09 -07:00
BrewTestBot 8a12b9981f android-sdk: update 24.4 bottle. 2015-09-30 16:30:19 +08:00
Ibraheem Zaman 074e8c9d81 android-sdk 24.4
Closes #44461.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-30 16:30:15 +08:00
BrewTestBot 9c2e08271a mdp: update 1.0.1 bottle. 2015-09-30 16:29:19 +08:00
ymorika 133e01695f mdp 1.0.1
Closes #44462.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-30 16:29:14 +08:00
Xu Cheng 5e1f828384 cache taps
There are plenty of IO operations inside Tap object, and it will be more
when implementing formula alias reverse look up(e.g. list all of alias
names for a formula). So let's cache them.

Some benchmark:

$ time brew info $(brew ruby -e 'puts Formula.tap_names') > /dev/null
Before: 6.40s user 2.42s system 96% cpu 9.134 total
After: 4.75s user 0.77s system 97% cpu 5.637 total

Closes #44377.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-30 16:25:30 +08:00
Xu Cheng 410e2dd298 doctor: always print to stderr
This can help to solve the broken layout of doctor.out in brew gist-logs
2015-09-30 16:20:18 +08:00
Xu Cheng b3155196a1 doctor: temporary add -R flag in chown instruction
Will replace it when we implemented `brew repair-permission`
2015-09-30 13:55:32 +08:00
Xu Cheng 67943f2d6f update: add permissions check
Closes #42048

Closes #44434.

Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-30 13:54:04 +08:00
Xu Cheng 22f42a3fdb doctor: add check_access_homebrew_repository 2015-09-30 13:54:04 +08:00
Xu Cheng 532cba2e2d doctor: official supporting El Capitan 2015-09-30 13:54:04 +08:00
BrewTestBot 1df3a9a698 scrollkeeper: add 0.3.14_1 bottle. 2015-09-30 04:04:16 +01:00
BrewTestBot b3aa0d7a58 docbook-xsl: update 1.78.1_1 bottle. 2015-09-30 04:04:16 +01:00
BrewTestBot 1fb9147cf6 docbook: update 5.0 bottle. 2015-09-30 04:04:16 +01:00
Tom Schoonjans 0aea7ab2a7 docbook: moved all xmlcatalog commands to post_install
Closes #44268.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 04:04:12 +01:00
Tom Schoonjans 7d2f6c9f22 scrollkeeper and docbook-xsl: XML_CATALOG_FILES
environment variable needs to be set for xmlcatalog to work
properly on El Capitan
2015-09-30 04:04:11 +01:00
Tom Schoonjans 87ce13db89 docbook: remove libxml2 keg dependency 2015-09-30 04:04:11 +01:00
Tom Schoonjans fb6e21985c docbook: El Capitan fixes
The new version of libxml2 on El Capitan seemed to break the catalog
generation.
Fixed by setting the XML_CATALOG_FILES environment variable explicitly
before invoking xmlcatalog
2015-09-30 04:04:11 +01:00
Christian Moritz 19ae1f5532 iojs: move to versions
Closes #44441.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 03:49:52 +01:00
BrewTestBot 25ccccfba2 charm-tools: update 1.7.0 bottle. 2015-09-30 03:48:15 +01:00
Marco Ceppi 69d6f2f642 charm-tools 1.7.0
charm-tools: version 1.7.0

Closes #44457.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 03:48:12 +01:00
BrewTestBot 73e945e4ad caf: update 0.14.2 bottle. 2015-09-30 03:46:08 +01:00
Matthias Vallentin 5beb99f997 caf 0.14.2
Closes #44447.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 03:46:05 +01:00
Dominyk Tiller 4c6d17d479 groonga: fix benchmark build trigger 2015-09-30 03:43:27 +01:00
BrewTestBot 8cb50ba511 groonga: update 5.0.8 bottle. 2015-09-30 03:41:26 +01:00
Hiroyuki Sato 29bbae134b groonga 5.0.8
Closes #44437.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 03:41:23 +01:00
BrewTestBot ae4adcb3b5 mediatomb: update 0.12.1_1 bottle. 2015-09-30 03:40:01 +01:00
Dominyk Tiller 0f924805dd mediatomb: fix clang compile
Closes #44412.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 03:39:58 +01:00
BrewTestBot 5906c9e130 rrdtool: update 1.5.4 bottle. 2015-09-30 03:37:37 +01:00
Alessandro Tagliapietra bd51e891a9 rrdtool 1.5.4
Closes #44432.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 03:37:34 +01:00
BrewTestBot 874dcdfefc re2: update 20150801 bottle. 2015-09-30 03:34:42 +01:00
Guo Xiao 6fe48bd30e re2 20150801
Closes #44431.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 03:34:39 +01:00
BrewTestBot 70b4428c08 telegraf: update 0.1.9 bottle. 2015-09-30 03:31:21 +01:00
Cameron Sparr ff998466c7 telegraf 0.1.9
telegraf: bump version to 0.1.9

Closes #44423.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 03:31:18 +01:00
BrewTestBot 167b04822c osquery: update 1.5.3 bottle. 2015-09-30 03:29:39 +01:00
Teddy Reed 157787706d osquery 1.5.3
Closes #44426.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 03:29:37 +01:00
BrewTestBot 12608f1f08 shadowsocks-libev: update 2.4.0 bottle. 2015-09-30 03:26:30 +01:00
Daniel.Zeng 4a58207c77 shadowsocks-libev 2.4.0
Closes #44429.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-09-30 03:26:27 +01:00
Misty De Meo fbf95104af Merge remote-tracking branch 'Homebrew/master' into updates 2015-09-29 18:39:05 -07:00
BrewTestBot e6fed6250b hiredis: update 0.13.3 bottle. 2015-09-29 23:23:42 +02:00
Baptiste Fontaine 80f7b9f418 hiredis 0.13.3
Closes #44430.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-09-29 23:23:39 +02:00
BrewTestBot fe42df6bd8 goaccess: update 0.9.4 bottle. 2015-09-29 23:23:36 +02:00
Baptiste Fontaine a9a9d39875 goaccess 0.9.4
Closes #44433.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-09-29 23:23:32 +02:00
Dominyk Tiller a86152c9cb thrift: remove nonexistent bottle 2015-09-29 18:47:46 +01:00
284 changed files with 7948 additions and 1417 deletions

No files matched your search

+12 -4
View File
@@ -10,7 +10,7 @@ matrix:
os: osx
osx_image: xcode7
rvm: system
- env: OSX=10.9
- env: OSX=10.9 HOMEBREW_RUBY=1.8.7
os: osx
osx_image: beta-xcode6.2
rvm: system
@@ -21,12 +21,20 @@ before_install:
- sudo rm -rf /usr/local/.git/refs /usr/local/.git/packed-refs
- sudo rsync -az "$TRAVIS_BUILD_DIR/" /usr/local/
- export TRAVIS_BUILD_DIR="/usr/local"
- sudo chown -R $USER /usr/local
- env | grep TRAVIS_
- if [ -f ".git/shallow" ]; then travis_retry git fetch --unshallow; fi
- if [ -f ".git/shallow" ]; then
travis_retry git fetch --unshallow;
fi
- git reset --hard $TRAVIS_COMMIT
- git clean -qxdff
install:
- if [ "$HOMEBREW_RUBY" = "1.8.7" ]; then
brew install homebrew/versions/ruby187;
export PATH="/usr/local/opt/ruby187/bin:$PATH";
export HOMEBREW_RUBY_PATH="/usr/local/opt/ruby187/bin/ruby";
fi
- export HOMEBREW_DEVELOPER="1"
script:
- brew test-bot
+3
View File
@@ -157,6 +157,9 @@ class Cmd
"-fuse-linker-plugin"
# clang doesn't support these flags
args << arg unless tool =~ /^clang/
when "-Wno-deprecated-register", "-Wno-implicit-fallthrough"
# older gccs don't support these flags
args << arg unless tool =~ /^g..-4.[02]/
when /^-W[alp],/, /^-Wno-/
args << arg
when /^-W.*/
+2
View File
@@ -3,6 +3,8 @@ class Abook < Formula
homepage "http://abook.sourceforge.net/"
url "https://downloads.sourceforge.net/project/abook/abook/0.5.6/abook-0.5.6.tar.gz"
sha256 "0646f6311a94ad3341812a4de12a5a940a7a44d5cb6e9da5b0930aae9f44756e"
revision 1
head "git://git.code.sf.net/p/abook/git"
bottle do
+1
View File
@@ -6,6 +6,7 @@ class Algernon < Formula
url "https://github.com/xyproto/algernon/archive/0.85.tar.gz"
sha256 "c30380d9781166a6cc6297210e70c742c5a6c91bbbbdbf223783db1ffa1aa7e6"
head "https://github.com/xyproto/algernon.git"
revision 1
bottle do
sha256 "4afae3ee47dc003a6916c399b103dd8d8223db6c2234ba4a3a67f9e52e338efd" => :el_capitan
+2 -2
View File
@@ -1,7 +1,7 @@
class Alpine < Formula
desc "News and email agent"
homepage "http://patches.freeiz.com/alpine/"
url "http://patches.freeiz.com/alpine/release/src/alpine-2.20.tar.xz"
homepage "http://alpine.freeiz.com/alpine/"
url "http://alpine.freeiz.com/alpine/release/src/alpine-2.20.tar.xz"
sha256 "ed639b6e5bb97e6b0645c85262ca6a784316195d461ce8d8411999bf80449227"
bottle do
+1 -2
View File
@@ -6,8 +6,7 @@ class AndroidNdk < Formula
version "r10e"
# As of r10e, only a 64-bit version is provided
depends_on :arch => :x86_64
depends_on :arch => :intel
depends_on "android-sdk" => :recommended
def install
@@ -7,6 +7,8 @@ class AndroidPlatformTools < Formula
version "23.0.0"
sha256 "a5ed48f56f784fcba35e3650c001fff49de75d3631d2fc2c83479a9ebaa92724"
depends_on :arch => :intel
conflicts_with "android-sdk",
:because => "the Android Platform-tools are part of the Android SDK"
+8 -6
View File
@@ -3,15 +3,15 @@ require "base64"
class AndroidSdk < Formula
desc "Android API libraries and developer tools"
homepage "https://developer.android.com/index.html"
url "https://dl.google.com/android/android-sdk_r24.3.4-macosx.zip"
version "24.3.4"
sha256 "074da140b380177108b9b74869403df7a65c5b555d4f5e439fa8556f1018352b"
url "https://dl.google.com/android/android-sdk_r24.4-macosx.zip"
version "24.4"
sha256 "a1cb0c9b2036d597e18986de1bd43918b6113373ff3bf6fdb81b6cce4ec3efd7"
bottle do
cellar :any
sha256 "7e9cfe4358bc78d50c5481c94eac4a8257253991a04c2484b2ad647d3e030d0f" => :yosemite
sha256 "8e2345713d8c4d45edca76daa49779bfdd5964117730c325662a01fdab74023d" => :mavericks
sha256 "75990555c5bc71c43afcb83bcb7ee70c580cedf8b86b2c60d82a1abb7bc588b6" => :mountain_lion
sha256 "6813bb19eb0127850832a32cddd55cfd0106a8d079726c3a9e8e18855efe0165" => :el_capitan
sha256 "7210e0118c1bbba916add540c9a1b7dc9b14b0c2cfbdbea9a1e0ca0e6b0143ec" => :yosemite
sha256 "e148339aa960c019ae70e967b3cadcd57fe93838067453b21264a8e330818a42" => :mavericks
end
conflicts_with "android-platform-tools",
@@ -22,6 +22,8 @@ class AndroidSdk < Formula
sha256 "44b3e20ed9cb8fff01dc6907a57bd8648cd0d1bcc7b129ec952a190983ab5e1a"
end
depends_on :arch => :intel
# Version of the android-build-tools the wrapper scripts reference.
def build_tools_version
"23.0.1"
+2 -1
View File
@@ -12,7 +12,8 @@ end
class AppleGcc42 < Formula
homepage 'http://r.research.att.com/tools/'
url 'http://r.research.att.com/gcc-42-5553-darwin8-all.tar.gz'
url 'https://ia902307.us.archive.org/31/items/tigerbrew/gcc-42-5553-darwin8-all.tar.gz'
mirror 'http://r.research.att.com/gcc-42-5553-darwin8-all.tar.gz'
version '4.2.1-5553'
sha1 '0e529a2e4723e016e3d086d6ca3215d700931503'
+1
View File
@@ -3,6 +3,7 @@ class ArgusClients < Formula
homepage "http://qosient.com/argus/"
url "http://qosient.com/argus/src/argus-clients-3.0.8.tar.gz"
sha256 "aee8585d50959e00070a382f3121edfaa844a0a51dc0b73edf84c0f4eb8912c9"
revision 1
bottle do
cellar :any
+1 -1
View File
@@ -18,7 +18,7 @@ class ArpScan < Formula
depends_on "autoconf" => :build
end
depends_on "homebrew/dupes/libpcap" => :optional
depends_on "libpcap" => :optional
def install
system "autoreconf", "--install" if build.head?
+1
View File
@@ -3,6 +3,7 @@ class Augeas < Formula
homepage "http://augeas.net"
url "http://download.augeas.net/augeas-1.4.0.tar.gz"
sha256 "659fae7ac229029e60a869a3b88c616cfd51cf2fba286cdfe3af3a052cb35b30"
revision 1
bottle do
sha256 "9f9d87829624afc741c590614bb0dbf8858ebd5df6728e55925d3a8d82125d84" => :yosemite
+1 -1
View File
@@ -15,7 +15,7 @@ class Autoconf < Formula
end
# Tiger's m4 is too old.
depends_on 'homebrew/dupes/m4' if MacOS.version == :tiger
depends_on "m4" if MacOS.version == :tiger
keg_only :provided_until_xcode43
+8 -8
View File
@@ -1,15 +1,15 @@
class Awscli < Formula
desc "Official Amazon AWS command-line interface"
homepage "https://aws.amazon.com/cli/"
url "https://pypi.python.org/packages/source/a/awscli/awscli-1.8.7.tar.gz"
mirror "https://github.com/aws/aws-cli/archive/1.8.7.tar.gz"
sha256 "6ae4170c48ec768465afd2b9e70c6db4cd45673aa5b2f1ee2b0513e94a0d96cd"
url "https://pypi.python.org/packages/source/a/awscli/awscli-1.8.8.tar.gz"
mirror "https://github.com/aws/aws-cli/archive/1.8.8.tar.gz"
sha256 "7865aad2d38840a85a9e23ec2943fbb4a6aeb1ff8026911c74b0d3a2054756ab"
bottle do
cellar :any_skip_relocation
sha256 "3beb60f4bf9580934e745369976b3a8ed8fa605587448caa970d5e50b081513c" => :el_capitan
sha256 "f9f8df7d772725ac65ef6e6b34e7c367b84bf4001ae3d483372c58080a089c22" => :yosemite
sha256 "39ad6a5be6d5d14aef4a930d5f01ca764bae180db74f0a2228ad83b58d2ef10d" => :mavericks
sha256 "a8db57572041d9310606af9e5193d6e5271a727175028a018040a5148995a5b3" => :el_capitan
sha256 "52ba872ac532b42ae7f0f729720338aa52f6255f8464fe76bb0bb0547d0e9a9e" => :yosemite
sha256 "7b5a2488f85d6eca208c47d595da4c7bfd489b6e840fa3a5dcc0d3210798f618" => :mavericks
end
head do
@@ -50,8 +50,8 @@ class Awscli < Formula
end
resource "botocore" do
url "https://pypi.python.org/packages/source/b/botocore/botocore-1.2.5.tar.gz"
sha256 "f9e173ff2193bfe712478afb44a04673895a6b1823586f5993332ed155a82e0d"
url "https://pypi.python.org/packages/source/b/botocore/botocore-1.2.6.tar.gz"
sha256 "e0f71ce5c74e9251f5fb49cfe6b74d4612545824d5ebc0a37269315d23f81da3"
end
resource "docutils" do
+1
View File
@@ -3,6 +3,7 @@ class BaculaFd < Formula
homepage "http://www.bacula.org/"
url "https://downloads.sourceforge.net/project/bacula/bacula/7.0.5/bacula-7.0.5.tar.gz"
sha256 "1457849eb33011b43371801b62ffa13d29bebe51be8d5a36da563b87bb094a49"
revision 1
bottle do
sha1 "aa312ee016437c22b7e4955c67defa51c7703540" => :yosemite
+13 -21
View File
@@ -1,29 +1,21 @@
class Bash < Formula
desc "Bash (Bourne-again SHell) is a UNIX command interpreter"
desc "Bourne-Again SHell, a UNIX command interpreter"
homepage "https://www.gnu.org/software/bash/"
url "https://ftpmirror.gnu.org/bash/bash-4.4.tar.gz"
mirror "https://mirrors.ocf.berkeley.edu/gnu/bash/bash-4.4.tar.gz"
mirror "https://mirrors.kernel.org/gnu/bash/bash-4.4.tar.gz"
mirror "https://ftp.gnu.org/gnu/bash/bash-4.4.tar.gz"
mirror "https://gnu.cu.be/bash/bash-4.4.tar.gz"
mirror "https://mirror.unicorncloud.org/gnu/bash/bash-4.4.tar.gz"
sha256 "d86b3392c1202e8ff5a423b302e6284db7f8f435ea9f39b5b1b20fd3ac36dfcb"
revision 1
head "http://git.savannah.gnu.org/r/bash.git"
stable do
url "http://ftpmirror.gnu.org/bash/bash-4.3.tar.gz"
mirror "https://ftp.gnu.org/gnu/bash/bash-4.3.tar.gz"
sha256 "afc687a28e0e24dc21b988fa159ff9dbcf6b7caa92ade8645cc6d5605cd024d4"
version "4.3.42"
# Vendor the patches. The mirrors are unreliable for getting the patches,
# and the more patches there are, the more unreliable they get. Upstream
# patches can be found in: http://git.savannah.gnu.org/cgit/bash.git
patch do
url "https://gist.githubusercontent.com/dunn/a8986687991b57eb3b25/raw/76dd864812e821816f4b1c18e3333c8fced3919b/bash-4.3.42.diff"
sha256 "2eeb9b3ed71f1e13292c2212b6b8036bc258c58ec9c82eec7a86a091b05b15d2"
end
end
bottle do
sha256 "a767075b636c0964d2eca3c4f87eb679384fcd2eb7a778ea862248717f63b082" => :el_capitan
sha256 "e4c37730749adcdbc274fa57b62300f2f2c68078b962cfd196a7e8f0764b543c" => :yosemite
sha256 "4078f42a58506e67d25ec0f82f85efd265bf2eac606a9aeca50a7e7bd5b7e025" => :mavericks
sha256 "4fded417b56f73ffcf48b5d05bc22e04beb521c7f91f4d6b5671876173584c27" => :mountain_lion
sha256 "a2f73335f36d0a35970b1ee2b41e4a6b939ffd9df2a3ee9e9ebb942765d10002" => :sierra
sha256 "9f11130718619dd0523760d714c8ac349fd62cc0b11dc70671ff132e7fc94ef5" => :el_capitan
sha256 "af85e62012466dbb9ec9e08fe59acb03aff35f2d41844d2871c80bbd5a9e6ac3" => :yosemite
end
depends_on "readline"
@@ -37,7 +29,7 @@ class Bash < Formula
# Homebrew's bash instead of /bin/bash.
ENV.append_to_cflags "-DSSH_SOURCE_BASHRC"
system "./configure", "--prefix=#{prefix}", "--with-installed-readline"
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
+8 -1
View File
@@ -21,11 +21,18 @@ class Bind < Formula
ENV.append "CFLAGS", ENV.cppflags
json = build.with?("json-c") ? "yes" : "no"
# https://github.com/mistydemeo/tigerbrew/issues/358
gssapi = MacOS.version > :tiger ? "yes" : "no"
dlopen = MacOS.version > :leopard ? "yes" : "no"
system "./configure", "--prefix=#{prefix}",
"--enable-threads",
"--enable-ipv6",
"--with-openssl=#{Formula["openssl"].opt_prefix}",
"--with-libjson=#{json}"
"--with-libjson=#{json}",
"--with-gssapi=#{gssapi}",
"--with-dlopen=#{dlopen}"
# From the bind9 README: "Do not use a parallel "make"."
ENV.deparallelize
+1 -1
View File
@@ -16,7 +16,7 @@ class Bison < Formula
depends_on "automake"
# "It also requires GNU Autoconf, GNU m4 and Perl in order to run"
depends_on "autoconf"
depends_on "homebrew/dupes/m4"
depends_on "m4"
end
keg_only :provided_by_osx, "Some formulae require a newer version of bison."
+1 -1
View File
@@ -3,7 +3,7 @@ class Cadaver < Formula
homepage "http://www.webdav.org/cadaver/"
url "http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz"
sha256 "fd4ce68a3230ba459a92bcb747fc6afa91e46d803c1d5ffe964b661793c13fca"
revision 1
revision 2
bottle do
revision 1
+5 -5
View File
@@ -2,16 +2,16 @@ class Caf < Formula
# Renamed from libccpa
desc "Implementation of the Actor Model for C++"
homepage "http://actor-framework.org/"
url "https://github.com/actor-framework/actor-framework/archive/0.14.1.tar.gz"
sha256 "8940474ae0c3700e503d092f124489a13667098b63b8e94a09e110541d827985"
url "https://github.com/actor-framework/actor-framework/archive/0.14.2.tar.gz"
sha256 "5d7fadee7c6af2ad2eb9cb66cf2a6109c72f47652b7e3f0c01a267d3dfb99290"
head "https://github.com/actor-framework/actor-framework.git",
:branch => "develop"
bottle do
cellar :any
sha256 "c1c051d79566b1a260296ca8b10d1c44d48e4592e70a2d74483684f86102fbcc" => :yosemite
sha256 "b27513e9fb42b65f94e2f732a75f9eb4cdfe7e552fa0690b03b2f03593bb9c87" => :mavericks
sha256 "8939cef5647b3241311801cdf4396a9342a55d6c6e2303e74b013d55a9583ef7" => :mountain_lion
sha256 "5b0d8d5b21051111480c9213132570c2d8c944b00a2ef1c21ba7338777a9d9d9" => :el_capitan
sha256 "e247d4384eccd86021cb1bb67fd552e05d32dacb5ebd292053008834fd0defb5" => :yosemite
sha256 "3d5b7662c7cf136f6ba87864f4ce67464228d2db2d31ffe8e470c7803d34bac4" => :mavericks
end
needs :cxx11
+17 -15
View File
@@ -1,26 +1,16 @@
class Cairo < Formula
desc "Vector graphics library with cross-device output support"
homepage "http://cairographics.org/"
url "http://cairographics.org/releases/cairo-1.14.2.tar.xz"
mirror "https://www.mirrorservice.org/sites/ftp.netbsd.org/pub/pkgsrc/distfiles/cairo-1.14.2.tar.xz"
sha256 "c919d999ddb1bbbecd4bbe65299ca2abd2079c7e13d224577895afa7005ecceb"
revision 1
bottle do
revision 3
sha256 "c53e4efa75921181a8689a0dcd13454d7a0759e259b331ebdc92c692d0716bad" => :el_capitan
sha256 "33d9cb9c8dcb1a12eaefb2c816cb7c82f948a9775f79b2427b011a03153fc8a0" => :yosemite
sha256 "4332ca15d3f37a421947d4d5a43ee7f6116cbc1f920fdd4db7a6b2538cddde7b" => :mavericks
sha256 "32c35db10bc86230c18c4484e6b7f314ba56c0186c80b356a0d0533576267a2e" => :mountain_lion
end
url "https://cairographics.org/releases/cairo-1.14.8.tar.xz"
mirror "https://www.mirrorservice.org/sites/ftp.netbsd.org/pub/pkgsrc/distfiles/cairo-1.14.8.tar.xz"
sha256 "d1f2d98ae9a4111564f6de4e013d639cf77155baf2556582295a0f00a9bc5e20"
keg_only :provided_pre_mountain_lion
option :universal
# Tiger's X11 is simply way too old
option 'without-x', 'Build without X11 support' if MacOS.version > :tiger
depends_on "pkg-config" => :build
depends_on :x11 => :recommended if MacOS.version <= :leopard
depends_on :x11 => :optional if MacOS.version > :leopard
depends_on "freetype"
depends_on "fontconfig"
@@ -28,6 +18,15 @@ class Cairo < Formula
depends_on "pixman"
depends_on "glib"
# Fixes building when certain CoreText features are unavailable
# https://github.com/mistydemeo/tigerbrew/issues/452
if MacOS.version < :leopard
patch do
url "https://cgit.freedesktop.org/~ranma42/cairo/patch/?id=5a8a9c97ed268004cbac510d39739ff56c0fb43c"
sha256 "8d119eca6c35ac8645d13d656b5a721cfeeec1ebcf5793f9d5182c604782de15"
end
end
def install
ENV.universal_binary if build.universal?
@@ -41,7 +40,10 @@ class Cairo < Formula
]
if build.with? "x11"
args << "--enable-xcb=yes" << "--enable-xlib=yes" << "--enable-xlib-xrender=yes"
# Tiger's X11 does not include XCB,
# and Leopard's X11 has an XCB that's too old.
args << "--enable-xcb=yes" if MacOS.version > :leopard
args << "--enable-xlib=yes" << "--enable-xlib-xrender=yes"
else
args << "--enable-xcb=no" << "--enable-xlib=no" << "--enable-xlib-xrender=no"
end
+1
View File
@@ -3,6 +3,7 @@ class Calc < Formula
homepage "http://www.isthe.com/chongo/tech/comp/calc/"
url "http://www.isthe.com/chongo/src/calc/calc-2.12.5.0.tar.bz2"
sha256 "a0e7b47af38330f188970998c8e5039134dadf6f2e3f2c00d7efdae272a4338d"
revision 1
bottle do
sha256 "f68eb0e031534c68f3fb1c2c1d53a90c343f281b81f998cf4bfc9745a0b8d306" => :el_capitan
+1
View File
@@ -3,6 +3,7 @@ class Cgdb < Formula
homepage "https://cgdb.github.io/"
url "http://cgdb.me/files/cgdb-0.6.8.tar.gz"
sha256 "be203e29be295097439ab67efe3dc8261f742c55ff3647718d67d52891f4cf41"
revision 1
bottle do
sha256 "8d47a315bc04053f84802069723edf9ea920c7361464992c1a657f41db52f901" => :el_capitan
+7 -7
View File
@@ -1,14 +1,14 @@
class CharmTools < Formula
desc "Tools for authoring and maintaining juju"
desc "Tools for authoring and maintaining juju charms"
homepage "https://launchpad.net/charm-tools"
url "https://launchpad.net/charm-tools/1.5/1.5.1/+download/charm-tools-1.5.1.tar.gz"
sha256 "295365eaa520ae48bd3e64f078cf97f0c43551d9173d3b4491f036417c0eca39"
url "https://launchpad.net/charm-tools/1.7/1.7.0/+download/charm-tools-1.7.0.tar.gz"
sha256 "6bc12d24460b366e12176538692d5b29c3697f5c8a98b525a05fa5ec7b04e042"
bottle do
cellar :any
sha256 "ce32f7bea01b802b7e3fe7602824803bc9e1e0aa2f7b9b9b97209d9e55069472" => :yosemite
sha256 "dac2d32c219b2cf83e611626292a229eb5901b218ad39b8704d4d59a2b36f491" => :mavericks
sha256 "4239d0adc10d00e4d96f74bba4d05221cd828b18fe9dce3498aacbf38c8c6484" => :mountain_lion
cellar :any_skip_relocation
sha256 "3501cda00eebfa84b6de87d2a3816740cb4756d8682ffb4cc2dd41ecd11f2110" => :el_capitan
sha256 "cae0728f61d14a01e9adf2246bdba70ca114b1b4b768c5d7e3a434b50c73d474" => :yosemite
sha256 "f959e49c90a21203f16452ff1ea65e88d40de992fca8551d2c7fb2b3be24a693" => :mavericks
end
depends_on :python if MacOS.version <= :snow_leopard
+1 -1
View File
@@ -13,7 +13,7 @@ class Chicken < Formula
end
# needs make 3.81 or newer
depends_on "homebrew/dupes/make" => :build if MacOS.version < :leopard
depends_on "make" => :build if MacOS.version < :leopard
def install
ENV.deparallelize
+3
View File
@@ -25,6 +25,9 @@ class Clamav < Formula
skip_clean "share/clamav"
# https://github.com/mistydemeo/tigerbrew/issues/360
fails_with :gcc_4_0
def install
args = [
"--disable-dependency-tracking",
+1
View File
@@ -4,6 +4,7 @@ class Clisp < Formula
url "http://ftpmirror.gnu.org/clisp/release/2.49/clisp-2.49.tar.bz2"
mirror "https://ftp.gnu.org/gnu/clisp/release/2.49/clisp-2.49.tar.bz2"
sha256 "8132ff353afaa70e6b19367a25ae3d5a43627279c25647c220641fed00f8e890"
revision 1
bottle do
sha256 "cbd72b99874b8a53da52938f41122e741cccb1e300c2bbf3175f6cefbe48a100" => :yosemite
+30
View File
@@ -0,0 +1,30 @@
class CloogPpl015 < Formula
homepage "http://repo.or.cz/w/cloog-ppl.git"
url "ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.11.tar.gz"
mirror "http://gcc.cybermirror.org/infrastructure/cloog-ppl-0.15.11.tar.gz"
sha256 "7cd634d0b2b401b04096b545915ac67f883556e9a524e8e803a6bf6217a84d5f"
bottle do
cellar :any
sha256 "e80958bc126358051c2c40ba8b12aae5fa2e55a086dd103241f7469a6812df29" => :yosemite
sha256 "e18498773771e61e533c1521212ad4f2be43f62b5c00478c89fc52934850450f" => :mavericks
sha256 "ff20e10aa53c2650de8f008d8b6cd803ed1960e6d88282574c2217700ba0a81f" => :mountain_lion
end
keg_only "Conflicts with cloog in main repository."
depends_on "gmp4"
depends_on "ppl011"
def install
args = %W[
--disable-dependency-tracking
--prefix=#{prefix}
--with-gmp=#{Formula["gmp4"].opt_prefix}"
--with-ppl=#{Formula["ppl011"].opt_prefix}"
]
system "./configure", *args
system "make", "install"
end
end
+52
View File
@@ -0,0 +1,52 @@
class Cloog018 < Formula
desc "Generate code for scanning Z-polyhedra"
homepage "http://www.cloog.org/"
# Track gcc infrastructure releases.
url "http://www.bastoul.net/cloog/pages/download/count.php3?url=./cloog-0.18.0.tar.gz"
mirror "ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-0.18.0.tar.gz"
sha256 "1c4aa8dde7886be9cbe0f9069c334843b21028f61d344a2d685f88cb1dcf2228"
bottle do
cellar :any
revision 1
sha256 "95b8d981633d853151cae2efa07bcf6655e5af04dad88418087fc614de8f160d" => :el_capitan
sha256 "5befa09d6f42cebefe5085959a9d7267158bd9eb7a1d7d0a95c122c5377ccaa9" => :yosemite
sha256 "b64ee12cd97286090e012e25882119b82ce4dc9b8dbaacf7ac17f7570f327cfa" => :mavericks
end
keg_only "Conflicts with cloog in main repository."
depends_on "pkg-config" => :build
depends_on "gmp4"
depends_on "isl011"
def install
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--with-gmp-prefix=#{Formula["gmp4"].opt_prefix}",
"--with-isl-prefix=#{Formula["isl011"].opt_prefix}"
system "make", "install"
end
test do
cloog_source = <<-EOS.undent
c
0 2
0
1
1
0 2
0 0 0
0
0
EOS
assert_match "Generated from /dev/stdin by CLooG",
pipe_output("#{bin}/cloog /dev/stdin", cloog_source)
end
end
+5 -3
View File
@@ -5,9 +5,10 @@ class ClutterGst < Formula
sha256 "2dbdbc3292e92684bbdbf1694c61f6b781f5810e4d79a415dfdee2f7ee42148c"
bottle do
sha256 "118737f49a233d0e26862e2a4d61ea9f71a57949e06eff39a8840cd0417379ee" => :yosemite
sha256 "861241c0eef03dd979a20dfb19f32dffd45736205b20c2457e3732a547e2b73c" => :mavericks
sha256 "0a67c7b33bd7fa42b13b2b3c93fde68d1cb3c1afe4c08077de833aeeebdcc81c" => :mountain_lion
revision 1
sha256 "93044b081e811fda6cfef3450fda71fef0253fa90c2125dbce1de1839ceae061" => :el_capitan
sha256 "1728ff5dc8fcd9bd2041b332ec179e16b72046a0da772d34a224de527fe7e67d" => :yosemite
sha256 "d2b0f46bcf88ad8ff13594973d2c2d55ee929bc27fe331882f0eb84cc718c992" => :mavericks
end
depends_on "pkg-config" => :build
@@ -72,6 +73,7 @@ class ClutterGst < Formula
-I#{glib.opt_lib}/glib-2.0/include
-I#{gst_plugins_base.opt_include}/gstreamer-1.0
-I#{gstreamer.opt_include}/gstreamer-1.0
-I#{gstreamer.opt_lib}/gstreamer-1.0/include
-I#{include}/clutter-gst-3.0
-I#{json_glib.opt_include}/json-glib-1.0
-I#{libpng.opt_include}/libpng16
+5 -5
View File
@@ -1,13 +1,13 @@
class ClutterGtk < Formula
desc "GTK+ integration library for Clutter"
homepage "https://wiki.gnome.org/Projects/Clutter"
url "https://download.gnome.org/sources/clutter-gtk/1.6/clutter-gtk-1.6.2.tar.xz"
sha256 "bbd03dfa9a20102d5cdb440513b0a035933da557ad7e9da31546034de2daf069"
url "https://download.gnome.org/sources/clutter-gtk/1.6/clutter-gtk-1.6.4.tar.xz"
sha256 "52fc9b35d301737a221bb6c24abafafe23e4bd0a5e2060bba3860b6cac7b32aa"
bottle do
sha256 "2d186ad62466bf517682c67bcd0a35e2dc901a35ecb0b58186ad68b0fcdc420f" => :yosemite
sha256 "30a60e8e1b6f9a2166f63cf541328e67ef363ab80fe73e4579ec1b13c158ee77" => :mavericks
sha256 "f7fb4c5553d7853ea96b90c27689128ce144103ebdb7abaee29b06a9aef377ae" => :mountain_lion
sha256 "af7aba2417b205ad7987c43cad168a4cc6cc3ef6b5289fad758a123ca60ac8bc" => :el_capitan
sha256 "0007a7945588d7409514fe32e42435ea4a4c6584b2e54d217cb88d1769fd550c" => :yosemite
sha256 "99544dde6b1386f6b12536b6ba7abd04a112123fa8bb39c475bb365a960ccd99" => :mavericks
end
depends_on "pkg-config" => :build
+5 -5
View File
@@ -1,13 +1,13 @@
class Clutter < Formula
desc "Generic high-level canvas library"
homepage "https://wiki.gnome.org/Projects/Clutter"
url "https://download.gnome.org/sources/clutter/1.22/clutter-1.22.4.tar.xz"
sha256 "1d77ce16025f87667a1d00dc4fa617a1935156f63fd17635fdadf138866c9e1e"
url "https://download.gnome.org/sources/clutter/1.24/clutter-1.24.0.tar.xz"
sha256 "85c87d5745b97af7633776419a47421aae7cea66c1b870f88cc5e06a4c5626e6"
bottle do
sha256 "34f56ac7eceb88057cad0742a8055951885a6eab38e36fde3af5b54311c3fd48" => :yosemite
sha256 "0d9cb416bc29d59dd542a3760fc14d2f3d8fdf6ab5531102b0835378ad3a0457" => :mavericks
sha256 "f3068a73eda6b6df486c5658288567dec0d987de74c522412a0879e352d5dd1a" => :mountain_lion
sha256 "ed5bd7a2b8dd5ee04ddc871299c39a8b9483fd325d93b033d1e58ea933f65209" => :el_capitan
sha256 "fb7691feb447f9e00f925ccb4c308d3a9be01e47d705205cc969bda627ecb611" => :yosemite
sha256 "046c2bf23f70c21011f49f642d1ff282a78b02f68afe409dc2552d5e09aff20a" => :mavericks
end
depends_on "pkg-config" => :build
+21 -13
View File
@@ -1,21 +1,21 @@
class Cmake < Formula
desc "Cross-platform make"
homepage "http://www.cmake.org/"
url "http://www.cmake.org/files/v3.3/cmake-3.3.2.tar.gz"
mirror "https://mirrors.kernel.org/debian/pool/main/c/cmake/cmake_3.3.2.orig.tar.gz"
sha256 "e75a178d6ebf182b048ebfe6e0657c49f0dc109779170bad7ffcb17463f2fc22"
head "http://cmake.org/cmake.git"
url "https://cmake.org/files/v3.6/cmake-3.6.3.tar.gz"
sha256 "7d73ee4fae572eb2d7cd3feb48971aea903bb30a20ea5ae8b4da826d8ccad5fe"
# See: https://gist.github.com/shirleyallan/6261775
fails_with :gcc do
build 5553
cause "/Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory"
end
head "https://cmake.org/cmake.git"
bottle do
sha256 "46ffe73c3277dea43fb3341c02b06b36a6c165bcb6cc900b597fcf94dbfddad7" => :leopard_g3
sha256 "da4027b8afd98665000d9b806da19f84d352fee39a0f8c4a9a287f23e3aef567" => :leopard_altivec
sha256 "f2b16ef4fe3f26ba8662883b670ef8e6b3d974b4cd5857c50cba0c15950cd59d" => :tiger_altivec
cellar :any_skip_relocation
sha256 "81a8b6e3b7f527edb89c298c8aea367e7fb00bf83f30fc4ee814e0d06b75f3dc" => :sierra
sha256 "e0e81368fe89f206582833d5f289c6fc56ee0272b1913361e65e3221efadf447" => :el_capitan
sha256 "16f91ff94d784b2120e248650a7a99c5974d325900f94ead54392b2fdaabeb8e" => :yosemite
end
devel do
url "https://cmake.org/files/v3.7/cmake-3.7.0-rc3.tar.gz"
sha256 "654a5f0400c88fb07cf7e882e6254d17f248663b51a85ff07d79f7ee7b4795bd"
end
option "without-docs", "Don't build man pages"
@@ -107,12 +107,20 @@ class Cmake < Formula
--system-bzip2
]
args << (MacOS.version < :leopard ? "--no-system-curl" : "--system-curl")
# https://github.com/Homebrew/legacy-homebrew/issues/45989
if MacOS.version <= :lion
args << "--no-system-curl"
else
args << "--system-curl"
end
if build.with? "docs"
args << "--sphinx-man" << "--sphinx-build=#{buildpath}/sphinx/bin/sphinx-build"
end
# gcc-4.2 does not find stdarg.h if the sysroot is set to an SDK
args << "--" << "-DCMAKE_OSX_SYSROOT=/"
system "./bootstrap", *args
system "make"
system "make", "install"
+5 -7
View File
@@ -1,15 +1,13 @@
class Cogl < Formula
desc "Low level OpenGL abstraction library developed for Clutter"
homepage "https://developer.gnome.org/cogl/"
url "https://download.gnome.org/sources/cogl/1.20/cogl-1.20.0.tar.xz"
sha256 "729e35495829e7d31fafa3358e47b743ba21a2b08ff9b6cd28fb74c0de91192b"
revision 1
url "https://download.gnome.org/sources/cogl/1.22/cogl-1.22.0.tar.xz"
sha256 "689dfb5d14fc1106e9d2ded0f7930dcf7265d0bc84fa846b4f03941633eeaa91"
bottle do
revision 1
sha256 "f1c4bcc7ed92370f25667f619a77201b922f250fefa7a4884d2e3e7d6adcf0fd" => :yosemite
sha256 "a92b3f7ce32927fc8a10239c28c24d49d755c0dd4ecc64c40860fccba484c1f3" => :mavericks
sha256 "401ec44a470559b23d590427339271f9469e048e1a7160e113875bab35d504c9" => :mountain_lion
sha256 "40e791051fe658bfef8c3fd931871e2ed3d5574b99e174eba6f0adeb514328a3" => :el_capitan
sha256 "8468cc80cc507b84f176286d86e143e319b0b34c50d34f8b626c36a95f670215" => :yosemite
sha256 "ba4d3405e3b3af0b4e40565bae7c84e72b8fe6b96e1aa26567d3c6d77a5f7904" => :mavericks
end
head do
+1 -1
View File
@@ -27,7 +27,7 @@ class Coq < Formula
sha256 "dd082d214e2540429c6f757a41e4df23307e339d50ae68cd108dbd569c6b9ed1" => :mountain_lion
end
depends_on 'homebrew/dupes/make' => :build if MacOS.version < :leopard
depends_on "make" => :build if MacOS.version < :leopard
depends_on :ld64 # needs -no_compact_unwind
depends_on Camlp5TransitionalModeRequirement
depends_on "camlp5"
+32 -20
View File
@@ -1,23 +1,19 @@
class Coreutils < Formula
desc "GNU File, Shell, and Text utilities"
homepage "https://www.gnu.org/software/coreutils"
url "http://ftpmirror.gnu.org/coreutils/coreutils-8.24.tar.xz"
mirror "https://ftp.gnu.org/gnu/coreutils/coreutils-8.24.tar.xz"
sha256 "a2d75286a4b9ef3a13039c2da3868a61be4ee9f17d8ae380a35a97e506972170"
url "https://ftp.gnu.org/gnu/coreutils/coreutils-8.30.tar.xz"
mirror "https://ftpmirror.gnu.org/coreutils/coreutils-8.30.tar.xz"
sha256 "e831b3a86091496cdba720411f9748de81507798f6130adeaef872d206e1b057"
bottle do
sha256 "982576be0136e46016643da0efdb44e3ab201263b2a43433448821c19fb9edd4" => :el_capitan
sha256 "142edfec5f84958bdb27866e3a826f9b580a4ae07bfd805c766ab6a9a368e34f" => :yosemite
sha256 "851e007f3edaa58fc00d9c67aeed2ab5a8b9a1bad608dc3e5d76732cc35c593f" => :mavericks
sha256 "32ef44141d7dff2995ea0a692a3861ee9049a37a1254a3978c7dc8283c258476" => :mountain_lion
sha256 "45157fb067a46c953bdfcba90de688903b7b3c8fcb39afa1e0b2fef2819eedc5" => :mojave
sha256 "77b09dbe66f3d5098998da6babf953e01e828742b8a740a831cc3f3a1f713df7" => :high_sierra
sha256 "94844581b7e08ae2d1dc6c77acfd6e95021283cc8b7c1228fed32a423ae826cc" => :sierra
sha256 "a5145f88de2525d168ef998f8310d5c0abcead9efee9108fb61c30de91a4869c" => :el_capitan
end
conflicts_with "ganglia", :because => "both install `gstat` binaries"
conflicts_with "idutils", :because => "both install `gid` and `gid.1`"
conflicts_with "aardvark_shell_utils", :because => "both install `realpath` binaries"
head do
url "git://git.sv.gnu.org/coreutils"
url "https://git.savannah.gnu.org/git/coreutils.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
@@ -30,8 +26,28 @@ class Coreutils < Formula
depends_on "gmp" => :optional
conflicts_with "ganglia", :because => "both install `gstat` binaries"
conflicts_with "gegl", :because => "both install `gcut` binaries"
conflicts_with "idutils", :because => "both install `gid` and `gid.1`"
conflicts_with "aardvark_shell_utils", :because => "both install `realpath` binaries"
def install
if MacOS.version == :el_capitan
# Work around unremovable, nested dirs bug that affects lots of
# GNU projects. See:
# https://github.com/Homebrew/homebrew/issues/45273
# https://github.com/Homebrew/homebrew/issues/44993
# This is thought to be an el_capitan bug:
# https://lists.gnu.org/archive/html/bug-tar/2015-10/msg00017.html
ENV["gl_cv_func_getcwd_abort_bug"] = "no"
# renameatx_np and RENAME_EXCL are available at compile time from Xcode 8
# (10.12 SDK), but the former is not available at runtime.
inreplace "lib/renameat2.c", "defined RENAME_EXCL", "defined UNDEFINED_GIBBERISH"
end
system "./bootstrap" if build.head?
args = %W[
--prefix=#{prefix}
--program-prefix=g
@@ -54,20 +70,15 @@ class Coreutils < Formula
man1.install_symlink "grealpath.1" => "realpath.1"
end
def caveats; <<-EOS.undent
def caveats; <<~EOS
All commands have been installed with the prefix 'g'.
If you really need to use these commands with their normal names, you
can add a "gnubin" directory to your PATH from your bashrc like:
PATH="#{opt_libexec}/gnubin:$PATH"
Additionally, you can access their man pages with normal names if you add
the "gnuman" directory to your MANPATH from your bashrc as well:
MANPATH="#{opt_libexec}/gnuman:$MANPATH"
EOS
EOS
end
def coreutils_filenames(dir)
@@ -82,6 +93,7 @@ class Coreutils < Formula
test do
(testpath/"test").write("test")
(testpath/"test.sha1").write("a94a8fe5ccb19ba61c4c0873d391e987982fbbd3 test")
system "#{bin}/gsha1sum", "-c", "test.sha1"
system bin/"gsha1sum", "-c", "test.sha1"
system bin/"gln", "-f", "test", "test.sha1"
end
end
+2 -2
View File
@@ -21,8 +21,8 @@ class CrosstoolNg < Formula
depends_on "gawk"
depends_on "binutils"
depends_on "libelf"
depends_on "homebrew/dupes/grep" => :optional
depends_on "homebrew/dupes/make" => :optional
depends_on "grep" => :optional
depends_on "make" => :optional
# Avoid superenv to prevent https://github.com/mxcl/homebrew/pull/10552#issuecomment-9736248
env :std
+11 -8
View File
@@ -1,19 +1,22 @@
class CurlCaBundle < Formula
homepage "http://curl.haxx.se/docs/caextract.html"
url "https://raw.githubusercontent.com/bagder/ca-bundle/bff056d04b9e2c92ea8c83b2e39be9c8d0501039/ca-bundle.crt",
url "https://curl.haxx.se/ca/cacert-2017-01-18.pem",
:using => :nounzip
sha256 "0f119da204025da7808273fab42ed8e030cafb5c7ea4e1deda4e75f066f528fb"
version "2015-04-27"
mirror "https://ia902307.us.archive.org/31/items/tigerbrew/cacert-2017-01-18.pem"
sha256 "e62a07e61e5870effa81b430e1900778943c228bd7da1259dd6a955ee2262b47"
version "2017-01-18"
bottle do
cellar :any
sha256 "2ca60a8bbb648ded824dce45eb150fd0e9d32f8cbd983945db7bee4c6e58b1ea" => :tiger_g3
sha256 "fba559a40c232629dade3aaa6c13206098d6428fc5716ed05002ed748c60f946" => :tiger_altivec
sha256 "3ec0182385448739a37805ad3f1561ec44706506cb9fa15cd8573023c4e8fb0c" => :leopard_g3
sha256 "b168b3d05821dd315a7a8665f63f6a327957f129dda209f20df9aaad45f0742d" => :leopard_altivec
sha256 "0507b35196c0cd269f7e209353f88154b0c4232b1f28c1ecdaeb2c89e368d927" => :tiger
sha256 "0507b35196c0cd269f7e209353f88154b0c4232b1f28c1ecdaeb2c89e368d927" => :tiger_g3
sha256 "0507b35196c0cd269f7e209353f88154b0c4232b1f28c1ecdaeb2c89e368d927" => :tiger_altivec
sha256 "b7a31dae293c4c39092690a1a4b43a6bd1ff6419daae4899245f469717aa8712" => :leopard
sha256 "b7a31dae293c4c39092690a1a4b43a6bd1ff6419daae4899245f469717aa8712" => :leopard_g3
sha256 "b7a31dae293c4c39092690a1a4b43a6bd1ff6419daae4899245f469717aa8712" => :leopard_altivec
end
def install
share.install "ca-bundle.crt"
share.install "cacert-#{version}.pem" => "ca-bundle.crt"
end
end
+19 -14
View File
@@ -1,15 +1,16 @@
class Curl < Formula
desc "Get a file from an HTTP, HTTPS or FTP server"
homepage "http://curl.haxx.se/"
url "https://github.com/bagder/curl/releases/download/curl-7_44_0/curl-7.44.0.tar.bz2"
mirror "http://curl.haxx.se/download/curl-7.44.0.tar.bz2"
sha256 "1e2541bae6582bb697c0fbae49e1d3e6fad5d05d5aa80dbd6f072e0a44341814"
homepage "https://curl.haxx.se/"
url "https://curl.haxx.se/download/curl-7.50.3.tar.bz2"
mirror "http://mirror.sobukus.de/files/src/curl/curl-7.50.3.tar.bz2"
sha256 "7b7347d976661d02c84a1f4d6daf40dee377efdc45b9e2c77dedb8acf140d8ec"
bottle do
cellar :any
sha256 "2ff224add32d7a7dd98f938b6d9d8193ef66440d00b94cbdc005772aac2f1c05" => :tiger_altivec
sha256 "02144e7a26f1fe078b3845d2586469bb67a79e9c8a562d882e583812a181b5fe" => :leopard_g3
sha256 "9039d7cafbd2ed01b7b56f45c82f01c7529832bb7143284b1aa955ae7ca101e7" => :leopard_altivec
sha256 "638108732f8c4dacea7953c81b070d8ab8bde837e0608f0b4ca36124b7ff1055" => :sierra
sha256 "b425bee3c2602e9b470db43b00418805e97ab675bfdd292be194e61fca8d9f52" => :el_capitan
sha256 "acd850690b6578bf1f7682804734cadf5b922aa17d696ef5154b15d048712319" => :yosemite
sha256 "cfbb0a2c28b150d13a239b9a6acd95cdd530cf57f7e26831f966d672e88dfcc0" => :mavericks
end
keg_only :provided_by_osx
@@ -42,18 +43,17 @@ class Curl < Formula
depends_on "rtmpdump" => :optional
depends_on "libssh2" => :optional
depends_on "c-ares" => :optional
depends_on "curl-ca-bundle" if MacOS.version < :snow_leopard
depends_on "libmetalink" => :optional
depends_on "libressl" => :optional
depends_on "nghttp2" => :optional
def install
# Throw an error if someone actually tries to rock both SSL choices.
# Long-term, make this singular-ssl-option-only a requirement.
# Fail if someone tries to use both SSL choices.
# Long-term, handle conflicting options case in core code.
if build.with?("libressl") && build.with?("openssl")
ohai <<-EOS.undent
odie <<-EOS.undent
--with-openssl and --with-libressl are both specified and
curl can only use one at a time; proceeding with libressl.
curl can only use one at a time.
EOS
end
@@ -68,11 +68,11 @@ class Curl < Formula
# "--with-ssl" any more. "when possible, set the PKG_CONFIG_PATH environment
# variable instead of using this option". Multi-SSL choice breaks w/o using it.
if build.with? "libressl"
ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["libressl"].opt_prefix}/lib/pkgconfig"
ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["libressl"].opt_lib}/pkgconfig"
args << "--with-ssl=#{Formula["libressl"].opt_prefix}"
args << "--with-ca-bundle=#{etc}/libressl/cert.pem"
elsif MacOS.version < :mountain_lion || build.with?("openssl") || build.with?("nghttp2")
ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["openssl"].opt_prefix}/lib/pkgconfig"
ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["openssl"].opt_lib}/pkgconfig"
args << "--with-ssl=#{Formula["openssl"].opt_prefix}"
args << "--with-ca-bundle=#{etc}/openssl/cert.pem"
else
@@ -97,6 +97,7 @@ class Curl < Formula
system "./configure", *args
system "make", "install"
libexec.install "lib/mk-ca-bundle.pl"
end
test do
@@ -105,5 +106,9 @@ class Curl < Formula
filename = (testpath/"test.tar.gz")
system "#{bin}/curl", "-L", stable.url, "-o", filename
filename.verify_checksum stable.checksum
system libexec/"mk-ca-bundle.pl", "test.pem"
assert File.exist?("test.pem")
assert File.exist?("certdata.txt")
end
end
+15 -4
View File
@@ -2,8 +2,9 @@ class DBus < Formula
# releases: even (1.10.x) = stable, odd (1.11.x) = development
desc "Message bus system, providing inter-application communication"
homepage "https://wiki.freedesktop.org/www/Software/dbus"
stable do
head "git://anongit.freedesktop.org/dbus/dbus.git"
stable do
url "http://dbus.freedesktop.org/releases/dbus/dbus-1.10.0.tar.gz"
mirror "https://mirrors.kernel.org/debian/pool/main/d/dbus/dbus_1.10.0.orig.tar.gz"
sha256 "1dfb9745fb992f1ccd43c920490de8caddf6726a6222e8b803be6098293f924b"
@@ -16,6 +17,18 @@ class DBus < Formula
sha256 "8f571788a6bd6209e27b4e4cbdd4e1d2179b7f3bbdb35262c3159ff28336b76a" => :mountain_lion
end
if MacOS.version >= :leopard
patch do
url "https://raw.githubusercontent.com/zbentley/dbus-osx-examples/master/homebrew-patches/org.freedesktop.dbus-session.plist.osx.diff"
sha256 "a8aa6fe3f2d8f873ad3f683013491f5362d551bf5d4c3b469f1efbc5459a20dc"
end
else
patch do
url "https://raw.githubusercontent.com/zbentley/dbus-osx-examples/master/homebrew-patches/org.freedesktop.dbus-session.plist.osx-old.diff"
sha256 "da17af8e014d942d6e916a406ad7c901eebe6c3c7780318069db29e6c1e9ca67"
end
end
def install
# Fix the TMPDIR to one D-Bus doesn't reject due to odd symbols
ENV["TMPDIR"] = "/tmp"
@@ -33,8 +46,6 @@ class DBus < Formula
system "make"
ENV.deparallelize
system "make", "install"
(prefix+"org.freedesktop.dbus-session.plist").chmod 0644
end
def post_install
+1 -1
View File
@@ -25,7 +25,7 @@ class Dcmtk < Formula
depends_on "libpng"
depends_on "libtiff"
depends_on "openssl"
depends_on "homebrew/dupes/libiconv" => :optional
depends_on "libiconv" => :optional
def install
ENV.m64 if MacOS.prefer_64_bit?
+1
View File
@@ -3,6 +3,7 @@ class Devtodo < Formula
homepage "http://swapoff.org/DevTodo"
url "http://swapoff.org/files/devtodo/devtodo-0.1.20.tar.gz"
sha256 "379c6ac4499fc97e9676075188f7217e324e7ece3fb6daeda7bf7969c7093e09"
revision 1
depends_on "readline"
+2 -2
View File
@@ -12,8 +12,8 @@ class Dex < Formula
sha256 "6f2d7d8c6a1e54dbe6d815915ac0eb0100fd68426b3d91ec9d04a5356ca0a48b" => :mountain_lion
end
depends_on "homebrew/dupes/ncurses" => :optional
depends_on "homebrew/dupes/libiconv" => :optional
depends_on "ncurses" => :optional
depends_on "libiconv" => :optional
def install
args = ["prefix=#{prefix}",
+6 -5
View File
@@ -3,14 +3,13 @@ class DocbookXsl < Formula
homepage "http://docbook.sourceforge.net/"
url "https://downloads.sourceforge.net/project/docbook/docbook-xsl/1.78.1/docbook-xsl-1.78.1.tar.bz2"
sha256 "c98f7296ab5c8ccd2e0bc07634976a37f50847df2d8a59bdb1e157664700b467"
revision 1
bottle do
cellar :any_skip_relocation
revision 1
sha256 "6d7607d66c0299b68914780d9e108634a250da29e1da20b7dc717eb4f0e25053" => :el_capitan
sha1 "2d71a5e24820de3f498f632b47ecaf7af7875312" => :yosemite
sha1 "236f05f3d22a6972eca770fcaf19063c6b0ec3aa" => :mavericks
sha1 "435ee69f4fc431bff00a973a70c5f24235f5392d" => :mountain_lion
sha256 "8598bedecfd34bfa552d83fbc1a94236fcaab2ff06238ffdc037916dcd57faec" => :el_capitan
sha256 "787f44fdcab7c85bedb4cb34020f706a5ebae0c920814e96e0d959514d26f808" => :yosemite
sha256 "73e392097207550fe56679cf96e42ddf8ba265cf7d6438be77b2addb18a4f5d1" => :mavericks
end
depends_on "docbook"
@@ -21,6 +20,7 @@ class DocbookXsl < Formula
end
def install
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
doc_files = %w[AUTHORS BUGS COPYING NEWS README RELEASE-NOTES.txt TODO VERSION VERSION.xsl]
xsl_files = %w[assembly catalog.xml common docsrc eclipse epub epub3 extensions
fo highlighting html htmlhelp images javahelp lib log manpages
@@ -35,6 +35,7 @@ class DocbookXsl < Formula
end
def post_install
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
[prefix/"docbook-xsl/catalog.xml", prefix/"docbook-xsl-ns/catalog.xml"].each do |catalog|
system "xmlcatalog", "--noout", "--del", "file://#{catalog}", "#{etc}/xml/catalog"
system "xmlcatalog", "--noout", "--add", "nextCatalog", "", "file://#{catalog}", "#{etc}/xml/catalog"
+23 -12
View File
@@ -6,10 +6,10 @@ class Docbook < Formula
bottle do
cellar :any_skip_relocation
revision 2
sha256 "a3ce9c187fefb20f949095c1c4ae4e3a9dc1887a17d7322c85c10633b92b3fb9" => :el_capitan
sha256 "d722e3791b31c9ab92a5f47d89a8f530accd628898dd10551a1185986c4eb08f" => :yosemite
sha256 "5d563a04a11cee14fd7c52a6b4a85d397b019bf2f5cc96005e2d17dac4ad7231" => :mavericks
revision 3
sha256 "3fb7e4070eaa9250fa947d38e3d7803d37c159d9765e3f71397702d5ad6bb578" => :el_capitan
sha256 "dfdb315404c98dca2682f63260f2996de101cb6b41de69ac268dcded110e2a3f" => :yosemite
sha256 "65925fda670fdb020fe9d52cd5891f8e3a2a44619e9129b30031127c7c2e998c" => :mavericks
end
resource "xml412" do
@@ -45,7 +45,6 @@ class Docbook < Formula
def install
(etc/"xml").mkpath
system "xmlcatalog", "--noout", "--create", "#{etc}/xml/catalog"
%w[42 412 43 44 45 50].each do |version|
resource("xml#{version}").stage do |r|
@@ -60,17 +59,29 @@ class Docbook < Formula
rm_rf "docs"
(prefix/"docbook/xml"/r.version).install Dir["*"]
catalog = prefix/"docbook/xml/#{r.version}/catalog.xml"
system "xmlcatalog", "--noout", "--del",
"file://#{catalog}", "#{etc}/xml/catalog"
system "xmlcatalog", "--noout", "--add", "nextCatalog",
"", "file://#{catalog}", "#{etc}/xml/catalog"
end
end
end
def post_install
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
# only create catalog file if it doesn't exist already to avoid content added
# by other formulas to be removed
unless File.file?("#{etc}/xml/catalog")
system "xmlcatalog", "--noout", "--create", "#{etc}/xml/catalog"
end
%w[4.2 4.1.2 4.3 4.4 4.5 5.0].each do |version|
catalog = prefix/"docbook/xml/#{version}/catalog.xml"
system "xmlcatalog", "--noout", "--del",
"file://#{catalog}", "#{etc}/xml/catalog"
system "xmlcatalog", "--noout", "--add", "nextCatalog",
"", "file://#{catalog}", "#{etc}/xml/catalog"
end
end
def caveats; <<-EOS.undent
To use the DocBook package in your XML toolchain,
you need to add the following to your ~/.bashrc:
+9
View File
@@ -27,7 +27,16 @@ class Doxygen < Formula
depends_on "qt" if build.with? "doxywizard"
depends_on "llvm" => "with-clang" if build.with? "libclang"
# /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
fails_with :gcc if MacOS.version == :tiger
def install
# This flag was introduced after GCC 4.2.
# This is necessary on Tiger, since we don't have superenv yet.
if [:gcc, :gcc_4_0].include? ENV.compiler
inreplace "CMakeLists.txt", "-Wno-deprecated-register", ""
end
args = std_cmake_args
args << "-Dbuild_wizard=ON" if build.with? "doxywizard"
args << "-Duse_libclang=ON -DLLVM_CONFIG=#{Formula["llvm"].opt_bin}/llvm-config" if build.with? "libclang"
+2 -2
View File
@@ -1,8 +1,8 @@
class Dpkg < Formula
desc "Debian package management system"
homepage "https://wiki.debian.org/Teams/Dpkg"
url "https://mirrors.kernel.org/debian/pool/main/d/dpkg/dpkg_1.18.2.tar.xz"
mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/d/dpkg/dpkg_1.18.2.tar.xz"
url "https://mirrors.kernel.org/debian/pool/main/d/dpkg/dpkg_1.18.24.tar.xz"
mirror "https://mirrors.ocf.berkeley.edu/debian/pool/main/d/dpkg/dpkg_1.18.24.tar.xz"
sha256 "11484f2a73d027d696e720a60380db71978bb5c06cd88fe30c291e069ac457a4"
bottle do
+29
View File
@@ -0,0 +1,29 @@
class Dspdfviewer < Formula
desc "Dual-Screen PDF Viewer for latex-beamer"
homepage "http://dspdfviewer.danny-edel.de"
url "https://github.com/dannyedel/dspdfviewer/archive/v1.13.1.tar.gz"
sha256 "333588de0316cfdb5821b8484ee55690dfa3c7431b67c126bfdbe9c9cc3e1ed4"
head "https://github.com/dannyedel/dspdfviewer.git"
bottle do
sha256 "8d6696c179bad40c541e4d32107b66ee64a83fd0b6619e1af80f04ddeb3fffa1" => :el_capitan
sha256 "13fd6d702d95478e38dcda6c35e208d2d99a799a296e544b83bd35a6d31181fd" => :yosemite
sha256 "f014c5237582f5f591c59835e5695e339c07415f8990ca026d88d0838935e2ef" => :mavericks
end
depends_on "cmake" => :build
depends_on "boost"
depends_on "poppler" => "with-qt"
def install
mkdir "build" do
system "cmake", "..", *std_cmake_args
system "make", "install"
end
end
test do
assert_match /#{version}/, shell_output("#{bin}/dspdfviewer --version", 1)
end
end
+2 -2
View File
@@ -14,8 +14,8 @@ class Duplicity < Formula
end
devel do
url "https://code.launchpad.net/duplicity/0.7-series/0.7.04/+download/duplicity-0.7.04.tar.gz"
sha256 "b49fb7bbdf0a457adf67e9c9127c107695437cef135aca69bca90d495a97dd7a"
url "https://code.launchpad.net/duplicity/0.7-series/0.7.05/+download/duplicity-0.7.05.tar.gz"
sha256 "1e53807d5de5bacbbe6c4eea2f313a16e9a63423316ae7b8597ee0d9e697f744"
end
option :universal
+19
View File
@@ -0,0 +1,19 @@
class DwarfFortress < Formula
desc "Open-ended rogelike game"
homepage "http://bay12games.com/dwarves/"
# The final PowerPC-compatible release
url "http://www.bay12games.com/dwarves/df_28_181_40d_m.zip"
version "0.28.181.40d"
sha256 "12c0ef27ef87bcdbb47d02cb9f3285351986c4ebfca3ebd3374b70b55ee4debe"
depends_on :x11
def install
(bin/"dwarffortress").write <<-EOS.undent
#!/bin/sh
exec #{libexec}/Dwarf\\ Fortress.app/Contents/MacOS/Dwarf\\ Fortress
EOS
rm_rf "sdl" # only contains a readme
libexec.install Dir["Dwarf Fortress 0.28.181.40d/*"]
end
end
+1
View File
@@ -3,6 +3,7 @@ class Dwarf < Formula
homepage "https://code.google.com/p/dwarf-ng/"
url "https://dwarf-ng.googlecode.com/files/dwarf-0.3.0.tar.gz"
sha256 "85062d0d3e8aa31374dd085cb79ce02c2b8737e9b143f640a262556233715763"
revision 1
depends_on "readline"
+1
View File
@@ -3,6 +3,7 @@ class Ekg2 < Formula
homepage "http://ekg2.org"
url "http://pl.ekg2.org/ekg2-0.3.1.tar.gz"
sha256 "6ad360f8ca788d4f5baff226200f56922031ceda1ce0814e650fa4d877099c63"
revision 1
depends_on "pkg-config" => :build
depends_on "readline"
+3
View File
@@ -75,6 +75,9 @@ class Erlang < Formula
args << "--enable-native-libs" if build.with? "native-libs"
args << "--enable-dirty-schedulers" if build.with? "dirty-schedulers"
args << "--enable-wx" if build.with? "wxmac"
# Older Javas not supported by jinterface
# https://github.com/mistydemeo/tigerbrew/issues/372
args << "--without-javac" if MacOS.version < :snow_leopard
if MacOS.version >= :snow_leopard && MacOS::CLT.installed?
args << "--with-dynamic-trace=dtrace"
+1 -5
View File
@@ -36,7 +36,7 @@ class Ffmpeg < Formula
depends_on "pkg-config" => :build
# Tiger's make is too old
depends_on "homebrew/dupes/make" => :build if MacOS.version < :leopard
depends_on "make" => :build if MacOS.version < :leopard
# Tiger's ld doesn't like -install_name
depends_on :ld64
# manpages won't be built without texi2html
@@ -120,12 +120,8 @@ class Ffmpeg < Formula
args << "--enable-libx265" if build.with? "x265"
args << "--enable-libwebp" if build.with? "webp"
args << "--enable-libzmq" if build.with? "zeromq"
<<<<<<< HEAD
args << "--disable-indev=qtkit" if build.without?("qtkit") || MacOS.version < :snow_leopard
=======
args << "--enable-libbs2b" if build.with? "libbs2b"
args << "--disable-indev=qtkit" if build.without? "qtkit"
>>>>>>> Homebrew/master
if build.with? "openjpeg"
args << "--enable-libopenjpeg"
+31 -12
View File
@@ -1,43 +1,62 @@
class Fish < Formula
desc "User-friendly command-line shell for UNIX-like operating systems"
homepage "http://fishshell.com"
url "http://fishshell.com/files/2.2.0/fish-2.2.0.tar.gz"
sha256 "a76339fd14ce2ec229283c53e805faac48c3e99d9e3ede9d82c0554acfc7b77a"
url "https://github.com/fish-shell/fish-shell/releases/download/2.7.1/fish-2.7.1.tar.gz"
sha256 "e42bb19c7586356905a58578190be792df960fa81de35effb1ca5a5a981f0c5a"
bottle do
sha256 "1a9a75647ab672132d4ea6b385a09461041f47a91a3719a82494467eaeceab97" => :tiger_altivec
sha256 "e0ba430b35df479e52c0d33b6900cbfe55bf2779e7ab22c3e226db05e53f9410" => :leopard_g3
sha256 "326cea656c8cadf59f2202293334c17d38dfb52ea21388f5fa2b44a6cd8cc46e" => :leopard_altivec
sha256 "12616d6225eb804b40cdd12ecc8722252a9d28d0275af61f9afc59ef12a55f87" => :tiger_g3
sha256 "0339873032336e84bd169f49b4a9745bcb6ee4e21cfc3cf7a99b05423405498e" => :tiger_altivec
sha256 "6b02140be2753196951031ef7836d1297e752270c3cbda8915c6dae7dd948766" => :tiger_g5
end
head do
url "https://github.com/fish-shell/fish-shell.git", :shallow => false
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "doxygen" => :build
depends_on "libtool" => :build
end
needs :cxx11
depends_on "pcre2"
def install
system "autoconf" if build.head?
system "autoreconf", "--no-recursive" if build.head?
# Necessary to get the standard signature of ttyname_r()
ENV.append_to_cflags "-D__DARWIN_UNIX03" if MacOS.version < :leopard
# In Homebrew's 'superenv' sed's path will be incompatible, so
# the correct path is passed into configure here.
system "./configure", "--prefix=#{prefix}", "SED=/usr/bin/sed"
args = %W[
--prefix=#{prefix}
--with-extra-functionsdir=#{HOMEBREW_PREFIX}/share/fish/vendor_functions.d
--with-extra-completionsdir=#{HOMEBREW_PREFIX}/share/fish/vendor_completions.d
--with-extra-confdir=#{HOMEBREW_PREFIX}/share/fish/vendor_conf.d
SED=/usr/bin/sed
]
system "./configure", *args
system "make", "install"
end
def caveats; <<-EOS.undent
You will need to add:
#{HOMEBREW_PREFIX}/bin/fish
to /etc/shells. Run:
to /etc/shells.
Then run:
chsh -s #{HOMEBREW_PREFIX}/bin/fish
to make fish your default shell.
If you are upgrading from an older version of fish, you should now run:
killall fishd
to terminate the outdated fish daemon.
EOS
end
def post_install
(pkgshare/"vendor_functions.d").mkpath
(pkgshare/"vendor_completions.d").mkpath
(pkgshare/"vendor_conf.d").mkpath
end
test do
system "#{bin}/fish", "-c", "echo"
end
+5 -6
View File
@@ -1,16 +1,15 @@
class Fpp < Formula
desc "CLI program that accepts piped input and presents files for selection"
homepage "https://facebook.github.io/PathPicker/"
url "https://github.com/facebook/PathPicker/releases/download/0.6.1/fpp.0.6.1.tar.gz"
sha256 "800a6dcf0cfe55fae9b901b2827f2706ef85812cc4d7d6676dde359c62235428"
url "https://github.com/facebook/PathPicker/releases/download/0.6.2/fpp.0.6.2.tar.gz"
sha256 "a437e8d779053cac28f582e8b9f8621bc872af9cd7a0afdce5cdd0912f974513"
head "https://github.com/facebook/pathpicker.git"
bottle do
cellar :any_skip_relocation
sha256 "c3fe9eeb5cb245bbb9bcc960d953d0fab29d443bfcd518ae9fc346efcb30b4bf" => :el_capitan
sha256 "81c66eb233cf29c15a198b5adcc7cfda6b306d9c2d38d37401c50a2494795358" => :yosemite
sha256 "7e86a6be38372bec214594ee10cf19eb2afaad9464a4ee23afde33ed5ae5c430" => :mavericks
sha256 "eb3e955121c0cab6f567b4b3ba942899be74452be5a56c3f766ea9904bf39d09" => :mountain_lion
sha256 "dc11342cec78684be0e6f43b8276026fe1f23d6c7e201b0f629ba9a3fd1e1592" => :el_capitan
sha256 "c79b5dcb7b79fee7b8562d64936894fec85b9b1ac6ae69a313e22e595263691a" => :yosemite
sha256 "14e13d31f2fee2c5e59cdd7c68e16caffa8b0a51455ac6c2c4282f1221d5383a" => :mavericks
end
depends_on :python if MacOS.version <= :snow_leopard
+5 -5
View File
@@ -1,14 +1,14 @@
class Galen < Formula
desc "Automated testing of look and feel for responsive websites"
homepage "http://galenframework.com/"
url "https://github.com/galenframework/galen/releases/download/galen-2.0.10/galen-bin-2.0.10.zip"
sha256 "cd014d28b29835d3e0ed06c585b05e1ccf8cf1a1a68ceb9a5b6584497f3bd321"
url "https://github.com/galenframework/galen/releases/download/galen-2.1.2/galen-bin-2.1.2.zip"
sha256 "46c94af882845bca40168860f5ed35630a0b5416d18c37f479807da86c1c067e"
bottle do
cellar :any_skip_relocation
sha256 "2f4e2026e14cb405b18ce647a3d95a4220aefb1b7bd23600a0edd6fd869772ac" => :yosemite
sha256 "9377554f54550709b890990693707bc18ccb35c8082e4d11efaca7f85218e758" => :mavericks
sha256 "d057fe2c3b46cb5f364b3ac07af5e7cc81ec116369ae269ee485b56fad010780" => :mountain_lion
sha256 "165f156f19df88826e595ca67e9ce144e3b64bd655bec4d334465d946fb73f59" => :el_capitan
sha256 "3f968ded3798169d8199f5f9c635a70e063e113525d6e365c1bf3d7c7e75c56f" => :yosemite
sha256 "3d1dc754b35a7e1d5c37518b33e3a7fc91e560da90d7df872afeadbcb67c7040" => :mavericks
end
depends_on :java => "1.6+"
+5
View File
@@ -19,6 +19,11 @@ class GambitScheme < Formula
fails_with :llvm
fails_with :clang
# According to the docs, gambit-scheme requires absurd amounts of RAM
# to build using GCC 4.2 or 4.3; see
# https://github.com/mistydemeo/tigerbrew/issues/389
fails_with :gcc
fails_with :gcc => "4.3"
def install
args = %W[
+1
View File
@@ -4,6 +4,7 @@ class Gawk < Formula
url "http://ftpmirror.gnu.org/gawk/gawk-4.1.3.tar.xz"
mirror "https://ftp.gnu.org/gnu/gawk/gawk-4.1.3.tar.xz"
sha256 "e3cf55e91e31ea2845f8338bedd91e40671fc30e4d82ea147d220e687abda625"
revision 1
bottle do
sha256 "ed2c5f0b20e4b4af151177a750b1287435aad66bb0c8c4b60daf753f3955332c" => :el_capitan
+50 -69
View File
@@ -21,21 +21,17 @@ class Gcc < Formula
desc "GNU compiler collection"
homepage "https://gcc.gnu.org"
url "http://ftpmirror.gnu.org/gcc/gcc-5.2.0/gcc-5.2.0.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-5.2.0/gcc-5.2.0.tar.bz2"
sha256 "5f835b04b5f7dd4f4d2dc96190ec1621b8d89f2dc6f638f9f8bc1b1014ba8cad"
url "https://ftp.gnu.org/gnu/gcc/gcc-7.3.0/gcc-7.3.0.tar.xz"
mirror "https://ftpmirror.gnu.org/gcc/gcc-7.3.0/gcc-7.3.0.tar.xz"
sha256 "832ca6ae04636adbb430e865a1451adf6979ab44ca1c8374f61fba65645ce15c"
bottle do
sha256 "7786105aba6e06111cadb876900ad0f5613ad0b87e699bb81e66baa88d1279c9" => :tiger_altivec
sha256 "aa1e0a6738594a14f270726501de6bd65628cc0f331af458c396e0728744fc1e" => :leopard_g3s
sha256 "2e7f1d7a9600a42b88672f7719dd76257acfaa6994e11f762ccc0234c84bd905" => :leopard_altivec
sha256 "dfe5debb5b2d22c65673a38bfc1902042d7094702f49ff3cdfa2ecb30d09308e" => :tiger_g3
sha256 "401a75fa8baebfd62260dfa5c1b2668a4599d2543e4634d3dc7c7bb3b120e9d4" => :tiger_altivec
end
option "with-java", "Build the gcj compiler"
option "with-all-languages", "Enable all compilers and languages, except Ada"
option "with-nls", "Build with native language support (localization)"
option "with-jit", "Build the jit compiler"
option "without-fortran", "Build without the gfortran compiler"
option "with-jit", "Build just-in-time compiler"
# enabling multilib on a host that can't run 64-bit results in build failures
option "without-multilib", "Build without multilib support" if MacOS.prefer_64_bit?
@@ -43,7 +39,6 @@ class Gcc < Formula
depends_on "libmpc"
depends_on "mpfr"
depends_on "isl"
depends_on "ecj" if build.with?("java") || build.with?("all-languages")
if MacOS.version < :leopard
# The as that comes with Tiger isn't capable of dealing with the
@@ -71,27 +66,43 @@ class Gcc < Formula
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64089
patch :DATA
# Fix an Intel-only build failure on 10.4
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64184
patch do
url "https://gist.githubusercontent.com/mistydemeo/9c5b8dadd892ba3197a9cb431295cc83/raw/582d1ba135511272f7262f51a3f83c9099cd891d/sysdep-unix-tiger-intel.patch"
sha256 "17afaf7daec1dd207cb8d06a7e026332637b11e83c3ad552b4cd32827f16c1d8"
end
# This patch fixes the build on PPC
# https://gcc.gnu.org/ml/gcc-testresults/2017-01/msg02971.html
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80865
patch do
url "https://gist.githubusercontent.com/mistydemeo/d35fcc040587cc75bd24d3464e93a45d/raw/c5fe1f0c6393526ff45803b0fc14e028149a245e/gcc_altivec.patch"
sha256 "09a795d013ec3e96107bfb9d5c6bba821cc867b88c3bce494ae1564bfd4ababd"
end
def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
# Otherwise libstdc++ will be incorrectly tagged with cpusubtype 10 (G4e)
# https://github.com/mistydemeo/tigerbrew/issues/538
if Hardware::CPU.family == :g3 || ARGV.bottle_arch == :g3
ENV.append_to_cflags "-force_cpusubtype_ALL"
end
if MacOS.version < :leopard
ENV["AS"] = ENV["AS_FOR_TARGET"] = "#{Formula["cctools"].bin}/as"
end
if build.with? "all-languages"
# Everything but Ada, which requires a pre-existing GCC Ada compiler
# (gnat) to bootstrap. GCC 4.6.0 adds go as a language option, but it is
# currently only compilable on Linux.
languages = %w[c c++ objc obj-c++ fortran java jit]
else
# C, C++, ObjC compilers are always built
languages = %w[c c++ objc obj-c++]
# We avoiding building:
# - Ada, which requires a pre-existing GCC Ada compiler to bootstrap
# - Go, currently not supported on macOS
# - BRIG
languages = %w[c c++ objc obj-c++ fortran]
languages << "fortran" if build.with? "fortran"
languages << "java" if build.with? "java"
languages << "jit" if build.with? "jit"
end
# JIT compiler is off by default, enabling it has performance cost
languages << "jit" if build.with? "jit"
args = [
"--build=#{arch}-apple-darwin#{osmajor}",
@@ -105,21 +116,14 @@ class Gcc < Formula
"--with-mpc=#{Formula["libmpc"].opt_prefix}",
"--with-isl=#{Formula["isl"].opt_prefix}",
"--with-system-zlib",
"--enable-libstdcxx-time=yes",
"--enable-stage1-checking",
"--enable-checking=release",
"--enable-lto",
# Use 'bootstrap-debug' build configuration to force stripping of object
# files prior to comparison during bootstrap (broken by Xcode 6.3).
"--with-build-config=bootstrap-debug",
"--disable-werror",
"--with-pkgversion=Tigerbrew #{name} #{pkg_version} #{build.used_options*" "}".strip,
"--with-bugurl=https://github.com/mistydemeo/tigerbrew/issues",
]
# "Building GCC with plugin support requires a host that supports
# -fPIC, -shared, -ldl and -rdynamic."
args << "--enable-plugin" if MacOS.version > :tiger
args << "--enable-plugin" if MacOS.version > :leopard
# Otherwise make fails during comparison at stage 3
# See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45248
@@ -127,17 +131,13 @@ class Gcc < Formula
args << "--disable-nls" if build.without? "nls"
if build.with?("java") || build.with?("all-languages")
args << "--with-ecj-jar=#{Formula["ecj"].opt_share}/java/ecj.jar"
end
if build.without?("multilib") || !MacOS.prefer_64_bit?
args << "--disable-multilib"
else
args << "--enable-multilib"
end
args << "--enable-host-shared" if build.with?("jit") || build.with?("all-languages")
args << "--enable-host-shared" if build.with?("jit")
# Ensure correct install names when linking against libgcc_s;
# see discussion in https://github.com/Homebrew/homebrew/pull/34303
@@ -152,12 +152,10 @@ class Gcc < Formula
end
system "../configure", *args
system "make", "bootstrap"
system "make"
system "make", "install"
if build.with?("fortran") || build.with?("all-languages")
bin.install_symlink bin/"gfortran-#{version_suffix}" => "gfortran"
end
bin.install_symlink bin/"gfortran-#{version_suffix}" => "gfortran"
end
# Handle conflicts between GCC formulae and avoid interfering
@@ -168,19 +166,6 @@ class Gcc < Formula
# Even when suffixes are appended, the info pages conflict when
# install-info is run. TODO fix this.
info.rmtree
# Rename java properties
if build.with?("java") || build.with?("all-languages")
config_files = [
"#{lib}/gcc/#{version_suffix}/logging.properties",
"#{lib}/gcc/#{version_suffix}/security/classpath.security",
"#{lib}/gcc/#{version_suffix}/i386/logging.properties",
"#{lib}/gcc/#{version_suffix}/i386/security/classpath.security"
]
config_files.each do |file|
add_suffix file, version_suffix if File.exist? file
end
end
end
def add_suffix(file, suffix)
@@ -223,23 +208,19 @@ class Gcc < Formula
system "#{bin}/g++-#{version_suffix}", "-o", "hello-cc", "hello-cc.cc"
assert_equal "Hello, world!\n", `./hello-cc`
if build.with?("fortran") || build.with?("all-languages")
fixture = <<-EOS.undent
integer,parameter::m=10000
real::a(m), b(m)
real::fact=0.5
(testpath/"test.f90").write <<-EOS.undent
integer,parameter::m=10000
real::a(m), b(m)
real::fact=0.5
do concurrent (i=1:m)
a(i) = a(i) + fact*b(i)
end do
print *, "done"
end
EOS
(testpath/"in.f90").write(fixture)
system "#{bin}/gfortran", "-c", "in.f90"
system "#{bin}/gfortran", "-o", "test", "in.o"
assert_equal "done", `./test`.strip
end
do concurrent (i=1:m)
a(i) = a(i) + fact*b(i)
end do
write(*,"(A)") "Done"
end
EOS
system "#{bin}/gfortran", "-o", "test", "test.f90"
assert_equal "Done\n", `./test`
end
end
__END__
+200
View File
@@ -0,0 +1,200 @@
class Gcc44 < Formula
def arch
if Hardware::CPU.type == :intel
if MacOS.prefer_64_bit?
"x86_64"
else
"i686"
end
elsif Hardware::CPU.type == :ppc
if MacOS.prefer_64_bit?
"powerpc64"
else
"powerpc"
end
end
end
def osmajor
`uname -r`.chomp
end
desc "GNU compiler collection"
homepage "https://gcc.gnu.org"
url "https://ftpmirror.gnu.org/gcc/gcc-4.4.7/gcc-4.4.7.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-4.4.7/gcc-4.4.7.tar.bz2"
sha256 "5ff75116b8f763fa0fb5621af80fc6fb3ea0f1b1a57520874982f03f26cd607f"
bottle do
sha256 "361c84608ef1ddaca2f9a3996aeface6bb08f4525388c563a09b8f20fcd40386" => :mavericks
sha256 "c5a7a27d0bfc30a3e6ecce048c786cefa7e3bb4038ad6ea3fdeeb3c6e6454bd1" => :mountain_lion
end
option "with-fortran", "Build the gfortran compiler"
option "with-java", "Build the gcj compiler"
option "with-all-languages", "Enable all compilers and languages, except Ada"
option "with-nls", "Build with native language support (localization)"
option "with-profiled-build", "Make use of profile guided optimization when bootstrapping GCC"
deprecated_option "enable-fortran" => "with-fortran"
deprecated_option "enable-java" => "with-java"
deprecated_option "enable-all-languages" => "with-all-languages"
deprecated_option "enable-nls" => "with-nls"
deprecated_option "enable-profiled-build" => "with-profiled-build"
depends_on "gmp4"
depends_on "mpfr2"
depends_on "ppl011"
depends_on "cloog-ppl015"
depends_on "ecj" if build.with?("java") || build.with?("all-languages")
depends_on MaximumMacOSRequirement => :mavericks
# Fix libffi for ppc, from MacPorts
patch :p0 do
url "https://trac.macports.org/export/110576/trunk/dports/lang/gcc44/files/ppc_fde_encoding.diff"
sha256 "9c5f6fd30d089e97e0364af322272bb06f3d107f357d2b621503ebfbbb4a5af7"
end
# Handle OS X deployment targets correctly (GCC PR target/63810 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63810>).
patch :p0 do
url "https://trac.macports.org/export/129382/trunk/dports/lang/gcc44/files/macosx-version-min.patch"
sha256 "9083143d2c60fbd89d33354710381590da770973746dd6849e18835f449510bc"
end
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
def pour_bottle?
MacOS::CLT.installed?
end
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip
def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
# Otherwise libstdc++ will be incorrectly tagged with cpusubtype 10 (G4e)
# https://github.com/mistydemeo/tigerbrew/issues/538
ENV.append_to_cflags "-force_cpusubtype_ALL" if Hardware::CPU.family == :g3
if build.with? "all-languages"
# Everything but Ada, which requires a pre-existing GCC Ada compiler
# (gnat) to bootstrap.
languages = %w[c c++ fortran java objc obj-c++]
else
# C, C++, ObjC compilers are always built
languages = %w[c c++ objc obj-c++]
languages << "fortran" if build.with? "fortran"
languages << "java" if build.with? "java"
end
version_suffix = version.to_s.slice(/\d\.\d/)
args = [
"--build=#{arch}-apple-darwin#{osmajor}",
"--prefix=#{prefix}",
"--mandir=#{man}",
"--infodir=#{info}",
"--enable-languages=#{languages.join(",")}",
# Make most executables versioned to avoid conflicts.
"--program-suffix=-#{version_suffix}",
"--with-gmp=#{Formula["gmp4"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr2"].opt_prefix}",
"--with-ppl=#{Formula["ppl011"].opt_prefix}",
"--disable-ppl-version-check",
"--with-cloog=#{Formula["cloog-ppl015"].opt_prefix}",
"--with-system-zlib",
# This ensures lib, libexec, include are sandboxed so that they
# don't wander around telling little children there is no Santa
# Claus.
"--enable-version-specific-runtime-libs",
"--enable-libstdcxx-time=yes",
"--enable-stage1-checking",
"--enable-checking=release",
# Multilib building is broken in GCC 4.4 on Darwin
"--disable-multilib",
# A no-op unless --HEAD is built because in head warnings will
# raise errors. But still a good idea to include.
"--disable-werror",
"--with-pkgversion=Homebrew #{name} #{pkg_version} #{build.used_options*" "}".strip,
"--with-bugurl=https://github.com/Homebrew/homebrew-versions/issues",
]
args << "--disable-nls" if build.without? "nls"
if build.with?("java") || build.with?("all-languages")
args << "--with-ecj-jar=#{Formula["ecj"].opt_prefix}/share/java/ecj.jar"
end
mkdir "build" do
unless MacOS::CLT.installed?
# For Xcode-only systems, we need to tell the sysroot path.
# "native-system-headers" will be appended
args << "--with-native-system-header-dir=/usr/include"
args << "--with-sysroot=#{MacOS.sdk_path}"
end
system "../configure", *args
if build.with? "profiled-build"
# Takes longer to build, may bug out. Provided for those who want to
# optimise all the way to 11.
system "make", "profiledbootstrap"
else
system "make", "bootstrap"
end
# At this point `make check` could be invoked to run the testsuite. The
# deja-gnu formula must be installed in order to do this.
system "make", "install"
end
# Handle conflicts between GCC formulae.
# Remove libffi stuff, which is not needed after GCC is built.
Dir.glob(prefix/"**/libffi.*") { |file| File.delete file }
# Rename libiberty.a.
Dir.glob(prefix/"**/libiberty.*") { |file| add_suffix file, version_suffix }
# Rename man7.
Dir.glob(man7/"*.7") { |file| add_suffix file, version_suffix }
# Even when suffixes are appended, the info pages conflict when
# install-info is run. Fix this.
info.rmtree
# Rename java properties
if build.with?("java") || build.with?("all-languages")
config_files = [
"#{lib}/logging.properties",
"#{lib}/security/classpath.security",
"#{lib}/i386/logging.properties",
"#{lib}/i386/security/classpath.security",
]
config_files.each do |file|
add_suffix file, version_suffix if File.exist? file
end
end
end
def add_suffix(file, suffix)
dir = File.dirname(file)
ext = File.extname(file)
base = File.basename(file, ext)
File.rename file, "#{dir}/#{base}-#{suffix}#{ext}"
end
test do
(testpath/"hello-c.c").write <<-EOS.undent
#include <stdio.h>
int main()
{
puts("Hello, world!");
return 0;
}
EOS
system bin/"gcc-4.4", "-o", "hello-c", "hello-c.c"
assert_equal "Hello, world!\n", `./hello-c`
end
end
+226
View File
@@ -0,0 +1,226 @@
class Gcc45 < Formula
def arch
if Hardware::CPU.type == :intel
if MacOS.prefer_64_bit?
"x86_64"
else
"i686"
end
elsif Hardware::CPU.type == :ppc
if MacOS.prefer_64_bit?
"powerpc64"
else
"powerpc"
end
end
end
def osmajor
`uname -r`.chomp
end
desc "GNU compiler collection"
homepage "https://gcc.gnu.org"
url "https://ftpmirror.gnu.org/gcc/gcc-4.5.4/gcc-4.5.4.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-4.5.4/gcc-4.5.4.tar.bz2"
sha256 "eef3f0456db8c3d992cbb51d5d32558190bc14f3bc19383dd93acc27acc6befc"
bottle do
sha256 "16c2a3e56e2da8ec6b38b36c54112d7c56bc05f71168fb867f586cb190c5fef7" => :yosemite
sha256 "51b73412c9628a593e765105a098ed1500b04574145391f3f93972e54d5b1b05" => :mavericks
sha256 "06806e0a4aa703b0cacb4a3e10b4c8738d3d97535c6dd52796ec5a85eee0638d" => :mountain_lion
end
option "with-fortran", "Build the gfortran compiler"
option "with-java", "Build the gcj compiler"
option "with-all-languages", "Enable all compilers and languages, except Ada"
option "with-nls", "Build with native language support (localization)"
option "with-profiled-build", "Make use of profile guided optimization when bootstrapping GCC"
# enabling multilib on a host that can't run 64-bit results in build failures
option "without-multilib", "Build without multilib support" if MacOS.prefer_64_bit?
deprecated_option "enable-fortran" => "with-fortran"
deprecated_option "enable-java" => "with-java"
deprecated_option "enable-all-languages" => "with-all-languages"
deprecated_option "enable-nls" => "with-nls"
deprecated_option "enable-profiled-build" => "with-profiled-build"
deprecated_option "disable-multilib" => "without-multilib"
# with system ld on Tiger, build fails with countless messages of:
# "relocation overflow for relocation entry"
depends_on :ld64
depends_on "gmp4"
depends_on "libmpc08"
depends_on "mpfr2"
depends_on "ppl011"
depends_on "cloog-ppl015"
depends_on "ecj" if build.with?("java") || build.with?("all-languages")
# If someone wants to try and fix this, feel free to file a PR. Thanks!
# https://github.com/Homebrew/homebrew-versions/issues/1093
depends_on MaximumMacOSRequirement => :yosemite
# Fix libffi for ppc, from MacPorts
patch :p0 do
url "https://trac.macports.org/export/110576/trunk/dports/lang/gcc45/files/ppc_fde_encoding.diff"
sha256 "9c5f6fd30d089e97e0364af322272bb06f3d107f357d2b621503ebfbbb4a5af7"
end
# Handle OS X deployment targets correctly (GCC PR target/63810 <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63810>).
patch :p0 do
url "https://trac.macports.org/export/129382/trunk/dports/lang/gcc45/files/macosx-version-min.patch"
sha256 "9083143d2c60fbd89d33354710381590da770973746dd6849e18835f449510bc"
end
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
def pour_bottle?
MacOS::CLT.installed?
end
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip
def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
# Otherwise libstdc++ will be incorrectly tagged with cpusubtype 10 (G4e)
# https://github.com/mistydemeo/tigerbrew/issues/538
ENV.append_to_cflags "-force_cpusubtype_ALL" if Hardware::CPU.family == :g3
if build.with? "all-languages"
# Everything but Ada, which requires a pre-existing GCC Ada compiler
# (gnat) to bootstrap.
languages = %w[c c++ fortran java objc obj-c++]
else
# C, C++, ObjC compilers are always built
languages = %w[c c++ objc obj-c++]
languages << "fortran" if build.with? "fortran"
languages << "java" if build.with? "java"
end
version_suffix = version.to_s.slice(/\d\.\d/)
args = [
"--build=#{arch}-apple-darwin#{osmajor}",
"--prefix=#{prefix}",
"--enable-languages=#{languages.join(",")}",
# Make most executables versioned to avoid conflicts.
"--program-suffix=-#{version_suffix}",
"--with-gmp=#{Formula["gmp4"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr2"].opt_prefix}",
"--with-mpc=#{Formula["libmpc08"].opt_prefix}",
"--with-ppl=#{Formula["ppl011"].opt_prefix}",
"--with-cloog=#{Formula["cloog-ppl015"].opt_prefix}",
"--with-system-zlib",
# This ensures lib, libexec, include are sandboxed so that they
# don't wander around telling little children there is no Santa
# Claus.
"--enable-version-specific-runtime-libs",
"--enable-libstdcxx-time=yes",
"--enable-stage1-checking",
"--enable-checking=release",
# GCC 4.5 does not properly support LTO on Darwin.
"--disable-lto",
# A no-op unless --HEAD is built because in head warnings will
# raise errors. But still a good idea to include.
"--disable-werror",
"--with-pkgversion=Homebrew #{name} #{pkg_version} #{build.used_options*" "}".strip,
"--with-bugurl=https://github.com/Homebrew/homebrew-versions/issues",
]
# "Building GCC with plugin support requires a host that supports
# -fPIC, -shared, -ldl and -rdynamic."
args << "--enable-plugin" if MacOS.version > :tiger && Hardware.cpu_type == :intel
# Otherwise make fails during comparison at stage 3
# See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45248
args << "--with-dwarf2" if MacOS.version < :leopard
args << "--disable-nls" if build.without? "nls"
if build.with?("java") || build.with?("all-languages")
args << "--with-ecj-jar=#{Formula["ecj"].opt_prefix}/share/java/ecj.jar"
end
if !MacOS.prefer_64_bit? || build.without?("multilib")
args << "--disable-multilib"
else
args << "--enable-multilib"
end
mkdir "build" do
unless MacOS::CLT.installed?
# For Xcode-only systems, we need to tell the sysroot path.
# "native-system-headers" will be appended
args << "--with-native-system-header-dir=/usr/include"
args << "--with-sysroot=#{MacOS.sdk_path}"
end
system "../configure", *args
if build.with? "profiled-build"
# Takes longer to build, may bug out. Provided for those who want to
# optimise all the way to 11.
system "make", "profiledbootstrap"
else
system "make", "bootstrap"
end
# At this point `make check` could be invoked to run the testsuite. The
# deja-gnu formula must be installed in order to do this.
system "make", "install"
# `make install` neglects to transfer an essential plugin header file.
Pathname.new(Dir[prefix.join "**", "plugin", "include", "config"].first).install "../gcc/config/darwin-sections.def" if MacOS.version > :tiger && Hardware.cpu_type == :intel
end
# Handle conflicts between GCC formulae.
# Remove libffi stuff, which is not needed after GCC is built.
Dir.glob(prefix/"**/libffi.*") { |file| File.delete file }
# Rename libiberty.a.
Dir.glob(prefix/"**/libiberty.*") { |file| add_suffix file, version_suffix }
# Rename man7.
Dir.glob(man7/"*.7") { |file| add_suffix file, version_suffix }
# Even when suffixes are appended, the info pages conflict when
# install-info is run. Fix this.
info.rmtree
# Rename java properties
if build.with?("java") || build.with?("all-languages")
config_files = [
"#{lib}/logging.properties",
"#{lib}/security/classpath.security",
"#{lib}/i386/logging.properties",
"#{lib}/i386/security/classpath.security",
]
config_files.each do |file|
add_suffix file, version_suffix if File.exist? file
end
end
end
def add_suffix(file, suffix)
dir = File.dirname(file)
ext = File.extname(file)
base = File.basename(file, ext)
File.rename file, "#{dir}/#{base}-#{suffix}#{ext}"
end
test do
(testpath/"hello-c.c").write <<-EOS.undent
#include <stdio.h>
int main()
{
puts("Hello, world!");
return 0;
}
EOS
system bin/"gcc-4.5", "-o", "hello-c", "hello-c.c"
assert_equal "Hello, world!\n", `./hello-c`
end
end
+219
View File
@@ -0,0 +1,219 @@
class Gcc46 < Formula
def arch
if Hardware::CPU.type == :intel
if MacOS.prefer_64_bit?
"x86_64"
else
"i686"
end
elsif Hardware::CPU.type == :ppc
if MacOS.prefer_64_bit?
"powerpc64"
else
"powerpc"
end
end
end
def osmajor
`uname -r`.chomp
end
desc "GNU compiler collection"
homepage "https://gcc.gnu.org"
url "https://ftpmirror.gnu.org/gcc/gcc-4.6.4/gcc-4.6.4.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-4.6.4/gcc-4.6.4.tar.bz2"
sha256 "35af16afa0b67af9b8eb15cafb76d2bc5f568540552522f5dc2c88dd45d977e8"
bottle do
sha256 "23cb970d350f9096b17ad0a04c875d0c54ee71a0f22709e72bcf34e100412dfc" => :yosemite
sha256 "51a8a0efb2868c517258d2a504c45217fed8a10631ba724da437adb39064a632" => :mavericks
sha256 "8033c9313bf08a7bc825aca65c884027a877052b77418d9fcf1006dd27ac2287" => :mountain_lion
end
if MacOS.version >= :el_capitan
# Fixes build with Xcode 7.
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523
patch do
url "https://gcc.gnu.org/bugzilla/attachment.cgi?id=35773"
sha256 "db4966ade190fff4ed39976be8d13e84839098711713eff1d08920d37a58f5ec"
end
end
option "with-fortran", "Build the gfortran compiler"
option "with-java", "Build the gcj compiler"
option "with-all-languages", "Enable all compilers and languages, except Ada"
option "with-nls", "Build with native language support (localization)"
option "with-profiled-build", "Make use of profile guided optimization when bootstrapping GCC"
# enabling multilib on a host that can't run 64-bit results in build failures
option "without-multilib", "Build without multilib support" if MacOS.prefer_64_bit?
deprecated_option "enable-fortran" => "with-fortran"
deprecated_option "enable-java" => "with-java"
deprecated_option "enable-all-languages" => "with-all-languages"
deprecated_option "enable-nls" => "with-nls"
deprecated_option "enable-profiled-build" => "with-profiled-build"
deprecated_option "disable-multilib" => "without-multilib"
depends_on "gmp4"
depends_on "libmpc08"
depends_on "mpfr2"
depends_on "ppl011"
depends_on "cloog-ppl015"
depends_on "ecj" if build.with?("java") || build.with?("all-languages")
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
def pour_bottle?
MacOS::CLT.installed?
end
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip
# Fix 10.10 issues: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=215251
patch :p0 do
url "https://trac.macports.org/export/126996/trunk/dports/lang/gcc48/files/patch-10.10.diff"
sha256 "61e5d0f18db59220cbd99717e9b644c1d0f3502b09ada746b60850cacda07328"
end
def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
# Otherwise libstdc++ will be incorrectly tagged with cpusubtype 10 (G4e)
# https://github.com/mistydemeo/tigerbrew/issues/538
ENV.append_to_cflags "-force_cpusubtype_ALL" if Hardware::CPU.family == :g3
if build.with? "all-languages"
# Everything but Ada, which requires a pre-existing GCC Ada compiler
# (gnat) to bootstrap. GCC 4.6.0 add go as a language option, but it is
# currently only compilable on Linux.
languages = %w[c c++ fortran java objc obj-c++]
else
# C, C++, ObjC compilers are always built
languages = %w[c c++ objc obj-c++]
languages << "fortran" if build.with? "fortran"
languages << "java" if build.with? "java"
end
version_suffix = version.to_s.slice(/\d\.\d/)
args = [
"--build=#{arch}-apple-darwin#{osmajor}",
"--prefix=#{prefix}",
"--enable-languages=#{languages.join(",")}",
# Make most executables versioned to avoid conflicts.
"--program-suffix=-#{version_suffix}",
"--with-gmp=#{Formula["gmp4"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr2"].opt_prefix}",
"--with-mpc=#{Formula["libmpc08"].opt_prefix}",
"--with-ppl=#{Formula["ppl011"].opt_prefix}",
"--with-cloog=#{Formula["cloog-ppl015"].opt_prefix}",
"--with-system-zlib",
# This ensures lib, libexec, include are sandboxed so that they
# don't wander around telling little children there is no Santa
# Claus.
"--enable-version-specific-runtime-libs",
"--enable-libstdcxx-time=yes",
"--enable-stage1-checking",
"--enable-checking=release",
"--enable-lto",
# A no-op unless --HEAD is built because in head warnings will
# raise errors. But still a good idea to include.
"--disable-werror",
"--with-pkgversion=Homebrew #{name} #{pkg_version} #{build.used_options*" "}".strip,
"--with-bugurl=https://github.com/Homebrew/homebrew-versions/issues",
]
# "Building GCC with plugin support requires a host that supports
# -fPIC, -shared, -ldl and -rdynamic."
args << "--enable-plugin" if MacOS.version > :tiger
# Otherwise make fails during comparison at stage 3
# See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45248
args << "--with-dwarf2" if MacOS.version < :leopard
args << "--disable-nls" if build.without? "nls"
if build.with?("java") || build.with?("all-languages")
args << "--with-ecj-jar=#{Formula["ecj"].opt_prefix}/share/java/ecj.jar"
end
if !MacOS.prefer_64_bit? || build.without?("multilib")
args << "--disable-multilib"
else
args << "--enable-multilib"
end
mkdir "build" do
unless MacOS::CLT.installed?
# For Xcode-only systems, we need to tell the sysroot path.
# "native-system-headers" will be appended
args << "--with-native-system-header-dir=/usr/include"
args << "--with-sysroot=#{MacOS.sdk_path}"
end
system "../configure", *args
if build.with? "profiled-build"
# Takes longer to build, may bug out. Provided for those who want to
# optimise all the way to 11.
system "make", "profiledbootstrap"
else
system "make", "bootstrap"
end
# At this point `make check` could be invoked to run the testsuite. The
# deja-gnu and autogen formulae must be installed in order to do this.
system "make", "install"
end
# Handle conflicts between GCC formulae.
# Remove libffi stuff, which is not needed after GCC is built.
Dir.glob(prefix/"**/libffi.*") { |file| File.delete file }
# Rename libiberty.a.
Dir.glob(prefix/"**/libiberty.*") { |file| add_suffix file, version_suffix }
# Rename man7.
Dir.glob(man7/"*.7") { |file| add_suffix file, version_suffix }
# Even when suffixes are appended, the info pages conflict when
# install-info is run. Fix this.
info.rmtree
# Rename java properties
if build.with?("java") || build.with?("all-languages")
config_files = [
"#{lib}/logging.properties",
"#{lib}/security/classpath.security",
"#{lib}/i386/logging.properties",
"#{lib}/i386/security/classpath.security",
]
config_files.each do |file|
add_suffix file, version_suffix if File.exist? file
end
end
end
def add_suffix(file, suffix)
dir = File.dirname(file)
ext = File.extname(file)
base = File.basename(file, ext)
File.rename file, "#{dir}/#{base}-#{suffix}#{ext}"
end
test do
(testpath/"hello-c.c").write <<-EOS.undent
#include <stdio.h>
int main()
{
puts("Hello, world!");
return 0;
}
EOS
system bin/"gcc-4.6", "-o", "hello-c", "hello-c.c"
assert_equal "Hello, world!\n", `./hello-c`
end
end
+225
View File
@@ -0,0 +1,225 @@
class Gcc47 < Formula
desc "GNU compiler collection"
def arch
if Hardware::CPU.type == :intel
if MacOS.prefer_64_bit?
"x86_64"
else
"i686"
end
elsif Hardware::CPU.type == :ppc
if MacOS.prefer_64_bit?
"powerpc64"
else
"powerpc"
end
end
end
def osmajor
`uname -r`.chomp
end
homepage "https://gcc.gnu.org"
url "https://ftpmirror.gnu.org/gcc/gcc-4.7.4/gcc-4.7.4.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-4.7.4/gcc-4.7.4.tar.bz2"
sha256 "92e61c6dc3a0a449e62d72a38185fda550168a86702dea07125ebd3ec3996282"
head "svn://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch"
bottle do
sha256 "de527788a6fedea2173e340fee47324478e8956ef31868d376c7ac561a8f2952" => :yosemite
sha256 "b418cec1d503d859e99cb13928a2df8434a9037524f898fe095ea35f615d87f2" => :mavericks
sha256 "fe211028f9a219f48d127bc946d5f7046b7b6e7f792fd4cd63c1deb393484db3" => :mountain_lion
end
if MacOS.version >= :el_capitan
# Fixes build with Xcode 7.
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523
patch do
url "https://gcc.gnu.org/bugzilla/attachment.cgi?id=35773"
sha256 "db4966ade190fff4ed39976be8d13e84839098711713eff1d08920d37a58f5ec"
end
end
option "with-fortran", "Build the gfortran compiler"
option "with-java", "Build the gcj compiler"
option "with-all-languages", "Enable all compilers and languages, except Ada"
option "with-nls", "Build with native language support (localization)"
option "with-profiled-build", "Make use of profile guided optimization when bootstrapping GCC"
# enabling multilib on a host that can't run 64-bit results in build failures
option "without-multilib", "Build without multilib support" if MacOS.prefer_64_bit?
deprecated_option "enable-fortran" => "with-fortran"
deprecated_option "enable-java" => "with-java"
deprecated_option "enable-all-languages" => "with-all-languages"
deprecated_option "enable-nls" => "with-nls"
deprecated_option "enable-profiled-build" => "with-profiled-build"
deprecated_option "disable-multilib" => "without-multilib"
depends_on "gmp4"
depends_on "libmpc08"
depends_on "mpfr2"
depends_on "ppl011"
depends_on "cloog-ppl015"
depends_on "ecj" if build.with?("java") || build.with?("all-languages")
# The as that comes with Tiger isn't capable of dealing with the
# PPC asm that comes in libitm
depends_on "cctools" => :build if MacOS.version < :leopard
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
def pour_bottle?
MacOS::CLT.installed?
end
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip
# Fix 10.10 issues: https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=215251
patch :p0 do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/7293b7d3/gcc47/patch-10.10.diff"
sha256 "61e5d0f18db59220cbd99717e9b644c1d0f3502b09ada746b60850cacda07328"
end
def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
# Otherwise libstdc++ will be incorrectly tagged with cpusubtype 10 (G4e)
# https://github.com/mistydemeo/tigerbrew/issues/538
ENV.append_to_cflags "-force_cpusubtype_ALL" if Hardware::CPU.family == :g3
if build.with? "all-languages"
# Everything but Ada, which requires a pre-existing GCC Ada compiler
# (gnat) to bootstrap. GCC 4.6.0 add go as a language option, but it is
# currently only compilable on Linux.
languages = %w[c c++ fortran java objc obj-c++]
else
# C, C++, ObjC compilers are always built
languages = %w[c c++ objc obj-c++]
languages << "fortran" if build.with? "fortran"
languages << "java" if build.with? "java"
end
version_suffix = version.to_s.slice(/\d\.\d/)
args = [
"--build=#{arch}-apple-darwin#{osmajor}",
"--prefix=#{prefix}",
"--enable-languages=#{languages.join(",")}",
# Make most executables versioned to avoid conflicts.
"--program-suffix=-#{version_suffix}",
"--with-gmp=#{Formula["gmp4"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr2"].opt_prefix}",
"--with-mpc=#{Formula["libmpc08"].opt_prefix}",
"--with-ppl=#{Formula["ppl011"].opt_prefix}",
"--with-cloog=#{Formula["cloog-ppl015"].opt_prefix}",
"--with-system-zlib",
# This ensures lib, libexec, include are sandboxed so that they
# don't wander around telling little children there is no Santa
# Claus.
"--enable-version-specific-runtime-libs",
"--enable-libstdcxx-time=yes",
"--enable-stage1-checking",
"--enable-checking=release",
"--enable-lto",
# A no-op unless --HEAD is built because in head warnings will
# raise errors. But still a good idea to include.
"--disable-werror",
"--with-pkgversion=Homebrew #{name} #{pkg_version} #{build.used_options*" "}".strip,
"--with-bugurl=https://github.com/Homebrew/homebrew-versions/issues",
]
# "Building GCC with plugin support requires a host that supports
# -fPIC, -shared, -ldl and -rdynamic."
args << "--enable-plugin" if MacOS.version > :tiger
# Otherwise make fails during comparison at stage 3
# See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45248
args << "--with-dwarf2" if MacOS.version < :leopard
args << "--disable-nls" if build.without? "nls"
if build.with?("java") || build.with?("all-languages")
args << "--with-ecj-jar=#{Formula["ecj"].opt_prefix}/share/java/ecj.jar"
end
if !MacOS.prefer_64_bit? || build.without?("multilib")
args << "--disable-multilib"
else
args << "--enable-multilib"
end
mkdir "build" do
unless MacOS::CLT.installed?
# For Xcode-only systems, we need to tell the sysroot path.
# "native-system-headers" will be appended
args << "--with-native-system-header-dir=/usr/include"
args << "--with-sysroot=#{MacOS.sdk_path}"
end
system "../configure", *args
if build.with? "profiled-build"
# Takes longer to build, may bug out. Provided for those who want to
# optimise all the way to 11.
system "make", "profiledbootstrap"
else
system "make", "bootstrap"
end
# At this point `make check` could be invoked to run the testsuite. The
# deja-gnu and autogen formulae must be installed in order to do this.
system "make", "install"
end
# Handle conflicts between GCC formulae.
# Remove libffi stuff, which is not needed after GCC is built.
Dir.glob(prefix/"**/libffi.*") { |file| File.delete file }
# Rename libiberty.a.
Dir.glob(prefix/"**/libiberty.*") { |file| add_suffix file, version_suffix }
# Rename man7.
Dir.glob(man7/"*.7") { |file| add_suffix file, version_suffix }
# Even when suffixes are appended, the info pages conflict when
# install-info is run. Fix this.
info.rmtree
# Rename java properties
if build.with?("java") || build.with?("all-languages")
config_files = [
"#{lib}/logging.properties",
"#{lib}/security/classpath.security",
"#{lib}/i386/logging.properties",
"#{lib}/i386/security/classpath.security",
]
config_files.each do |file|
add_suffix file, version_suffix if File.exist? file
end
end
end
def add_suffix(file, suffix)
dir = File.dirname(file)
ext = File.extname(file)
base = File.basename(file, ext)
File.rename file, "#{dir}/#{base}-#{suffix}#{ext}"
end
test do
(testpath/"hello-c.c").write <<-EOS.undent
#include <stdio.h>
int main()
{
puts("Hello, world!");
return 0;
}
EOS
system bin/"gcc-4.7", "-o", "hello-c", "hello-c.c"
assert_equal "Hello, world!\n", `./hello-c`
end
end
+236
View File
@@ -0,0 +1,236 @@
class Gcc48 < Formula
desc "GNU compiler collection"
def arch
if Hardware::CPU.type == :intel
if MacOS.prefer_64_bit?
"x86_64"
else
"i686"
end
elsif Hardware::CPU.type == :ppc
if MacOS.prefer_64_bit?
"powerpc64"
else
"powerpc"
end
end
end
def osmajor
`uname -r`.chomp
end
homepage "https://gcc.gnu.org"
url "https://ftpmirror.gnu.org/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-4.8.5/gcc-4.8.5.tar.bz2"
sha256 "22fb1e7e0f68a63cee631d85b20461d1ea6bda162f03096350e38c8d427ecf23"
head "svn://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch"
bottle do
rebuild 1
sha256 "8cf53c3b1f03049538b9f78ea1ffe7ebf21fcc99a3b4147e4ede8defefc4cef4" => :el_capitan
sha256 "ae30faa242deae02d46bc92a318e0f0b8f6f0754521fec2225c2fb0403022e31" => :yosemite
sha256 "0bc974cb0c23ed4ca3536eb2b5e7f11e692a5e6246d99b82ad74880685f42736" => :mavericks
end
if MacOS.version >= :yosemite
# Fixes build on El Capitan
# https://trac.macports.org/ticket/48471
patch :p0 do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/dcfc5a2e6/gcc48/define_non_standard_clang_macros.patch"
sha256 "e727383c9186fdc36f804c69ad550f5cfd2b996e37083be94c0c9aa8fde226ee"
end
# Fixes build with Xcode 7.
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523
patch do
url "https://gcc.gnu.org/bugzilla/attachment.cgi?id=35773"
sha256 "db4966ade190fff4ed39976be8d13e84839098711713eff1d08920d37a58f5ec"
end
end
option "without-fortran", "Build without the gfortran compiler"
option "with-java", "Build the gcj compiler"
option "with-all-languages", "Enable all compilers and languages, except Ada"
option "with-nls", "Build with native language support (localization)"
option "with-profiled-build", "Make use of profile guided optimization when bootstrapping GCC"
# enabling multilib on a host that can't run 64-bit results in build failures
option "without-multilib", "Build without multilib support" if MacOS.prefer_64_bit?
deprecated_option "enable-java" => "with-java"
deprecated_option "enable-all-languages" => "with-all-languages"
deprecated_option "enable-nls" => "with-nls"
deprecated_option "enable-profiled-build" => "with-profiled-build"
deprecated_option "disable-multilib" => "without-multilib"
depends_on "gmp4"
depends_on "libmpc08"
depends_on "mpfr2"
depends_on "cloog018"
depends_on "isl011"
depends_on "ecj" if build.with?("java") || build.with?("all-languages")
# The as that comes with Tiger isn't capable of dealing with the
# PPC asm that comes in libitm
depends_on "cctools" => :build if MacOS.version < :leopard
fails_with :gcc_4_0
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
def pour_bottle?
MacOS::CLT.installed?
end
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip
def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
# Otherwise libstdc++ will be incorrectly tagged with cpusubtype 10 (G4e)
# https://github.com/mistydemeo/tigerbrew/issues/538
ENV.append_to_cflags "-force_cpusubtype_ALL" if Hardware::CPU.family == :g3
if MacOS.version < :leopard
ENV["AS"] = ENV["AS_FOR_TARGET"] = "#{Formula["cctools"].bin}/as"
end
if build.with? "all-languages"
# Everything but Ada, which requires a pre-existing GCC Ada compiler
# (gnat) to bootstrap. GCC 4.6.0 add go as a language option, but it is
# currently only compilable on Linux.
languages = %w[c c++ fortran java objc obj-c++]
else
# C, C++, ObjC compilers are always built
languages = %w[c c++ objc obj-c++]
languages << "fortran" if build.with? "fortran"
languages << "java" if build.with? "java"
end
version_suffix = version.to_s.slice(/\d\.\d/)
args = [
"--build=#{arch}-apple-darwin#{osmajor}",
"--prefix=#{prefix}",
"--libdir=#{lib}/gcc/#{version_suffix}",
"--enable-languages=#{languages.join(",")}",
# Make most executables versioned to avoid conflicts.
"--program-suffix=-#{version_suffix}",
"--with-gmp=#{Formula["gmp4"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr2"].opt_prefix}",
"--with-mpc=#{Formula["libmpc08"].opt_prefix}",
"--with-cloog=#{Formula["cloog018"].opt_prefix}",
"--with-isl=#{Formula["isl011"].opt_prefix}",
"--with-system-zlib",
"--enable-libstdcxx-time=yes",
"--enable-stage1-checking",
"--enable-checking=release",
"--enable-lto",
# A no-op unless --HEAD is built because in head warnings will
# raise errors. But still a good idea to include.
"--disable-werror",
"--with-pkgversion=Homebrew #{name} #{pkg_version} #{build.used_options*" "}".strip,
"--with-bugurl=https://github.com/Homebrew/homebrew-versions/issues",
]
# Use 'bootstrap-debug' build configuration to force stripping of object
# files prior to comparison during bootstrap (broken by Xcode 6.3).
# This causes bottle errors for gcc48 on Mountain Lion, so scope it to 10.10.
args << "--with-build-config=bootstrap-debug" if MacOS.version >= :yosemite
# "Building GCC with plugin support requires a host that supports
# -fPIC, -shared, -ldl and -rdynamic."
args << "--enable-plugin" if MacOS.version > :tiger
# Otherwise make fails during comparison at stage 3
# See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45248
args << "--with-dwarf2" if MacOS.version < :leopard
args << "--disable-nls" if build.without? "nls"
if build.with?("java") || build.with?("all-languages")
args << "--with-ecj-jar=#{Formula["ecj"].opt_prefix}/share/java/ecj.jar"
end
if !MacOS.prefer_64_bit? || build.without?("multilib")
args << "--disable-multilib"
else
args << "--enable-multilib"
end
# Ensure correct install names when linking against libgcc_s;
# see discussion in https://github.com/Homebrew/homebrew/pull/34303
inreplace "libgcc/config/t-slibgcc-darwin", "@shlib_slibdir@", "#{HOMEBREW_PREFIX}/lib/gcc/#{version_suffix}"
mkdir "build" do
unless MacOS::CLT.installed?
# For Xcode-only systems, we need to tell the sysroot path.
# "native-system-header"s will be appended
args << "--with-native-system-header-dir=/usr/include"
args << "--with-sysroot=#{MacOS.sdk_path}"
end
system "../configure", *args
if build.with? "profiled-build"
# Takes longer to build, may bug out. Provided for those who want to
# optimise all the way to 11.
system "make", "profiledbootstrap"
else
system "make", "bootstrap"
end
# At this point `make check` could be invoked to run the testsuite. The
# deja-gnu and autogen formulae must be installed in order to do this.
system "make", "install"
end
# Handle conflicts between GCC formulae
# Since GCC 4.8 libffi stuff are no longer shipped.
# Rename libiberty.a.
Dir.glob(prefix/"**/libiberty.*") { |file| add_suffix file, version_suffix }
# Rename man7.
Dir.glob(man7/"*.7") { |file| add_suffix file, version_suffix }
# Even when suffixes are appended, the info pages conflict when
# install-info is run. Fix this.
info.rmtree
# Rename java properties
if build.with?("java") || build.with?("all-languages")
config_files = [
"#{lib}/logging.properties",
"#{lib}/security/classpath.security",
"#{lib}/i386/logging.properties",
"#{lib}/i386/security/classpath.security",
]
config_files.each do |file|
add_suffix file, version_suffix if File.exist? file
end
end
end
def add_suffix(file, suffix)
dir = File.dirname(file)
ext = File.extname(file)
base = File.basename(file, ext)
File.rename file, "#{dir}/#{base}-#{suffix}#{ext}"
end
test do
(testpath/"hello-c.c").write <<-EOS.undent
#include <stdio.h>
int main()
{
puts("Hello, world!");
return 0;
}
EOS
system bin/"gcc-4.8", "-o", "hello-c", "hello-c.c"
assert_equal "Hello, world!\n", `./hello-c`
end
end
+209
View File
@@ -0,0 +1,209 @@
class Gcc49 < Formula
def arch
if Hardware::CPU.type == :intel
if MacOS.prefer_64_bit?
"x86_64"
else
"i686"
end
elsif Hardware::CPU.type == :ppc
if MacOS.prefer_64_bit?
"powerpc64"
else
"powerpc"
end
end
end
def osmajor
`uname -r`.chomp
end
desc "The GNU Compiler Collection"
homepage "https://gcc.gnu.org"
url "https://ftpmirror.gnu.org/gcc/gcc-4.9.3/gcc-4.9.3.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-4.9.3/gcc-4.9.3.tar.bz2"
sha256 "2332b2a5a321b57508b9031354a8503af6fdfb868b8c1748d33028d100a8b67e"
head "svn://gcc.gnu.org/svn/gcc/branches/gcc-4_9-branch"
bottle do
rebuild 3
sha256 "0acf2b010e3c2210fcb5fdc03de9dc14f0556cf5295347d8f72f2d8d1cfab4ff" => :el_capitan
sha256 "5b635a24e9f7464fb94d2933b00a8d1b1cfc0efb1de140fe568e313d24965140" => :yosemite
sha256 "dc24f86a9652fbb0ec0bc9dd0103d23bb68c315bd490ee5d0b10a7144453ecc4" => :mavericks
end
if MacOS.version >= :yosemite
# Fixes build with Xcode 7.
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523
patch do
url "https://gcc.gnu.org/bugzilla/attachment.cgi?id=35773"
sha256 "db4966ade190fff4ed39976be8d13e84839098711713eff1d08920d37a58f5ec"
end
# Fixes assembler generation with XCode 7
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66509
patch do
url "https://gist.githubusercontent.com/tdsmith/d248e025029add31e7aa/raw/444e292786df41346a3a1cc6267bba587408a007/gcc.diff"
sha256 "636b65a160ccb7417cc4ffc263fc815382f8bb895e32262205cd10d65ea7804a"
end
end
option "without-fortran", "Build without the gfortran compiler"
option "with-java", "Build the gcj compiler"
option "with-all-languages", "Enable all compilers and languages, except Ada"
option "with-nls", "Build with native language support (localization)"
option "with-profiled-build", "Make use of profile guided optimization when bootstrapping GCC"
# enabling multilib on a host that can't run 64-bit results in build failures
option "without-multilib", "Build without multilib support" if MacOS.prefer_64_bit?
deprecated_option "enable-java" => "with-java"
deprecated_option "enable-all-languages" => "with-all-languages"
deprecated_option "enable-nls" => "with-nls"
deprecated_option "enable-profiled-build" => "with-profiled-build"
deprecated_option "disable-multilib" => "without-multilib"
depends_on "gmp4"
depends_on "libmpc08"
depends_on "mpfr2"
depends_on "cloog018"
depends_on "isl011"
depends_on "ecj" if build.with?("java") || build.with?("all-languages")
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
def pour_bottle?
MacOS::CLT.installed?
end
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip
def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
# Otherwise libstdc++ will be incorrectly tagged with cpusubtype 10 (G4e)
# https://github.com/mistydemeo/tigerbrew/issues/538
ENV.append_to_cflags "-force_cpusubtype_ALL" if Hardware::CPU.family == :g3
if build.with? "all-languages"
# Everything but Ada, which requires a pre-existing GCC Ada compiler
# (gnat) to bootstrap. GCC 4.6.0 add go as a language option, but it is
# currently only compilable on Linux.
languages = %w[c c++ fortran java objc obj-c++]
else
# C, C++, ObjC compilers are always built
languages = %w[c c++ objc obj-c++]
languages << "fortran" if build.with? "fortran"
languages << "java" if build.with? "java"
end
version_suffix = version.to_s.slice(/\d\.\d/)
args = [
"--build=#{arch}-apple-darwin#{osmajor}",
"--prefix=#{prefix}",
"--libdir=#{lib}/gcc/#{version_suffix}",
"--enable-languages=#{languages.join(",")}",
# Make most executables versioned to avoid conflicts.
"--program-suffix=-#{version_suffix}",
"--with-gmp=#{Formula["gmp4"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr2"].opt_prefix}",
"--with-mpc=#{Formula["libmpc08"].opt_prefix}",
"--with-cloog=#{Formula["cloog018"].opt_prefix}",
"--with-isl=#{Formula["isl011"].opt_prefix}",
"--with-system-zlib",
"--enable-libstdcxx-time=yes",
"--enable-stage1-checking",
"--enable-checking=release",
"--enable-lto",
# Use 'bootstrap-debug' build configuration to force stripping of object
# files prior to comparison during bootstrap (broken by Xcode 6.3).
"--with-build-config=bootstrap-debug",
# A no-op unless --HEAD is built because in head warnings will
# raise errors. But still a good idea to include.
"--disable-werror",
"--with-pkgversion=Homebrew #{name} #{pkg_version} #{build.used_options*" "}".strip,
"--with-bugurl=https://github.com/Homebrew/homebrew-versions/issues",
]
# "Building GCC with plugin support requires a host that supports
# -fPIC, -shared, -ldl and -rdynamic."
args << "--enable-plugin" if MacOS.version > :tiger
# Otherwise make fails during comparison at stage 3
# See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45248
args << "--with-dwarf2" if MacOS.version < :leopard
args << "--disable-nls" if build.without? "nls"
if build.with?("java") || build.with?("all-languages")
args << "--with-ecj-jar=#{Formula["ecj"].opt_prefix}/share/java/ecj.jar"
end
if !MacOS.prefer_64_bit? || build.without?("multilib")
args << "--disable-multilib"
else
args << "--enable-multilib"
end
# Ensure correct install names when linking against libgcc_s;
# see discussion in https://github.com/Homebrew/homebrew/pull/34303
inreplace "libgcc/config/t-slibgcc-darwin", "@shlib_slibdir@", "#{HOMEBREW_PREFIX}/lib/gcc/#{version_suffix}"
mkdir "build" do
unless MacOS::CLT.installed?
# For Xcode-only systems, we need to tell the sysroot path.
# "native-system-headers" will be appended
args << "--with-native-system-header-dir=/usr/include"
args << "--with-sysroot=#{MacOS.sdk_path}"
end
system "../configure", *args
if build.with? "profiled-build"
# Takes longer to build, may bug out. Provided for those who want to
# optimise all the way to 11.
system "make", "profiledbootstrap"
else
system "make", "bootstrap"
end
# At this point `make check` could be invoked to run the testsuite. The
# deja-gnu and autogen formulae must be installed in order to do this.
system "make", "install"
end
# Handle conflicts between GCC formulae.
# Since GCC 4.8 libffi stuff are no longer shipped.
# Rename man7.
Dir.glob(man7/"*.7") { |file| add_suffix file, version_suffix }
# Even when suffixes are appended, the info pages conflict when
# install-info is run. Fix this.
info.rmtree
# Since GCC 4.9 java properties are properly sandboxed.
end
def add_suffix(file, suffix)
dir = File.dirname(file)
ext = File.extname(file)
base = File.basename(file, ext)
File.rename file, "#{dir}/#{base}-#{suffix}#{ext}"
end
test do
(testpath/"hello-c.c").write <<-EOS.undent
#include <stdio.h>
int main()
{
puts("Hello, world!");
return 0;
}
EOS
system bin/"gcc-4.9", "-o", "hello-c", "hello-c.c"
assert_equal "Hello, world!\n", `./hello-c`
end
end
+214
View File
@@ -0,0 +1,214 @@
class Gcc5 < Formula
def arch
if Hardware::CPU.type == :intel
if MacOS.prefer_64_bit?
"x86_64"
else
"i686"
end
elsif Hardware::CPU.type == :ppc
if MacOS.prefer_64_bit?
"powerpc64"
else
"powerpc"
end
end
end
def osmajor
`uname -r`.chomp
end
desc "The GNU Compiler Collection"
homepage "https://gcc.gnu.org"
url "https://ftpmirror.gnu.org/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2"
sha256 "608df76dec2d34de6558249d8af4cbee21eceddbcb580d666f7a5a583ca3303a"
bottle do
sha256 "834b511f2f460db483e8126b446bb0a7fc7e2d7ee16bb53d6c4ec51910ce89be" => :el_capitan
sha256 "b44fcce2f25919f93d33fe9482c1f9cc1068e3332f6890340853c32007c0113b" => :yosemite
sha256 "7b4970b4c2c86558208476c3e281f242be4f6bfe7c1fa8391e52b9829ef4ba78" => :mavericks
end
# GCC's Go compiler is not currently supported on Mac OS X.
# See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986
option "with-java", "Build the gcj compiler"
option "with-all-languages", "Enable all compilers and languages, except Ada"
option "with-nls", "Build with native language support (localization)"
option "with-profiled-build", "Make use of profile guided optimization when bootstrapping GCC"
option "with-jit", "Build the jit compiler"
option "without-fortran", "Build without the gfortran compiler"
# enabling multilib on a host that can"t run 64-bit results in build failures
option "without-multilib", "Build without multilib support" if MacOS.prefer_64_bit?
depends_on "gmp"
depends_on "libmpc"
depends_on "mpfr"
depends_on "isl014"
depends_on "ecj" if build.with?("java") || build.with?("all-languages")
if MacOS.version < :leopard
# The as that comes with Tiger isn't capable of dealing with the
# PPC asm that comes in libitm
depends_on "cctools" => :build
end
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
def pour_bottle?
MacOS::CLT.installed?
end
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip
# Fix for libgccjit.so linkage on Darwin.
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64089
patch :DATA
def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
# Otherwise libstdc++ will be incorrectly tagged with cpusubtype 10 (G4e)
# https://github.com/mistydemeo/tigerbrew/issues/538
ENV.append_to_cflags "-force_cpusubtype_ALL" if Hardware::CPU.family == :g3
if MacOS.version < :leopard
ENV["AS"] = ENV["AS_FOR_TARGET"] = "#{Formula["cctools"].bin}/as"
end
if build.with? "all-languages"
# Everything but Ada, which requires a pre-existing GCC Ada compiler
# (gnat) to bootstrap. GCC 4.6.0 add go as a language option, but it is
# currently only compilable on Linux.
languages = %w[c c++ fortran java objc obj-c++ jit]
else
# C, C++, ObjC compilers are always built
languages = %w[c c++ objc obj-c++]
languages << "fortran" if build.with? "fortran"
languages << "java" if build.with? "java"
languages << "jit" if build.with? "jit"
end
version_suffix = version.to_s.slice(/\d/)
args = [
"--build=#{arch}-apple-darwin#{osmajor}",
"--prefix=#{prefix}",
"--libdir=#{lib}/gcc/#{version_suffix}",
"--enable-languages=#{languages.join(",")}",
# Make most executables versioned to avoid conflicts.
"--program-suffix=-#{version_suffix}",
"--with-gmp=#{Formula["gmp"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr"].opt_prefix}",
"--with-mpc=#{Formula["libmpc"].opt_prefix}",
"--with-isl=#{Formula["isl014"].opt_prefix}",
"--with-system-zlib",
"--enable-libstdcxx-time=yes",
"--enable-stage1-checking",
"--enable-checking=release",
"--enable-lto",
# A no-op unless --HEAD is built because in head warnings will
# raise errors. But still a good idea to include.
"--disable-werror",
"--with-pkgversion=Homebrew #{name} #{pkg_version} #{build.used_options*" "}".strip,
"--with-bugurl=https://github.com/Homebrew/homebrew-versions/issues",
]
# "Building GCC with plugin support requires a host that supports
# -fPIC, -shared, -ldl and -rdynamic."
args << "--enable-plugin" if MacOS.version > :tiger
# Otherwise make fails during comparison at stage 3
# See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45248
args << "--with-dwarf2" if MacOS.version < :leopard
args << "--disable-nls" if build.without? "nls"
if build.with?("java") || build.with?("all-languages")
args << "--with-ecj-jar=#{Formula["ecj"].opt_share}/java/ecj.jar"
end
if !MacOS.prefer_64_bit? || build.without?("multilib")
args << "--disable-multilib"
else
args << "--enable-multilib"
end
args << "--enable-host-shared" if build.with?("jit") || build.with?("all-languages")
# Ensure correct install names when linking against libgcc_s;
# see discussion in https://github.com/Homebrew/homebrew/pull/34303
inreplace "libgcc/config/t-slibgcc-darwin", "@shlib_slibdir@", "#{HOMEBREW_PREFIX}/lib/gcc/#{version_suffix}"
mkdir "build" do
unless MacOS::CLT.installed?
# For Xcode-only systems, we need to tell the sysroot path.
# "native-system-headers" will be appended
args << "--with-native-system-header-dir=/usr/include"
args << "--with-sysroot=#{MacOS.sdk_path}"
end
system "../configure", *args
if build.with? "profiled-build"
# Takes longer to build, may bug out. Provided for those who want to
# optimise all the way to 11.
system "make", "profiledbootstrap"
else
system "make", "bootstrap"
end
# At this point `make check` could be invoked to run the testsuite. The
# deja-gnu and autogen formulae must be installed in order to do this.
system "make", "install"
end
# Handle conflicts between GCC formulae.
# Since GCC 4.8 libffi stuff are no longer shipped.
# Rename man7.
Dir.glob(man7/"*.7") { |file| add_suffix file, version_suffix }
# Even when suffixes are appended, the info pages conflict when
# install-info is run. fix this.
info.rmtree
# Since GCC 4.9 java properties are properly sandboxed.
end
def add_suffix(file, suffix)
dir = File.dirname(file)
ext = File.extname(file)
base = File.basename(file, ext)
File.rename file, "#{dir}/#{base}-#{suffix}#{ext}"
end
test do
(testpath/"hello-c.c").write <<-EOS.undent
#include <stdio.h>
int main()
{
puts("Hello, world!");
return 0;
}
EOS
system bin/"gcc-5", "-o", "hello-c", "hello-c.c"
assert_equal "Hello, world!\n", `./hello-c`
end
end
__END__
--- a/gcc/jit/Make-lang.in 2015-02-03 17:19:58.000000000 +0000
+++ b/gcc/jit/Make-lang.in 2015-04-08 22:08:24.000000000 +0100
@@ -85,8 +85,7 @@
$(jit_OBJS) libbackend.a libcommon-target.a libcommon.a \
$(CPPLIB) $(LIBDECNUMBER) $(LIBS) $(BACKENDLIBS) \
$(EXTRA_GCC_OBJS) \
- -Wl,--version-script=$(srcdir)/jit/libgccjit.map \
- -Wl,-soname,$(LIBGCCJIT_SONAME)
+ -Wl,-install_name,$(LIBGCCJIT_SONAME)
$(LIBGCCJIT_SONAME_SYMLINK): $(LIBGCCJIT_FILENAME)
ln -sf $(LIBGCCJIT_FILENAME) $(LIBGCCJIT_SONAME_SYMLINK)
+218
View File
@@ -0,0 +1,218 @@
class Gcc6 < Formula
def arch
if Hardware::CPU.type == :intel
if MacOS.prefer_64_bit?
"x86_64"
else
"i686"
end
elsif Hardware::CPU.type == :ppc
if MacOS.prefer_64_bit?
"powerpc64"
else
"powerpc"
end
end
end
def osmajor
`uname -r`.chomp
end
desc "The GNU Compiler Collection"
homepage "https://gcc.gnu.org"
url "https://ftpmirror.gnu.org/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gcc/gcc-6.2.0/gcc-6.2.0.tar.bz2"
sha256 "9944589fc722d3e66308c0ce5257788ebd7872982a718aa2516123940671b7c5"
bottle do
sha256 "c30c0898b73794434af820725d3b69d4f26e58357c6d2867028527ce31273b58" => :sierra
sha256 "b3b138b29d6705f85bf3d558795bd901c53929ac7935879ff4b7778f7f7b84c7" => :el_capitan
sha256 "0ffe5b97c65df653ea664514880fd72c01cf516b1409655a8c03e48a42275050" => :yosemite
end
# GCC's Go compiler is not currently supported on Mac OS X.
# See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986
option "with-java", "Build the gcj compiler"
option "with-all-languages", "Enable all compilers and languages, except Ada"
option "with-nls", "Build with native language support (localization)"
option "with-profiled-build", "Make use of profile guided optimization when bootstrapping GCC"
option "with-jit", "Build the jit compiler"
option "without-fortran", "Build without the gfortran compiler"
# enabling multilib on a host that can"t run 64-bit results in build failures
option "without-multilib", "Build without multilib support" if MacOS.prefer_64_bit?
depends_on "gmp"
depends_on "libmpc"
depends_on "mpfr"
depends_on "isl014"
depends_on "ecj" if build.with?("java") || build.with?("all-languages")
if MacOS.version < :leopard
# The as that comes with Tiger isn't capable of dealing with the
# PPC asm that comes in libitm
depends_on "cctools" => :build
end
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
def pour_bottle?
MacOS::CLT.installed?
end
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip
# Fix for libgccjit.so linkage on Darwin
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64089
patch :DATA
def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
# Otherwise libstdc++ will be incorrectly tagged with cpusubtype 10 (G4e)
# https://github.com/mistydemeo/tigerbrew/issues/538
ENV.append_to_cflags "-force_cpusubtype_ALL" if Hardware::CPU.family == :g3
if MacOS.version < :leopard
ENV["AS"] = ENV["AS_FOR_TARGET"] = "#{Formula["cctools"].bin}/as"
end
if build.with? "all-languages"
# Everything but Ada, which requires a pre-existing GCC Ada compiler
# (gnat) to bootstrap. GCC 4.6.0 add go as a language option, but it is
# currently only compilable on Linux.
languages = %w[c c++ fortran java objc obj-c++ jit]
else
# C, C++, ObjC compilers are always built
languages = %w[c c++ objc obj-c++]
languages << "fortran" if build.with? "fortran"
languages << "java" if build.with? "java"
languages << "jit" if build.with? "jit"
end
version_suffix = version.to_s.slice(/\d/)
args = [
"--build=#{arch}-apple-darwin#{osmajor}",
"--prefix=#{prefix}",
"--libdir=#{lib}/gcc/#{version_suffix}",
"--enable-languages=#{languages.join(",")}",
# Make most executables versioned to avoid conflicts.
"--program-suffix=-#{version_suffix}",
"--with-gmp=#{Formula["gmp"].opt_prefix}",
"--with-mpfr=#{Formula["mpfr"].opt_prefix}",
"--with-mpc=#{Formula["libmpc"].opt_prefix}",
"--with-isl=#{Formula["isl014"].opt_prefix}",
"--with-system-zlib",
"--enable-libstdcxx-time=yes",
"--enable-stage1-checking",
"--enable-checking=release",
"--enable-lto",
# Use 'bootstrap-debug' build configuration to force stripping of object
# files prior to comparison during bootstrap (broken by Xcode 6.3).
"--with-build-config=bootstrap-debug",
# A no-op unless --HEAD is built because in head warnings will
# raise errors. But still a good idea to include.
"--disable-werror",
"--with-pkgversion=Homebrew #{name} #{pkg_version} #{build.used_options*" "}".strip,
"--with-bugurl=https://github.com/Homebrew/homebrew-versions/issues",
]
# "Building GCC with plugin support requires a host that supports
# -fPIC, -shared, -ldl and -rdynamic."
args << "--enable-plugin" if MacOS.version > :leopard
# The pre-Mavericks toolchain requires the older DWARF-2 debugging data
# format to avoid failure during the stage 3 comparison of object files.
# See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45248
args << "--with-dwarf2" if MacOS.version <= :mountain_lion
args << "--disable-nls" if build.without? "nls"
if build.with?("java") || build.with?("all-languages")
args << "--with-ecj-jar=#{Formula["ecj"].opt_share}/java/ecj.jar"
end
if !MacOS.prefer_64_bit? || build.without?("multilib")
args << "--disable-multilib"
else
args << "--enable-multilib"
end
args << "--enable-host-shared" if build.with?("jit") || build.with?("all-languages")
# Ensure correct install names when linking against libgcc_s;
# see discussion in https://github.com/Homebrew/homebrew/pull/34303
inreplace "libgcc/config/t-slibgcc-darwin", "@shlib_slibdir@", "#{HOMEBREW_PREFIX}/lib/gcc/#{version_suffix}"
mkdir "build" do
unless MacOS::CLT.installed?
# For Xcode-only systems, we need to tell the sysroot path.
# "native-system-headers" will be appended
args << "--with-native-system-header-dir=/usr/include"
args << "--with-sysroot=#{MacOS.sdk_path}"
end
system "../configure", *args
if build.with? "profiled-build"
# Takes longer to build, may bug out. Provided for those who want to
# optimise all the way to 11.
system "make", "profiledbootstrap"
else
system "make", "bootstrap"
end
# At this point `make check` could be invoked to run the testsuite. The
# deja-gnu and autogen formulae must be installed in order to do this.
system "make", "install"
end
# Handle conflicts between GCC formulae.
# Since GCC 4.8 libffi stuff are no longer shipped.
# Rename man7.
Dir.glob(man7/"*.7") { |file| add_suffix file, version_suffix }
# Even when suffixes are appended, the info pages conflict when
# install-info is run. fix this.
info.rmtree
# Since GCC 4.9 java properties are properly sandboxed.
end
def add_suffix(file, suffix)
dir = File.dirname(file)
ext = File.extname(file)
base = File.basename(file, ext)
File.rename file, "#{dir}/#{base}-#{suffix}#{ext}"
end
test do
(testpath/"hello-c.c").write <<-EOS.undent
#include <stdio.h>
int main()
{
puts("Hello, world!");
return 0;
}
EOS
system bin/"gcc-6", "-o", "hello-c", "hello-c.c"
assert_equal "Hello, world!\n", `./hello-c`
end
end
__END__
--- a/gcc/jit/Make-lang.in 2015-02-03 17:19:58.000000000 +0000
+++ b/gcc/jit/Make-lang.in 2015-04-08 22:08:24.000000000 +0100
@@ -85,8 +85,7 @@
$(jit_OBJS) libbackend.a libcommon-target.a libcommon.a \
$(CPPLIB) $(LIBDECNUMBER) $(LIBS) $(BACKENDLIBS) \
$(EXTRA_GCC_OBJS) \
- -Wl,--version-script=$(srcdir)/jit/libgccjit.map \
- -Wl,-soname,$(LIBGCCJIT_SONAME)
+ -Wl,-install_name,$(LIBGCCJIT_SONAME)
$(LIBGCCJIT_SONAME_SYMLINK): $(LIBGCCJIT_FILENAME)
ln -sf $(LIBGCCJIT_FILENAME) $(LIBGCCJIT_SONAME_SYMLINK)
+6 -7
View File
@@ -1,15 +1,14 @@
class Geographiclib < Formula
desc "C++ geography library"
homepage "http://geographiclib.sourceforge.net/"
url "https://downloads.sourceforge.net/project/geographiclib/distrib/GeographicLib-1.44.tar.gz"
sha256 "f0423318fb30959632f403935827e06856737cf4621695ecc27fa9c251db9d37"
url "https://downloads.sourceforge.net/project/geographiclib/distrib/GeographicLib-1.45.tar.gz"
sha256 "fbcd9fc9b10de0830f5cb57665dc675ae61f81b370873bb4b95540d569410dae"
bottle do
cellar :any
sha256 "bac30c5ed336263cc2c702a4f215b46737b2a65db963de9389dc76bc5fe7a6e1" => :el_capitan
sha256 "5835892b418d17e5c082d0386fc76a3507740f5350e16d6b1b454258e236ace2" => :yosemite
sha256 "4d3396d27b6d87046dcb278a97e3be642617f48907dd3f64176e8638623c05cd" => :mavericks
sha256 "c6024ea22fbb2dc922cf12e8d7b56a62ce19de4c624c76f8636e52026a5c066e" => :mountain_lion
sha256 "f75da04b7eac8e50a1fdd175ff6daadb6aecb3ae85751bec836ee83d766e03f8" => :el_capitan
sha256 "cbcf90ea69d31a765d8ecaeeb882de08f20c4248e446338a8d6dda01317d7ecb" => :yosemite
sha256 "9abce610d57e2afae2b91cf7cf23496a01c0a613142167c14fce33a429804380" => :mavericks
end
depends_on "cmake" => :build
@@ -22,6 +21,6 @@ class Geographiclib < Formula
end
test do
system "GeoConvert", "-p", "-3", "-m", "--input-string", "33.3 44.4"
system bin/"GeoConvert", "-p", "-3", "-m", "--input-string", "33.3 44.4"
end
end
+7 -14
View File
@@ -1,14 +1,15 @@
class Gettext < Formula
desc "GNU internationalization (i18n) and localization (l10n) library"
homepage "https://www.gnu.org/software/gettext/"
url "http://ftpmirror.gnu.org/gettext/gettext-0.19.6.tar.xz"
mirror "https://ftp.gnu.org/gnu/gettext/gettext-0.19.6.tar.xz"
sha256 "9b95816620fd1168cb4eeca0e9dc0ffd86e864fc668f76f5e37cc054d6982e51"
url "https://ftpmirror.gnu.org/gettext/gettext-0.19.8.1.tar.xz"
mirror "https://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz"
sha256 "105556dbc5c3fbbc2aa0edb46d22d055748b6f5c7cd7a8d99f8e7eb84e938be4"
bottle do
sha256 "41a26cf4db47c63a8d1b93092dc45bb56a832701d11838277221fd934af4ed8a" => :tiger_altivec
sha256 "5c7b69d10f0a5e330285d1806d10ce85f0a8e01eb727ba92bcdb815d2e08f6ca" => :leopard_g3
sha256 "522195faf5f9c5cbd80ecfb7e6f72653a248cc893be53a931c2949645f48f51b" => :leopard_altivec
sha256 "8368522242c5fe33acd5c80b5f1321559da9efe20878da6e4b9507683a740c21" => :sierra
sha256 "311475f36f3fd314ae0db4fb52e4ab769f62ded6c8c81678ad8295f41762e4ba" => :el_capitan
sha256 "ca8fe572e7c8db00bb1bdfd66c379ba4a960927f4b829f47f9e2335c51dc7376" => :yosemite
sha256 "e3091192716347fc54f6e8a8184d892feed5309672daa061a1407b071af80c05" => :mavericks
end
keg_only :shadowed_by_osx, "OS X provides the BSD gettext library and some software gets confused if both are in the library path."
@@ -16,14 +17,6 @@ class Gettext < Formula
option :universal
option 'with-examples', 'Keep example files'
def patches
unless build.include? 'with-examples'
# Use a MacPorts patch to disable building examples at all,
# rather than build them and remove them afterwards.
{:p0 => ['https://trac.macports.org/export/102008/trunk/dports/devel/gettext/files/patch-gettext-tools-Makefile.in']}
end
end
def install
ENV.libxml2
ENV.universal_binary if build.universal?
+1 -1
View File
@@ -5,7 +5,7 @@ class Ghi < Formula
head "https://github.com/stephencelis/ghi.git"
sha256 "1b58c7ec6e9339c44175808719694d7ee21cbd254d3a2e6d31a70d31027e9bea"
depends_on 'homebrew/dupes/less' if MacOS.version == :tiger
depends_on "less" if MacOS.version == :tiger
def install
bin.install "ghi"
+38 -70
View File
@@ -3,17 +3,21 @@ class Ghostscript < Formula
homepage "http://www.ghostscript.com/"
stable do
url "http://downloads.ghostscript.com/public/ghostscript-9.16.tar.gz"
sha256 "746d77280cca8afdd3d4c2c1389e332ed9b0605bd107bcaae1d761b061d1a68d"
url "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs919/ghostscript-9.19.tar.gz"
sha256 "cf3c0dce67db1557a87366969945f9c5235887989c0b585e037af366dc035989"
patch :DATA # Uncomment OS X-specific make vars
# http://djvu.sourceforge.net/gsdjvu.html
# Can't get 1.8 to compile, but feel free to open PR if you can.
resource "djvu" do
url "https://downloads.sourceforge.net/project/djvu/GSDjVu/1.6/gsdjvu-1.6.tar.gz"
sha256 "6236b14b79345eda87cce9ba22387e166e7614cca2ca86b1c6f0d611c26005df"
end
end
bottle do
sha256 "3939157eb2567f35ee11a3e0bdc5f36658788c25f9e846b1c674b28603a40d4b" => :el_capitan
sha256 "5bc3b9c563a5f1b35dff4089c426baeb913ec32c2d76f913e214b1a138ec97e4" => :yosemite
sha256 "bc7d20827ad5fe991c3b05fdd23366907ecdd53a2ccba7653c897948700ef6fb" => :mavericks
sha256 "b31197b17c3b3d500bbf9d7d9dc7f57046c46869be3f03ee4f41424987a52650" => :mountain_lion
sha256 "eeca121b96926b72e10f2bc75be45a2739ce9b57eba5ebbc6eac945db01aa542" => :el_capitan
sha256 "85459cef5b92ffb8ee30ab6af1a0649b2698716b4a9c23f12cf39f4435b3e542" => :yosemite
sha256 "bbf4584ed19c2c38530c9b1e77c543370a77e441b759f519bb8b80fa9b41ebec" => :mavericks
end
head do
@@ -27,53 +31,24 @@ class Ghostscript < Formula
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
# Uncomment OS X-specific make vars
patch do
url "https://gist.githubusercontent.com/jacknagel/9559501/raw/9709b3234cc888d29f717838650d29e7062da917/gs.patch"
sha256 "b3c8903c00428f1a065ceda04e3377c3a110ec21bc149547615bc2166cde6163"
end
end
patch :DATA # Uncomment OS X-specific make vars
option "with-djvu", "Build drivers for DjVU file format"
depends_on "pkg-config" => :build
depends_on "jpeg"
depends_on "libtiff"
depends_on "jbig2dec"
depends_on "little-cms2"
depends_on "libpng"
depends_on :x11 => ["2.7.2", :optional]
depends_on "djvulibre" if build.with? "djvu"
depends_on "freetype"
depends_on :x11 => :optional
conflicts_with "gambit-scheme", :because => "both install `gsc` binaries"
# http://sourceforge.net/projects/gs-fonts/
# https://sourceforge.net/projects/gs-fonts/
resource "fonts" do
url "https://downloads.sourceforge.net/project/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29/ghostscript-fonts-std-8.11.tar.gz"
sha256 "0eb6f356119f2e49b2563210852e17f57f9dcc5755f350a69a46a0d641a0c401"
end
# http://djvu.sourceforge.net/gsdjvu.html
# Can't get 1.8 to compile, but feel free to open PR if you can.
resource "djvu" do
url "https://downloads.sourceforge.net/project/djvu/GSDjVu/1.6/gsdjvu-1.6.tar.gz"
sha256 "6236b14b79345eda87cce9ba22387e166e7614cca2ca86b1c6f0d611c26005df"
end
def move_included_source_copies
# If the install version of any of these doesn't match
# the version included in ghostscript, we get errors
# Taken from the MacPorts portfile:
# https://trac.macports.org/browser/trunk/dports/print/ghostscript/Portfile#L64
renames = %w[freetype jbig2dec jpeg libpng tiff]
renames.each { |lib| mv lib, "#{lib}_local" }
end
def install
src_dir = build.head? ? "gs" : "."
if build.with? "djvu"
resource("djvu").stage do
inreplace "gsdjvu.mak", "$(GL", "$(DEV"
@@ -84,39 +59,32 @@ class Ghostscript < Formula
end
end
cd src_dir do
move_included_source_copies
args = %W[
--prefix=#{prefix}
--disable-cups
--disable-compile-inits
--disable-gtk
--with-system-libtiff
]
args << "--without-x" if build.without? "x11"
args = %W[
--prefix=#{prefix}
--disable-cups
--disable-compile-inits
--disable-gtk
]
args << "--without-x" if build.without? "x11"
if build.head?
system "./autogen.sh", *args
else
system "./configure", *args
end
# versioned stuff in main tree is pointless for us
inreplace "Makefile", "/$(GS_DOT_VERSION)", ""
if build.with? "djvu"
inreplace "Makefile" do |s|
s.change_make_var!("DEVICE_DEVS17", "$(DD)djvumask.dev $(DD)djvusep.dev")
end
end
# Install binaries and libraries
system "make", "install"
system "make", "install-so"
if build.head?
system "./autogen.sh", *args
else
system "./configure", *args
end
(share+"ghostscript/fonts").install resource("fonts")
(man+"de").rmtree
if build.with? "djvu"
inreplace "Makefile" do |s|
s.change_make_var!("DEVICE_DEVS17", "$(DD)djvumask.dev $(DD)djvusep.dev")
end
end
# Install binaries and libraries
system "make", "install"
system "make", "install-so"
(pkgshare/"fonts").install resource("fonts")
(man/"de").rmtree
end
test do
+1
View File
@@ -3,6 +3,7 @@ class Ginac < Formula
homepage "http://www.ginac.de/"
url "http://www.ginac.de/ginac-1.6.4.tar.bz2"
sha256 "6241158216b4f68c625ce7d843d5b6b070304f87e7fc8f4075b76501ca0f3c60"
revision 1
bottle do
cellar :any
+34 -17
View File
@@ -1,25 +1,24 @@
class Git < Formula
desc "Distributed revision control system"
homepage "https://git-scm.com"
url "https://www.kernel.org/pub/software/scm/git/git-2.6.0.tar.xz"
sha256 "211beb96ff41a83727e39704431ac388ecb1cebb5219cda067999bce4e1e15a6"
url "https://www.kernel.org/pub/software/scm/git/git-2.10.2.tar.xz"
sha256 "94802903dd707d85ca3b9a2be35e936a54ce86375f52c6a789efe7ce7e238671"
head "https://github.com/git/git.git", :shallow => false
bottle do
sha256 "c5ded800991a31d7d12a84b9c03d013757e20ad210717b00c25bf8aba5132552" => :tiger_altivec
sha256 "766011fdc2e7b8b3eb1816a5212f3a3268121e30e5335150bf77256202aea1e2" => :leopard_g3
sha256 "56853920db7b8171d9f838969d879d02a781a2eb8e7784f0f25d3fc6114f7a02" => :leopard_altivec
end
resource "man" do
url "https://www.kernel.org/pub/software/scm/git/git-manpages-2.6.0.tar.xz"
sha256 "94c45cf2353f8e1bbb6b56b6f54289203319db4cc38d94f53fcfb8dc3b669615"
sha256 "ff9d1b1600f268f0ec5af318562fc08bd9a503d512309dd26f7b166d98c8ecaf" => :sierra
sha256 "525962ccf0890c754aedbe2a623bb32d2af2b941fbdb8ac122bbaba41f48664c" => :el_capitan
sha256 "5c11a6d358ece56497bb67300aa082d27f04ac594bc6eafe5f6fed0437d68d33" => :yosemite
end
resource "html" do
url "https://www.kernel.org/pub/software/scm/git/git-htmldocs-2.6.0.tar.xz"
sha256 "0ba5d5d630e3235b74bcfb4ea2e9bbda8a3e619aaaf9e1f56e12dec5d8dc1d87"
url "https://www.kernel.org/pub/software/scm/git/git-htmldocs-2.10.2.tar.xz"
sha256 "dd43111c3518a92a7fe64ac5cd32a5d4d77d49c67f7d89dce3e8293bc3d6b491"
end
resource "man" do
url "https://www.kernel.org/pub/software/scm/git/git-manpages-2.10.2.tar.xz"
sha256 "83b0a317f6039ad95ef6af6a182cf659c2d053eed5d8f70b06710eb787f8aa6f"
end
option "with-blk-sha1", "Compile with the block-optimized SHA1 implementation"
@@ -82,10 +81,18 @@ class Git < Formula
ENV["CURLDIR"] = Formula["curl"].opt_prefix if MacOS.version < :snow_leopard
ENV["NO_APPLE_COMMON_CRYPTO"] = "1" if MacOS.version < :leopard
# Support Tcl versions before "lime" color name was introduced
# https://github.com/Homebrew/homebrew-core/issues/115
# https://www.mail-archive.com/git%40vger.kernel.org/msg92017.html
inreplace "gitk-git/gitk", "lime", '"#99FF00"'
perl_version = /\d\.\d+/.match(`perl --version`)
if build.with? "brewed-svn"
ENV["PERLLIB_EXTRA"] = "#{Formula["subversion"].opt_prefix}/Library/Perl/#{perl_version}/darwin-thread-multi-2level"
ENV["PERLLIB_EXTRA"] = %W[
#{Formula["subversion"].opt_lib}/perl5/site_perl
#{Formula["subversion"].opt_prefix}/Library/Perl/#{perl_version}/darwin-thread-multi-2level
].join(":")
elsif MacOS.version >= :mavericks
ENV["PERLLIB_EXTRA"] = %W[
#{MacOS.active_developer_dir}
@@ -169,6 +176,14 @@ class Git < Formula
# To avoid this feature hooking into the system OpenSSL, remove it.
# If you need it, install git --with-brewed-openssl.
rm "#{libexec}/git-core/git-imap-send" if build.without? "brewed-openssl"
# Set the macOS keychain credential helper by default
# (as Apple's CLT's git also does this).
(buildpath/"gitconfig").write <<-EOS.undent
[credential]
\thelper = osxkeychain
EOS
etc.install "gitconfig"
end
def caveats; <<-EOS.undent
@@ -181,8 +196,10 @@ class Git < Formula
end
test do
HOMEBREW_REPOSITORY.cd do
assert_equal "bin/brew", `#{bin}/git ls-files -- bin`.strip
end
system bin/"git", "init"
%w[haunted house].each { |f| touch testpath/f }
system bin/"git", "add", "haunted", "house"
system bin/"git", "commit", "-a", "-m", "Initial Commit"
assert_equal "haunted\nhouse", shell_output("#{bin}/git ls-files").strip
end
end
+16 -17
View File
@@ -1,15 +1,13 @@
class Glib < Formula
desc "Core application library for C"
homepage "https://developer.gnome.org/glib/"
url "https://download.gnome.org/sources/glib/2.46/glib-2.46.0.tar.xz"
sha256 "b1cee83469ae7d80f17c267c37f090414e93960bd62d2b254a5a96fbc5baacb4"
revision 1
url "https://download.gnome.org/sources/glib/2.50/glib-2.50.1.tar.xz"
sha256 "2ef87a78f37c1eb5b95f4cc95efd5b66f69afad9c9c0899918d04659cf6df7dd"
bottle do
sha256 "15fd5f2f9eb1cbdb340c5d0f4fce7f0cad222c7663801f41d13ae04f075135c2" => :tiger_altivec
sha256 "a77fa2cdde4c04eb14fba684bcbafcd1be11aad39e98431cba135eeead9eaf92" => :leopard_g3
sha256 "92b517c29d6ccdc549dd4952d1d85c250e6dc663e36379fd053771ff01840a7a" => :leopard_altivec
sha256 "4892a83baa553ef938ec2a7cb4d6f72af9bbd45ddef730e42b9640c5c9883fe4" => :sierra
sha256 "818420b0efd28fc6ed8fce3be2291cb4761ba264a535b795bf42e251b432c7c2" => :el_capitan
sha256 "cfde246fc576b0cf6c4609045b5f1dc4c412133047036326176e350e425e8e4e" => :yosemite
end
option :universal
@@ -21,9 +19,11 @@ class Glib < Formula
depends_on "pkg-config" => :build
depends_on "gettext"
depends_on "libffi"
depends_on "pcre"
depends_on :python if MacOS.version < :leopard
# the version of zlib which comes with Tiger does not
# export some symbols glib expects
depends_on 'homebrew/dupes/zlib' if MacOS.version == :tiger
depends_on "zlib" if MacOS.version == :tiger
fails_with :llvm do
build 2334
@@ -31,8 +31,7 @@ class Glib < Formula
end
resource "config.h.ed" do
url "https://svn.macports.org/repository/macports/trunk/dports/devel/glib2/files/config.h.ed", :using => :curl
mirror "https://trac.macports.org/export/111532/trunk/dports/devel/glib2/files/config.h.ed"
url "https://raw.githubusercontent.com/Homebrew/formula-patches/eb51d82/glib/config.h.ed"
version "111532"
sha256 "9f1e23a084bc879880e589893c17f01a2f561e20835d6a6f08fcc1dad62388f1"
end
@@ -49,13 +48,13 @@ class Glib < Formula
# to unrelated issues in GCC, but improves the situation.
# Patch submitted upstream: https://bugzilla.gnome.org/show_bug.cgi?id=672777
patch do
url "https://raw.githubusercontent.com/Homebrew/patches/59e4d327791d4fe3423c2c871adb98e3f3f07633/glib/gio.patch"
sha256 "cc3f0f6d561d663dfcdd6154b075150f68a36f5a92f94e5163c1c20529bfdf32"
url "https://raw.githubusercontent.com/Homebrew/formula-patches/a39dec26/glib/gio.patch"
sha256 "284cbf626f814c21f30167699e6e59dcc0d31000d71151f25862b997a8c8493d"
end
patch do
url "https://raw.githubusercontent.com/Homebrew/patches/59e4d327791d4fe3423c2c871adb98e3f3f07633/glib/universal.patch"
sha256 "7e1ad7667c7d89fcd08950c9c32cd66eb9c8e2ee843f023d1fadf09a9ba39fee"
url "https://raw.githubusercontent.com/Homebrew/formula-patches/fe50d25d/glib/universal.diff"
sha256 "e21f902907cca543023c930101afe1d0c1a7ad351daa0678ba855341f3fd1b57"
end if build.universal?
# Fixes g_get_monotonic_time on non-Intel Macs; submitted upstream:
@@ -65,7 +64,7 @@ class Glib < Formula
sha1 "5637d98e1c7bbfa8824e60612976a8c13d0c0fb6"
end
# Reverts GNotification support on OS X.
# Reverts GNotification support on macOS.
# This only supports OS X 10.9, and the reverted commits removed the
# ability to build glib on older versions of OS X.
# https://bugzilla.gnome.org/show_bug.cgi?id=747146
@@ -74,8 +73,8 @@ class Glib < Formula
# also applied to configure and gio/Makefile.in
if MacOS.version < :mavericks
patch do
url "https://raw.githubusercontent.com/Homebrew/patches/59e4d327791d4fe3423c2c871adb98e3f3f07633/glib/gnotification-mountain.patch"
sha256 "723def732304552ca55ae9f5b568ff3e8a59a14d512af72b6c1f0421f8228a68"
url "https://raw.githubusercontent.com/Homebrew/formula-patches/a4fe61b/glib/gnotification-mountain.patch"
sha256 "5bf6d562dd2be811d71e6f84eb43fc6c51a112db49ec0346c1b30f4f6f4a4233"
end
end
+31 -15
View File
@@ -1,29 +1,39 @@
class Gmp < Formula
desc "GNU multiple precision arithmetic library"
homepage "https://gmplib.org/"
url "http://ftpmirror.gnu.org/gmp/gmp-6.0.0a.tar.bz2"
mirror "https://gmplib.org/download/gmp/gmp-6.0.0a.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gmp/gmp-6.0.0a.tar.bz2"
sha256 "7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf"
url "https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz"
mirror "https://ftp.gnu.org/gnu/gmp/gmp-6.1.2.tar.xz"
sha256 "87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912"
bottle do
cellar :any
sha1 "954d513d362b0bda155bd8bf0347a49a93e3f885" => :tiger_altivec
sha1 "ef404f79249e760443a037cc5f9374df4074f8fc" => :leopard_g3
sha1 "f6b2011e9b1a6e22ccbb30f6ed94d338063feb30" => :leopard_altivec
end
option "32-bit"
option :cxx11
def arch_to_string_map
@arch_map ||= {
:g3 => "powerpc750",
:g4 => "powerpc7400",
:g4e => "powerpc7450",
:g5 => "powerpc970"
}
end
# https://github.com/mistydemeo/tigerbrew/issues/212
env :std
def install
ENV.cxx11 if build.cxx11?
args = ["--prefix=#{prefix}", "--enable-cxx"]
if build.bottle?
bottle_sym = ARGV.bottle_arch || Hardware.oldest_cpu
arch = arch_to_string_map.fetch(bottle_sym, "core2")
args << "--build=#{arch}-apple-darwin#{`uname -r`.to_i}"
end
if build.build_32_bit?
if build.build_32_bit? || !MacOS.prefer_64_bit?
ENV.m32
args << "ABI=32"
end
@@ -32,22 +42,28 @@ class Gmp < Formula
# https://github.com/Homebrew/homebrew/issues/20693
args << "--disable-assembly" if build.build_32_bit? || build.bottle?
system "./configure", *args
system "./configure", "--disable-static", *args
system "make"
system "make", "check"
ENV.deparallelize
system "make", "install"
system "make", "clean"
system "./configure", "--disable-shared", "--disable-assembly", *args
system "make"
lib.install Dir[".libs/*.a"]
end
test do
(testpath/"test.c").write <<-EOS.undent
#include <gmp.h>
#include <stdlib.h>
int main()
{
mpz_t integ;
mpz_init (integ);
mpz_clear (integ);
int main() {
mpz_t i, j, k;
mpz_init_set_str (i, "1a", 16);
mpz_init (j);
mpz_init (k);
mpz_sqrtrem (j, k, i);
if (mpz_get_si (j) != 5 || mpz_get_si (k) != 1) abort();
return 0;
}
EOS
+93
View File
@@ -0,0 +1,93 @@
class Gmp4 < Formula
desc "GNU multiple precision arithmetic library"
homepage "http://gmplib.org/"
# Track gcc infrastructure releases.
url "https://ftpmirror.gnu.org/gmp/gmp-4.3.2.tar.bz2"
mirror "https://ftp.gnu.org/gnu/gmp/gmp-4.3.2.tar.bz2"
mirror "ftp://ftp.gmplib.org/pub/gmp-4.3.2/gmp-4.3.2.tar.bz2"
mirror "ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-4.3.2.tar.bz2"
sha256 "936162c0312886c21581002b79932829aa048cfaf9937c6265aeaa14f1cd1775"
bottle do
cellar :any
revision 1
sha256 "5c5d632ea58479fba37a0844d0b9a4fd1e865e809286ada95d5484d72ab50a78" => :el_capitan
sha256 "932a2d0987dd26bbc3cb54b7d38d4cf6b0e5a4bd46fef8442b79b75f067abf6e" => :yosemite
sha256 "b7012c46ac9e5b5aa1004184e85a2e99fc047d9f92f1e8b82699ba1f1ea1f7bf" => :mavericks
end
keg_only "Conflicts with gmp in main repository."
option "with-32-bit"
option "without-check", "Do not run `make check` to verify libraries"
deprecated_option "32-bit" => "with-32-bit"
deprecated_option "skip-check" => "without-check"
fails_with :gcc_4_0 do
cause "Reports of problems using gcc 4.0 on Leopard: https://github.com/mxcl/homebrew/issues/issue/2302"
end
# Patches gmp.h to remove the __need_size_t define, which
# was preventing libc++ builds from getting the ptrdiff_t type
# Applied upstream in http://gmplib.org:8000/gmp/raw-rev/6cd3658f5621
patch :DATA
def install
args = ["--prefix=#{prefix}", "--enable-cxx"]
# Build 32-bit where appropriate, and help configure find 64-bit CPUs
if MacOS.prefer_64_bit? && !build.build_32_bit?
ENV.m64
args << "--build=x86_64-apple-darwin"
else
ENV.m32
args << "--host=none-apple-darwin"
end
system "./configure", *args
system "make"
ENV.deparallelize # Doesn't install in parallel on 8-core Mac Pro
system "make", "install"
# Different compilers and options can cause tests to fail even
# if everything compiles, so yes, we want to do this step.
system "make", "check" if build.with? "check"
end
test do
(testpath/"test.c").write <<-EOS.undent
#include <gmp.h>
int main()
{
mpz_t integ;
mpz_init (integ);
mpz_clear (integ);
return 0;
}
EOS
system ENV.cc, "test.c", "-L#{lib}", "-lgmp", "-I#{include}", "-o", "test"
system "./test"
end
end
__END__
diff --git a/gmp-h.in b/gmp-h.in
index d7fbc34..3c57c48 100644
--- a/gmp-h.in
+++ b/gmp-h.in
@@ -46,13 +46,11 @@ along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. */
#ifndef __GNU_MP__
#define __GNU_MP__ 4
-#define __need_size_t /* tell gcc stddef.h we only want size_t */
#if defined (__cplusplus)
#include <cstddef> /* for size_t */
#else
#include <stddef.h> /* for size_t */
#endif
-#undef __need_size_t
/* Instantiated by configure. */
#if ! defined (__GMP_WITHIN_CONFIGURE)
+1
View File
@@ -4,6 +4,7 @@ class GnuApl < Formula
url "http://ftpmirror.gnu.org/apl/apl-1.4.tar.gz"
mirror "https://ftp.gnu.org/gnu/apl/apl-1.4.tar.gz"
sha256 "69da31db180e6ae17116122758c266e19f62e256f04e3c4959f6f2b224a1893a"
revision 1
bottle do
revision 1
+1 -1
View File
@@ -4,7 +4,7 @@ class GnuSmalltalk < Formula
url "http://ftpmirror.gnu.org/smalltalk/smalltalk-3.2.5.tar.xz"
mirror "https://ftp.gnu.org/gnu/smalltalk/smalltalk-3.2.5.tar.xz"
sha256 "819a15f7ba8a1b55f5f60b9c9a58badd6f6153b3f987b70e7b167e7755d65acc"
revision 1
revision 2
head "https://github.com/bonzini/smalltalk.git"
+1
View File
@@ -4,6 +4,7 @@ class GnuUnits < Formula
url "http://ftpmirror.gnu.org/units/units-2.02.tar.gz"
mirror "https://ftp.gnu.org/gnu/units/units-2.02.tar.gz"
sha256 "2b34fa70c9319956135b990afc1ac99d411ba5b291b5d29e4a89fdf052944e9a"
revision 1
bottle do
revision 1
+1
View File
@@ -3,6 +3,7 @@ class Gnuplot < Formula
homepage "http://www.gnuplot.info"
url "https://downloads.sourceforge.net/project/gnuplot/gnuplot/5.0.1/gnuplot-5.0.1.tar.gz"
sha256 "7cbc557e71df581ea520123fb439dea5f073adcc9010a2885dc80d4ed28b3c47"
revision 1
bottle do
revision 1
+21 -10
View File
@@ -1,26 +1,25 @@
class Goaccess < Formula
desc "Log analyzer and interactive viewer for the Apache Webserver"
homepage "http://goaccess.io/"
url "http://tar.goaccess.io/goaccess-0.9.3.tar.gz"
sha256 "aa5819d47d4d554d13b5d4d79524b907ade685accf8c89d399fba0e2a318bc46"
url "http://tar.goaccess.io/goaccess-0.9.4.tar.gz"
sha256 "8a6e167f6a9330ccf37c652e577792c9c626d7134d64f841eb54fefcdff6c5ce"
bottle do
sha256 "b794786dbfd4f88154abe3d06ae166d82bb57729a891dc9c8e438f17c9fcd7ff" => :el_capitan
sha256 "a8f198a65bbc1f78374f4875de7ae292bc4c6468eafc30e1548733cc3c8d4d72" => :yosemite
sha256 "c3b9794ea9b90361e81630e9550a3ac6d7a3e413e5c61d7dc00fd3f942b1c802" => :mavericks
sha256 "c4da90f9f07798cc89c94eb158b878a30609f05f8be00b38454256bbe2203b0a" => :mountain_lion
sha256 "e55d00891372ed68169bb759c7113fb47951793146287f58542f05033966b0a6" => :el_capitan
sha256 "e823561ca8d621ab0e33fa32e8750c9a29eb381ac8f3ed14001a6d90dce14812" => :yosemite
sha256 "ea928044dc0a5309be812828d29e75d4cba36300b269aa355f117a2489c8274f" => :mavericks
end
option "with-geoip", "Enable IP location information using GeoIP"
deprecated_option "enable-geoip" => "with-geoip"
head do
url "https://github.com/allinurl/goaccess.git"
depends_on "autoconf" => :build
depends_on "automake" => :build
end
option "with-geoip", "Enable IP location information using GeoIP"
deprecated_option "enable-geoip" => "with-geoip"
depends_on "pkg-config" => :build
depends_on "glib"
depends_on "geoip" => :optional
@@ -38,4 +37,16 @@ class Goaccess < Formula
system "./configure", *args
system "make", "install"
end
test do
require "json"
(testpath/"access.log").write <<-EOS.undent
127.0.0.1 - - [04/May/2015:15:48:17 +0200] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36"
EOS
output = shell_output("#{bin}/goaccess --time-format=%T --date-format=%d/%b/%Y --log-format='%h %^[%d:%t %^] \"%r\" %s %b \"%R\" \"%u\"' -f access.log -o json 2>/dev/null")
assert_equal "Chrome", JSON.parse(output)["browsers"][0]["data"]
end
end
+1 -1
View File
@@ -14,7 +14,7 @@ class GobjectIntrospection < Formula
option :universal
depends_on "homebrew/dupes/make" => :build if MacOS.version < :leopard
depends_on "make" => :build if MacOS.version < :leopard
depends_on "pkg-config" => :run
depends_on "glib"
depends_on "libffi"
+1
View File
@@ -3,6 +3,7 @@ class Gphoto2 < Formula
homepage "http://gphoto.org/"
url "http://downloads.sourceforge.net/project/gphoto/gphoto/2.5.1/gphoto2-2.5.1.tar.bz2"
sha1 "c363adfb5d0f21c03bc5dc27daf19e9e409832ec"
revision 1
depends_on "pkg-config" => :build
depends_on "jpeg"
+1
View File
@@ -3,6 +3,7 @@ class Gqlplus < Formula
homepage "http://gqlplus.sourceforge.net/"
url "https://downloads.sourceforge.net/project/gqlplus/gqlplus/1.15/gqlplus-1.15.tar.gz"
sha256 "9a539cdcf952b4acd2ae2d940772366bf6c9ee0fb51846c02d3c7dc1df3056d5"
revision 1
depends_on "readline"
+54
View File
@@ -0,0 +1,54 @@
class Grep < Formula
desc "GNU grep, egrep and fgrep"
homepage "https://www.gnu.org/software/grep/"
url "https://ftpmirror.gnu.org/grep/grep-3.0.tar.xz"
mirror "https://ftp.gnu.org/gnu/grep/grep-3.0.tar.xz"
sha256 "e2c81db5056e3e8c5995f0bb5d0d0e1cad1f6f45c3b2fc77b6e81435aed48ab5"
bottle do
cellar :any
sha256 "bb9a99c94bca06d1ac13a26db05916cd069e1f58aba803ee3290ee2caa15b326" => :sierra
sha256 "d97ddcf459bf893cbabc2129ff2425c2ff8668ad996c3d96fcef85f0a06fd948" => :el_capitan
sha256 "4674ad09c934d919a5251461cb2b200627d5ad950875f131da3ddb517835af32" => :yosemite
end
option "with-default-names", "Do not prepend 'g' to the binary"
deprecated_option "default-names" => "with-default-names"
depends_on "pkg-config" => :build
depends_on "pcre"
def install
args = %W[
--disable-dependency-tracking
--disable-nls
--prefix=#{prefix}
--infodir=#{info}
--mandir=#{man}
--with-packager=Homebrew
]
args << "--program-prefix=g" if build.without? "default-names"
system "./configure", *args
system "make"
system "make", "install"
end
def caveats
if build.without? "default-names" then <<-EOS.undent
The command has been installed with the prefix "g".
If you do not want the prefix, install using the "with-default-names"
option.
EOS
end
end
test do
text_file = testpath/"file.txt"
text_file.write "This line should be matched"
cmd = build.with?("default-names") ? "grep" : "ggrep"
grepped = shell_output("#{bin}/#{cmd} match #{text_file}")
assert_match "should be matched", grepped
end
end
+111
View File
@@ -0,0 +1,111 @@
class Grip < Formula
desc "GitHub Markdown previewer"
homepage "https://github.com/joeyespo/grip"
url "https://files.pythonhosted.org/packages/3c/ea/2a475ed37e1b6476182e71223c98667f51704bdbc919608372b203c7ea04/grip-4.5.2.tar.gz"
sha256 "048b7e5c738ed80bee345bd10840f27eb31687eb67132b40f2473dc1cf67aa0f"
bottle do
cellar :any_skip_relocation
sha256 "1d4b1cbd24fd7e087f13f947510fbf886bb1eccbd0bc7c45f23c4a5eebec678e" => :tiger_g3
sha256 "cd904541d7370920a24f07abe782cc68f947dc26e820eb7000f9c0edceb9e8e2" => :tiger_g4
sha256 "69934d0ea8e23b288a28e5dbbe429415d0b0e9df7d3bdb3c338b3bf0acd12121" => :tiger_g4e
sha256 "0fabed73fb8cb3072f4b849e47ca2ebab0d6c8300652755866a354e49d146024" => :tiger_g5
end
depends_on "python"
resource "certifi" do
url "https://files.pythonhosted.org/packages/15/d4/2f888fc463d516ff7bf2379a4e9a552fef7f22a94147655d9b1097108248/certifi-2018.1.18.tar.gz"
sha256 "edbc3f203427eef571f79a7692bb160a2b0f7ccaa31953e99bd17e307cf63f7d"
end
resource "chardet" do
url "https://files.pythonhosted.org/packages/fc/bb/a5768c230f9ddb03acc9ef3f0d4a3cf93462473795d18e9535498c8f929d/chardet-3.0.4.tar.gz"
sha256 "84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"
end
resource "click" do
url "https://files.pythonhosted.org/packages/95/d9/c3336b6b5711c3ab9d1d3a80f1a3e2afeb9d8c02a7166462f6cc96570897/click-6.7.tar.gz"
sha256 "f15516df478d5a56180fbf80e68f206010e6d160fc39fa508b65e035fd75130b"
end
resource "docopt" do
url "https://files.pythonhosted.org/packages/a2/55/8f8cab2afd404cf578136ef2cc5dfb50baa1761b68c9da1fb1e4eed343c9/docopt-0.6.2.tar.gz"
sha256 "49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"
end
resource "Flask" do
url "https://files.pythonhosted.org/packages/eb/12/1c7bd06fcbd08ba544f25bf2c6612e305a70ea51ca0eda8007344ec3f123/Flask-0.12.2.tar.gz"
sha256 "49f44461237b69ecd901cc7ce66feea0319b9158743dd27a2899962ab214dac1"
end
resource "idna" do
url "https://files.pythonhosted.org/packages/f4/bd/0467d62790828c23c47fc1dfa1b1f052b24efdf5290f071c7a91d0d82fd3/idna-2.6.tar.gz"
sha256 "2c6a5de3089009e3da7c5dde64a141dbc8551d5b7f6cf4ed7c2568d0cc520a8f"
end
resource "itsdangerous" do
url "https://files.pythonhosted.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz"
sha256 "cbb3fcf8d3e33df861709ecaf89d9e6629cff0a217bc2848f1b41cd30d360519"
end
resource "Jinja2" do
url "https://files.pythonhosted.org/packages/56/e6/332789f295cf22308386cf5bbd1f4e00ed11484299c5d7383378cf48ba47/Jinja2-2.10.tar.gz"
sha256 "f84be1bb0040caca4cea721fcbbbbd61f9be9464ca236387158b0feea01914a4"
end
resource "Markdown" do
url "https://files.pythonhosted.org/packages/b3/73/fc5c850f44af5889192dff783b7b0d8f3fe8d30b65c8e3f78f8f0265fecf/Markdown-2.6.11.tar.gz"
sha256 "a856869c7ff079ad84a3e19cd87a64998350c2b94e9e08e44270faef33400f81"
end
resource "MarkupSafe" do
url "https://files.pythonhosted.org/packages/4d/de/32d741db316d8fdb7680822dd37001ef7a448255de9699ab4bfcbdf4172b/MarkupSafe-1.0.tar.gz"
sha256 "a6be69091dac236ea9c6bc7d012beab42010fa914c459791d627dad4910eb665"
end
resource "path-and-address" do
url "https://files.pythonhosted.org/packages/2b/b5/749fab14d9e84257f3b0583eedb54e013422b6c240491a4ae48d9ea5e44f/path-and-address-2.0.1.zip"
sha256 "e96363d982b3a2de8531f4cd5f086b51d0248b58527227d43cf5014d045371b7"
end
resource "Pygments" do
url "https://files.pythonhosted.org/packages/71/2a/2e4e77803a8bd6408a2903340ac498cb0a2181811af7c9ec92cb70b0308a/Pygments-2.2.0.tar.gz"
sha256 "dbae1046def0efb574852fab9e90209b23f556367b5a320c0bcb871c77c3e8cc"
end
resource "requests" do
url "https://files.pythonhosted.org/packages/b0/e1/eab4fc3752e3d240468a8c0b284607899d2fbfb236a56b7377a329aa8d09/requests-2.18.4.tar.gz"
sha256 "9c443e7324ba5b85070c4a818ade28bfabedf16ea10206da1132edaa6dda237e"
end
resource "urllib3" do
url "https://files.pythonhosted.org/packages/ee/11/7c59620aceedcc1ef65e156cc5ce5a24ef87be4107c2b74458464e437a5d/urllib3-1.22.tar.gz"
sha256 "cc44da8e1145637334317feebd728bd869a35285b93cbb4cca2577da7e62db4f"
end
resource "Werkzeug" do
url "https://files.pythonhosted.org/packages/9f/08/a3bb1c045ec602dc680906fc0261c267bed6b3bb4609430aff92c3888ec8/Werkzeug-0.14.1.tar.gz"
sha256 "c3fd7a7d41976d9f44db327260e263132466836cef6f91512889ed60ad26557c"
end
def install
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages"
resources.each do |r|
r.stage do
system "python", *Language::Python.setup_install_args(libexec/"vendor")
end
end
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages"
system "python", *Language::Python.setup_install_args(libexec)
bin.install Dir[libexec/"bin/*"]
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
end
test do
assert_match "<strong>Homebrew</strong> is awesome",
pipe_output("#{bin}/grip - --export -", "**Homebrew** is awesome.")
end
end
+9 -11
View File
@@ -1,30 +1,28 @@
class Groonga < Formula
desc "Fulltext search engine and column store"
homepage "http://groonga.org/"
url "http://packages.groonga.org/source/groonga/groonga-5.0.7.tar.gz"
sha256 "f0f148916179993b22c14f914f148fd9bad3163071b106a36251e92a3869b710"
url "http://packages.groonga.org/source/groonga/groonga-5.0.8.tar.gz"
sha256 "9bc8aca52842a90cbeeb816a2a8ad9c89b226c14fca4c18661039e54587a5a29"
bottle do
sha256 "85c010c3f572c48e1fe53b6936db4ec1c829bd0bed2ddc2052deae28be672167" => :el_capitan
sha256 "8d6f96fb3bf2212916e0bf0dcb4af23983b6f89fe0c29f553a03fcb76e4bfc31" => :yosemite
sha256 "02681009cdcfbad7c085380277706c8d3391ff9949c63f129135dfebdd015a4b" => :mavericks
sha256 "c5b2b8d400696df717b19d149ebd75a9407b19c96f7fa70863d5cbc1b49f0134" => :mountain_lion
sha256 "696fa3bede74506be0a48cb3922c4b8b892bb2ef7422ffb23674658f5a42f51b" => :el_capitan
sha256 "ccca48f11abdb8fc0179c4fd551b5dd09f985c2c2124fbaeef265c806fc11c19" => :yosemite
sha256 "97f66a1f7d66d8d53396af2bb918afef2f4706da4d091d4b4db479c9ee7daf3d" => :mavericks
end
option "with-benchmark", "With benchmark program for developer use"
deprecated_option "enable-benchmark" => "with-benchmark"
depends_on "pkg-config" => :build
depends_on "pcre"
depends_on "msgpack"
depends_on "mecab" => :optional
depends_on "mecab-ipadic" if build.with? "mecab"
depends_on "lz4" => :optional
depends_on "openssl"
depends_on "mecab-ipadic" if build.with? "mecab"
depends_on "glib" if build.with? "benchmark"
deprecated_option "enable-benchmark" => "with-benchmark"
def install
args = %W[
--prefix=#{prefix}
@@ -34,7 +32,7 @@ class Groonga < Formula
--without-libstemmer
]
args << "--enable-benchmark" if build.include? "enable-benchmark"
args << "--enable-benchmark" if build.with? "benchmark"
args << "--with-mecab" if build.with? "mecab"
args << "--with-lz4" if build.with? "lz4"
+6 -7
View File
@@ -1,15 +1,13 @@
class GstLibav < Formula
desc "GStreamer plugins for Libav (a fork of FFmpeg)"
homepage "http://gstreamer.freedesktop.org"
url "http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.4.5.tar.xz"
mirror "http://ftp.osuosl.org/pub/blfs/svn/g/gst-libav-1.4.5.tar.xz"
sha256 "605c62624604f3bb5c870844cc1f2711779cc533b004c2aa1d8c0d58557afbbc"
url "http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.6.0.tar.xz"
sha256 "6cca6cf73182a882768ef0c860af88c2fd2c77e2c81ce464a998ab4e6baa604c"
bottle do
sha256 "794810f2c445e8217ed8db0701f5a9098a4c62661f25c7222cb416ae78aae854" => :el_capitan
sha1 "b1deaafa0ea7ab50ffc14706ceedc0465846af58" => :yosemite
sha1 "812d25e4e2bd610bdd1b9f1202dc27e5fb645c50" => :mavericks
sha1 "7e147f585f4674346454b43099d003a9dc42f083" => :mountain_lion
sha256 "0f24e12e8dcecd40a561fc75b53e0d2435da03236a0aa56bbafd02ffa31c2825" => :el_capitan
sha256 "b779cfa2dafc69decb29fd0fa6f18ed5da1b4c745ed2f3f663f3822651dd31ba" => :yosemite
sha256 "667ad19a7b15d2cba56aca4867f3efdaeef7b6690a3c9bf2403c42dc6673d561" => :mavericks
end
head do
@@ -24,6 +22,7 @@ class GstLibav < Formula
depends_on "pkg-config" => :build
depends_on "yasm" => :build
depends_on "gst-plugins-base"
depends_on "xz" # For LZMA
def install
args = %W[
+8 -11
View File
@@ -1,16 +1,13 @@
class GstPluginsBad < Formula
desc "GStreamer plugins (less supported, missing docs, not fully tested)"
homepage "http://gstreamer.freedesktop.org/"
url "http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.4.5.tar.xz"
mirror "http://ftp.osuosl.org/pub/blfs/svn/g/gst-plugins-bad-1.4.5.tar.xz"
sha256 "152fad7250683d72f9deb36c5685428338365fe4a4c87ffe15e38783b14f983c"
url "http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.6.0.tar.xz"
sha256 "d8ff26128d4ecd2ffeb28e14843808d2d971b09056b7cee6f08afcae01fc0f49"
bottle do
revision 1
sha256 "e853f0c985b9e4a8b38c85b415d939bced34bceb70a95949e096f1bbca735ee3" => :el_capitan
sha256 "c4cb9cf4187786a73e43618260378e3db8cff3887acf3f352a1a549373f0340d" => :yosemite
sha256 "5280b336808a878ba93477d5664d6f784e2f78f6880b5ea267adcd93e7e7f38b" => :mavericks
sha256 "1de5eb524831527facb2f91df2c8b7292aca6d7e72f3c454116f3c67989edcba" => :mountain_lion
sha256 "39891fb950bb3e48e44449121320fcf23068b03126113fa9a85e95ad1c134e80" => :el_capitan
sha256 "4a0544b92e6309f14610008ed73963a5c2a6bd3b11e86b9cd3c3200a60670a87" => :yosemite
sha256 "cfc9e1ce7af3b1ada6cf79211ea54a6250321516b5694eb431ecd7377642b896" => :mavericks
end
head do
@@ -19,12 +16,14 @@ class GstPluginsBad < Formula
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "openssl"
end
option "with-applemedia", "Build with applemedia support"
depends_on "pkg-config" => :build
depends_on "gettext"
depends_on "gst-plugins-base"
depends_on "openssl"
depends_on "dirac" => :optional
depends_on "faac" => :optional
@@ -40,8 +39,6 @@ class GstPluginsBad < Formula
depends_on "sound-touch" => :optional
depends_on "srtp" => :optional
option "with-applemedia", "Build with applemedia support"
def install
args = %W[
--prefix=#{prefix}
+5 -7
View File
@@ -1,15 +1,13 @@
class GstPluginsBase < Formula
desc "GStreamer plugins (well-supported, basic set)"
homepage "http://gstreamer.freedesktop.org/"
url "http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-1.4.5.tar.xz"
mirror "http://ftp.osuosl.org/pub/blfs/svn/g/gst-plugins-base-1.4.5.tar.xz"
sha256 "77bd8199e7a312d3d71de9b7ddf761a3b78560a2c2a80829d0815ca39cbd551d"
url "https://download.gnome.org/sources/gst-plugins-base/1.6/gst-plugins-base-1.6.0.tar.xz"
sha256 "314fd1b707f65caf8eb6164d9422fc51e2b220a890ccd2de6ec03a2883d77231"
bottle do
sha256 "e4299d056a51ab06dbda85620d66751908b21f736f0f4afba144e5c3d32706d3" => :el_capitan
sha1 "8e9098a2afac082a3eb54bf0c62387f827443ef6" => :yosemite
sha1 "ab9e0aef6bf01b6e5ff379a1c0d694a588ea938d" => :mavericks
sha1 "eb0cea91727094bf924aac81a21bc71c7d4f8e68" => :mountain_lion
sha256 "e1c9b62174870496f06c2a31c639b267559cf0d5bbd6344042d6798c528890c9" => :el_capitan
sha256 "d923837664e2ae437b3a9f8e5251794c50e721f761f601df9128ef0d2a60b7b1" => :yosemite
sha256 "b99d142014674fcecffb2920a6fae7c4862c4ca4f1f817690dbe5dfd931f14db" => :mavericks
end
head do
+5 -7
View File
@@ -3,18 +3,16 @@ class GstPluginsGood < Formula
homepage "http://gstreamer.freedesktop.org/"
stable do
url "http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.4.5.tar.xz"
mirror "http://ftp.osuosl.org/pub/blfs/svn/g/gst-plugins-good-1.4.5.tar.xz"
sha256 "79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641"
url "https://download.gnome.org/sources/gst-plugins-good/1.6/gst-plugins-good-1.6.0.tar.xz"
sha256 "a0915639595305e48884656e22b16fda7c6892aa02cdb3eb43e23dab6e6b81fa"
depends_on "check" => :optional
end
bottle do
sha256 "c7e0f3400bf49d94fb4ea8073725d82f0c282582b4e819942226b7f5840dc262" => :el_capitan
sha1 "184f6be9e300566f37e7b014cca49f78018c36d4" => :yosemite
sha1 "a05a8f0dc08ea2626623f30dcb2cc458bd973b7e" => :mavericks
sha1 "7ce582ddab67b58d87469d112745144a0cf0edd2" => :mountain_lion
sha256 "f0b959674f1bf2135378c640853971899df115830e047d0a33784671c35d17d4" => :el_capitan
sha256 "1a3009aa7e6dc2cd2cffd598a0c9e1f3183a268460aa15ebd1f750153a4d0f9d" => :yosemite
sha256 "cd42820977c3cdb2ca5315f7c86c1e041b523960fac07e767175958c873ff683" => :mavericks
end
head do
+5 -8
View File
@@ -1,16 +1,13 @@
class GstPluginsUgly < Formula
desc "GStreamer plugins (well-supported, possibly problematic for distributors)"
homepage "http://gstreamer.freedesktop.org/"
url "http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.4.5.tar.xz"
mirror "http://ftp.osuosl.org/pub/blfs/svn/g/gst-plugins-ugly-1.4.5.tar.xz"
sha256 "5cd5e81cf618944f4dc935f1669b2125e8bb2fe9cc7dc8dc15b72237aca49067"
revision 1
url "http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-1.6.0.tar.xz"
sha256 "91178dc0d687a83c083190a905681d3a66901374b1004fc52cd300b7802e5f06"
bottle do
sha256 "c0835a682d672145d898d77070cbb87ac2177cb99fe7eeb0a817a83ace254120" => :el_capitan
sha256 "a8e8b3809afa54e5208d1b9b55abf8dd6fa37d223c0307038816865f37d34c04" => :yosemite
sha256 "4c94061b809c7e2448721dece73b643a7f4c2b9b0bfd3188c40b817430285705" => :mavericks
sha256 "e8cbbb7406940ed09cb7e3b7b2ba487e6eff1e5b14c22301205994ac1e92bc66" => :mountain_lion
sha256 "ffcf9543143cd22f5f5ed1b10c1f871f8776d76422e647d28bb0031cbd3e26b3" => :el_capitan
sha256 "2ea34047f62a5ea1cd95b72574f57b14c5696c9b7c59fc8fcdd077a9ac2ea016" => :yosemite
sha256 "da269f4f506b6de87161922886e03a52a0f99839ce695b73efef43565baed142" => :mavericks
end
head do
+5 -7
View File
@@ -1,15 +1,13 @@
class GstPython < Formula
desc "GStreamer Python overrides for gobject-introspection-based pygst bindings"
homepage "http://gstreamer.freedesktop.org/modules/gst-python.html"
url "http://gstreamer.freedesktop.org/src/gst-python/gst-python-1.4.0.tar.xz"
sha256 "b1e40c29ceb41b03f08d38aca6056054f0341d0706276326dceeec6ac8d53d3e"
revision 1
url "http://gstreamer.freedesktop.org/src/gst-python/gst-python-1.6.0.tar.xz"
sha256 "60dbc7f5ac2b6655ed4a7ed2cee63ee5a525d37cb16eaa6b9df7d7dfe4e9605f"
bottle do
revision 1
sha256 "23cc5d7ab90a98cb8baf83cff0b8c1f46077ed9171f1aa8b8a28db963f8d6039" => :yosemite
sha256 "40fda115c1425f67ec25228f86d902c7cbc4522bc71cc7daedce37f04041a1cf" => :mavericks
sha256 "d3b34dcf00708c39721a1696a9bea2ef5fe3144ef1dad200971e063654d372eb" => :mountain_lion
sha256 "2493558defcd65f0b0f486344e679f594feef4b550fd15f4f6946dbaaeab2ef9" => :el_capitan
sha256 "2f874fe16da1680cf209939e708b8806a54cfa5336deaf6f9e2097e257277eaf" => :yosemite
sha256 "94059057636ee841d5cd0474c7f62bb9400b2a7236ca1da09c5593d866d3d81f" => :mavericks
end
depends_on "gst-plugins-base"
+5 -6
View File
@@ -1,14 +1,13 @@
class GstValidate < Formula
desc "Tools to validate GstElements from GStreamer"
homepage "http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-validate/html/"
url "http://gstreamer.freedesktop.org/src/gst-validate/gst-validate-1.4.0.tar.xz"
sha256 "ac30d1041a8cfe5d268439f5cedee7e9753ba49080fc67bff1266581198438d0"
url "http://gstreamer.freedesktop.org/src/gst-validate/gst-validate-1.6.0.tar.xz"
sha256 "3baef8c7b5363293c20314a30afd54629849fc597669991fdcf92303602dafee"
bottle do
revision 1
sha256 "450bf253e256d9031ad6ab0eb703e85d78e44b8bce2ad91090370abd5d7caf90" => :yosemite
sha256 "b08355b9b695b2be027e9f162f36f8b18e98eb876e5c636c244a5dfb2b48e712" => :mavericks
sha256 "e0d7815b3658c3227c49562c0c9ca532c66207df2e237e1977ce5dc159a2913f" => :mountain_lion
sha256 "338d8f489811e92491ad6d86a96c76ac6056b6e178bb5caa412f73feff9b7d8f" => :el_capitan
sha256 "46a75949ef97e6cfa1e1996886ebd34e1446752600e9308ce904ead70386ac19" => :yosemite
sha256 "8d11ac9dc97c9f85f941ad6d684b3e2640795f02d02338562dd5e9a9da7f23f2" => :mavericks
end
head do
+5 -8
View File
@@ -1,16 +1,13 @@
class Gstreamer < Formula
desc "GStreamer is a development framework for multimedia applications"
homepage "http://gstreamer.freedesktop.org/"
url "http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.4.5.tar.xz"
mirror "http://ftp.osuosl.org/pub/blfs/svn/g/gstreamer-1.4.5.tar.xz"
sha256 "40801aa7f979024526258a0e94707ba42b8ab6f7d2206e56adbc4433155cb0ae"
url "https://download.gnome.org/sources/gstreamer/1.6/gstreamer-1.6.0.tar.xz"
sha256 "52ef885647afef11c8b7645a9afefe04aa09e8971c4b932e7717872ab8a30fcc"
bottle do
revision 2
sha256 "ef286655192a6ee7283fbb536465062e55d8f7627993adcc67152c1d3ec8ee85" => :el_capitan
sha256 "ac4e49623736041c7d8fdc981c155b7c40e12c17c0f7e04d2f32d2f0ee1b5ffb" => :yosemite
sha256 "2a91498326318c4de55ddb5eae47b3540bbda7ac44166899886e5cc1c2ad7fb2" => :mavericks
sha256 "b943636f153cc792c2d63e7ce68c4084d1ffff2987606e8ec95f1ef0a77cea82" => :mountain_lion
sha256 "6b75e4ba010fd85957d99abf356da19e4bb991031a5938bcd0c84e0e8ed25b8b" => :el_capitan
sha256 "370ba64ff63f4d80c445b317a0380afb91c92fd60b45dde385f9ff888975df87" => :yosemite
sha256 "32f9f7ee8a26494bac8ee4805b8a23569bbb2ab4cfd9779703d0be3ff772e0ae" => :mavericks
end
head do
+5 -3
View File
@@ -6,9 +6,10 @@ class Gstreamermm < Formula
bottle do
cellar :any
sha256 "e4e614f4c4e7fda7666eea57945aa93c11e973bf55b380801049fd86ec4c9184" => :yosemite
sha256 "d73102b9fff62852dacbdc56133d8ea076bd0ee98178f4130429027b7cfdca27" => :mavericks
sha256 "effafd4f64170919212081608852d5f116338c19f8a03073457b2122d2b5a7d1" => :mountain_lion
revision 1
sha256 "68ec9b15b33e8fdf3bf2a52d1ea1fb8798b8fdcae9d60870f1fc602a45fd570a" => :el_capitan
sha256 "f03b02c1e6a7fda7056007a9d4e0d5799d54fb8e587d6bdee85c0cb3ed1d0182" => :yosemite
sha256 "387e38811dde21973d36e13ab58960879f8d721c34349a31228da41bfddbdea8" => :mavericks
end
depends_on "pkg-config" => :build
@@ -56,6 +57,7 @@ class Gstreamermm < Formula
-I#{glibmm.opt_lib}/glibmm-2.4/include
-I#{gst_plugins_base.opt_include}/gstreamer-1.0
-I#{gstreamer.opt_include}/gstreamer-1.0
-I#{gstreamer.opt_lib}/gstreamer-1.0/include
-I#{include}/gstreamermm-1.0
-I#{libsigcxx.opt_include}/sigc++-2.0
-I#{libsigcxx.opt_lib}/sigc++-2.0/include
+1 -1
View File
@@ -4,7 +4,7 @@ class Guile < Formula
url "http://ftpmirror.gnu.org/guile/guile-2.0.11.tar.xz"
mirror "https://ftp.gnu.org/pub/gnu/guile/guile-2.0.11.tar.xz"
sha256 "aed0a4a6db4e310cbdfeb3613fa6f86fddc91ef624c1e3f8937a6304c69103e2"
revision 2
revision 3
bottle do
sha256 "d7e7ad8d491f84c1405b82ee8ef0da5b21f551b6a0f2795bae92e8bec2f19be2" => :el_capitan
+14 -2
View File
@@ -22,6 +22,12 @@ class Harfbuzz < Formula
option "with-cairo", "Build command-line utilities that depend on Cairo"
# ld64 is needed to lookup @loader_path/libicudata.*.dylib
depends_on :ld64
# the make binary shipped on Tiger cannot handle the gobject-introspection Makefiles
depends_on "make" => :build if MacOS.version < :leopard
depends_on "pkg-config" => :build
depends_on "glib"
depends_on "freetype"
@@ -30,6 +36,13 @@ class Harfbuzz < Formula
depends_on "cairo" => :optional
depends_on "graphite2" => :optional
# Fixes undefined constant on pre-10.6
# https://github.com/mistydemeo/tigerbrew/issues/388
patch do
url "https://git.gnome.org/browse/gtk-osx/plain/patches/harfbuzz-kCTTypesetterOptionForcedEmbeddingLevel-Leopard.patch"
sha256 "12b927a41d3e2983197a96d20a6776a911a7dcafc18135abf5f1148b96f180c0"
end if MacOS.version < :snow_leopard
resource "ttf" do
url "https://github.com/behdad/harfbuzz/raw/fc0daafab0336b847ac14682e581a8838f36a0bf/test/shaping/fonts/sha1sum/270b89df543a7e48e206a2d830c0e10e5265c630.ttf"
sha256 "9535d35dab9e002963eef56757c46881f6b3d3b27db24eefcc80929781856c77"
@@ -41,7 +54,6 @@ class Harfbuzz < Formula
--prefix=#{prefix}
--enable-introspection=yes
--with-gobject=yes
--with-coretext=yes
]
args << "--with-coretext=yes" if MacOS.version >= :leopard
@@ -52,7 +64,7 @@ class Harfbuzz < Formula
system "./autogen.sh" if build.head?
system "./configure", *args
system "make", "install"
make "install"
end
test do
+5 -11
View File
@@ -1,14 +1,16 @@
class HerokuToolbelt < Formula
desc "Everything you need to get started with Heroku"
homepage "https://toolbelt.heroku.com/other"
url "https://s3.amazonaws.com/assets.heroku.com/heroku-client/heroku-client-3.42.10.tgz"
sha256 "fb979a603e955bd5f6561ad2bb1b8e88bec2c57d844264671323690f770d76f4"
url "https://s3.amazonaws.com/assets.heroku.com/heroku-client/heroku-client-3.42.22.tgz"
sha256 "752e74b0ccf87d706a551c451f2e912fa0417397804b5ad5ea2edd9869e6a2f6"
head "https://github.com/heroku/heroku.git"
bottle :unneeded
depends_on :arch => :x86_64
depends_on :ruby => "1.9"
def install
inreplace 'bin/heroku', '/usr/bin/env ruby', Formula['ruby'].opt_bin/'ruby'
libexec.install Dir["*"]
# turn off autoupdates (off by default in HEAD)
if build.stable?
@@ -17,14 +19,6 @@ class HerokuToolbelt < Formula
bin.write_exec_script libexec/"bin/heroku"
end
def caveats
<<-EOS.undent
Unlike the standalone download for Heroku Toolbelt, the Homebrew package
does not come with Foreman. It is available via RubyGems, direct download,
and other installation methods. See https://ddollar.github.io/foreman/ for more info.
EOS
end
test do
system "#{bin}/heroku", "version"
end
Loaded 100 of 284 files, more files were not shown because too many files have changed in this diff. Show more