I've started to (try to) build Qt 5.2.0 ports. The ones in area51 trunk are
5.2.0-beta1. Some things have changed since the beta:
- the gstreamer options no longer apply to the core lib (e.g. -no-gstreamer
is now an error to configure when building qmake5). The option is still useful
in the Qt multimedia library, but not in corelib.
- there is a qfeatures.h file which is generated during qmake build, which is
#include<>d by qglobals.h; this file needs to be installed by the qmake5 port
as well.
The attached patch does that, but it's rather ugly -- i have not much ports-
fu, nor qmake.pro fu either.
- bump QT5_VERSION to 5.2.0
- remove -no-gstreamer configure argument
- adds an install_qfeatures_h to the generated Makefile which installs that
one header
- adds qfeatures.h to the plist and removes default_pre.prf, which seems to
have gone away
- patches distinfo for the newer files
[ade]
Index: QT/Mk/bsd.qt.mk
===================================================================
--- QT/Mk/bsd.qt.mk (revision 9883)
+++ QT/Mk/bsd.qt.mk (working copy)
@@ -27,7 +27,7 @@
# Qt versions currently supported by the framework.
_QT_SUPPORTED?= 4 5
QT4_VERSION?= 4.8.5
-QT5_VERSION?= 5.2.0-beta1
+QT5_VERSION?= 5.2.0
QT_PREFIX?= ${LOCALBASE}
Index: QT/devel/qmake5/Makefile
===================================================================
--- QT/devel/qmake5/Makefile (revision 9883)
+++ QT/devel/qmake5/Makefile (working copy)
@@ -16,12 +16,12 @@
CONFIGURE_ARGS= -no-accessibility -no-openssl -no-gui -no-cups \
-no-iconv -no-icu -no-dbus -no-xcb -no-opengl \
-no-glib -no-audio-backend -no-fontconfig \
- -no-gstreamer -no-gtkstyle -no-xinput2 -no-xrender \
+ -no-gtkstyle -no-xinput2 -no-xrender \
-no-xkbcommon
# Features yet to be removed from qconfig.pri.
TBR_CONFIG= alsa|concurrent|.*freetype|.*gif|.*gui|.*harfbuzz|inotify|.*jpeg|.*pkg-config|.*png|pulseaudio|.*widgets|xlib
QMAKESPEC= ${WRKSRC}/mkspecs/freebsd-${QMAKE_COMPILER}
-INSTALL_TARGET= install_qmake install_mkspecs
+INSTALL_TARGET= install_qmake install_mkspecs install_qfeatures_h
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
@@ -60,5 +60,7 @@
# Cleanup qmodule.pri to make it module agnostic.
@${REINPLACE_CMD} -En -e '/^(CONFIG|QT_BUILD_PARTS|.*_DIR) / p' \
${WRKSRC}/mkspecs/qmodule.pri
+ @cd ${WRKSRC} && { echo "install_qfeatures_h: src/corelib/global/qfeatures.h" ; echo ' mkdir -p $$(INSTALL_ROOT)$(QT_INCDIR)/QtCore' ; echo ' $$(INSTALL_FILE) $$> $$(INSTALL_ROOT)$(QT_INCDIR)/QtCore/' ; } >> Makefile
+
.include <bsd.port.post.mk>
Index: QT/devel/qmake5/pkg-plist
===================================================================
--- QT/devel/qmake5/pkg-plist (revision 9883)
+++ QT/devel/qmake5/pkg-plist (working copy)
@@ -1,4 +1,5 @@
%%QT_BINDIR%%/qmake
+%%QT_INCDIR%%/QtCore/qfeatures.h
%%QT_MKSPECDIR%%/aix-g++-64/qmake.conf
%%QT_MKSPECDIR%%/aix-g++-64/qplatformdefs.h
%%QT_MKSPECDIR%%/aix-g++/qmake.conf
@@ -177,7 +178,6 @@
%%QT_MKSPECDIR%%/features/testlib_defines.prf
%%QT_MKSPECDIR%%/features/uic.prf
%%QT_MKSPECDIR%%/features/unix/bsymbolic_functions.prf
-%%QT_MKSPECDIR%%/features/unix/default_pre.prf
%%QT_MKSPECDIR%%/features/unix/dylib.prf
%%QT_MKSPECDIR%%/features/unix/gdb_dwarf_index.prf
%%QT_MKSPECDIR%%/features/unix/hide_symbols.prf
Index: QT/devel/qt5/distinfo
===================================================================
--- QT/devel/qt5/distinfo (revision 9883)
+++ QT/devel/qt5/distinfo (working copy)
@@ -1,34 +1,34 @@
-SHA256 (KDE/qtbase-opensource-src-5.2.0-beta1.tar.xz) = c37ae6661b2a42125c6cad1f71ab79b32877f5deab800c718b536cccb5081b91
-SIZE (KDE/qtbase-opensource-src-5.2.0-beta1.tar.xz) = 46413376
-SHA256 (KDE/qtdeclarative-opensource-src-5.2.0-beta1.tar.xz) = ad8fa83a37f89a92eda6dd689d2af5b4f3063584887ffeac1c73821978397fd1
-SIZE (KDE/qtdeclarative-opensource-src-5.2.0-beta1.tar.xz) = 17500920
-SHA256 (KDE/qtdoc-opensource-src-5.2.0-beta1.tar.xz) = 589e8e077c6b50f9c7c9b5e159744b2faaaa3e6b662a3292703bcea98286b692
-SIZE (KDE/qtdoc-opensource-src-5.2.0-beta1.tar.xz) = 16380452
-SHA256 (KDE/qtgraphicaleffects-opensource-src-5.2.0-beta1.tar.xz) = 58f7278d37cae1899c8d2a5cd5539d4894ff68054fdb5ae2701252098f14056c
-SIZE (KDE/qtgraphicaleffects-opensource-src-5.2.0-beta1.tar.xz) = 14326540
-SHA256 (KDE/qtimageformats-opensource-src-5.2.0-beta1.tar.xz) = 69daf5a44698373a31b95e46250e3875d81bfa36127b0152bdeddc06ab879b7b
-SIZE (KDE/qtimageformats-opensource-src-5.2.0-beta1.tar.xz) = 1032824
-SHA256 (KDE/qtmultimedia-opensource-src-5.2.0-beta1.tar.xz) = 01a24654fd041c8d7124ec639486bff02f4d158696336941ed0edad65b3c1f61
-SIZE (KDE/qtmultimedia-opensource-src-5.2.0-beta1.tar.xz) = 4209612
-SHA256 (KDE/qtquick1-opensource-src-5.2.0-beta1.tar.xz) = 2dbc4891f9fd0bd68a4a866c3d6e0437ca662e1cd22480b95e5157fa5eb63c51
-SIZE (KDE/qtquick1-opensource-src-5.2.0-beta1.tar.xz) = 15993236
-SHA256 (KDE/qtquickcontrols-opensource-src-5.2.0-beta1.tar.xz) = 3784e01766498170f1884d3f23d8458a6952bfce91bd3176ed5c0fa356cfb23e
-SIZE (KDE/qtquickcontrols-opensource-src-5.2.0-beta1.tar.xz) = 571812
-SHA256 (KDE/qtscript-opensource-src-5.2.0-beta1.tar.xz) = 2f9a6c57cb984939270d894cd62156a87d0993bccd644b498df27c6f76706f2a
-SIZE (KDE/qtscript-opensource-src-5.2.0-beta1.tar.xz) = 2589940
-SHA256 (KDE/qtserialport-opensource-src-5.2.0-beta1.tar.xz) = cab3353ad4ae72a94d2c2e8affdabd628601151527daeabb5bf5fc41c4bc0b3e
-SIZE (KDE/qtserialport-opensource-src-5.2.0-beta1.tar.xz) = 183752
-SHA256 (KDE/qtsvg-opensource-src-5.2.0-beta1.tar.xz) = 043d2ff675b649e5ff12c4e7edfb721426cd7d572b624d8a2b20dfa9c3df1e61
-SIZE (KDE/qtsvg-opensource-src-5.2.0-beta1.tar.xz) = 1763144
-SHA256 (KDE/qttools-opensource-src-5.2.0-beta1.tar.xz) = d44ab6b08420dae80000cf52183f73c33d1f02ede53e28b78892ee72ffe876e4
-SIZE (KDE/qttools-opensource-src-5.2.0-beta1.tar.xz) = 8943032
-SHA256 (KDE/qttranslations-opensource-src-5.2.0-beta1.tar.xz) = 7493426438a7eb6c4405182d40f07bc073258264a2edf3ea3402e9d872c95384
-SIZE (KDE/qttranslations-opensource-src-5.2.0-beta1.tar.xz) = 978840
-SHA256 (KDE/qtwebkit-opensource-src-5.2.0-beta1.tar.xz) = c8112fb3300ace4c70313ffbeceda0468edab32df17dc44f3dccfc4f43ba2048
-SIZE (KDE/qtwebkit-opensource-src-5.2.0-beta1.tar.xz) = 32996740
-SHA256 (KDE/qtwebkit-examples-opensource-src-5.2.0-beta1.tar.xz) = 887cd30649cd6ad7604d4ceb9f986bbe083727729c1c7b5fcb6dcd8ca443c60a
-SIZE (KDE/qtwebkit-examples-opensource-src-5.2.0-beta1.tar.xz) = 3409088
-SHA256 (KDE/qtx11extras-opensource-src-5.2.0-beta1.tar.xz) = 954ac116a50b5f001e47de4610eea577e83f24e34870b08ca71c2c0ee1872603
-SIZE (KDE/qtx11extras-opensource-src-5.2.0-beta1.tar.xz) = 30168
-SHA256 (KDE/qtxmlpatterns-opensource-src-5.2.0-beta1.tar.xz) = a6da4deb34efc2354fc05d1c1b0bf6f034888f37aee77e022d715bdda468b0c7
-SIZE (KDE/qtxmlpatterns-opensource-src-5.2.0-beta1.tar.xz) = 1314252
+SHA256 (KDE/qtbase-opensource-src-5.2.0.tar.xz) = 51556cd2562a6d4bbb70ffcc93e8ef83ec79b170753aac6e4b195957c61cb628
+SIZE (KDE/qtbase-opensource-src-5.2.0.tar.xz) = 46353264
+SHA256 (KDE/qtdeclarative-opensource-src-5.2.0.tar.xz) = b81bd480216fda8ff1d96610e710ff5ca17e0d711c8e40753264f91a4e8f6d19
+SIZE (KDE/qtdeclarative-opensource-src-5.2.0.tar.xz) = 17544756
+SHA256 (KDE/qtdoc-opensource-src-5.2.0.tar.xz) = d1a38fd132c08346983764d16c954a83bdddd9b1e310016cfb677ea4d259009a
+SIZE (KDE/qtdoc-opensource-src-5.2.0.tar.xz) = 16619376
+SHA256 (KDE/qtgraphicaleffects-opensource-src-5.2.0.tar.xz) = b28cefa95578cf5ed1dfcbc81da1cbec427400e56edf0ce81323b3f25e2a558d
+SIZE (KDE/qtgraphicaleffects-opensource-src-5.2.0.tar.xz) = 14325860
+SHA256 (KDE/qtimageformats-opensource-src-5.2.0.tar.xz) = 632aacdac40717bf1bbc6861dc2e2d7d2825d68f40b7c1ae04636dafa20b0210
+SIZE (KDE/qtimageformats-opensource-src-5.2.0.tar.xz) = 1032380
+SHA256 (KDE/qtmultimedia-opensource-src-5.2.0.tar.xz) = dc37d21db1d4d8cdc2808ee24c7354643bc0b2ff71f9631bd8cfded388a4d9ac
+SIZE (KDE/qtmultimedia-opensource-src-5.2.0.tar.xz) = 4208380
+SHA256 (KDE/qtquick1-opensource-src-5.2.0.tar.xz) = ae868892a586cd0622a558fda6ebada8edadb575edf3b50e5569fd7115b6e805
+SIZE (KDE/qtquick1-opensource-src-5.2.0.tar.xz) = 15990036
+SHA256 (KDE/qtquickcontrols-opensource-src-5.2.0.tar.xz) = c778c364d8d438ff7939c540f56ea741e4b5b957b620b194c2e881c775ab582c
+SIZE (KDE/qtquickcontrols-opensource-src-5.2.0.tar.xz) = 597420
+SHA256 (KDE/qtscript-opensource-src-5.2.0.tar.xz) = ea717e633c9a586dc66b435aad50c9870d6f0c4d1bc185f91144b002bd060294
+SIZE (KDE/qtscript-opensource-src-5.2.0.tar.xz) = 2583368
+SHA256 (KDE/qtserialport-opensource-src-5.2.0.tar.xz) = c7d5bb58d6c574275102d088159d0323aac40a639ceb4224aa06c34d2fe8d292
+SIZE (KDE/qtserialport-opensource-src-5.2.0.tar.xz) = 240908
+SHA256 (KDE/qtsvg-opensource-src-5.2.0.tar.xz) = bad23ebcebf8e91cc727b229a3f87f95829edfd2a7653d47e97b154aac687c59
+SIZE (KDE/qtsvg-opensource-src-5.2.0.tar.xz) = 1762976
+SHA256 (KDE/qttools-opensource-src-5.2.0.tar.xz) = ff331510ecb776b3059953e216e9fa7a4c0736eeb148c4cf11acc8150811b7f0
+SIZE (KDE/qttools-opensource-src-5.2.0.tar.xz) = 8941736
+SHA256 (KDE/qttranslations-opensource-src-5.2.0.tar.xz) = 980d3fe6ff2bc16b23b716c375c90833fda0a44c524082f788208579bc7a749f
+SIZE (KDE/qttranslations-opensource-src-5.2.0.tar.xz) = 999708
+SHA256 (KDE/qtwebkit-opensource-src-5.2.0.tar.xz) = 390e16e719e41bcc94fd79866a0909b70235513778063c5e47227b8b9876e0cf
+SIZE (KDE/qtwebkit-opensource-src-5.2.0.tar.xz) = 32981508
+SHA256 (KDE/qtwebkit-examples-opensource-src-5.2.0.tar.xz) = 80e7eb55ea6c4a4e92f44eb1d3cd7c9ecd85f9d5e48e682a31473633fa46a64e
+SIZE (KDE/qtwebkit-examples-opensource-src-5.2.0.tar.xz) = 3408812
+SHA256 (KDE/qtx11extras-opensource-src-5.2.0.tar.xz) = 98e4d82a6e349fb6f4cba29a37d74b9955db340772c8d8810617a85fbb10eec4
+SIZE (KDE/qtx11extras-opensource-src-5.2.0.tar.xz) = 30160
+SHA256 (KDE/qtxmlpatterns-opensource-src-5.2.0.tar.xz) = a8192ee70d8d3e9944a8d8f03521e3abf6beb7f6de1bf2d80871dfc4d9bd2a2a
+SIZE (KDE/qtxmlpatterns-opensource-src-5.2.0.tar.xz) = 1312552
_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information