Package Details: birdtray 1.11.4-1

Git Clone URL: https://aur.archlinux.org/birdtray.git (read-only, click to copy)
Package Base: birdtray
Description: Run Thunderbird with a system tray icon.
Upstream URL: https://github.com/gyunaev/birdtray
Keywords: email notifier thunderbird tray
Licenses: GPL-3.0
Submitter: jonathon
Maintainer: kyngs
Last Packager: kyngs
Votes: 65
Popularity: 1.00
First Submitted: 2018-09-23 11:07 (UTC)
Last Updated: 2023-09-14 12:42 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Muncrief commented on 2020-11-23 16:50 (UTC)

@Ennoia, this error occurs when you have a QT program that's using an earlier library. Most QT programs are updated automatically, but some that are manually compiled have to be compiled again.

In my case I use qt5-styleplugins from the AUR, and I have to reinstall it or I get the compatibility error.

Ennoia commented on 2020-11-23 07:50 (UTC)

Hi, Just got this message this morning "Cannot mix incompatible Qt library (5.15.1) with this library (5.15.2) Abandon (core dumped)" Can you iterate your package, please ?

jonathon commented on 2020-09-12 18:43 (UTC)

Excellent! :)

Muncrief commented on 2020-09-12 18:27 (UTC)

You are correct jonathon, I apologize for my error. I ran strace (which I should have done before posting) and discovered the issue was with qt5-styleplugins. I recompiled it and all is well.

jonathon commented on 2020-09-12 17:55 (UTC)

If the error is telling you that you can't mix library versions then it's a partial upgrade issue.

Birdtray continues to run fine for me without requiring a rebuild.

Muncrief commented on 2020-09-12 17:45 (UTC) (edited on 2020-09-12 17:47 (UTC) by Muncrief)

birdtray crashes with the latest Qt5 update from 5.15.0 to 5.15.1. I tried compiling and then installing both this package and birdtray-git, and both compilations succeeded with no errors, but unfortunately the new Qt5 version isn't pulled in.

birdtray aborts with the following message:
Cannot mix incompatible Qt library (5.15.0) with this library (5.15.1)

So for now I just downgraded Qt5 back to 5.15.0. Here's the downgrade command:
sudo pacman -U /var/cache/pacman/pkg/python-pyqt5-5.15.0-3-x86_64.pkg.tar.zst /var/cache/pacman/pkg/qt5-multimedia-5.15.0-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/qt5-wayland-5.15.0-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/qt5-base-5.15.0-5-x86_64.pkg.tar.zst /var/cache/pacman/pkg/qt5-script-5.15.0-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/qt5-x11extras-5.15.0-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/qt5-charts-5.15.0-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/qt5-svg-5.15.0-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/qt5-declarative-5.15.0-2-x86_64.pkg.tar.zst /var/cache/pacman/pkg/qt5-tools-5.15.0-3-x86_64.pkg.tar.zst

cinnaboot commented on 2020-07-13 02:08 (UTC) (edited on 2020-07-13 02:09 (UTC) by cinnaboot)

patch for Qt 15.5 until next birdtray release

diff --git a/PKGBUILD b/PKGBUILD
index 78d57a7..4a44263 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@

 pkgname=birdtray
 pkgver=1.8.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Run Thunderbird with a system tray icon."
 arch=('i686' 'x86_64' 'armv7h' 'armv6h' 'aarch64')
 url="https://github.com/gyunaev/birdtray"
@@ -16,6 +16,11 @@ makedepends=(cmake qt5-tools)
 source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
 sha1sums=('805cfa9f30af71c268160068bb53ccde618244e8')

+prepare() {
+  cd "$pkgname-$pkgver"
+  patch --verbose --forward --strip=2 --input="$startdir/qt-15_5.patch"
+}
+
 build() {
   mkdir -p build && cd build
   cmake ../$pkgname-$pkgver \


diff --git a/qt-15_5.patch b/qt-15_5.patch
new file mode 100644
index 0000000..39cc893
--- /dev/null
+++ b/qt-15_5.patch
@@ -0,0 +1,10 @@
+--- src/birdtray-1.8.1/src/trayicon.cpp        2020-07-12 21:26:12.456985950 -0400
++++ src/birdtray-1.8.1.new/src/trayicon.cpp    2020-07-12 21:32:06.873197319 -0400
+@@ -3,6 +3,7 @@
+ #include <QPainter>
+ #include <QProcess>
+ #include <QMessageBox>
++#include <QPainterPath>
+ #include <QtNetwork/QNetworkSession>
+
+ #include "trayicon.h"

snack commented on 2020-06-12 07:18 (UTC)

@malcolm Same problem for me, I suspect it's because Qt 5.15. I opened a bug report upstream:

https://github.com/gyunaev/birdtray/issues/381

malcolm commented on 2020-04-27 01:33 (UTC) (edited on 2020-04-27 01:34 (UTC) by malcolm)

I can't complete the build. Maybe it's because I'm using the beta version of some qt packages?

qt5-translations 5.15.0beta4-1
qt5-tools 5.15.0beta4-1
qt5-x11extras 5.15.0beta4-1
qt5-svg 5.15.0beta4-1

Can you confirm if this is the problem? Here are the logs: https://bin.disroot.org/?e6e801e9d5e031c5#Eo4GyiUsM97pr7nKERg7P9T3dBHS8nf1oABz1edHiu3T

lsteeger commented on 2020-04-24 03:13 (UTC)

Installing 'qt5-translations' fixed the error message. Thanks. I'll let upstream know.