Changes 4.7.2: This is a maintenance release which contains bug-fixes based on feedback and contributions since the Qt 4.7.1 release back in November. It also marks the official release of Qt Quick. Qt Quick is a new feature within Qt that makes it easy to create light-weight apps and UIs. It contains the new QML language, the Qt Declarative module, and new tooling in Qt Creator to easily build apps. PkgSrc: now builds with Clang.diff -r1.23 -r1.24 pkgsrc/x11/qt4/Makefile.common
(adam)
@@ -1,10 +1,10 @@ | @@ -1,10 +1,10 @@ | |||
1 | # $NetBSD: Makefile.common,v 1.23 2010/11/15 13:05:44 adam Exp $ | 1 | # $NetBSD: Makefile.common,v 1.24 2011/03/03 05:50:03 adam Exp $ | |
2 | # used by x11/qt4-libs/Makefile.common | 2 | # used by x11/qt4-libs/Makefile.common | |
3 | # used by x11/qt4-tools/Makefile | 3 | # used by x11/qt4-tools/Makefile | |
4 | 4 | |||
5 | QTVERSION= 4.7.1 | 5 | QTVERSION= 4.7.2 | |
6 | 6 | |||
7 | MAINTAINER?= pkgsrc-users@NetBSD.org | 7 | MAINTAINER?= pkgsrc-users@NetBSD.org | |
8 | HOMEPAGE= http://qt.nokia.com/ | 8 | HOMEPAGE= http://qt.nokia.com/ | |
9 | 9 | |||
10 | LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v3 | 10 | LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v3 |
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.13 2011/01/13 13:40:03 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.14 2011/03/03 05:50:04 adam Exp $ | |
2 | 2 | |||
3 | PKG_DESTDIR_SUPPORT= user-destdir | 3 | PKG_DESTDIR_SUPPORT= user-destdir | |
4 | 4 | |||
5 | .include "../../x11/qt4-libs/Makefile.common" | 5 | .include "../../x11/qt4-libs/Makefile.common" | |
6 | 6 | |||
7 | PKGNAME= qt4-docs-${QTVERSION} | 7 | PKGNAME= qt4-docs-${QTVERSION} | |
8 | PKGREVISION= 2 | |||
9 | COMMENT= Documentation for the QT C++ X GUI toolkit | 8 | COMMENT= Documentation for the QT C++ X GUI toolkit | |
10 | 9 | |||
11 | NO_CONFIGURE= yes | 10 | NO_CONFIGURE= yes | |
12 | NO_BUILD= yes | 11 | NO_BUILD= yes | |
13 | PLIST_SRC= ${WRKDIR}/PLIST | 12 | PLIST_SRC= ${WRKDIR}/PLIST | |
14 | 13 | |||
15 | INSTALLATION_DIRS= ${QTPREFIX} | 14 | INSTALLATION_DIRS= ${QTPREFIX} | |
16 | 15 | |||
17 | do-install: | 16 | do-install: | |
18 | cp -R ${WRKSRC}/doc ${DESTDIR}${QTPREFIX} | 17 | cp -R ${WRKSRC}/doc ${DESTDIR}${QTPREFIX} | |
19 | cd ${DESTDIR}${PREFIX}; find qt4/doc -type f -print > ${WRKDIR}/PLIST | 18 | cd ${DESTDIR}${PREFIX}; find qt4/doc -type f -print > ${WRKDIR}/PLIST | |
20 | 19 | |||
21 | .include "../../x11/qt4-libs/buildlink3.mk" | 20 | .include "../../x11/qt4-libs/buildlink3.mk" |
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.56 2011/01/13 13:36:07 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.57 2011/03/03 05:50:04 adam Exp $ | |
2 | 2 | |||
3 | PKG_DESTDIR_SUPPORT= user-destdir | 3 | PKG_DESTDIR_SUPPORT= user-destdir | |
4 | 4 | |||
5 | .include "../../x11/qt4-libs/Makefile.common" | 5 | .include "../../x11/qt4-libs/Makefile.common" | |
6 | 6 | |||
7 | PKGNAME= qt4-libs-${QTVERSION} | 7 | PKGNAME= qt4-libs-${QTVERSION} | |
8 | PKGREVISION= 4 | |||
9 | COMMENT= C++ X GUI toolkit | 8 | COMMENT= C++ X GUI toolkit | |
10 | 9 | |||
11 | # XXX this is to test what really gets installed when 'do-install' is disabled | 10 | # XXX this is to test what really gets installed when 'do-install' is disabled | |
12 | INSTALL_DIRS+= src | 11 | INSTALL_DIRS+= src | |
13 | 12 | |||
14 | BUILD_TARGET= sub-src | 13 | BUILD_TARGET= sub-src | |
15 | 14 | |||
16 | PTHREAD_OPTS+= require | 15 | PTHREAD_OPTS+= require | |
17 | UNLIMIT_RESOURCES= datasize | 16 | UNLIMIT_RESOURCES= datasize | |
18 | BUILDLINK_PASSTHRU_DIRS+=${QTPREFIX} | 17 | BUILDLINK_PASSTHRU_DIRS+=${QTPREFIX} | |
19 | 18 | |||
20 | PLIST_SRC= ${WRKDIR}/PLIST ${PKGDIR}/PLIST | 19 | PLIST_SRC= ${WRKDIR}/PLIST ${PKGDIR}/PLIST | |
21 | 20 |
@@ -1,37 +1,44 @@ | @@ -1,37 +1,44 @@ | |||
1 | $NetBSD: distinfo,v 1.50 2011/01/12 07:07:06 adam Exp $ | 1 | $NetBSD: distinfo,v 1.51 2011/03/03 05:50:04 adam Exp $ | |
2 | 2 | |||
3 | SHA1 (qt-everywhere-opensource-src-4.7.1.tar.gz) = fcf764d39d982c7f84703821582bd10c3192e341 | 3 | SHA1 (qt-everywhere-opensource-src-4.7.2.tar.gz) = 84414f82bbc9e8d356b986d5d1ebee89d06e4f2e | |
4 | RMD160 (qt-everywhere-opensource-src-4.7.1.tar.gz) = de6998948eb9f51a9193b9020ba80cfd52d50899 | 4 | RMD160 (qt-everywhere-opensource-src-4.7.2.tar.gz) = de3d1c172c23c33681a0945c331db179c84cb7b5 | |
5 | Size (qt-everywhere-opensource-src-4.7.1.tar.gz) = 211768512 bytes | 5 | Size (qt-everywhere-opensource-src-4.7.2.tar.gz) = 213663032 bytes | |
6 | SHA1 (patch-aa) = 70cf085b3f5ac32e8d2e7312eb998e08500f30f1 | 6 | SHA1 (patch-aa) = 70cf085b3f5ac32e8d2e7312eb998e08500f30f1 | |
7 | SHA1 (patch-ac) = 078ddafefc719f248740f40e2063dae07cd601e5 | 7 | SHA1 (patch-ac) = 078ddafefc719f248740f40e2063dae07cd601e5 | |
8 | SHA1 (patch-ad) = 42ab1fa5f0dd54c3cdc898c1a95c399414ca33ea | 8 | SHA1 (patch-ad) = 42ab1fa5f0dd54c3cdc898c1a95c399414ca33ea | |
9 | SHA1 (patch-ae) = c3956f4453a0c365b683692ef86f25be6af9f744 | 9 | SHA1 (patch-ae) = 249bae0d7befeb74b2e855f2b9d3e6e8dd101540 | |
10 | SHA1 (patch-af) = 54bb375f7c1a43e7bf3f9528e31000a1f292f7d3 | 10 | SHA1 (patch-af) = 54bb375f7c1a43e7bf3f9528e31000a1f292f7d3 | |
11 | SHA1 (patch-ag) = ae652f320072670ef4125b11e002c4aa2d87ce89 | 11 | SHA1 (patch-ag) = 61f992a4f8e36cd2bbdf56849f3c39c86f0b1033 | |
12 | SHA1 (patch-ah) = 62c50fe48b9ff1ce9fb757b432c8b1db7693e112 | 12 | SHA1 (patch-ah) = 62c50fe48b9ff1ce9fb757b432c8b1db7693e112 | |
13 | SHA1 (patch-aj) = c5510b6f6044f17855f2840fabb8ed94fddbd525 | 13 | SHA1 (patch-aj) = c5510b6f6044f17855f2840fabb8ed94fddbd525 | |
14 | SHA1 (patch-ak) = 6ee5822d81723cddb44226b34d891fd93c4779b9 | 14 | SHA1 (patch-ak) = 6ee5822d81723cddb44226b34d891fd93c4779b9 | |
15 | SHA1 (patch-al) = fce1a98e5df112206f9ef432033215635257f981 | 15 | SHA1 (patch-al) = 4a2a30551a4970bf3b2f5347b9067a7d490d01fb | |
16 | SHA1 (patch-am) = 0d4a4f2767cad5414c8bfe4dc8485064a9be4381 | 16 | SHA1 (patch-am) = 0d4a4f2767cad5414c8bfe4dc8485064a9be4381 | |
17 | SHA1 (patch-an) = 8aa6ceffb9acab4771d22b3184a1360227a81409 | 17 | SHA1 (patch-an) = 8aa6ceffb9acab4771d22b3184a1360227a81409 | |
18 | SHA1 (patch-ao) = becfc697d7ae337327a416cfcea2ca8952fe1ed4 | 18 | SHA1 (patch-ao) = becfc697d7ae337327a416cfcea2ca8952fe1ed4 | |
19 | SHA1 (patch-ap) = 86a2f5cce47607c8c453c63c6213d5efb48c8569 | 19 | SHA1 (patch-ap) = 86a2f5cce47607c8c453c63c6213d5efb48c8569 | |
20 | SHA1 (patch-aq) = ec88f8b47d77297cc9a06e97a0cfce5297074c68 | 20 | SHA1 (patch-aq) = 4eaa78ad4b6f5d4db37c28a9bcc0e2cdd73490ab | |
21 | SHA1 (patch-ar) = ba839210b42532b1797604722442841e43acbae1 | 21 | SHA1 (patch-ar) = ba839210b42532b1797604722442841e43acbae1 | |
22 | SHA1 (patch-as) = b0962c535fc2e8da08bb78b9ebcb5cd678565058 | 22 | SHA1 (patch-as) = b0962c535fc2e8da08bb78b9ebcb5cd678565058 | |
23 | SHA1 (patch-at) = f9b090ead20dd1b664484237ac5777fdd03ea1ed | 23 | SHA1 (patch-at) = f9b090ead20dd1b664484237ac5777fdd03ea1ed | |
24 | SHA1 (patch-au) = 397a18f84299026e21aee0079784f56698fc9c6b | 24 | SHA1 (patch-au) = 397a18f84299026e21aee0079784f56698fc9c6b | |
25 | SHA1 (patch-av) = f716b571ef0f8b5c7684378a0e3772c1680c6dcf | 25 | SHA1 (patch-av) = f716b571ef0f8b5c7684378a0e3772c1680c6dcf | |
26 | SHA1 (patch-aw) = df067e2530a825734ffc0afe2607e43c45c07f9b | 26 | SHA1 (patch-aw) = df067e2530a825734ffc0afe2607e43c45c07f9b | |
27 | SHA1 (patch-ax) = 10f35c99b8cfebeb35f09a97188ae5c8b47a6635 | 27 | SHA1 (patch-ax) = 10f35c99b8cfebeb35f09a97188ae5c8b47a6635 | |
28 | SHA1 (patch-ay) = e1edcb5de9a40b3549c7cd74ebb814c6b4eb6c94 | 28 | SHA1 (patch-ay) = e1edcb5de9a40b3549c7cd74ebb814c6b4eb6c94 | |
29 | SHA1 (patch-az) = c54b9c594de3e4fd3312e6689d2b8d3bfb84202d | 29 | SHA1 (patch-az) = c54b9c594de3e4fd3312e6689d2b8d3bfb84202d | |
30 | SHA1 (patch-ba) = 8e70813962e434a82a737ce4f3ea743c1bb560f9 | 30 | SHA1 (patch-ba) = 8e70813962e434a82a737ce4f3ea743c1bb560f9 | |
31 | SHA1 (patch-bb) = 0d002013974af33e097df5df03ec3f45222846b5 | 31 | SHA1 (patch-bb) = 0d002013974af33e097df5df03ec3f45222846b5 | |
32 | SHA1 (patch-bc) = 25e41d689335387c10d26a31291f34f55df4903f | 32 | SHA1 (patch-bc) = 25e41d689335387c10d26a31291f34f55df4903f | |
33 | SHA1 (patch-bd) = 6bb0a67cb087d75761338a5abe567b9fa2b5471d | 33 | SHA1 (patch-bd) = 6bb0a67cb087d75761338a5abe567b9fa2b5471d | |
34 | SHA1 (patch-be) = e5555a6c08bfb98dd69543cec75771999ee37b13 | 34 | SHA1 (patch-be) = e5555a6c08bfb98dd69543cec75771999ee37b13 | |
35 | SHA1 (patch-bf) = 7c5810021580a5c4faf8c890b2c02a373b167b04 | 35 | SHA1 (patch-bf) = 7c5810021580a5c4faf8c890b2c02a373b167b04 | |
36 | SHA1 (patch-ca) = 8b69cb6201f624f43df7d766ff1967253bb22430 | 36 | SHA1 (patch-ca) = 8b69cb6201f624f43df7d766ff1967253bb22430 | |
37 | SHA1 (patch-cb) = 4817f5b266f75e93918517c219a1f4bf74b989b3 | 37 | SHA1 (patch-cb) = 4817f5b266f75e93918517c219a1f4bf74b989b3 | |
38 | SHA1 (patch-cc) = 71a7a97a89f6b87a6b4ad4201a4f47f6b5575362 | |||
39 | SHA1 (patch-cd) = eb70970354765bbaf6c261f4a44db6ca61c42ae5 | |||
40 | SHA1 (patch-ce) = 91b8f49008783e25e9e2252f92d9481bba2d318d | |||
41 | SHA1 (patch-cf) = 8b18fce7f564e8cd688f09fd5de6340771f428e8 | |||
42 | SHA1 (patch-cg) = c5948cea47fb4134c626415b0b2c36660beea64a | |||
43 | SHA1 (patch-ch) = 8efaa05e564022710ff978b59581c017bbece979 | |||
44 | SHA1 (patch-ci) = 2fecb3ea7796fcf5c0db421a9d10b31a35225c6d |
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | $NetBSD: patch-ae,v 1.9 2010/11/15 13:05:45 adam Exp $ | 1 | $NetBSD: patch-ae,v 1.10 2011/03/03 05:50:04 adam Exp $ | |
2 | 2 | |||
3 | --- qmake/generators/unix/unixmake.cpp.orig 2010-09-10 09:04:41.000000000 +0000 | 3 | --- qmake/generators/unix/unixmake.cpp.orig 2011-02-22 12:02:48.000000000 +0000 | |
4 | +++ qmake/generators/unix/unixmake.cpp | 4 | +++ qmake/generators/unix/unixmake.cpp | |
5 | @@ -327,27 +327,29 @@ UnixMakefileGenerator::init() | 5 | @@ -327,27 +327,29 @@ UnixMakefileGenerator::init() | |
6 | if(libtoolify[i].startsWith("QMAKE_LINK") || libtoolify[i] == "QMAKE_AR_CMD") { | 6 | if(libtoolify[i].startsWith("QMAKE_LINK") || libtoolify[i] == "QMAKE_AR_CMD") { | |
7 | libtool_flags += " --mode=link"; | 7 | libtool_flags += " --mode=link"; | |
8 | if(project->isActiveConfig("staticlib")) { | 8 | if(project->isActiveConfig("staticlib")) { | |
9 | - libtool_flags += " -static"; | 9 | - libtool_flags += " -static"; | |
10 | + comp_flags += " -static"; | 10 | + comp_flags += " -static"; | |
11 | } else { | 11 | } else { | |
12 | if(!project->isEmpty("QMAKE_LIB_FLAG")) { | 12 | if(!project->isEmpty("QMAKE_LIB_FLAG")) { | |
13 | + if(project->isActiveConfig("plugin")) | 13 | + if(project->isActiveConfig("plugin")) | |
14 | + comp_flags += " -avoid-version"; | 14 | + comp_flags += " -avoid-version"; | |
15 | + else { | 15 | + else { | |
16 | int maj = project->first("VER_MAJ").toInt(); | 16 | int maj = project->first("VER_MAJ").toInt(); | |
@@ -32,35 +32,35 @@ $NetBSD: patch-ae,v 1.9 2010/11/15 13:05 | @@ -32,35 +32,35 @@ $NetBSD: patch-ae,v 1.9 2010/11/15 13:05 | |||
32 | + QString rpath = Option::fixPathToTargetOS(project->first("target.path"), FALSE); | 32 | + QString rpath = Option::fixPathToTargetOS(project->first("target.path"), FALSE); | |
33 | + if(rpath.right(1) != Option::dir_sep) | 33 | + if(rpath.right(1) != Option::dir_sep) | |
34 | + rpath += Option::dir_sep; | 34 | + rpath += Option::dir_sep; | |
35 | comp_flags += " -rpath " + Option::fixPathToTargetOS(rpath, false); | 35 | comp_flags += " -rpath " + Option::fixPathToTargetOS(rpath, false); | |
36 | } | 36 | } | |
37 | } | 37 | } | |
38 | } | 38 | } | |
39 | if(project->isActiveConfig("plugin")) | 39 | if(project->isActiveConfig("plugin")) | |
40 | - libtool_flags += " -module"; | 40 | - libtool_flags += " -module"; | |
41 | + comp_flags += " -module"; | 41 | + comp_flags += " -module"; | |
42 | } else { | 42 | } else { | |
43 | libtool_flags += " --mode=compile"; | 43 | libtool_flags += " --mode=compile"; | |
44 | } | 44 | } | |
45 | @@ -683,7 +685,6 @@ UnixMakefileGenerator::defaultInstall(co | 45 | @@ -708,7 +710,6 @@ UnixMakefileGenerator::defaultInstall(co | |
46 | QString targetdir = Option::fixPathToTargetOS(project->first("target.path"), false); | 46 | QString targetdir = Option::fixPathToTargetOS(project->first("target.path"), false); | |
47 | if(!destdir.isEmpty() && destdir.right(1) != Option::dir_sep) | 47 | if(!destdir.isEmpty() && destdir.right(1) != Option::dir_sep) | |
48 | destdir += Option::dir_sep; | 48 | destdir += Option::dir_sep; | |
49 | - targetdir = fileFixify(targetdir, FileFixifyAbsolute); | 49 | - targetdir = fileFixify(targetdir, FileFixifyAbsolute); | |
50 | if(targetdir.right(1) != Option::dir_sep) | 50 | if(targetdir.right(1) != Option::dir_sep) | |
51 | targetdir += Option::dir_sep; | 51 | targetdir += Option::dir_sep; | |
52 | 52 | |||
53 | @@ -721,10 +722,14 @@ UnixMakefileGenerator::defaultInstall(co | 53 | @@ -746,10 +747,14 @@ UnixMakefileGenerator::defaultInstall(co | |
54 | QString src_targ = target; | 54 | QString src_targ = target; | |
55 | if(src_targ == "$(TARGET)") | 55 | if(src_targ == "$(TARGET)") | |
56 | src_targ = "$(TARGETL)"; | 56 | src_targ = "$(TARGETL)"; | |
57 | - QString dst_dir = fileFixify(targetdir, FileFixifyAbsolute); | 57 | - QString dst_dir = fileFixify(targetdir, FileFixifyAbsolute); | |
58 | + QString dst_dir = targetdir; | 58 | + QString dst_dir = targetdir; | |
59 | if(QDir::isRelativePath(dst_dir)) | 59 | if(QDir::isRelativePath(dst_dir)) | |
60 | - dst_dir = Option::fixPathToTargetOS(Option::output_dir + Option::dir_sep + dst_dir); | 60 | - dst_dir = Option::fixPathToTargetOS(Option::output_dir + Option::dir_sep + dst_dir); | |
61 | - ret = "-$(LIBTOOL) --mode=install cp \"" + src_targ + "\" \"" + filePrefixRoot(root, dst_dir) + "\""; | 61 | - ret = "-$(LIBTOOL) --mode=install cp \"" + src_targ + "\" \"" + filePrefixRoot(root, dst_dir) + "\""; | |
62 | + dst_dir = Option::fixPathToTargetOS(dst_dir); | 62 | + dst_dir = Option::fixPathToTargetOS(dst_dir); | |
63 | + if(!ret.isEmpty()) | 63 | + if(!ret.isEmpty()) | |
64 | + ret += "\n\t"; | 64 | + ret += "\n\t"; | |
65 | + ret += "-$(LIBTOOL) --mode=install cp \"" + src_targ + "\" \"" + filePrefixRoot(root, dst_dir) + "\""; | 65 | + ret += "-$(LIBTOOL) --mode=install cp \"" + src_targ + "\" \"" + filePrefixRoot(root, dst_dir) + "\""; | |
66 | + if(!uninst.isEmpty()) | 66 | + if(!uninst.isEmpty()) |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | $NetBSD: patch-ag,v 1.12 2010/11/15 13:05:45 adam Exp $ | 1 | $NetBSD: patch-ag,v 1.13 2011/03/03 05:50:04 adam Exp $ | |
2 | 2 | |||
3 | --- qmake/project.cpp.orig 2010-09-10 09:04:41.000000000 +0000 | 3 | --- qmake/project.cpp.orig 2010-09-10 09:04:41.000000000 +0000 | |
4 | +++ qmake/project.cpp | 4 | +++ qmake/project.cpp | |
5 | @@ -1534,6 +1534,9 @@ QMakeProject::isActiveConfig(const QStri | 5 | @@ -1550,6 +1550,9 @@ QMakeProject::isActiveConfig(const QStri | |
6 | return Option::target_mode == Option::TARG_WIN_MODE; | 6 | return Option::target_mode == Option::TARG_WIN_MODE; | |
7 | } | 7 | } | |
8 | 8 | |||
9 | + if(x == "compile_libtool" && (vars["TEMPLATE"].first() == "app" || vars["TEMPLATE"].first() == "lib")) | 9 | + if(x == "compile_libtool" && (vars["TEMPLATE"].first() == "app" || vars["TEMPLATE"].first() == "lib")) | |
10 | + return true; | 10 | + return true; | |
11 | + | 11 | + | |
12 | //mkspecs | 12 | //mkspecs | |
13 | static QString spec; | 13 | static QString spec; | |
14 | if(spec.isEmpty()) | 14 | if(spec.isEmpty()) |
@@ -1,30 +1,30 @@ | @@ -1,30 +1,30 @@ | |||
1 | $NetBSD: patch-al,v 1.7 2010/01/29 18:19:09 adam Exp $ | 1 | $NetBSD: patch-al,v 1.8 2011/03/03 05:50:04 adam Exp $ | |
2 | 2 | |||
3 | --- src/corelib/io/qsettings.cpp.orig 2010-01-15 17:01:36.000000000 +0000 | 3 | --- src/corelib/io/qsettings.cpp.orig 2011-02-22 12:04:00.000000000 +0000 | |
4 | +++ src/corelib/io/qsettings.cpp | 4 | +++ src/corelib/io/qsettings.cpp | |
5 | @@ -136,9 +136,16 @@ QT_END_INCLUDE_NAMESPACE | 5 | @@ -142,9 +142,16 @@ QT_END_INCLUDE_NAMESPACE | |
6 | 6 | |||
7 | static bool isLikelyToBeNfs(int handle) | 7 | Q_AUTOTEST_EXPORT_HELPER bool qIsLikelyToBeNfs(int handle) | |
8 | { | 8 | { | |
9 | +#ifdef QT_STATVFS | 9 | +#ifdef QT_STATVFS | |
10 | + struct statvfs buf; | 10 | + struct statvfs buf; | |
11 | + if (fstatvfs(handle, &buf) != 0) | 11 | + if (fstatvfs(handle, &buf) != 0) | |
12 | + return false; | 12 | + return false; | |
13 | +#else | 13 | +#else | |
14 | struct statfs buf; | 14 | struct statfs buf; | |
15 | if (fstatfs(handle, &buf) != 0) | 15 | if (fstatfs(handle, &buf) != 0) | |
16 | return false; | 16 | return false; | |
17 | +#endif | 17 | +#endif | |
18 | + | 18 | + | |
19 | return qt_isEvilFsTypeName(buf.f_fstypename); | 19 | return qt_isEvilFsTypeName(buf.f_fstypename); | |
20 | } | 20 | } | |
21 | 21 | |||
22 | @@ -172,7 +179,7 @@ static bool isLikelyToBeNfs(int handle) | 22 | @@ -178,7 +185,7 @@ Q_AUTOTEST_EXPORT_HELPER bool qIsLikelyT | |
23 | 23 | |||
24 | #elif defined(Q_OS_SOLARIS) || defined(Q_OS_IRIX) || defined(Q_OS_AIX) || defined(Q_OS_HPUX) \ | 24 | #elif defined(Q_OS_SOLARIS) || defined(Q_OS_IRIX) || defined(Q_OS_AIX) || defined(Q_OS_HPUX) \ | |
25 | || defined(Q_OS_OSF) || defined(Q_OS_QNX) || defined(Q_OS_SCO) \ | 25 | || defined(Q_OS_OSF) || defined(Q_OS_QNX) || defined(Q_OS_SCO) \ | |
26 | - || defined(Q_OS_UNIXWARE) || defined(Q_OS_RELIANT) || defined(Q_OS_NETBSD) | 26 | - || defined(Q_OS_UNIXWARE) || defined(Q_OS_RELIANT) || defined(Q_OS_NETBSD) | |
27 | + || defined(Q_OS_UNIXWARE) || defined(Q_OS_RELIANT) | 27 | + || defined(Q_OS_UNIXWARE) || defined(Q_OS_RELIANT) | |
28 | QT_BEGIN_INCLUDE_NAMESPACE | 28 | QT_BEGIN_INCLUDE_NAMESPACE | |
29 | # include <sys/statvfs.h> | 29 | # include <sys/statvfs.h> | |
30 | QT_END_INCLUDE_NAMESPACE | 30 | QT_END_INCLUDE_NAMESPACE |
@@ -1,40 +1,40 @@ | @@ -1,40 +1,40 @@ | |||
1 | $NetBSD: patch-aq,v 1.8 2010/11/15 13:05:45 adam Exp $ | 1 | $NetBSD: patch-aq,v 1.9 2011/03/03 05:50:04 adam Exp $ | |
2 | 2 | |||
3 | --- configure.orig 2010-11-06 01:55:00.000000000 +0000 | 3 | --- configure.orig 2011-02-22 12:02:53.000000000 +0000 | |
4 | +++ configure | 4 | +++ configure | |
5 | @@ -3272,7 +3272,7 @@ fi | 5 | @@ -3297,7 +3297,7 @@ fi | |
6 | if [ "$PLATFORM_MAC" = "yes" ] && [ '!' -z "$CFG_SDK" ]; then | 6 | if [ "$PLATFORM_MAC" = "yes" ] && [ '!' -z "$CFG_SDK" ]; then | |
7 | # get the darwin version. 10.0.0 and up means snow leopard. | 7 | # get the darwin version. 10.0.0 and up means snow leopard. | |
8 | VERSION=`uname -r | tr '.' ' ' | awk '{print $1}'` | 8 | VERSION=`uname -r | tr '.' ' ' | awk '{print $1}'` | |
9 | - if [ "$VERSION" -gt 9 ] && [ "$CFG_SDK" == "/Developer/SDKs/MacOSX10.4u.sdk/" ] && [ "$PLATFORM" == "macx-g++" ]; then | 9 | - if [ "$VERSION" -gt 9 ] && [ "$CFG_SDK" == "/Developer/SDKs/MacOSX10.4u.sdk/" ] && [ "$PLATFORM" == "macx-g++" ]; then | |
10 | + if [ "$VERSION" -gt 9 ] && [ "$CFG_SDK" = "/Developer/SDKs/MacOSX10.4u.sdk/" ] && [ "$PLATFORM" = "macx-g++" ]; then | 10 | + if [ "$VERSION" -gt 9 ] && [ "$CFG_SDK" = "/Developer/SDKs/MacOSX10.4u.sdk/" ] && [ "$PLATFORM" = "macx-g++" ]; then | |
11 | echo | 11 | echo | |
12 | echo "WARNING: The 10.4u SDK does not support gcc 4.2. Configure with -platform macx-g++40. " | 12 | echo "WARNING: The 10.4u SDK does not support gcc 4.2. Configure with -platform macx-g++40. " | |
13 | echo | 13 | echo | |
14 | @@ -4733,7 +4733,7 @@ if true; then ###[ '!' -f "$outpath/bin/ | 14 | @@ -4755,7 +4755,7 @@ if true; then ###[ '!' -f "$outpath/bin/ | |
15 | done | 15 | done | |
16 | 16 | |||
17 | QMAKE_BUILD_ERROR=no | 17 | QMAKE_BUILD_ERROR=no | |
18 | - (cd "$outpath/qmake"; "$MAKE") || QMAKE_BUILD_ERROR=yes | 18 | - (cd "$outpath/qmake"; "$MAKE") || QMAKE_BUILD_ERROR=yes | |
19 | + (cd "$outpath/qmake"; "$MAKE" $MAKE_FLAGS) || QMAKE_BUILD_ERROR=yes | 19 | + (cd "$outpath/qmake"; "$MAKE" $MAKE_FLAGS) || QMAKE_BUILD_ERROR=yes | |
20 | [ '!' -z "$QCONFIG_H" ] && mv -f "$QCONFIG_H" "$QMAKE_QCONFIG_H" #move qmake's qconfig.h to qconfig.h.qmake | 20 | [ '!' -z "$QCONFIG_H" ] && mv -f "$QCONFIG_H" "$QMAKE_QCONFIG_H" #move qmake's qconfig.h to qconfig.h.qmake | |
21 | [ '!' -z "$OLD_QCONFIG_H" ] && mv -f "${OLD_QCONFIG_H}.old" "$OLD_QCONFIG_H" #put back qconfig.h | 21 | [ '!' -z "$OLD_QCONFIG_H" ] && mv -f "${OLD_QCONFIG_H}.old" "$OLD_QCONFIG_H" #put back qconfig.h | |
22 | [ "$QMAKE_BUILD_ERROR" = "yes" ] && exit 2 | 22 | [ "$QMAKE_BUILD_ERROR" = "yes" ] && exit 2 | |
23 | @@ -6556,7 +6556,7 @@ fi | 23 | @@ -6580,7 +6580,7 @@ fi | |
24 | # select Carbon on 10.4 Tiger. | 24 | # select Carbon on 10.4 Tiger. | |
25 | if [ "$PLATFORM_MAC" = "yes" ]; then | 25 | if [ "$PLATFORM_MAC" = "yes" ]; then | |
26 | VERSION=`uname -r | tr '.' ' ' | awk '{print $1}'` | 26 | VERSION=`uname -r | tr '.' ' ' | awk '{print $1}'` | |
27 | - if [ "$VERSION" == 8 ]; then | 27 | - if [ "$VERSION" == 8 ]; then | |
28 | + if [ "$VERSION" = 8 ]; then | 28 | + if [ "$VERSION" = 8 ]; then | |
29 | CFG_MAC_COCOA="no"; | 29 | CFG_MAC_COCOA="no"; | |
30 | CFG_MAC_CARBON="yes"; | 30 | CFG_MAC_CARBON="yes"; | |
31 | fi | 31 | fi | |
32 | @@ -7754,7 +7754,7 @@ QMakeVar set sql-plugins "$SQL_PLUGINS" | 32 | @@ -7788,7 +7788,7 @@ QMakeVar set sql-plugins "$SQL_PLUGINS" | |
33 | [ "$CFG_EXCEPTIONS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_EXCEPTIONS" | 33 | [ "$CFG_EXCEPTIONS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_EXCEPTIONS" | |
34 | [ "$CFG_IPV6" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_IPV6" | 34 | [ "$CFG_IPV6" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_IPV6" | |
35 | [ "$CFG_SXE" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SXE" | 35 | [ "$CFG_SXE" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_SXE" | |
36 | -[ "$CFG_DBUS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_DBUS" | 36 | -[ "$CFG_DBUS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_DBUS" | |
37 | +#[ "$CFG_DBUS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_DBUS" | 37 | +#[ "$CFG_DBUS" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_DBUS" | |
38 | 38 | |||
39 | if [ "$PLATFORM_QWS" != "yes" ]; then | 39 | if [ "$PLATFORM_QWS" != "yes" ]; then | |
40 | [ "$CFG_GRAPHICS_SYSTEM" = "raster" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_GRAPHICSSYSTEM_RASTER" | 40 | [ "$CFG_GRAPHICS_SYSTEM" = "raster" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_GRAPHICSSYSTEM_RASTER" |
$NetBSD: patch-cc,v 1.1 2011/03/03 05:50:04 adam Exp $
Avoid error when compiling with Clang.
--- src/gui/kernel/qwidget_mac.mm.orig 2011-01-12 10:01:28.000000000 +0000
+++ src/gui/kernel/qwidget_mac.mm
@@ -3206,7 +3206,7 @@ void QWidgetPrivate::setWindowIcon_sys(b
if (iconButton == nil) {
QCFString string(q->windowTitle());
const NSString *tmpString = reinterpret_cast<const NSString *>((CFStringRef)string);
- [qt_mac_window_for(q) setRepresentedURL:[NSURL fileURLWithPath:tmpString]];
+ [qt_mac_window_for(q) setRepresentedURL:[NSURL fileURLWithPath:(NSString *)tmpString]];
iconButton = [qt_mac_window_for(q) standardWindowButton:NSWindowDocumentIconButton];
}
if (icon.isNull()) {
$NetBSD: patch-cd,v 1.1 2011/03/03 05:50:04 adam Exp $
Avoid error when compiling with Clang.
--- src/gui/kernel/qcocoaview_mac.mm.orig 2011-01-12 10:05:05.000000000 +0000
+++ src/gui/kernel/qcocoaview_mac.mm
@@ -1383,7 +1383,7 @@ static int qCocoaViewCount = 0;
if (!selectedText.isEmpty()) {
QCFString string(selectedText.mid(theRange.location, theRange.length));
const NSString *tmpString = reinterpret_cast<const NSString *>((CFStringRef)string);
- return [[[NSAttributedString alloc] initWithString:tmpString] autorelease];
+ return [[[NSAttributedString alloc] initWithString:(NSString *)tmpString] autorelease];
} else {
return nil;
}
$NetBSD: patch-ce,v 1.1 2011/03/03 05:50:04 adam Exp $
Avoid error when compiling with Clang.
--- src/gui/kernel/qcocoamenuloader_mac.mm.orig 2011-01-12 10:11:02.000000000 +0000
+++ src/gui/kernel/qcocoamenuloader_mac.mm
@@ -70,13 +70,13 @@ QT_USE_NAMESPACE
showAllItem = [[appMenu itemWithTitle:@"Show All"] retain];
// Get the names in the nib to match the app name set by Qt.
- NSString *appName = reinterpret_cast<const NSString*>(QCFString::toCFStringRef(qAppName()));
+ const NSString *appName = reinterpret_cast<const NSString*>(QCFString::toCFStringRef(qAppName()));
[quitItem setTitle:[[quitItem title] stringByReplacingOccurrencesOfString:@"NewApplication"
- withString:appName]];
+ withString:(NSString *)appName]];
[hideItem setTitle:[[hideItem title] stringByReplacingOccurrencesOfString:@"NewApplication"
- withString:appName]];
+ withString:(NSString *)appName]];
[aboutItem setTitle:[[aboutItem title] stringByReplacingOccurrencesOfString:@"NewApplication"
- withString:appName]];
+ withString:(NSString *)appName]];
[appName release];
// Disable the items that don't do anything. If someone associates a QAction with them
// They should get synced back in.
$NetBSD: patch-cf,v 1.1 2011/03/03 05:50:04 adam Exp $
Avoid error when compiling with Clang.
--- src/gui/kernel/qt_cocoa_helpers_mac.mm.orig 2011-01-12 10:13:43.000000000 +0000
+++ src/gui/kernel/qt_cocoa_helpers_mac.mm
@@ -1333,7 +1333,7 @@ QString qt_mac_get_pasteboardString(OSPa
if (PasteboardCopyName (paste, &pbname)) {
pb = [NSPasteboard generalPasteboard];
} else {
- pb = [NSPasteboard pasteboardWithName:reinterpret_cast<const NSString *>(pbname)];
+ pb = [NSPasteboard pasteboardWithName:(NSString *)reinterpret_cast<const NSString *>(pbname)];
CFRelease (pbname);
}
if (pb) {
$NetBSD: patch-cg,v 1.1 2011/03/03 05:50:04 adam Exp $
Avoid error when compiling with Clang.
--- src/gui/dialogs/qfontdialog_mac.mm.orig 2011-01-12 10:16:56.000000000 +0000
+++ src/gui/dialogs/qfontdialog_mac.mm
@@ -509,7 +509,7 @@ void QFontDialogPrivate::setFont(void *d
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5
if (qstrcmp(fe->name(), "CoreText") == 0) {
- nsFont = reinterpret_cast<const NSFont *>(static_cast<QCoreTextFontEngineMulti *>(fe)->ctfont);
+ nsFont = (NSFont *)reinterpret_cast<const NSFont *>(static_cast<QCoreTextFontEngineMulti *>(fe)->ctfont);
} else
#endif
{
$NetBSD: patch-ch,v 1.1 2011/03/03 05:50:04 adam Exp $
Avoid error when compiling with Clang.
--- src/3rdparty/webkit/WebCore/bindings/js/JSDOMBinding.h.orig 2011-03-02 12:21:02.000000000 +0000
+++ src/3rdparty/webkit/WebCore/bindings/js/JSDOMBinding.h
@@ -225,7 +225,7 @@ namespace WebCore {
{
if (!node)
return JSC::jsNull();
- if (JSNode* wrapper = getCachedDOMNodeWrapper(exec, node->document(), node))
+ if (JSC::JSValue wrapper = getCachedDOMNodeWrapper(exec, node->document(), node))
return wrapper;
return createDOMNodeWrapper<WrapperClass>(exec, globalObject, node);
}
$NetBSD: patch-ci,v 1.1 2011/03/03 05:50:04 adam Exp $
Rename argument 'id'; 'id' is a key-word in Objective-C.
--- src/plugins/bearer/corewlan/qcorewlanengine.mm.orig 2011-03-02 13:32:05.000000000 +0000
+++ src/plugins/bearer/corewlan/qcorewlanengine.mm
@@ -864,7 +864,7 @@ quint64 QCoreWlanEngine::bytesReceived(c
return getBytes(interfaceStr,true);
}
-quint64 QCoreWlanEngine::startTime(const QString &id)
+quint64 QCoreWlanEngine::startTime(const QString &qid)
{
QMutexLocker locker(&mutex);
NSAutoreleasePool *autoreleasepool = [[NSAutoreleasePool alloc] init];
@@ -899,7 +899,7 @@ quint64 QCoreWlanEngine::startTime(const
for(int i = 0; i < dictSize; i++) {
if([ssidStr isEqualToString:keys[i]]) {
const QString ident = QString::number(qHash(QLatin1String("corewlan:") + qt_NSStringToQString(objects[i])));
- if(ident == id) {
+ if(ident == qid) {
ok = true;
}
}
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.7 2011/01/13 13:40:04 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.8 2011/03/03 05:50:04 adam Exp $ | |
2 | 2 | |||
3 | PKG_DESTDIR_SUPPORT= user-destdir | 3 | PKG_DESTDIR_SUPPORT= user-destdir | |
4 | 4 | |||
5 | .include "../../x11/qt4-libs/Makefile.common" | 5 | .include "../../x11/qt4-libs/Makefile.common" | |
6 | 6 | |||
7 | PKGNAME= qt4-mng-${QTVERSION} | 7 | PKGNAME= qt4-mng-${QTVERSION} | |
8 | PKGREVISION= 2 | |||
9 | COMMENT= QT MNG image format plugin | 8 | COMMENT= QT MNG image format plugin | |
10 | 9 | |||
11 | CONFIGURE_ARGS+= -I${QTDIR}/include | 10 | CONFIGURE_ARGS+= -I${QTDIR}/include | |
12 | CONFIGURE_ARGS+= -L${QTDIR}/lib | 11 | CONFIGURE_ARGS+= -L${QTDIR}/lib | |
13 | 12 | |||
14 | BUILD_QT4= yes | 13 | BUILD_QT4= yes | |
15 | 14 | |||
16 | do-build: | 15 | do-build: | |
17 | cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE} | 16 | cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE} | |
18 | cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE} | 17 | cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE} | |
19 | cd ${WRKSRC}/src/plugins/imageformats/mng && env ${MAKE_ENV} ${GMAKE} | 18 | cd ${WRKSRC}/src/plugins/imageformats/mng && env ${MAKE_ENV} ${GMAKE} | |
20 | 19 | |||
21 | IMGFMTDIR= ${QTPREFIX}/plugins/imageformats | 20 | IMGFMTDIR= ${QTPREFIX}/plugins/imageformats |
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2011/01/13 13:40:04 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2011/03/03 05:50:05 adam Exp $ | |
2 | 2 | |||
3 | PKG_DESTDIR_SUPPORT= user-destdir | 3 | PKG_DESTDIR_SUPPORT= user-destdir | |
4 | 4 | |||
5 | .include "../../x11/qt4-libs/Makefile.common" | 5 | .include "../../x11/qt4-libs/Makefile.common" | |
6 | 6 | |||
7 | PKGNAME= qt4-mysql-${QTVERSION} | 7 | PKGNAME= qt4-mysql-${QTVERSION} | |
8 | PKGREVISION= 2 | |||
9 | COMMENT= QT mysql driver | 8 | COMMENT= QT mysql driver | |
10 | 9 | |||
11 | CONFIGURE_ARGS+= -I${QTDIR}/include | 10 | CONFIGURE_ARGS+= -I${QTDIR}/include | |
12 | CONFIGURE_ARGS+= -L${QTDIR}/lib | 11 | CONFIGURE_ARGS+= -L${QTDIR}/lib | |
13 | 12 | |||
14 | BUILD_QT4= yes | 13 | BUILD_QT4= yes | |
15 | 14 | |||
16 | do-build: | 15 | do-build: | |
17 | cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE} | 16 | cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE} | |
18 | cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE} | 17 | cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE} | |
19 | cd ${WRKSRC}/src/plugins/sqldrivers/mysql && env ${MAKE_ENV} ${GMAKE} | 18 | cd ${WRKSRC}/src/plugins/sqldrivers/mysql && env ${MAKE_ENV} ${GMAKE} | |
20 | 19 | |||
21 | SQLDRVDIR= ${QTPREFIX}/plugins/sqldrivers | 20 | SQLDRVDIR= ${QTPREFIX}/plugins/sqldrivers |
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.21 2011/01/13 13:40:04 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.22 2011/03/03 05:50:05 adam Exp $ | |
2 | 2 | |||
3 | PKG_DESTDIR_SUPPORT= user-destdir | 3 | PKG_DESTDIR_SUPPORT= user-destdir | |
4 | 4 | |||
5 | .include "../../x11/qt4-libs/Makefile.common" | 5 | .include "../../x11/qt4-libs/Makefile.common" | |
6 | 6 | |||
7 | PKGNAME= qt4-pgsql-${QTVERSION} | 7 | PKGNAME= qt4-pgsql-${QTVERSION} | |
8 | PKGREVISION= 2 | |||
9 | COMMENT= QT postgresql driver | 8 | COMMENT= QT postgresql driver | |
10 | 9 | |||
11 | CONFIGURE_ARGS+= -I${QTDIR}/include | 10 | CONFIGURE_ARGS+= -I${QTDIR}/include | |
12 | CONFIGURE_ARGS+= -I${PGSQL_PREFIX}/include/postgresql/server | 11 | CONFIGURE_ARGS+= -I${PGSQL_PREFIX}/include/postgresql/server | |
13 | CONFIGURE_ARGS+= -L${QTDIR}/lib | 12 | CONFIGURE_ARGS+= -L${QTDIR}/lib | |
14 | 13 | |||
15 | BUILD_QT4= yes | 14 | BUILD_QT4= yes | |
16 | 15 | |||
17 | do-build: | 16 | do-build: | |
18 | cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE} | 17 | cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE} | |
19 | cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE} | 18 | cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE} | |
20 | cd ${WRKSRC}/src/plugins/sqldrivers/psql && env ${MAKE_ENV} ${GMAKE} | 19 | cd ${WRKSRC}/src/plugins/sqldrivers/psql && env ${MAKE_ENV} ${GMAKE} | |
21 | 20 |
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.17 2011/01/13 13:36:53 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.18 2011/03/03 05:50:05 adam Exp $ | |
2 | 2 | |||
3 | PKG_DESTDIR_SUPPORT= user-destdir | 3 | PKG_DESTDIR_SUPPORT= user-destdir | |
4 | 4 | |||
5 | .include "../../x11/qt4-libs/Makefile.common" | 5 | .include "../../x11/qt4-libs/Makefile.common" | |
6 | 6 | |||
7 | PKGNAME= qt4-qdbus-${QTVERSION} | 7 | PKGNAME= qt4-qdbus-${QTVERSION} | |
8 | PKGREVISION= 2 | |||
9 | COMMENT= QT DBus support | 8 | COMMENT= QT DBus support | |
10 | 9 | |||
11 | CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib | 10 | CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib | |
12 | CONFIGURE_ARGS+= -qdbus | 11 | CONFIGURE_ARGS+= -qdbus | |
13 | 12 | |||
14 | USE_TOOLS+= pkg-config | 13 | USE_TOOLS+= pkg-config | |
15 | 14 | |||
16 | BUILD_QT4= yes | 15 | BUILD_QT4= yes | |
17 | 16 | |||
18 | post-configure: | 17 | post-configure: | |
19 | ln -s ${QTPREFIX}/bin/moc ${WRKSRC}/bin/moc | 18 | ln -s ${QTPREFIX}/bin/moc ${WRKSRC}/bin/moc | |
20 | ln -s ${QTPREFIX}/bin/uic ${WRKSRC}/bin/uic | 19 | ln -s ${QTPREFIX}/bin/uic ${WRKSRC}/bin/uic | |
21 | ln -s ${QTPREFIX}/bin/rcc ${WRKSRC}/bin/rcc | 20 | ln -s ${QTPREFIX}/bin/rcc ${WRKSRC}/bin/rcc |
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.15 2011/01/13 13:40:04 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.16 2011/03/03 05:50:05 adam Exp $ | |
2 | 2 | |||
3 | PKG_DESTDIR_SUPPORT= user-destdir | 3 | PKG_DESTDIR_SUPPORT= user-destdir | |
4 | 4 | |||
5 | .include "../../x11/qt4-libs/Makefile.common" | 5 | .include "../../x11/qt4-libs/Makefile.common" | |
6 | 6 | |||
7 | PKGNAME= qt4-sqlite3-${QTVERSION} | 7 | PKGNAME= qt4-sqlite3-${QTVERSION} | |
8 | PKGREVISION= 2 | |||
9 | COMMENT= QT sqlite3 driver | 8 | COMMENT= QT sqlite3 driver | |
10 | 9 | |||
11 | CONFIGURE_ARGS+= -I${QTDIR}/include | 10 | CONFIGURE_ARGS+= -I${QTDIR}/include | |
12 | CONFIGURE_ARGS+= -L${QTDIR}/lib | 11 | CONFIGURE_ARGS+= -L${QTDIR}/lib | |
13 | CONFIGURE_ARGS+= -system-sqlite | 12 | CONFIGURE_ARGS+= -system-sqlite | |
14 | 13 | |||
15 | BUILD_QT4= yes | 14 | BUILD_QT4= yes | |
16 | USE_TOOLS+= pkg-config | 15 | USE_TOOLS+= pkg-config | |
17 | 16 | |||
18 | do-build: | 17 | do-build: | |
19 | cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE} | 18 | cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE} | |
20 | cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE} | 19 | cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE} | |
21 | cd ${WRKSRC}/src/plugins/sqldrivers/sqlite && env ${MAKE_ENV} ${GMAKE} | 20 | cd ${WRKSRC}/src/plugins/sqldrivers/sqlite && env ${MAKE_ENV} ${GMAKE} |
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.14 2011/01/13 13:40:04 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.15 2011/03/03 05:50:05 adam Exp $ | |
2 | 2 | |||
3 | PKG_DESTDIR_SUPPORT= user-destdir | 3 | PKG_DESTDIR_SUPPORT= user-destdir | |
4 | 4 | |||
5 | .include "../../x11/qt4-libs/Makefile.common" | 5 | .include "../../x11/qt4-libs/Makefile.common" | |
6 | 6 | |||
7 | PKGNAME= qt4-tiff-${QTVERSION} | 7 | PKGNAME= qt4-tiff-${QTVERSION} | |
8 | PKGREVISION= 2 | |||
9 | COMMENT= QT TIFF image format plugin | 8 | COMMENT= QT TIFF image format plugin | |
10 | 9 | |||
11 | CONFIGURE_ARGS+= -I${QTDIR}/include | 10 | CONFIGURE_ARGS+= -I${QTDIR}/include | |
12 | CONFIGURE_ARGS+= -L${QTDIR}/lib | 11 | CONFIGURE_ARGS+= -L${QTDIR}/lib | |
13 | 12 | |||
14 | BUILD_QT4= yes | 13 | BUILD_QT4= yes | |
15 | 14 | |||
16 | do-build: | 15 | do-build: | |
17 | cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE} | 16 | cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE} | |
18 | cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE} | 17 | cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE} | |
19 | cd ${WRKSRC}/src/plugins/imageformats/tiff && env ${MAKE_ENV} ${GMAKE} | 18 | cd ${WRKSRC}/src/plugins/imageformats/tiff && env ${MAKE_ENV} ${GMAKE} | |
20 | 19 | |||
21 | IMGFMTDIR= ${QTPREFIX}/plugins/imageformats | 20 | IMGFMTDIR= ${QTPREFIX}/plugins/imageformats |
@@ -1,21 +1,20 @@ | @@ -1,21 +1,20 @@ | |||
1 | # $NetBSD: Makefile,v 1.39 2011/01/13 13:36:55 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.40 2011/03/03 05:50:04 adam Exp $ | |
2 | 2 | |||
3 | PKG_DESTDIR_SUPPORT= user-destdir | 3 | PKG_DESTDIR_SUPPORT= user-destdir | |
4 | 4 | |||
5 | .include "../../x11/qt4-libs/Makefile.common" | 5 | .include "../../x11/qt4-libs/Makefile.common" | |
6 | 6 | |||
7 | PKGNAME= qt4-tools-${QTVERSION} | 7 | PKGNAME= qt4-tools-${QTVERSION} | |
8 | PKGREVISION= 2 | |||
9 | COMMENT= QT GUI (WYSIWYG) builder and other tools | 8 | COMMENT= QT GUI (WYSIWYG) builder and other tools | |
10 | 9 | |||
11 | DEPENDS+= libtool-base-[0-9]*:../../devel/libtool-base | 10 | DEPENDS+= libtool-base-[0-9]*:../../devel/libtool-base | |
12 | 11 | |||
13 | CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib | 12 | CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib | |
14 | CONFIGURE_ARGS+= -DQT_NO_DBUS | 13 | CONFIGURE_ARGS+= -DQT_NO_DBUS | |
15 | 14 | |||
16 | # XXX this is to test what really gets installed when 'do-install' is disabled | 15 | # XXX this is to test what really gets installed when 'do-install' is disabled | |
17 | INSTALL_DIRS+= tools | 16 | INSTALL_DIRS+= tools | |
18 | 17 | |||
19 | BUILD_TARGET= sub-tools-bootstrap sub-tools | 18 | BUILD_TARGET= sub-tools-bootstrap sub-tools | |
20 | 19 | |||
21 | BUILD_QT4= yes | 20 | BUILD_QT4= yes |
@@ -1,14 +1,14 @@ | @@ -1,14 +1,14 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.24 2011/01/12 07:18:00 adam Exp $ | 1 | @comment $NetBSD: PLIST,v 1.25 2011/03/03 05:50:04 adam Exp $ | |
2 | lib/pkgconfig/QtCLucene.pc | 2 | lib/pkgconfig/QtCLucene.pc | |
3 | lib/pkgconfig/QtDesigner.pc | 3 | lib/pkgconfig/QtDesigner.pc | |
4 | lib/pkgconfig/QtDesignerComponents.pc | 4 | lib/pkgconfig/QtDesignerComponents.pc | |
5 | lib/pkgconfig/QtHelp.pc | 5 | lib/pkgconfig/QtHelp.pc | |
6 | lib/pkgconfig/QtUiTools.pc | 6 | lib/pkgconfig/QtUiTools.pc | |
7 | qt4/bin/assistant | 7 | qt4/bin/assistant | |
8 | qt4/bin/designer | 8 | qt4/bin/designer | |
9 | qt4/bin/lconvert | 9 | qt4/bin/lconvert | |
10 | qt4/bin/linguist | 10 | qt4/bin/linguist | |
11 | qt4/bin/lrelease | 11 | qt4/bin/lrelease | |
12 | qt4/bin/lupdate | 12 | qt4/bin/lupdate | |
13 | ${PLIST.mac}qt4/bin/macdeployqt | 13 | ${PLIST.mac}qt4/bin/macdeployqt | |
14 | qt4/bin/pixeltool | 14 | qt4/bin/pixeltool | |
@@ -150,45 +150,47 @@ qt4/mkspecs/aix-xlc/qmake.conf | @@ -150,45 +150,47 @@ qt4/mkspecs/aix-xlc/qmake.conf | |||
150 | qt4/mkspecs/aix-xlc/qplatformdefs.h | 150 | qt4/mkspecs/aix-xlc/qplatformdefs.h | |
151 | qt4/mkspecs/common/aix/qplatformdefs.h | 151 | qt4/mkspecs/common/aix/qplatformdefs.h | |
152 | qt4/mkspecs/common/armcc.conf | 152 | qt4/mkspecs/common/armcc.conf | |
153 | qt4/mkspecs/common/c89/qplatformdefs.h | 153 | qt4/mkspecs/common/c89/qplatformdefs.h | |
154 | qt4/mkspecs/common/g++.conf | 154 | qt4/mkspecs/common/g++.conf | |
155 | qt4/mkspecs/common/linux.conf | 155 | qt4/mkspecs/common/linux.conf | |
156 | qt4/mkspecs/common/llvm.conf | 156 | qt4/mkspecs/common/llvm.conf | |
157 | qt4/mkspecs/common/mac-g++.conf | 157 | qt4/mkspecs/common/mac-g++.conf | |
158 | qt4/mkspecs/common/mac-llvm.conf | 158 | qt4/mkspecs/common/mac-llvm.conf | |
159 | qt4/mkspecs/common/mac.conf | 159 | qt4/mkspecs/common/mac.conf | |
160 | qt4/mkspecs/common/posix/qplatformdefs.h | 160 | qt4/mkspecs/common/posix/qplatformdefs.h | |
161 | qt4/mkspecs/common/qmake.conf | 161 | qt4/mkspecs/common/qmake.conf | |
162 | qt4/mkspecs/common/qws.conf | 162 | qt4/mkspecs/common/qws.conf | |
163 | qt4/mkspecs/common/symbian/appCaptionForTranslation.cpp | |||
163 | qt4/mkspecs/common/symbian/header-wrappers/AknBitmapAnimation.h | 164 | qt4/mkspecs/common/symbian/header-wrappers/AknBitmapAnimation.h | |
164 | qt4/mkspecs/common/symbian/header-wrappers/AknDoc.h | 165 | qt4/mkspecs/common/symbian/header-wrappers/AknDoc.h | |
165 | qt4/mkspecs/common/symbian/header-wrappers/AknFontAccess.h | 166 | qt4/mkspecs/common/symbian/header-wrappers/AknFontAccess.h | |
166 | qt4/mkspecs/common/symbian/header-wrappers/AknInputLanguageInfo.h | 167 | qt4/mkspecs/common/symbian/header-wrappers/AknInputLanguageInfo.h | |
167 | qt4/mkspecs/common/symbian/header-wrappers/AknLayoutFont.h | 168 | qt4/mkspecs/common/symbian/header-wrappers/AknLayoutFont.h | |
168 | qt4/mkspecs/common/symbian/header-wrappers/AknPopupFader.h | 169 | qt4/mkspecs/common/symbian/header-wrappers/AknPopupFader.h | |
169 | qt4/mkspecs/common/symbian/header-wrappers/AknServerApp.h | 170 | qt4/mkspecs/common/symbian/header-wrappers/AknServerApp.h | |
170 | qt4/mkspecs/common/symbian/header-wrappers/AknUtils.h | 171 | qt4/mkspecs/common/symbian/header-wrappers/AknUtils.h | |
171 | qt4/mkspecs/common/symbian/header-wrappers/AknsBasicBackgroundControlContext.h | 172 | qt4/mkspecs/common/symbian/header-wrappers/AknsBasicBackgroundControlContext.h | |
172 | qt4/mkspecs/common/symbian/header-wrappers/AknsConstants.h | 173 | qt4/mkspecs/common/symbian/header-wrappers/AknsConstants.h | |
173 | qt4/mkspecs/common/symbian/header-wrappers/AknsDrawUtils.h | 174 | qt4/mkspecs/common/symbian/header-wrappers/AknsDrawUtils.h | |
174 | qt4/mkspecs/common/symbian/header-wrappers/AknsItemID.h | 175 | qt4/mkspecs/common/symbian/header-wrappers/AknsItemID.h | |
175 | qt4/mkspecs/common/symbian/header-wrappers/AknsSkinInstance.h | 176 | qt4/mkspecs/common/symbian/header-wrappers/AknsSkinInstance.h | |
176 | qt4/mkspecs/common/symbian/header-wrappers/AknsUtils.h | 177 | qt4/mkspecs/common/symbian/header-wrappers/AknsUtils.h | |
177 | qt4/mkspecs/common/symbian/header-wrappers/ApAccessPointItem.h | 178 | qt4/mkspecs/common/symbian/header-wrappers/ApAccessPointItem.h | |
178 | qt4/mkspecs/common/symbian/header-wrappers/ApDataHandler.h | 179 | qt4/mkspecs/common/symbian/header-wrappers/ApDataHandler.h | |
179 | qt4/mkspecs/common/symbian/header-wrappers/ApUtils.h | 180 | qt4/mkspecs/common/symbian/header-wrappers/ApUtils.h | |
180 | qt4/mkspecs/common/symbian/header-wrappers/CDirectoryLocalizer.h | 181 | qt4/mkspecs/common/symbian/header-wrappers/CDirectoryLocalizer.h | |
181 | qt4/mkspecs/common/symbian/header-wrappers/DocumentHandler.h | 182 | qt4/mkspecs/common/symbian/header-wrappers/DocumentHandler.h | |
183 | qt4/mkspecs/common/symbian/packageNameForTranslation.cpp | |||
182 | qt4/mkspecs/common/symbian/qplatformdefs.h | 184 | qt4/mkspecs/common/symbian/qplatformdefs.h | |
183 | qt4/mkspecs/common/symbian/stl-off/new | 185 | qt4/mkspecs/common/symbian/stl-off/new | |
184 | qt4/mkspecs/common/symbian/symbian-makefile.conf | 186 | qt4/mkspecs/common/symbian/symbian-makefile.conf | |
185 | qt4/mkspecs/common/symbian/symbian-mmp.conf | 187 | qt4/mkspecs/common/symbian/symbian-mmp.conf | |
186 | qt4/mkspecs/common/symbian/symbian.conf | 188 | qt4/mkspecs/common/symbian/symbian.conf | |
187 | qt4/mkspecs/common/unix.conf | 189 | qt4/mkspecs/common/unix.conf | |
188 | qt4/mkspecs/common/wince/qmake.conf | 190 | qt4/mkspecs/common/wince/qmake.conf | |
189 | qt4/mkspecs/common/wince/qplatformdefs.h | 191 | qt4/mkspecs/common/wince/qplatformdefs.h | |
190 | qt4/mkspecs/cygwin-g++/qmake.conf | 192 | qt4/mkspecs/cygwin-g++/qmake.conf | |
191 | qt4/mkspecs/cygwin-g++/qplatformdefs.h | 193 | qt4/mkspecs/cygwin-g++/qplatformdefs.h | |
192 | qt4/mkspecs/darwin-g++/qmake.conf | 194 | qt4/mkspecs/darwin-g++/qmake.conf | |
193 | qt4/mkspecs/darwin-g++/qplatformdefs.h | 195 | qt4/mkspecs/darwin-g++/qplatformdefs.h | |
194 | qt4/mkspecs/default | 196 | qt4/mkspecs/default | |
@@ -219,44 +221,46 @@ qt4/mkspecs/features/mac/sdk.prf | @@ -219,44 +221,46 @@ qt4/mkspecs/features/mac/sdk.prf | |||
219 | qt4/mkspecs/features/mac/x86.prf | 221 | qt4/mkspecs/features/mac/x86.prf | |
220 | qt4/mkspecs/features/mac/x86_64.prf | 222 | qt4/mkspecs/features/mac/x86_64.prf | |
221 | qt4/mkspecs/features/moc.prf | 223 | qt4/mkspecs/features/moc.prf | |
222 | qt4/mkspecs/features/no_debug_info.prf | 224 | qt4/mkspecs/features/no_debug_info.prf | |
223 | qt4/mkspecs/features/qdbus.prf | 225 | qt4/mkspecs/features/qdbus.prf | |
224 | qt4/mkspecs/features/qmake.conf | 226 | qt4/mkspecs/features/qmake.conf | |
225 | qt4/mkspecs/features/qt.prf | 227 | qt4/mkspecs/features/qt.prf | |
226 | qt4/mkspecs/features/qt_config.prf | 228 | qt4/mkspecs/features/qt_config.prf | |
227 | qt4/mkspecs/features/qt_functions.prf | 229 | qt4/mkspecs/features/qt_functions.prf | |
228 | qt4/mkspecs/features/qtestlib.prf | 230 | qt4/mkspecs/features/qtestlib.prf | |
229 | qt4/mkspecs/features/qtopia.prf | 231 | qt4/mkspecs/features/qtopia.prf | |
230 | qt4/mkspecs/features/qtopiainc.prf | 232 | qt4/mkspecs/features/qtopiainc.prf | |
231 | qt4/mkspecs/features/qtopialib.prf | 233 | qt4/mkspecs/features/qtopialib.prf | |
234 | qt4/mkspecs/features/qttest_p4.prf | |||
232 | qt4/mkspecs/features/release.prf | 235 | qt4/mkspecs/features/release.prf | |
233 | qt4/mkspecs/features/resources.prf | 236 | qt4/mkspecs/features/resources.prf | |
234 | qt4/mkspecs/features/shared.prf | 237 | qt4/mkspecs/features/shared.prf | |
235 | qt4/mkspecs/features/silent.prf | 238 | qt4/mkspecs/features/silent.prf | |
236 | qt4/mkspecs/features/static.prf | 239 | qt4/mkspecs/features/static.prf | |
237 | qt4/mkspecs/features/static_and_shared.prf | 240 | qt4/mkspecs/features/static_and_shared.prf | |
238 | qt4/mkspecs/features/staticlib.prf | 241 | qt4/mkspecs/features/staticlib.prf | |
239 | qt4/mkspecs/features/symbian/add_mmp_rules.prf | 242 | qt4/mkspecs/features/symbian/add_mmp_rules.prf | |
240 | qt4/mkspecs/features/symbian/application_icon.prf | 243 | qt4/mkspecs/features/symbian/application_icon.prf | |
241 | qt4/mkspecs/features/symbian/armcc_warnings.prf | 244 | qt4/mkspecs/features/symbian/armcc_warnings.prf | |
242 | qt4/mkspecs/features/symbian/data_caging_paths.prf | 245 | qt4/mkspecs/features/symbian/data_caging_paths.prf | |
243 | qt4/mkspecs/features/symbian/debug.prf | 246 | qt4/mkspecs/features/symbian/debug.prf | |
244 | qt4/mkspecs/features/symbian/def_files.prf | 247 | qt4/mkspecs/features/symbian/def_files.prf | |
245 | qt4/mkspecs/features/symbian/def_files_disabled.prf | 248 | qt4/mkspecs/features/symbian/def_files_disabled.prf | |
246 | qt4/mkspecs/features/symbian/default_post.prf | 249 | qt4/mkspecs/features/symbian/default_post.prf | |
247 | qt4/mkspecs/features/symbian/default_pre.prf | 250 | qt4/mkspecs/features/symbian/default_pre.prf | |
248 | qt4/mkspecs/features/symbian/do_not_build_as_thumb.prf | 251 | qt4/mkspecs/features/symbian/do_not_build_as_thumb.prf | |
249 | qt4/mkspecs/features/symbian/epocallowdlldata.prf | 252 | qt4/mkspecs/features/symbian/epocallowdlldata.prf | |
253 | qt4/mkspecs/features/symbian/localize_deployment.prf | |||
250 | qt4/mkspecs/features/symbian/moc.prf | 254 | qt4/mkspecs/features/symbian/moc.prf | |
251 | qt4/mkspecs/features/symbian/nested_exceptions.prf | 255 | qt4/mkspecs/features/symbian/nested_exceptions.prf | |
252 | qt4/mkspecs/features/symbian/opengl.prf | 256 | qt4/mkspecs/features/symbian/opengl.prf | |
253 | qt4/mkspecs/features/symbian/platform_paths.prf | 257 | qt4/mkspecs/features/symbian/platform_paths.prf | |
254 | qt4/mkspecs/features/symbian/qt.prf | 258 | qt4/mkspecs/features/symbian/qt.prf | |
255 | qt4/mkspecs/features/symbian/qt_config.prf | 259 | qt4/mkspecs/features/symbian/qt_config.prf | |
256 | qt4/mkspecs/features/symbian/release.prf | 260 | qt4/mkspecs/features/symbian/release.prf | |
257 | qt4/mkspecs/features/symbian/run_on_phone.prf | 261 | qt4/mkspecs/features/symbian/run_on_phone.prf | |
258 | qt4/mkspecs/features/symbian/sis_targets.prf | 262 | qt4/mkspecs/features/symbian/sis_targets.prf | |
259 | qt4/mkspecs/features/symbian/stl.prf | 263 | qt4/mkspecs/features/symbian/stl.prf | |
260 | qt4/mkspecs/features/symbian/stl_off.prf | 264 | qt4/mkspecs/features/symbian/stl_off.prf | |
261 | qt4/mkspecs/features/symbian/symbian_building.prf | 265 | qt4/mkspecs/features/symbian/symbian_building.prf | |
262 | qt4/mkspecs/features/symbian/thread.prf | 266 | qt4/mkspecs/features/symbian/thread.prf |