Psi is a client for the Jabber system. Written in C++ and based on the
Qt library, there are versions available for Linux, FreeBSD (and other
flavors of Unix/X11), Microsoft Windows, and Apple MacOS X.
It does not require KDE to run.
===> The following configuration options are available for psi-1.5_3:
====> Spell checker backend: you can only select none or one of them
HUNSPELL=on: Spell checking support via Hunspell
ENCHANT=off: Spell checking support via Enchant
===> Use 'make config' to modify these settings
Prepare four more ports of mine for the next CMake major version
Since there are no existing patches to modify, pass down minimum
version via policy variable.
net-im/psi: try to unbreak the build against Clang 21.1.8
Casting integers to enums outside of the valid range of the
enum is UB in C++17 and apparently no longer tolerated by
modern Clang even for C++11 code. Replace invalidAlgo (255)
with optional<T>-based approach using the C++11-compatible
Sy Brand's template implementation; std::optional is not an
option (pun intended) in this case because this code won't
compile in C++17 mode which it requires.
Obtained from: upstream (psi-im/iris commit 0d35992)
Reported by: pkg-fallout
*/*: Prepare removal of Uses=qca
Summary:
kde@ is in favor of removing Uses=qca that was initially introduced to help with
the migration from OpenSSL < 1.1 for FreeBSD 11.
Add the corresponding 'LIB_DEPENDS` on those ports still using this feature.
Approved by: danfe@, fluffy@, rhurlin@, kde@ (makc@)
Differential Revision: https://reviews.freebsd.org/D49093
net-im/psi: Fix build with ninja >= 1.12.0
Address a race condition where included headers generated by uic are
not created before they used in the build.
Not upstreaming this as the last release was in 2020 and the codebase
has diverged too much since then.
PR: 278693
Approved by: portmgr (blanket)
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 )
net-im: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <ports@c0decafe.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Alberto Villa <avilla@FreeBSD.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexander Timoshenko <gonzo@univ.kiev.ua>
* Andrew Lewis <freeghb@gmail.com>
* Andrey Akhmichin <sepulkarium45@yahoo.com>
* Bartek Rutkowski <r@robakdesign.com>
* Bernard Spil <brnrd@freebsd.org>
* Brendan Molloy <brendan+freebsd@bbqsrc.net>
* Denis Shaposhnikov <dsh@vlink.ru>
(Only the first 15 lines of the commit message are shown above )
archivers/minizip*: Add minizip-ng and zlib-ng and create USES=minizip
Import minizip-ng and zlib-ng
Minizip was originally developed in 1998. It was first included in the zlib
distribution as an additional code contribution starting in zlib 1.1.2. Since
that time, it has been continually improved upon and contributed to by many
people.
+ Creating and extracting zip archives.
+ Adding and removing entries from zip archives.
+ Read and write raw zip entry data.
+ Reading and writing zip archives from memory.
+ Zlib, BZIP2, LZMA, and ZSTD compression methods.
+ Password protection through Traditional PKWARE and WinZIP AES encryption.
(Only the first 15 lines of the commit message are shown above )
devel/qca: update to 2.3
- qca-2.3 drop support for OSSL<1.1
- copy devel/qca to devel/qca-legacy which is held at the current version
- update devel/qca to 2.3
- Add Uses/qca.mk which handles dependency on either of the ports depending on
the FreeBSD version
Users on FreeBSD11 must therefore change their pkg orign a la:
pkg set -o devel/qca:devel/qca-legacy
PR: 244682
Exp-run by: antoine
Reviewed by: arrowd
Differential Revision: https://reviews.freebsd.org/D24042
Add USES=xorg USES=gl, ports categories n
Add USES=xorg and USES=gl to ports in categories starting with 'n'.
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
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
- Update `net-im/psi' to version 1.4
- Replace current 2015 Hunspell implementation (by Sergey Ilinykh and
Vitaly Tonkacheyev) with 2009 one by Alexander Tsvyashchenko, which
turned out to be better alternative:
* Much faster (suggestions appear almost instantly vs. several
hundreds milliseconds with the original implementation)
* Better multilanguage support (tested with English and Russian)
* Ability to limit number of suggestions in the settings dialog
* Working "add word to the dictionary" feature
Obtained from: http://endl.ch/content/psi-spell-checking-hunspell-support
- Switch from Enchant to Hunspell by default: the latter is a more common
dependency and is actually what upstream CMakeLists.txt defaults to
- Disable WebKit by default: there's no need for a messenger to pull such
a heavy dependency unless someone really know that they're doing (there
is an option to use lighter WebEngine instead, but it is very entangled
with WebKit, patches welcome)
- Reword COMMENT, rearrange knob order, and assume maintainership
net-im/psi: unbreak with libc++ 8
In file included from src/Certificates/moc_CertificateDisplayDialog.cpp:9:
In file included from
src/Certificates/../../../psi-1.3/src/Certificates/CertificateDisplayDialog.h:23:
In file included from /usr/local/include/Qca-qt5/QtCrypto/QtCrypto:1:
In file included from /usr/local/include/Qca-qt5/QtCrypto/qca.h:36:
In file included from /usr/local/include/Qca-qt5/QtCrypto/qca_core.h:36:
In file included from /usr/local/include/qt5/QtCore/QString:1:
In file included from /usr/local/include/qt5/QtCore/qstring.h:48:
In file included from /usr/local/include/qt5/QtCore/qchar.h:43:
In file included from /usr/local/include/qt5/QtCore/qglobal.h:45:
In file included from /usr/include/c++/v1/type_traits:406:
In file included from /usr/include/c++/v1/cstddef:38:
version:1:1: error: expected unqualified-id
1.3
^
PR: 236192
net-im/psi: unbreak HUNSPELL=on after r490671
CMake Error at
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137
(message):
Could NOT find Hunspell (missing: HUNSPELL_LIBRARY)
PR: 235104
Submitted by: VVD
Pointy hat to: jbeich
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 )
net-im/psi: Add patches to fix build
Add dependencies on the ui-gen target, this
should fix the race condition during the build.
PR: 229854
Reported 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
Reassign makc's ports back to the pool.
See "Maintainer Reset" in
https://www.freebsd.org/portmgr/policies_contributors.html. makc's last commit
was in March 31st (r412218), and his ports have been timing out since at least
July (r418155).
I also emailed him 2 weeks ago and have received no response so far.
- Update devel/qca to version 2.1.0
- Plugins are no longer available separately so remove security/qca-* and
replace them with options in devel/qca
- Adjust all ports that depended on security/qca-*
- This also fixes the build of the OpenSSL plugin when OpenSSL doesn't
support SSLv2
Approved by: kde (rakuco)
- Set DESTDIRNAME, allow staging
- Use options helpers
- Use new LIB_DEPENDS syntax
- Remove post-configure patching: CC, etc are now respected via QMAKESPEC
- Add global options (DOCS, NLS, etc) to the OPTIONS_DEFINE and partly revert
r315222 [1]
- Convert WITH_DEBUG to new options framework
- Trim Makefile header
- Adjust COMMENTs
- Reformat/update description
[1] See follow-up discussion:
http://lists.freebsd.org/pipermail/svn-ports-head/2013-March/016094.html
- Update to 0.11
- Switch to qt4
- Drop gentoo patches no longer supported
PR: based on 120324
Submitted by: Dmitry Sivachenko <demon@freebsd.org>
Approved by: shaun (maintainer)
Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).
PR: ports/124340
Submitted by: edwin@
Approved by: portmgr (pav)
- Add a collection of optional patches from Gentoo to the Psi port.
PR: ports/96745
Submitted by: Shaun Amott (maintainer)
Requested by + initial work: Stephan Maka