www/cutelyst: update to 3.7.0, latest upstream
- BSD licensed now
- Supports Qt6 (but the port doesn't)
- Does not support Qt5.12 (but the port didn't anyway)
- supports epoll always
Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.
Document in CHANGES.
PR: 266034
Exp-run by: antoine
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D36349
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Update www/cutelyst and databases/cutelyst-asql to latest upstream release
Cutelyst is a Qt5-based web application framework. It gives you C++
for application logic and WSGI server and plugins for the webby bits.
This update adds a GRANTLEE option, enabled by default: it turns out
I hadn't enabled **any** templating in Cutelyst, which is a bit
of an annoying restriction. Grantlee is a Qt5-only templating
engine, so the additional default dependencies are fairly light.
While here, simplify some of the CMake options handling;
one thing I'm not sure about is how OPTIONs should be handled
in the ordering of pkg-plist: the Porter's Handbook section 8.1
does not offer any guidance. I've collected them at the end.
Reported by: portscout
Update www/cutelyst to latest upstream release, 2.10.0
Release announcement is at
https://dantti.wordpress.com/2020/02/17/cutelyst-2-10-0-and-simplemail-v2-released/
It just says "many important bugfixes", though. No details.
While here, I've enabled two plugins in cutelyst, CSRF protection
and static compression support. This isn't at the BUILD_ALL level,
but should make cutelyst more useful in its default package state.
Update www/cutelyst to latest upstream release.
Release notes are here:
https://dantti.wordpress.com/2019/09/26/cutelyst-2-9-0-and-simple-mail-qt-1-4-0-released/
With highlight:
Cutelyst has got many bug fixes, a few API additions, some
docs fixes, and most importantly it fixed a memory leak introduced
in 2.8.0 that makes applications using chained actions leak.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Fix build on gcc-based architectures:
target_compile_features The compiler feature "cxx_auto_type" is not known to
CXX compiler
Approved by: portmgr (tier-2 blanket)
Fix Qt5 symbol version scripts to put the catch-all clause first. When
a symbol matches multiple clauses the last one takes precedence. If the
catch-all is last it captures everything. In the case of Qt5 libraries
this caused all symbols to have a Qt_5 label while some should have
Qt_5_PRIVATE_API. This only affects lld because GNU ld always gives the
catch-all lowest priority.
Older versions of Qt5Webengine exported some memory allocation symbols from
the bundled Chromium. Version 5.9 stopped exporting these [1] but the
symbols were kept as weak wrappers for the standard allocation functions to
maintain binary compatibility. [2][3] The problem is that the call to the
standard function in these weak wrappers is only resolved to the standard
function if there's a call to this standard function in other parts of
Qt5Webengine, because only then is there a non-weak symbol that takes
precedence over the weak one. If there's no such non-weak symbol the call
(Only the first 15 lines of the commit message are shown above )
Change cmake default behaviour to outsource.
Ports that build out of source now simply can use "USES=cmake"
instead of "USES=cmake:outsource". Ports that fail to build
out of source now need to specify "USES=cmake:insource".
I tried to only set insource where explictely needed.
PR: 232038
Exp-run by: antoine
Replace bsd.qt.mk by Uses/qt.mk and Uses/qt-dist.mk
From now on, ports that depend on Qt4 will have to set
USES= qt:4
USE_QT= foo bar
ports depending on Qt5 will use
USES= qt:5
USE_QT= foo bar
PR: 229225
Exp-run by: antoine
Reviewed by: mat
Approved by: portmgr (antoine)
Differential Revision: -https://reviews.freebsd.org/D15540
New port www/cutelyst. Cutelyst is a C++/Qt web framework, which can be
used to write standalone web-applications with a small footprint, yet
with powerful templating -- and share code and logic with desktop apps.