~mamarley/quassel/+git/trunk:master

Last commit made on 2024-04-28
Get this branch:
git clone -b master https://git.launchpad.net/~mamarley/quassel/+git/trunk

Branch merges

Branch information

Name:
master
Repository:
lp:~mamarley/quassel/+git/trunk

Recent commits

2977a2e... by Manuel Nickschas

ci: Modernize the Github Actions workflow and (mostly) fix CI

- Update the list of Linux distros to contain versions of Ubuntu
  that are currently supported. New baseline is Jammy Jellyfish
  (LTS 22.04).

- Update the checkout action to v4 to avoid deprecation warnings.

- Use an explicit action for ccache support, instead of caching
  manually. This simplifies quite some steps and should work
  more reliably.

- macos-latest (14) now builds on Apple Silicon (arm64). Build on
  both macOS 13 and latest so we get packages for both x86_64
  and arm64. Rename packages to contain the architecture, replacing
  the long outdated MacOSX name by macOS, too.
  Unfortunately, XCode 14.x is now the oldest version supported
  by Github, so we have to use this even though Qt does not
  officially support it (yet).

- Disable qca on macOS for the time being, as Homebrew no longer
  provides a Qt5 version of it. To be reenabled once Quassel has
  migrated to Qt6 as well.

- Pin Craft to qt5-lts for the time being, as master is moving to Qt6.

- However, the Windows builds are currently broken due to issues
  with Craft (or our configuration thereof). Make optional for now,
  until we find a solution.

64faafb... by Manuel Nickschas

cmake: Fix check for SSL support in Qt

Previously, the check worked by including qglobal.h and checking
whether the QT_NO_SSL define is set. This check no longer works
in macOS builds for some reason.

Make it more explicit by actually trying to use QSslSocket.

f6e14c3... by Manuel Nickschas

client: Avoid false positive -Wdangling-reference

Some versions of GCC detect a potentially dangling reference
in CoreAccountModel. This is a false positive as the referenced
value does not change while it is used, but rewrite the code
anyway to avoid this warning.

168c705... by Jason Joyce <email address hidden>

Enable building on M1 (Apple Silicon) Macs

Updated the compile settings to detect if the build is occurring on an
Apple Silicon based Mac and setting the architecture appropriately.

020c163... by Jeremy Visser

uisupport: fix application name for .desktop shell integration

When building for KDE (cmake -DUSE_KDE=1), the KAboutData constructor
as invoked by uisupport causes the resulting application name to be
"org.kde.quassel".

At least on GNOME, this "org.kde.quassel" doesn't match the
corresponding "quasselclient.desktop" file, which means the app doesn't
get a pretty name/icon in the app launcher.

The solution is to call KAboutData::setDesktopFileName() with the
desired name.

This issue doesn't occur when building with USE_KDE=0 for two reasons:
one, because QtUiApplication already calls
QGuiApplication::setDesktopFileName() with the correct value, and two,
if desktopFileName is unset, the binary name "quasselclient" would be used
instead, which still matches "quasselclient.desktop".

An alternative workaround would be to set this flag in the
quasselclient.desktop file:

    StartupWMClass=org.kde.quassel

But I would say this is worse because the "org.kde" doesn't make sense,
since this is not a KDE project.

b2deed9... by Shane Synan

ci: [mac] Update Qt 5 supported Xcode to v13.x

Xcode 12.4 is no longer available. Update to the latest version Qt 5
supports (13.x).

This fixes build failures.

See https://doc.qt.io/qt-5/macos.html

ced8ef7... by Daniel Albers

Support submodules in GitHub workflows

4251006... by Daniel Albers

Move translations to a submodule

f025842... by Shane Synan

ci: Fix Craft Windows build by ignoring Python 2

Fix the Craft Windows CI build by ignoring the Python 2 build
dependency from QtWebEngine. As we rely on KDE's prebuilt packages,
this does not affect us.

This matches GitHub's Windows Server 2022 images

See the GitHub image migration notes here:
https://github.com/actions/virtual-environments/issues/4856

Thanks to `TheOneRing` on `#quassel` for the help!

367fc85... by Mike Gilbert

cmake: avoid de-duplication of user's CXXFLAGS

Use the "SHELL:" prefix behavior introduced in cmake 3.12 to avoid the
option de-duplication behavior of add_compile_options().

Bug: https://bugs.gentoo.org/830738