Commit graph

95 commits

Author SHA1 Message Date
Mike McQuaid
a7d805e50a qt: Fix X11 libpng inclusion.
Fixes Homebrew/homebrew#15568.
2012-10-20 19:16:26 +01:00
Mike McQuaid
86bb13217a qt: depend on libpng.
Fixes Homebrew/homebrew#15450.
2012-10-14 13:16:36 +01:00
Mike McQuaid
e34352563e qt: fix lion bottle checksum. 2012-09-23 17:37:39 +01:00
Richard Petri
657d7ff1e3 qt: enable pch build with clang.
Closes Homebrew/homebrew#15050.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-09-22 12:09:13 +01:00
Mike McQuaid
7e8b27a76c qt 4.8.3 2012-09-22 10:46:39 +01:00
Adam Vandenberg
1ac62dbfdc qt: use std env 2012-09-14 11:33:59 -07:00
Randy Thiemann
3840a2346c qt: fix typo
Closes Homebrew/homebrew#14856.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-11 14:14:53 -05:00
Jack Nagel
53473b6bf5 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Jack Nagel
c3482c065c qt: fix checksum
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-03 22:30:18 -05:00
Mike McQuaid
88779ade49 Batch convert MD5 formula to SHA1.
Closes Homebrew/homebrew#14653.
2012-09-03 11:36:42 -07:00
Jack Nagel
fd46952b6b qt: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-13 16:04:30 -05:00
Mike McQuaid
0b5d77b407 Qt: update comment with upstream patch status. 2012-07-30 20:44:50 +01:00
Mike McQuaid
e4ab5cfcb9 Qt: Fix Webkit and upstream patch.
Fixes Homebrew/homebrew#13368. Fixes Homebrew/homebrew#13640.
2012-07-27 15:34:41 +01:00
Mike McQuaid
b7af078c51 Qt: Fix on Mountain Lion but disable QtWebKit.
Partial fix for Homebrew/homebrew#13368.
2012-07-26 21:06:57 +01:00
Jack Nagel
d6e8244287 Update formulae for XQuartz compatibility 2012-07-01 12:41:00 -05:00
brendanhowell
d015374250 Fixes Qt compilation on 10.5
Fixes Homebrew/homebrew#12438.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-29 10:57:38 -07:00
nibbles 2bits
db9d8c9492 qt: add --developer-build option
Qt4 has a configure option, `--developer-build` that compiles and
links Qt with Qt developer options.  This feature was requested
in an issue.  Add that as a user install option.  This has no
affect on the bottles, which can remain unchanged.  This compiles
without error on Lion using llvm-gcc from XCode-4.3.2.

Closes Homebrew/homebrew#12284.
Closes Homebrew/homebrew#12595.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-06-05 09:56:27 -07:00
Mike McQuaid
c80ee57399 Qt 4.8.2. 2012-05-22 15:01:49 +01:00
Jack Nagel
63cde03be4 Fix more quoting issues
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 17:08:57 -05:00
Jack Nagel
5bd598db36 Use ENV shortcut methods where applicable
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 14:03:12 -05:00
Mike McQuaid
5766b9186c Update Qt bottle to fix warnings. 2012-04-29 15:56:30 +10:00
Mike McQuaid
b7c47c0be5 Fix Qt installation warnings.
PRL files are necessary in lib so whitelist them.

Debian installs them too:
http://packages.debian.org/squeeze/amd64/libqt4-dev/filelist
2012-04-16 16:46:39 +10:00
Misty De Meo
71734effc7 qt: add Snow Leopard bottle 2012-04-10 08:56:33 -05:00
Mike McQuaid
257f0d7b0e Qt 4.8.1
Fixes Homebrew/homebrew#11406.
2012-04-04 15:58:55 +10:00
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Mike McQuaid
333e6e3605 Add test to Qt. 2012-03-29 17:31:07 +11:00
quarnster
6dff73650e Fix Qt sometimes unintentionally using LLVM.
Moved setting ENV['LD'] = ENV['CXX'] to after ENV.llvm is (possibly) set. Otherwise ENV['LD'] might end up as llvm-gcc rather than the expected CXX version. Verified that this fixed the issue I had installing QT on my machine. Fixes issue Homebrew/homebrew#11202. See also Homebrew/homebrew#11198.

By the comment above where ENV.llvm is set, maybe it was supposed to be using clang rather than llvm-gcc though because my Xcode is 3.2.6. clang is "Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)", and llvm-gcc is "i686-apple-darwin10-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)".

