Index: head/devel/gwenhywfar/Makefile =================================================================== --- head/devel/gwenhywfar/Makefile (revision 447198) +++ head/devel/gwenhywfar/Makefile (revision 447199) @@ -1,98 +1,98 @@ # $FreeBSD$ PORTNAME= gwenhywfar -PORTVERSION= 4.15.3 -PORTREVISION?= 1 +PORTVERSION= 4.18.0 +PORTREVISION?= 0 CATEGORIES= devel net security -MASTER_SITES= http://www.aquamaniac.de/sites/download/download.php?package=01&release=201&file=01&dummy=/ +MASTER_SITES= http://www.aquamaniac.de/sites/download/download.php?package=01&release=206&file=01&dummy=/ MAINTAINER?= jhale@FreeBSD.org COMMENT?= Multi-platform helper library for networking and security applications LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgnutls.so:security/gnutls \ libgpg-error.so:security/libgpg-error USES= gettext gmake iconv libtool pathfix pkgconfig ssl GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-release="yes" \ --with-guis="${SLAVEPORT}" CPPFLAGS+= -isystem ${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl INSTALL_TARGET= install-strip USE_LDCONFIG= yes GWEN_SHLIB_VER= 60 PLIST_SUB= GWEN_SHLIB_VER="${GWEN_SHLIB_VER}" \ GWEN_MAJ_MIN_VER="${PORTVERSION:R}" .if !defined(SLAVEPORT) OPTIONS_DEFINE= DOXYGEN MEMDEBUG DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz DOXYGEN_CONFIGURE_ENABLE= full-doc MEMDEBUG_DESC= Enable memory debugger statistic MEMDEBUG_CONFIGURE_ENABLE= memtrace .endif .include .if defined(SLAVEPORT) LIB_DEPENDS+= libgwenhywfar.so:devel/gwenhywfar BUILD_WRKSRC= ${WRKSRC}/gui INSTALL_WRKSRC= ${WRKSRC}/gui/${SLAVEPORT} . if ${SLAVEPORT}=="fox16" LIB_DEPENDS+= libFOX-1.6.so:x11-toolkits/fox16 CONFIGURE_ARGS+=--with-fox-includes=${LOCALBASE}/include/fox-1.6 \ --with-fox-libs=${LOCALBASE}/lib . elif ${SLAVEPORT}=="gtk2" LIB_DEPENDS+= libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig USE_GNOME+= cairo gdkpixbuf2 gtk20 . elif ${SLAVEPORT}=="qt4" USE_QT4= corelib gui moc_build uic_build QT_NONSTANDARD= yes CONFIGURE_ARGS+=--with-qt4-includes=${QT_INCDIR} \ --with-qt4-libs=${QT_LIBDIR} \ --with-qt4-moc=${MOC} \ --with-qt4-uic=${UIC} . elif ${SLAVEPORT}=="qt5" USE_GL= gl -USE_QT5= core dbus gui network printsupport qml testlib widgets xml \ +USE_QT5= core gui widgets \ buildtools_build linguisttools_build qmake_build QT_NONSTANDARD= yes CONFIGURE_ARGS+=--with-qt5-qmake=${QMAKE} \ --with-qt5-moc=${MOC} \ --with-qt5-uic=${UIC} \ --with-qt5-lrelease=${LRELEASE} \ --with-qt5-lupdate=${LUPDATE} . endif .endif post-patch: .if defined(SLAVEPORT) @${FIND} ${BUILD_WRKSRC} -name "Makefile.in" -type f | ${XARGS} \ ${REINPLACE_CMD} -e 's|[$$][(]top_builddir[)]/src/[$$][(]gwenhywfar_internal_libname[)]|$$(gwenhywfar_libs)|g' \ -e 's|[$$][(]builddir[)]/../cpp/libgwengui-cpp.la|-lgwengui-cpp|g' \ -e 's|[$$][(]top_builddir[)]/gui/cpp/libgwengui-cpp.la|-lgwengui-cpp|g' \ -e '/^SUBDIRS/s|cpp ||g' .endif post-build-DOXYGEN-on: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} srcdoc post-install-DOXYGEN-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}/apidoc cd ${WRKSRC}/apidoc && \ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/apidoc @${FIND} -P ${STAGEDIR}${DOCSDIR} -type f 2>/dev/null | \ ${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST} .include Index: head/devel/gwenhywfar/distinfo =================================================================== --- head/devel/gwenhywfar/distinfo (revision 447198) +++ head/devel/gwenhywfar/distinfo (revision 447199) @@ -1,3 +1,3 @@ -TIMESTAMP = 1474457855 -SHA256 (gwenhywfar-4.15.3.tar.gz) = 6a0e8787c99620414da6140e567c616b55856c5edf8825a9ebc67431923ee63a -SIZE (gwenhywfar-4.15.3.tar.gz) = 2249350 +TIMESTAMP = 1501744741 +SHA256 (gwenhywfar-4.18.0.tar.gz) = 6915bba42d8b7f0213cee186a944296e5e5e97cdbde5b539a924261af03086ca +SIZE (gwenhywfar-4.18.0.tar.gz) = 2333059 Index: head/devel/gwenhywfar/files/patch-configure =================================================================== --- head/devel/gwenhywfar/files/patch-configure (revision 447198) +++ head/devel/gwenhywfar/files/patch-configure (revision 447199) @@ -1,64 +1,103 @@ ---- configure.orig 2016-04-23 16:22:43 UTC +Fix dectection of fox libs +Allow configuring the locations of lrelease and lupdate +Prevent linking to unneeded Qt5 libraries + +--- configure.orig 2017-07-30 14:20:32 UTC +++ configure -@@ -948,6 +948,8 @@ with_x +@@ -951,6 +951,8 @@ with_x with_qt5_qmake with_qt5_moc with_qt5_uic +with_qt5_lrelease +with_qt5_lupdate with_docpath enable_release enable_memtrace -@@ -1668,6 +1670,8 @@ Optional Packages: +@@ -1672,6 +1674,8 @@ Optional Packages: --with-qt5-qmake=FILE uses given qmake --with-qt5-moc=FILE uses given qt moc --with-qt5-uic=FILE uses given qt uic + --with-qt5-lrelease=FILE uses given qt lrelease + --with-qt5-lupdate=FILE uses given qt lupdate --with-docpath=DIR where to store the apidoc --with-buffer-hardlimit=VALUE new default buffer hard limit --with-plugins-ct=LIST list of CT plugins to build -@@ -21079,7 +21083,7 @@ $as_echo_n "checking for fox libraries.. +@@ -21084,7 +21088,7 @@ $as_echo_n "checking for fox libraries.. # Check whether --with-fox-libs was given. if test "${with_fox_libs+set}" = set; then : - withval=$with_fox_libs; fox_libs="$withval" + withval=$with_fox_libs; local_fox_libs="$withval" else ac_ext=cpp -@@ -22445,8 +22449,8 @@ percent.commands = @echo -n "\$(\$(@))\ +@@ -22415,43 +22419,16 @@ $as_echo_n "checking for Qt... " >&6; } + am_have_qt_makefile=`mktemp` + # http://qt-project.org/doc/qt-5/qmake-variable-reference.html#qt + cat > $am_have_qt_pro << EOF +-qtHaveModule(axcontainer): QT += axcontainer +-qtHaveModule(axserver): QT += axserver +-qtHaveModule(concurrent): QT += concurrent + qtHaveModule(core): QT += core +-qtHaveModule(dbus): QT += dbus +-qtHaveModule(declarative): QT += declarative +-qtHaveModule(designer): QT += designer + qtHaveModule(gui): QT += gui +-qtHaveModule(help): QT += help +-qtHaveModule(multimedia): QT += multimedia +-qtHaveModule(multimediawidgets): QT += multimediawidgets +-qtHaveModule(network): QT += network +-qtHaveModule(opengl): QT += opengl +-qtHaveModule(printsupport): QT += printsupport +-qtHaveModule(qml): QT += qml +-qtHaveModule(qmltest): QT += qmltest +-qtHaveModule(x11extras): QT += x11extras +-qtHaveModule(script): QT += script +-qtHaveModule(scripttools): QT += scripttools +-qtHaveModule(sensors): QT += sensors +-qtHaveModule(serialport): QT += serialport +-qtHaveModule(sql): QT += sql +-qtHaveModule(svg): QT += svg +-qtHaveModule(testlib): QT += testlib +-qtHaveModule(uitools): QT += uitools +-qtHaveModule(webkit): QT += webkit +-qtHaveModule(webkitwidgets): QT += webkitwidgets +-qtHaveModule(xml): QT += xml +-qtHaveModule(xmlpatterns): QT += xmlpatterns + qtHaveModule(widgets): QT += widgets + percent.target = % + percent.commands = @echo -n "\$(\$(@))\ " QMAKE_EXTRA_TARGETS += percent EOF $QT_QMAKE $am_have_qt_pro -o $am_have_qt_makefile -- QT_CXXFLAGS=`make -f $am_have_qt_makefile CXXFLAGS INCPATH` -- QT_LIBS=`make -f $am_have_qt_makefile LIBS` -+ QT_CXXFLAGS=`make -f $am_have_qt_makefile -VCXXFLAGS -VINCPATH | tr '\n' ' '` -+ QT_LIBS=`make -f $am_have_qt_makefile -VLIBS | tr '\n' ' '` +- QT_CXXFLAGS=`make -s -f $am_have_qt_makefile CXXFLAGS INCPATH` +- QT_LIBS=`make -s -f $am_have_qt_makefile LIBS` ++ QT_CXXFLAGS=`make -s -f $am_have_qt_makefile -VCXXFLAGS -VINCPATH | tr '\n' ' '` ++ QT_LIBS=`make -s -f $am_have_qt_makefile -VLIBS | tr '\n' ' '` rm $am_have_qt_pro $am_have_qt_makefile # Look for specific tools in $PATH -@@ -22469,9 +22473,21 @@ else +@@ -22474,9 +22451,21 @@ else fi +# Check whether --with-qt5-lrelease was given. +if test "${with_qt5_lrelease+set}" = set; then : + withval=$with_qt5_lrelease; QT_LRELEASE="$withval" +else + QT_RELEASE=`which lrelease` + +fi + +# Check whether --with-qt5-lupdate was given. +if test "${with_qt5_lupdate+set}" = set; then : + withval=$with_qt5_lupdate; QT_LUPDATE="$withval" +else + QT_LUPDATE=`which lupdate` - QT_LRELEASE=`which lrelease` - QT_LUPDATE=`which lupdate` +fi # Get Qt version from qmake QT_DIR=`$QT_QMAKE --version | grep -o -E /.+` Index: head/devel/gwenhywfar/pkg-plist =================================================================== --- head/devel/gwenhywfar/pkg-plist (revision 447198) +++ head/devel/gwenhywfar/pkg-plist (revision 447199) @@ -1,190 +1,191 @@ bin/gct-tool bin/gsa bin/gwenhywfar-config bin/mklistdoc bin/typemaker bin/typemaker2 bin/xmlmerge include/gwenhywfar4/gwen-gui-cpp/api.h include/gwenhywfar4/gwen-gui-cpp/cppdialog.hpp include/gwenhywfar4/gwen-gui-cpp/cppgui.hpp include/gwenhywfar4/gwen-gui-cpp/cppwidget.hpp include/gwenhywfar4/gwenhywfar/args.h include/gwenhywfar4/gwenhywfar/base64.h include/gwenhywfar4/gwenhywfar/bindata.h include/gwenhywfar4/gwenhywfar/buffer.h include/gwenhywfar4/gwenhywfar/cgui.h include/gwenhywfar4/gwenhywfar/configmgr.h include/gwenhywfar4/gwenhywfar/configmgr_be.h include/gwenhywfar4/gwenhywfar/cryptalgo.h include/gwenhywfar4/gwenhywfar/cryptdefs.h include/gwenhywfar4/gwenhywfar/crypthead.h include/gwenhywfar4/gwenhywfar/cryptkey.h include/gwenhywfar4/gwenhywfar/cryptkey_be.h include/gwenhywfar4/gwenhywfar/cryptkeyrsa.h include/gwenhywfar4/gwenhywfar/cryptkeysym.h include/gwenhywfar4/gwenhywfar/cryptmgr.h include/gwenhywfar4/gwenhywfar/cryptmgr_be.h include/gwenhywfar4/gwenhywfar/cryptmgrkeys.h include/gwenhywfar4/gwenhywfar/ct.h include/gwenhywfar4/gwenhywfar/ct_be.h include/gwenhywfar4/gwenhywfar/ct_context.h include/gwenhywfar4/gwenhywfar/ct_keyinfo.h include/gwenhywfar4/gwenhywfar/ctf_context_be.h include/gwenhywfar4/gwenhywfar/ctfile_be.h include/gwenhywfar4/gwenhywfar/ctplugin.h include/gwenhywfar4/gwenhywfar/ctplugin_be.h include/gwenhywfar4/gwenhywfar/db.h include/gwenhywfar4/gwenhywfar/dbio.h include/gwenhywfar4/gwenhywfar/dbio_be.h include/gwenhywfar4/gwenhywfar/debug.h include/gwenhywfar4/gwenhywfar/dialog.h include/gwenhywfar4/gwenhywfar/dialog_be.h include/gwenhywfar4/gwenhywfar/directory.h +include/gwenhywfar4/gwenhywfar/endianfns.h include/gwenhywfar4/gwenhywfar/error.h include/gwenhywfar4/gwenhywfar/fastbuffer.h include/gwenhywfar4/gwenhywfar/fslock.h include/gwenhywfar4/gwenhywfar/gui.h include/gwenhywfar4/gwenhywfar/gui_be.h include/gwenhywfar4/gwenhywfar/gwen_sar_fileheader.h include/gwenhywfar4/gwenhywfar/gwendate.h include/gwenhywfar4/gwenhywfar/gwenhywfar.h include/gwenhywfar4/gwenhywfar/gwenhywfarapi.h include/gwenhywfar4/gwenhywfar/gwensemaphore.h include/gwenhywfar4/gwenhywfar/gwensignal.h include/gwenhywfar4/gwenhywfar/gwentime.h include/gwenhywfar4/gwenhywfar/hashalgo.h include/gwenhywfar4/gwenhywfar/htmlctx_be.h include/gwenhywfar4/gwenhywfar/htmlfont_be.h include/gwenhywfar4/gwenhywfar/htmlimage_be.h include/gwenhywfar4/gwenhywfar/htmlobject_be.h include/gwenhywfar4/gwenhywfar/htmlprops_be.h include/gwenhywfar4/gwenhywfar/httpsession.h include/gwenhywfar4/gwenhywfar/i18n.h include/gwenhywfar4/gwenhywfar/idlist.h include/gwenhywfar4/gwenhywfar/idlist64.h include/gwenhywfar4/gwenhywfar/idmap.h include/gwenhywfar4/gwenhywfar/inetaddr.h include/gwenhywfar4/gwenhywfar/inetsocket.h include/gwenhywfar4/gwenhywfar/inherit.h include/gwenhywfar4/gwenhywfar/libloader.h include/gwenhywfar4/gwenhywfar/list.h include/gwenhywfar4/gwenhywfar/list1.h include/gwenhywfar4/gwenhywfar/list1.tmpl include/gwenhywfar4/gwenhywfar/list2.h include/gwenhywfar4/gwenhywfar/list2.tmpl include/gwenhywfar4/gwenhywfar/logger.h include/gwenhywfar4/gwenhywfar/mdigest.h include/gwenhywfar4/gwenhywfar/mdigest_be.h include/gwenhywfar4/gwenhywfar/memcache.h include/gwenhywfar4/gwenhywfar/memory.h include/gwenhywfar4/gwenhywfar/misc.h include/gwenhywfar4/gwenhywfar/misc2.h include/gwenhywfar4/gwenhywfar/msgengine.h include/gwenhywfar4/gwenhywfar/multicache.h include/gwenhywfar4/gwenhywfar/mutex.h include/gwenhywfar4/gwenhywfar/o_image_be.h include/gwenhywfar4/gwenhywfar/padd.h include/gwenhywfar4/gwenhywfar/paddalgo.h include/gwenhywfar4/gwenhywfar/param.h include/gwenhywfar4/gwenhywfar/param_fns.h include/gwenhywfar4/gwenhywfar/passwdstore.h include/gwenhywfar4/gwenhywfar/path.h include/gwenhywfar4/gwenhywfar/pathmanager.h include/gwenhywfar4/gwenhywfar/plugin.h include/gwenhywfar4/gwenhywfar/plugindescr.h include/gwenhywfar4/gwenhywfar/pointerlist.h include/gwenhywfar4/gwenhywfar/process.h include/gwenhywfar4/gwenhywfar/refptr.h include/gwenhywfar4/gwenhywfar/ringbuffer.h include/gwenhywfar4/gwenhywfar/sar.h include/gwenhywfar4/gwenhywfar/sighead.h include/gwenhywfar4/gwenhywfar/sigtail.h include/gwenhywfar4/gwenhywfar/smalltresor.h include/gwenhywfar4/gwenhywfar/ssl_cert_descr.h include/gwenhywfar4/gwenhywfar/ssl_cert_flags.h include/gwenhywfar4/gwenhywfar/stringlist.h include/gwenhywfar4/gwenhywfar/stringlist2.h include/gwenhywfar4/gwenhywfar/syncio.h include/gwenhywfar4/gwenhywfar/syncio_buffered.h include/gwenhywfar4/gwenhywfar/syncio_file.h include/gwenhywfar4/gwenhywfar/syncio_http.h include/gwenhywfar4/gwenhywfar/syncio_memory.h include/gwenhywfar4/gwenhywfar/syncio_socket.h include/gwenhywfar4/gwenhywfar/syncio_tls.h include/gwenhywfar4/gwenhywfar/system.h include/gwenhywfar4/gwenhywfar/tag16.h include/gwenhywfar4/gwenhywfar/text.h include/gwenhywfar4/gwenhywfar/tlv.h include/gwenhywfar4/gwenhywfar/tree.h include/gwenhywfar4/gwenhywfar/types.h include/gwenhywfar4/gwenhywfar/url.h include/gwenhywfar4/gwenhywfar/urlfns.h include/gwenhywfar4/gwenhywfar/version.h include/gwenhywfar4/gwenhywfar/widget_be.h include/gwenhywfar4/gwenhywfar/xml.h include/gwenhywfar4/gwenhywfar/xmlctx.h include/gwenhywfar4/gwenhywfar/xsdnode.h lib/cmake/gwengui-cpp-%%GWEN_MAJ_MIN_VER%%/gwengui-cpp-config-version.cmake lib/cmake/gwengui-cpp-%%GWEN_MAJ_MIN_VER%%/gwengui-cpp-config.cmake lib/cmake/gwenhywfar-%%GWEN_MAJ_MIN_VER%%/gwenhywfar-config-version.cmake lib/cmake/gwenhywfar-%%GWEN_MAJ_MIN_VER%%/gwenhywfar-config.cmake lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/configmgr/dir.so lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/configmgr/dir.xml lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/ct/ohbci.so lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/ct/ohbci.xml lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/csv.so lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/csv.so.0 lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/csv.so.0.0.1 lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/csv.xml lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/olddb.so lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/olddb.so.0 lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/olddb.so.0.0.1 lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/olddb.xml lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/xmldb.so lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/xmldb.so.0 lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/xmldb.so.0.0.1 lib/gwenhywfar/plugins/%%GWEN_SHLIB_VER%%/dbio/xmldb.xml lib/libgwengui-cpp.so lib/libgwengui-cpp.so.0 lib/libgwengui-cpp.so.0.0.0 lib/libgwenhywfar.so lib/libgwenhywfar.so.%%GWEN_SHLIB_VER%% -lib/libgwenhywfar.so.%%GWEN_SHLIB_VER%%.15.3 +lib/libgwenhywfar.so.%%GWEN_SHLIB_VER%%.18.0 libdata/pkgconfig/gwenhywfar.pc share/aclocal/gwenhywfar.m4 %%DATADIR%%/ca-bundle.crt %%DATADIR%%/dialogs/dlg_input.dlg %%DATADIR%%/dialogs/dlg_message.dlg %%DATADIR%%/dialogs/dlg_progress.dlg %%DATADIR%%/dialogs/dlg_showbox.dlg %%DATADIR%%/typemaker2/c/char.tm2 %%DATADIR%%/typemaker2/c/char_array.tm2 %%DATADIR%%/typemaker2/c/char_ptr.tm2 %%DATADIR%%/typemaker2/c/double.tm2 %%DATADIR%%/typemaker2/c/double_array.tm2 %%DATADIR%%/typemaker2/c/gwen_bindata.tm2 %%DATADIR%%/typemaker2/c/gwen_buffer.tm2 %%DATADIR%%/typemaker2/c/gwen_date.tm2 %%DATADIR%%/typemaker2/c/gwen_idlist64.tm2 %%DATADIR%%/typemaker2/c/gwen_multicache.tm2 %%DATADIR%%/typemaker2/c/gwen_multicache_type.tm2 %%DATADIR%%/typemaker2/c/gwen_param.tm2 %%DATADIR%%/typemaker2/c/gwen_param_list.tm2 %%DATADIR%%/typemaker2/c/gwen_param_list2.tm2 %%DATADIR%%/typemaker2/c/gwen_param_tree.tm2 %%DATADIR%%/typemaker2/c/gwen_stringlist2.tm2 %%DATADIR%%/typemaker2/c/gwen_time.tm2 %%DATADIR%%/typemaker2/c/idmap_base.tm2 %%DATADIR%%/typemaker2/c/int.tm2 %%DATADIR%%/typemaker2/c/int_base.tm2 %%DATADIR%%/typemaker2/c/list1_base.tm2 %%DATADIR%%/typemaker2/c/list2_base.tm2 %%DATADIR%%/typemaker2/c/struct_base.tm2 %%DATADIR%%/typemaker2/c/tree_base.tm2 %%DATADIR%%/typemaker2/c/uint32_t.tm2 %%DATADIR%%/typemaker2/c/uint32_t_array.tm2 %%DATADIR%%/typemaker2/c/uint64_t.tm2 %%DATADIR%%/typemaker2/c/uint8_t.tm2 %%DATADIR%%/typemaker2/c/uint8_t_array.tm2 share/locale/de/LC_MESSAGES/gwenhywfar.mo