diff -N -u -r /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/qt4-creator-mac/Portfile ./Portfile
old
|
new
|
|
5 | 5 | PortGroup qt4 1.0 |
6 | 6 | |
7 | 7 | name qt4-creator-mac |
8 | | version 2.2.1 |
| 8 | version 2.5.1 |
9 | 9 | categories devel aqua |
10 | 10 | platforms darwin |
11 | 11 | maintainers mcalhoun openmaintainer |
… |
… |
|
18 | 18 | |
19 | 19 | use_zip yes |
20 | 20 | |
21 | | checksums md5 8a3165f7f68d4932c9a902452993099d \ |
22 | | sha1 6a369dffa7ee52ae068d9ebb3616e29d185a5009 \ |
23 | | rmd160 dc4b6d6306c770b0bcab3dbaf08cab19bc7c0100 |
| 21 | checksums md5 59468c9c7563dfb2eb867ccd468c7531 \ |
| 22 | sha1 d7fda8e5f2dd7ca1bc297a9d37f43ffd1730bcef \ |
| 23 | rmd160 2c069da0377fc8fb10a0cb950ae0a7a10b33ad51 |
24 | 24 | |
25 | 25 | # fix up QMake build files to remove debug and release building; |
26 | 26 | # specify that here instead. |
27 | 27 | patchfiles patch-remove_build_types.diff |
28 | 28 | |
29 | | # If QT specifies just the name of the compiler, Creator can find it. |
30 | | # qt4-mac, however, specifiles the full path of g++ in the form "QMAKE_CXX= /usr/bin/g++-*.*" |
31 | | # Creator thinks there is a space before the program name and can't find it. |
32 | | # See http://bugreports.qt.nokia.com/browse/QTCREATORBUG-4370 |
33 | | patchfiles-append patch-environment.cpp.diff |
34 | | |
35 | 29 | post-patch { |
36 | 30 | # remove arch from QMake build scripts |
37 | 31 | reinplace "/ppc/d" ${worksrcpath}/qtcreator.pri |
… |
… |
|
67 | 61 | |
68 | 62 | livecheck.type regex |
69 | 63 | livecheck.url http://get.qt.nokia.com/qtcreator/ |
70 | | # Qt Creator 2.0.* requires Qt 4.7 |
| 64 | # Qt Creator 2.* requires Qt 4.7 |
71 | 65 | livecheck.regex "qt-creator-(2.\[0-9.-\]+)-src.zip" |
72 | | #livecheck.regex "qt-creator-(1.\[0-9.-\]+)-src.zip" |
diff -N -u -r /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/qt4-creator-mac/files/patch-environment.cpp.diff ./files/patch-environment.cpp.diff
old
|
new
|
|
1 | | --- src/libs/utils/environment.cpp.orig 2011-06-24 14:31:54.000000000 -0500 |
2 | | +++ src/libs/utils/environment.cpp 2011-06-24 14:32:05.000000000 -0500 |
3 | | @@ -204,7 +204,7 @@ |
4 | | const QStringList &additionalDirs) const |
5 | | { |
6 | | foreach (const QString &executable, executables) { |
7 | | - QString exec = expandVariables(executable); |
8 | | + QString exec = expandVariables(executable.trimmed()); |
9 | | |
10 | | if (exec.isEmpty()) |
11 | | continue; |
diff -N -u -r /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/qt4-creator-mac/files/patch-remove_build_types.diff ./files/patch-remove_build_types.diff
old
|
new
|
|
21 | 21 | TARGET = $$qtLibraryTarget(qtcreatorwidgets) |
22 | 22 | TEMPLATE = lib |
23 | 23 | |
24 | | --- src/tools/qpatch/bootstrap.pri.orig 2010-11-12 10:05:03.000000000 -0500 |
25 | | +++ src/tools/qpatch/bootstrap.pri 2010-11-12 10:06:31.000000000 -0500 |
26 | | @@ -1,9 +1,5 @@ |
27 | | CONFIG += console qtinc |
28 | | CONFIG -= qt |
29 | | -build_all:!build_pass { |
30 | | - CONFIG -= build_all |
31 | | - CONFIG += release |
32 | | -} |
33 | | CONFIG -= app_bundle |
34 | | |
35 | | DEFINES += \ |
36 | 24 | --- src/plugins/debugger/dumper.pro.orig 2010-11-12 10:05:03.000000000 -0500 |
37 | 25 | +++ src/plugins/debugger/dumper.pro 2010-11-12 10:06:22.000000000 -0500 |
38 | | @@ -8,8 +8,6 @@ |
| 26 | @@ -7,8 +7,6 @@ |
39 | 27 | DESTDIR = $$IDE_LIBRARY_PATH # /tmp would be better in some respect ... |
40 | 28 | |
41 | 29 | linux-* { |
… |
… |
|
47 | 35 | --- src/libs/utils/process_stub.pro.orig 2010-11-12 10:05:03.000000000 -0500 |
48 | 36 | +++ src/libs/utils/process_stub.pro 2010-11-12 10:06:04.000000000 -0500 |
49 | 37 | @@ -7,11 +7,6 @@ |
50 | | CONFIG += warn_on console use_c_linker |
51 | | CONFIG -= qt app_bundle |
| 38 | TARGET = qtcreator_process_stub |
| 39 | DESTDIR = $$IDE_LIBEXEC_PATH |
52 | 40 | |
53 | 41 | -build_all:!build_pass { |
54 | 42 | - CONFIG -= build_all |
… |
… |
|
66 | 54 | TARGET = $$qtLibraryTarget(@PLUGIN_NAME@) |
67 | 55 | TEMPLATE = lib |
68 | 56 | |
69 | | --- share/qtcreator/gdbmacros/gdbmacros.pro.orig 2010-11-12 10:05:03.000000000 -0500 |
70 | | +++ share/qtcreator/gdbmacros/gdbmacros.pro 2010-11-12 10:05:43.000000000 -0500 |
| 57 | --- share/qtcreator/dumper/dumper.pro.orig 2012-08-07 18:32:31.000000000 +0200 |
| 58 | +++ share/qtcreator/dumper/dumper.pro 2012-08-07 18:33:11.000000000 +0200 |
71 | 59 | @@ -1,9 +1,5 @@ |
72 | 60 | TEMPLATE = lib |
73 | 61 | CONFIG += shared |
… |
… |
|
75 | 63 | - CONFIG -= release |
76 | 64 | - CONFIG += debug |
77 | 65 | -} |
78 | | SOURCES = gdbmacros.cpp |
79 | | false { |
80 | | DEFINES += USE_QT_GUI=0 |
| 66 | |
| 67 | HEADERS += dumper.h |
| 68 | SOURCES = dumper.cpp |