In any case, moving these two lines made it compile and install fine on my system.

Fixes Homebrew/homebrew#11261, Homebrew/homebrew#11202, Homebrew/homebrew#11198.
2012-03-29 17:30:46 +11:00
Mike McQuaid
87c4eeab91 Add Xcode 4 fix patch to Qt.
Fixes Homebrew/homebrew#10475.
2012-03-29 17:28:58 +11:00
Jamie Kirkpatrick
f7245e7c28 Force GCC-LLVM when compiling with the Xcode 4.3+ developer tools
Closes Homebrew/homebrew#10519.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-02-27 09:55:13 +00:00
Adam Vandenberg
1ed5c4d17f Fix QT
Pathname.glob returns Pathnames, so is not interchangable
with dir.
2012-02-26 07:31:21 -08:00
Adam Vandenberg
fb5977f181 Add "require hardware" to formula.rb
Now individual formulae don't need to require this if they want to use
Hardware methods outside of `def install`.
2012-02-25 15:22:32 -08:00
Adam Vandenberg
da3fdbd0cf Use "cd" instead of "Dir.chdir"
* And "mkdir" isntead of "Dir.mkdir"
* And "Dir[]" instead of "Dir.glob"
* Also style fixes and nitpicks
2012-02-24 21:35:50 -08:00
Misty De Meo
2f03f781da Add devel to the DSL, + stable and bottle blocks
This commit adds a `devel` entry to the DSL, allowing formulae to
specify an unstable branch.

`devel` takes a block, which should contain standard `url` and `md5`
fields (and `version`, if necessary). This must come after the standard
DSL fields.

This commit also migrates over all formulae currently using `devel` to
the new syntax, as well as formulae which used `head` for non-VCS urls.

The new syntax is also available for `stable` and `bottle`. `stable` is
an option alongside the old syntax. `bottle` replaces the old syntax.

Note that the @stable ivar in Formula has been renamed to @standard,
and the @bottle ivar has been renamed to @bottle_url.

Closes Homebrew/homebrew#9735.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-25 21:45:19 -06:00
Mike McQuaid
005981df57 Add upstreamed patch to Qt. 2012-01-18 00:14:00 +00:00
Mike McQuaid
9068fc47b3 Update qt bottle. 2012-01-16 22:13:02 +00:00
Mike McQuaid
ef7482622d Qt 4.8.0. 2011-12-17 10:20:31 +00:00
Stefan Schüßler
fecfd046bc Qt: fix webkit issue
Fix for https://github.com/thoughtbot/capybara-webkit/issues/18

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-29 21:48:13 -08:00
Jack Nagel
8c7c928427 Qt: update md5 checksum
The upstream tarball for Qt was "stealth-updated", for details see this
MacPorts ticket: https://trac.macports.org/ticket/31252

Closes Homebrew/homebrew#7618.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-14 15:07:21 -05:00
Mike McQuaid
65529cc04c Add Qt 4.7.4. 2011-09-06 14:34:24 +01:00
Mike McQuaid
529dd3c08a Fix Qt on Lion and update bottle. 2011-07-28 14:36:34 +01:00
Adam Vandenberg
2eab58fe7f Qt: edit caveats 2011-07-26 07:30:15 -07:00
Charlie Sharpsteen
d84be9490e Qt: Link Framework header folders into include
So programs that rely on `pkg-config <some Qt module> --cflags` will work.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-26 07:30:04 -07:00
Mike McQuaid
258a2d5db2 Fix Qt compilation on Lion.
Closes Homebrew/homebrew#5566.
2011-07-21 10:59:06 -04:00
Mike McQuaid
89229ba421 Add bottles to Qt's and Boost's formulae. 2011-06-25 11:51:36 +01:00
Josep Jaume Rey
a0ed44e884 qt: add head
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-05 20:57:07 -07:00
Mike McQuaid
3a230916b2 Add debug symbol lookup fix to Qt. 2011-05-08 20:22:57 +01:00
Mike McQuaid
91d696b0e1 Update Qt to 4.7.3. 2011-05-04 14:05:31 +01:00
Adam Vandenberg
1f31751977 Use ARGV.build_universal? 2011-04-23 08:36:47 -07:00
Michael Lapinsky
d79ee8d163 Changed X11R6 paths to X11
Fixed formulas referencing X11 via the X11R6 symlink to instead reference the
path X11 should be at directly (in case the user doesn't have that symlink,
like I didn't)

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-04-18 10:34:13 -07:00
Adam Vandenberg
121e4f8614 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00