notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
All times are UTC
non port: devel/qt5/files/

Number of commits found: 4

Thu, 14 Apr 2022
[ 16:17 Adriaan de Groot (adridg) search for other commits by this committer ]    commit hash:613a0476fffb84ebab668d4737575c1280024b2e  commit hash:613a0476fffb84ebab668d4737575c1280024b2e  commit hash:613a0476fffb84ebab668d4737575c1280024b2e  613a047 
devel/qt5: avoid POST-DEINSTALL error messages

The deinstall script needs to check if QtCore/qconfig.h exists.
If it doesn't, then Qt as a whole is being deinstalled. However,
if it *does* exist, then the shell command `[ ! -e QtCore/qconfig.h ]`
exits with a non-zero exit code. In the deinstall script, that
was the last pipeline in the script and so the script ends up with
that as exit code. Suppress this bogus failure by adding : (true)
to the end of the deinstall script.

I'm specifically **not** bumping any PORTREVISIONs. The deinstall
message is harmless (if confusing) and rebuilding all the Qt packages
for a one-character change to suppress a harmless message seems
like overkill. They will doubtless be rebuilt soon for some
dependency change anyway.
Sun, 4 Jul 2021
[ 16:55 Loïc Bartoletti (lbartoletti) search for other commits by this committer ]    commit hash:be86c4fe23e089aeef1ed7467161c2ce321a8c81  commit hash:be86c4fe23e089aeef1ed7467161c2ce321a8c81  commit hash:be86c4fe23e089aeef1ed7467161c2ce321a8c81  be86c4f  (Only the first 10 of 49 ports in this commit are shown above. View all ports for this commit)
misc/qtchooser: remove

QtChooser allows you to select your version of Qt among those installed.
However, this tool is no longer supported upstream and will not be
available for Qt6.
By default, our Qt installations are done in
${LOCALBASE}/lib/qt${QT_VERSION} as recommended.

We have added symbolic linking for the main binaries to
${LOCALBASE}/bin with the suffix -qt5.
Wed, 24 Feb 2021
[ 20:45 adridg search for other commits by this committer ] Original commit   Revision:566508
Fix Qt5 ports

Thanks to antoine@ for figuring out that ${REINPLACE_CMD} does not
handle '\t' in all supported versions -- so replacing the tabs in
the script kept the tabs, but called /usr/bin/ca and /usr/bin/sor
instead. Switched to indenting with spaces instead, so and only
strip leading spaces at that, so the scripts can be slightly
easier to indent / layout. Add comment pointing out how to
easily read the shellscript among all the minifying-magic.

danfe@ pointed to a naming mix-up; because the variables were
used consistently, this had no effect but a weirdly-named temporary
file in ${WRKSRC}. Swapped the names the right way around.

Bump PORTREVISION on qt5-core again to force another round of

Reported by:	danfe, antoine
Tue, 23 Feb 2021
[ 20:11 adridg search for other commits by this committer ] Original commit   Revision:566427
Re-work Qt5 install- and deinstall scripts.

Qt5 packages *together* manage a header file qconfig-modules.h which
`#includes` other headers. A given Qt5 package may get a line in there,
or it might not: that depends on package settings.

On installing a package, add the line (if needed), on deinstall, remove
the line (if it was there). There's a tricky case, too: upgrading
a package that *had* a line, but no longer has one. That behaves like
deinstall. Previously we used @postexec and @postunexec lines, but
these were fragile in their own special way. See the linked PRs for
examples -- or tcberner's comment that his qconfig-modules.h file
*was* a screenful, and is now much shorter (and alphabetical, too!)

An additional complication comes from needing to update qtchooser,
(Only the first 15 lines of the commit message are shown above View all of this commit message)

Number of commits found: 4