283 Commits
Author SHA1 Message Date
Misty De Meo 8efe2d0f8b Import openssh from homebrew-core 2017-05-08 21:45:44 -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
237 changed files with 4283 additions and 946 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"
# 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
+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"
+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
+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"
+17 -7
View File
@@ -1,15 +1,15 @@
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://ftpmirror.gnu.org/coreutils/coreutils-8.25.tar.xz"
mirror "https://ftp.gnu.org/gnu/coreutils/coreutils-8.25.tar.xz"
sha256 "31e67c057a5b32a582f26408c789e11c2e8d676593324849dcf5779296cdce87"
bottle do
sha256 "982576be0136e46016643da0efdb44e3ab201263b2a43433448821c19fb9edd4" => :el_capitan
sha256 "142edfec5f84958bdb27866e3a826f9b580a4ae07bfd805c766ab6a9a368e34f" => :yosemite
sha256 "851e007f3edaa58fc00d9c67aeed2ab5a8b9a1bad608dc3e5d76732cc35c593f" => :mavericks
sha256 "32ef44141d7dff2995ea0a692a3861ee9049a37a1254a3978c7dc8283c258476" => :mountain_lion
sha256 "1714a4893ba37f9fb1a908e5bd79e45594034daa3ff08d8273713030498d5c1b" => :sierra
sha256 "3b278ce91252784e43d2f16fc813e72a7bd04e637627bf2916c9f847ef600d89" => :el_capitan
sha256 "dadb2d672a6b412d03b2470459d0ccb229bf7aa1c587b04809e7f19a439a640e" => :yosemite
sha256 "1b68974d496006908a2f538a6a7e35b3bee7eba2247afec4e1568b28d0d83c5c" => :mavericks
end
conflicts_with "ganglia", :because => "both install `gstat` binaries"
@@ -31,6 +31,16 @@ class Coreutils < Formula
depends_on "gmp" => :optional
def install
# 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
if MacOS.version == :el_capitan
ENV["gl_cv_func_getcwd_abort_bug"] = "no"
end
system "./bootstrap" if build.head?
args = %W[
--prefix=#{prefix}
+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
+10 -8
View File
@@ -1,19 +1,21 @@
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"
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
+18 -14
View File
@@ -1,15 +1,15 @@
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"
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 +42,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 +67,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 +96,7 @@ class Curl < Formula
system "./configure", *args
system "make", "install"
libexec.install "lib/mk-ca-bundle.pl"
end
test do
@@ -105,5 +105,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:
+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"
+2
View File
@@ -14,7 +14,9 @@ class Fish < Formula
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
def install
+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
+14
View File
@@ -71,6 +71,20 @@ class Gcc < Formula
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64089
patch :DATA
# Fix build with make 3.80
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66947
patch do
url "https://gist.githubusercontent.com/mistydemeo/f5508247c1171edcbddcd95671137bdb/raw/249976f5b22ace26f2373f6fad12c0a1c0e22df4/libgcc-fix-make380.patch"
sha256 "fc5b45bb2771a6b35b0283412a50d7cb13ae982ed5607b27232a976a48078134"
end
# 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/anonymous/c0eff2ff4bfbf555505968e21311a38f/raw/39e96539676556e87c7461a382b73088c0b5ba28/-"
sha256 "c10779e463fe3c77c574225083a9f7a12638f6b0cb278e8c3d6c40bf9d9c2762"
end
def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
+193
View File
@@ -0,0 +1,193 @@
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
# 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"
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
# Flags for Clang compatibility
make_flags = 'BOOT_CFLAGS="$BOOT_CFLAGS -D_FORTIFY_SOURCE=0" STAGE1_CFLAGS="$STAGE1_CFLAGS -std=gnu89 -D_FORTIFY_SOURCE=0 -fkeep-inline-functions"'
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", make_flags, "profiledbootstrap"
else
system "make", make_flags, "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
+222
View File
@@ -0,0 +1,222 @@
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"
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
# 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
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
+215
View File
@@ -0,0 +1,215 @@
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"
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
+213
View File
@@ -0,0 +1,213 @@
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 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"
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
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
+232
View File
@@ -0,0 +1,232 @@
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"
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
+205
View File
@@ -0,0 +1,205 @@
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"
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
+210
View File
@@ -0,0 +1,210 @@
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"
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)
+214
View File
@@ -0,0 +1,214 @@
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"
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 > :tiger
# 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
+1 -1
View File
@@ -23,7 +23,7 @@ class Gmp < Formula
ENV.cxx11 if build.cxx11?
args = ["--prefix=#{prefix}", "--enable-cxx"]
if build.build_32_bit?
if build.build_32_bit? || !MacOS.prefer_64_bit?
ENV.m32
args << "ABI=32"
end
+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
+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
+1
View File
@@ -3,6 +3,7 @@ class Hh < Formula
homepage "https://github.com/dvorka/hstr"
url "https://github.com/dvorka/hstr/releases/download/1.17/hh-1.17-src.tgz"
sha256 "68eae9ecb022d3f492b85e1479d9b81e3b47b568b7714fd35e4e0fca50234c6e"
revision 1
bottle do
cellar :any
+5 -7
View File
@@ -1,18 +1,16 @@
class Hiredis < Formula
desc "Minimalistic client for Redis"
homepage "https://github.com/redis/hiredis"
url "https://github.com/redis/hiredis/archive/v0.13.1.tar.gz"
sha256 "8865105e15331156a74b64aafbfd3f8c784a8375e003a55512dcca3d82168487"
url "https://github.com/redis/hiredis/archive/v0.13.3.tar.gz"
sha256 "717e6fc8dc2819bef522deaca516de9e51b9dfa68fe393b7db5c3b6079196f78"
head "https://github.com/redis/hiredis.git"
bottle do
cellar :any
revision 1
sha256 "811867ba0865d4718d23f7539de8615c713aa8e6d0a719b3a2a2f35705e11caf" => :el_capitan
sha256 "0574fa67843dfe0070123d2bf60a7087701f90195b46ad2d7e7b9f9da321d4d7" => :yosemite
sha256 "832daedc5036ef20e9cf166ce3817ec2a5da8b0b0808b39e6911154550bb59c7" => :mavericks
sha256 "ab30e930930d581ae6e86b6a0440692c152004915e14d066f16edc029f9aad6d" => :mountain_lion
sha256 "9c5dd3b595179560b3a22c685b87b32466edbfaea059659c72399e6b8c86b181" => :el_capitan
sha256 "f038cdff672abde1099b34daac067172cf9545e04b49248f6a580732d242183d" => :yosemite
sha256 "70fed127330cd583478cef89d89d34af112b60e5341cc7f42aa5d06f4b9575ce" => :mavericks
end
def install
+93
View File
@@ -15,6 +15,9 @@ class HtopOsx < Formula
depends_on "automake" => :build
depends_on "libtool" => :build
# Tiger does not have backtrace nor the 64-bits compatible kernel APIs
patch :DATA if MacOS.version < :leopard
def install
# Otherwise htop will segfault when resizing the terminal
ENV.no_optimization if ENV.compiler == :clang
@@ -37,3 +40,93 @@ class HtopOsx < Formula
assert $?.success?
end
end
__END__
diff --git a/CRT.c b/CRT.c
index b1f60a0..f3f26f0 100644
--- a/CRT.c
+++ b/CRT.c
@@ -127,13 +127,8 @@ int CRT_colors[LAST_COLORELEMENT] = { 0 };
char* CRT_termType;
static void CRT_handleSIGSEGV(int signal) {
- void *array[10];
- size_t size;
- size = backtrace(array, 10);
-
CRT_done();
fprintf(stderr, "htop " VERSION " aborted. Please report bug at http://htop.sf.net\n");
- backtrace_symbols_fd(array, size, STDERR_FILENO);
exit(1);
}
diff --git a/ProcessList.c b/ProcessList.c
index 0f4ebf3..ea7b191 100644
--- a/ProcessList.c
+++ b/ProcessList.c
@@ -737,12 +737,9 @@ ProcessList_decodeState( int st ) {
static bool
ProcessList_getSwap( ProcessList * this ) {
struct xsw_usage swap;
- size_t bufSize = 0;
+ size_t bufSize = sizeof( swap );
int mib[2] = { CTL_VM, VM_SWAPUSAGE };
- if ( sysctl( mib, 2, NULL, &bufSize, NULL, 0 ) < 0 )
- die( "Failure calling sysctl" );
-
if ( sysctl( mib, 2, &swap, &bufSize, NULL, 0 ) < 0 )
die( "Failure calling sysctl" );
diff --git a/smc.c b/smc.c
index 058c809..5c6d432 100644
--- a/smc.c
+++ b/smc.c
@@ -160,39 +160,15 @@ SMCCall(int index, SMCParamStruct* input, SMCParamStruct* output)
if (conn == 0 && (result = SMCOpen()) != 0)
return result;
- result = IOConnectCallMethod(
- conn,
- kSMCUserClientOpen,
- NULL,
- 0,
- NULL,
- 0,
- NULL,
- NULL,
- NULL,
- NULL);
- if (kIOReturnSuccess != result)
- return result;
-
size_t outSize = sizeof(SMCParamStruct);
- result = IOConnectCallStructMethod(
- conn,
- index,
- input,
- sizeof(SMCParamStruct),
- output,
- &outSize);
- IOConnectCallMethod(
- conn,
- kSMCUserClientClose,
- NULL,
- 0,
- NULL,
- 0,
- NULL,
- NULL,
- NULL,
- NULL);
+ result = IOConnectMethodStructureIStructureO(
+ conn,
+ index,
+ sizeof(SMCParamStruct),
+ &outSize,
+ input,
+ output);
+
return result;
}
+1
View File
@@ -3,6 +3,7 @@ class Hunspell < Formula
homepage "http://hunspell.sourceforge.net/"
url "https://downloads.sourceforge.net/hunspell/hunspell-1.3.3.tar.gz"
sha256 "a7b2c0de0e2ce17426821dc1ac8eb115029959b3ada9d80a81739fa19373246c"
revision 1
depends_on "readline"
+50 -4
View File
@@ -22,10 +22,9 @@ class Icu4c < Formula
option :universal
option :cxx11
def patches
# patch submitted upstream: http://bugs.icu-project.org/trac/ticket/9367
DATA
end if MacOS.version < :leopard
# patch submitted upstream: http://bugs.icu-project.org/trac/ticket/9367
# See also https://github.com/mistydemeo/tigerbrew/pull/467
patch :DATA if MacOS.version < :leopard
def install
ENV.universal_binary if build.universal?
@@ -67,4 +66,51 @@ index 01b0683..69d89d8 100644
* Only include langinfo.h if we have a way to get the codeset. If we later
* depend on more feature, we can test on U_HAVE_NL_LANGINFO.
*
diff --git a/source/tools/toolutil/pkg_genc.c b/source/tools/toolutil/pkg_genc.c
index 3096db8..9a4fa21 100644
--- a/source/tools/toolutil/pkg_genc.c
+++ b/source/tools/toolutil/pkg_genc.c
@@ -113,13 +113,13 @@ static const struct AssemblyType {
int8_t hexType; /* HEX_0X or HEX_0h */
} assemblyHeader[] = {
/* For gcc assemblers, the meaning of .align changes depending on the */
- /* hardware, so we use .balign 16 which always means 16 bytes. */
+ /* hardware, so we use .p2align 4 which always means 16 bytes. */
/* https://sourceware.org/binutils/docs/as/Pseudo-Ops.html */
{"gcc",
".globl %s\n"
"\t.section .note.GNU-stack,\"\",%%progbits\n"
"\t.section .rodata\n"
- "\t.balign 16\n"
+ "\t.p2align 4\n"
"#ifdef U_HIDE_DATA_SYMBOL\n"
"\t.hidden %s\n"
"#endif\n"
@@ -137,7 +137,7 @@ static const struct AssemblyType {
"#endif\n"
"\t.data\n"
"\t.const\n"
- "\t.balign 16\n"
+ "\t.p2align 4\n"
"_%s:\n\n",
".long ","",HEX_0X
@@ -145,7 +145,7 @@ static const struct AssemblyType {
{"gcc-cygwin",
".globl _%s\n"
"\t.section .rodata\n"
- "\t.balign 16\n"
+ "\t.p2align 4\n"
"_%s:\n\n",
".long ","",HEX_0X
@@ -153,7 +153,7 @@ static const struct AssemblyType {
{"gcc-mingw64",
".globl %s\n"
"\t.section .rodata\n"
- "\t.balign 16\n"
+ "\t.p2align 4\n"
"%s:\n\n",
".long ","",HEX_0X
+67 -45
View File
@@ -1,34 +1,39 @@
class Imagemagick < Formula
desc "Tools and libraries to manipulate images in many formats"
homepage "http://www.imagemagick.org"
url "http://www.imagemagick.org/download/releases/ImageMagick-6.9.1-10.tar.xz"
mirror "http://ftp.nluug.nl/ImageMagick/ImageMagick-6.9.1-10.tar.xz"
sha256 "22565464059376513869b6626982e0726a33788ccc7e19a08e55ff1683d4ff92"
homepage "https://www.imagemagick.org/"
# Please always keep the Homebrew mirror as the primary URL as the
# ImageMagick site removes tarballs regularly which means we get issues
# unnecessarily and older versions of the formula are broken.
url "https://dl.bintray.com/homebrew/mirror/imagemagick-6.9.6-2.tar.xz"
mirror "https://www.imagemagick.org/download/ImageMagick-6.9.6-2.tar.xz"
sha256 "39244823fe736626fb4ea22c4b6cb4cae30c6a27a38a02ecd774f0ce3c4d308d"
head "http://git.imagemagick.org/repos/ImageMagick.git"
bottle do
sha256 "c3bbc81bb72cd5a4ae9fbfd28f1c6c840806d08a5b2c5b4410ca7e039fcde7cc" => :tiger_altivec
sha256 "943622183cb8895668adbe814b67d8230dacc0c4c01f1fe362aa9e79308d7fc0" => :leopard_g3
sha256 "9d3c6164a22811d715a938c27d88106100a25d145c68d8699e6684409735f5b6" => :leopard_altivec
sha256 "2f8807e39abcf51a2ce1e7f0986d67091155f977731662d3d5e197f09cc0364d" => :sierra
sha256 "1a6eff5a1d0039026c1c705e0f6e509b7dde593a20f24ae741a7c95b50824faf" => :el_capitan
sha256 "eb35a6b40371b5ee8970648f81c6956d6bbbc72872efe640d33a931a7ed297ee" => :yosemite
end
deprecated_option "enable-hdri" => "with-hdri"
option "with-fftw", "Compile with FFTW support"
option "with-hdri", "Compile with HDRI support"
option "with-jp2", "Compile with Jpeg2000 support"
option "with-opencl", "Compile with OpenCL support"
option "with-openmp", "Compile with OpenMP support"
option "with-perl", "enable build/install of PerlMagick"
option "with-perl", "Compile with PerlMagick"
option "with-quantum-depth-8", "Compile with a quantum depth of 8 bit"
option "with-quantum-depth-16", "Compile with a quantum depth of 16 bit"
option "with-quantum-depth-32", "Compile with a quantum depth of 32 bit"
option "without-opencl", "Disable OpenCL"
option "without-magick-plus-plus", "disable build/install of Magick++"
option "without-modules", "Disable support for dynamically loadable modules"
option "without-threads", "Disable threads support"
option "with-zero-configuration", "Disables depending on XML configuration files"
deprecated_option "enable-hdri" => "with-hdri"
deprecated_option "with-jp2" => "with-openjpeg"
depends_on "xz"
depends_on "libtool" => :run
depends_on "pkg-config" => :build
depends_on "libtool" => :run
depends_on "xz"
depends_on "jpeg" => :recommended
depends_on "libpng" => :recommended
@@ -45,10 +50,11 @@ class Imagemagick < Formula
depends_on "openexr" => :optional
depends_on "ghostscript" => :optional
depends_on "webp" => :optional
depends_on "homebrew/versions/openjpeg21" if build.with? "jp2"
depends_on "openjpeg" => :optional
depends_on "fftw" => :optional
depends_on "pango" => :optional
depends_on "homebrew/dupes/zlib" if MacOS.version < :snow_leopard # for PNG support
depends_on "perl" => ["5.5", :optional]
depends_on "zlib" if MacOS.version < :snow_leopard # for PNG support
needs :openmp if build.with? "openmp"
@@ -61,44 +67,61 @@ class Imagemagick < Formula
--disable-dependency-tracking
--disable-silent-rules
--enable-shared
--disable-static
--with-modules
--enable-static
]
if build.without? "modules"
args << "--without-modules"
else
args << "--with-modules"
end
if build.with? "opencl"
args << "--enable-opencl"
else
args << "--disable-opencl"
end
if build.with? "openmp"
args << "--enable-openmp"
else
args << "--disable-openmp"
end
args << "--disable-opencl" if build.without? "opencl"
args << "--without-gslib" if build.without? "ghostscript"
args << "--without-perl" if build.without? "perl"
args << "--with-gs-font-dir=#{HOMEBREW_PREFIX}/share/ghostscript/fonts" if build.without? "ghostscript"
args << "--without-magick-plus-plus" if build.without? "magick-plus-plus"
args << "--enable-hdri=yes" if build.with? "hdri"
args << "--enable-fftw=yes" if build.with? "fftw"
args << "--without-pango" if build.without? "pango"
if build.with? "quantum-depth-32"
quantum_depth = 32
elsif build.with? "quantum-depth-16"
quantum_depth = 16
elsif build.with? "quantum-depth-8"
quantum_depth = 8
if build.with? "webp"
args << "--with-webp=yes"
else
args << "--without-webp"
end
if build.with? "jp2"
if build.with? "openjpeg"
args << "--with-openjp2"
else
args << "--without-openjp2"
end
args << "--with-quantum-depth=#{quantum_depth}" if quantum_depth
args << "--without-gslib" if build.without? "ghostscript"
args << "--with-perl" << "--with-perl-options='PREFIX=#{prefix}'" if build.with? "perl"
args << "--with-gs-font-dir=#{HOMEBREW_PREFIX}/share/ghostscript/fonts" if build.without? "ghostscript"
args << "--without-magick-plus-plus" if build.without? "magick-plus-plus"
args << "--enable-hdri=yes" if build.with? "hdri"
args << "--without-fftw" if build.without? "fftw"
args << "--without-pango" if build.without? "pango"
args << "--without-threads" if build.without? "threads"
args << "--with-rsvg" if build.with? "librsvg"
args << "--without-x" if build.without? "x11"
args << "--with-fontconfig=yes" if build.with? "fontconfig"
args << "--with-freetype=yes" if build.with? "freetype"
args << "--with-webp=yes" if build.with? "webp"
args << "--enable-zero-configuration" if build.with? "zero-configuration"
if build.with? "quantum-depth-32"
quantum_depth = 32
elsif build.with?("quantum-depth-16") || build.with?("perl")
quantum_depth = 16
elsif build.with? "quantum-depth-8"
quantum_depth = 8
end
args << "--with-quantum-depth=#{quantum_depth}" if quantum_depth
# versioned stuff in main tree is pointless for us
inreplace "configure", "${PACKAGE_NAME}-${PACKAGE_VERSION}", "${PACKAGE_NAME}"
@@ -108,19 +131,18 @@ class Imagemagick < Formula
def caveats
s = <<-EOS.undent
For full Perl support you must install the Image::Magick module from the CPAN.
https://metacpan.org/module/Image::Magick
The version of the Perl module and ImageMagick itself need to be kept in sync.
If you upgrade one, you must upgrade the other.
For this version of ImageMagick you should install
version #{version} of the Image::Magick Perl module.
For full Perl support you may need to adjust your PERL5LIB variable:
export PERL5LIB="#{HOMEBREW_PREFIX}/lib/perl5/site_perl":$PERL5LIB
EOS
s if build.with? "perl"
end
test do
system "#{bin}/identify", test_fixtures("test.png")
assert_match "PNG", shell_output("#{bin}/identify #{test_fixtures("test.png")}")
# Check support for recommended features and delegates.
features = shell_output("#{bin}/convert -version")
%w[Modules freetype jpeg png tiff].each do |feature|
assert_match feature, features
end
end
end
-46
View File
@@ -1,46 +0,0 @@
class Iojs < Formula
desc "npm-compatible platform based on Node.js"
homepage "https://iojs.org/"
url "https://iojs.org/dist/v3.3.1/iojs-v3.3.1.tar.xz"
sha256 "c5b1a7117b75dca563f66c35ee65db6fc43e25a3756608ad2c4d60087314bd36"
bottle do
sha256 "11365cb0ea6f2317c7ebde018b43d34afd1be5d634ed4c3e63cd86beec733abb" => :el_capitan
sha256 "9828d8b1b974f14a4b88c6b9f0eebb6d01d4f5fb1fe84496020e432447f67b7a" => :yosemite
sha256 "1e59ce95f7d637ce63bab8da4a5bc8066917e20f9ba3200d658518ca23c85b8c" => :mavericks
end
keg_only "iojs conflicts with node (which is currently more established)"
option "with-debug", "Build with debugger hooks"
option "with-icu4c", "Build with Intl (icu4c) support"
depends_on "pkg-config" => :build
depends_on "icu4c" => :optional
depends_on :python => :build if MacOS.version <= :snow_leopard
def install
args = %W[--prefix=#{prefix} --without-npm]
args << "--debug" if build.with? "debug"
args << "--with-intl=system-icu" if build.with? "icu4c"
system "./configure", *args
system "make", "install"
end
def caveats; <<-EOS.undent
iojs was installed without npm.
iojs currently requires a patched npm (i.e. not the npm installed by node).
EOS
end
test do
path = testpath/"test.js"
path.write "console.log('hello');"
output = `#{bin}/iojs #{path}`.strip
assert_equal "hello", output
assert_equal 0, $?.exitstatus
end
end
+2 -1
View File
@@ -21,7 +21,8 @@ class Jbig2dec < Formula
# http://bugs.ghostscript.com/show_bug.cgi?id=695890
# Remove on next release.
patch do
url "http://git.ghostscript.com/?p=jbig2dec.git;a=commitdiff_plain;h=70c7f1967f43a94f9f0d6808d6ab5700a120d2fc"
# Original URL: http://git.ghostscript.com/?p=jbig2dec.git;a=commitdiff_plain;h=70c7f1967f43a94f9f0d6808d6ab5700a120d2fc
url "https://raw.githubusercontent.com/Homebrew/formula-patches/7dc28b82/jbig2dec/bug-695890.patch"
sha256 "5239e4eb991f198d2ba30d08011c2887599b5cead9db8b1d3eacec4b8912c2d0"
end
Loaded 100 of 237 files, more files were not shown because too many files have changed in this diff. Show more