Re: git: cc268ca874a8 - main - net-im/telegram-desktop: bump PORTREVISION after qt5 update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Apr 2024 21:28:30 UTC
Folks, I've seen this with a couple of kf5-/KDE ports and other Qt ports, so telegram-desktop is not the only affected by this issue: when app requires for runtime exactly the same version of Qt it was built against. I suspect these ports rely on private Qt headers and they have to be rebuilt alongside the Qt upgrade. poudriere rebuilds packages anyway, therefore the problem can be easily solved by forced reinstall of the affected packages. To improve experience of pkg users we could bump PORTREVISION after Qt update, however bumping all Qt ports would be overkill. Any idea how can we find out in advance which ports do need the PORTREVISION bump? Max > The branch main has been updated by vishwin: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=cc268ca874a81aece7aadf066a671d2a94690d84 > > commit cc268ca874a81aece7aadf066a671d2a94690d84 > Author: Charlie Li <vishwin@FreeBSD.org> > AuthorDate: 2024-04-05 18:29:47 +0000 > Commit: Charlie Li <vishwin@FreeBSD.org> > CommitDate: 2024-04-05 18:31:56 +0000 > > net-im/telegram-desktop: bump PORTREVISION after qt5 update > > Otherwise crashes because pkg(8) does not update this port/package: > > Cannot mix incompatible Qt library (5.15.12) with this library (5.15.13) > Abort (core dumped) > --- > net-im/telegram-desktop/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile > index ff549da08699..e3a6bb920554 100644 > --- a/net-im/telegram-desktop/Makefile > +++ b/net-im/telegram-desktop/Makefile > @@ -1,5 +1,6 @@ > PORTNAME= telegram-desktop > DISTVERSION= 4.15.2 > +PORTREVISION= 1 > CATEGORIES= net-im > MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ > DISTNAME= tdesktop-${DISTVERSION}-full >