Commit Graph

79 Commits (0daf704046f05afdaf6889c976e44cc79f91e5a6)

Author SHA1 Message Date
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
Mike McQuaid 4f04daf3cb Add X11 check to Qt. 2011-04-05 23:33:32 +01:00
Mike McQuaid d4d92e4828 Fix Qt X11 changes indentation. Sorry, vim sucks! 2011-04-05 09:00:22 +01:00
Mike McQuaid 0b4d276138 Don't need to use libpng with Qt, require X11. 2011-04-05 08:56:25 +01:00
Mike McQuaid 5416f1d4ad Add upstream Qt official security patch. 2011-03-30 18:56:29 +01:00
Adam Vandenberg 7689fb8fd2 Replace snow_leopard_64? in brews. 2011-03-18 10:30:47 -07:00
Adam Vandenberg 4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Mike McQuaid fba184be6f qt: don't link to d-bus, load at runtime. 2011-03-01 22:38:40 +00:00
Mike McQuaid e697ccb781 Update Qt to 4.7.2. 2011-03-01 22:38:39 +00:00
Mike McQuaid 8226cf3693 Add debug-and-release and universal options to Qt. 2011-02-12 11:27:28 +00:00
Mike McQuaid 94bc7c1aef Add -fvisibility=hidden to Qt's CXXFLAGS for KDE. 2011-02-12 11:27:28 +00:00
Mike McQuaid aa37134275 Fix outdated Qt patch location. 2010-12-22 19:09:26 +00:00
Tianyi Cui 8b275c916a Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Mike McQuaid 15889bbabc Fix Qt on SSE4.1-only machines.
Fixes https://github.com/mxcl/homebrew/issues/issue/3163 and applies
to http://bugreports.qt.nokia.com/browse/QTBUG-13623.
2010-11-18 06:00:08 +00:00
Mike McQuaid 79e299cb93 Add option to build Qt demos and examples.
I actually end up using these quite often so I thought I'd add them.
2010-11-18 06:00:08 +00:00
Mike McQuaid 9c397c7f49 Update Qt to version 4.7.1. 2010-11-09 21:27:03 -08:00
Mike McQuaid 78d5393b6f Update Qt to 4.7.0.
Assistant_adp is no longer bundled so we don't need to delete it.
The buildsystem is broken (again) so we run "make" before "make
install" now. Shouldn't slow things down too much.
2010-10-03 22:26:14 +01:00