pics: stop installing app icon in pixmaps location The /usr/share/pixmaps location is considered a legacy location for application icons; since the application icons are already installed in the global XDG hicolor theme, then simply stop installing the 48px one in the legacy pixmaps location.
icons: Update application icons for Quassel Modern macOS versions love squircles, so justJanne updated the application icons accordingly. Import icons from https://github.com/justjanne/quassel-icons.git.
cmake: Autogenerate most of the .qrc resource files With the CMake support from the previous commit, resource files can now be autogenerated. Do this for almost all resources; the hicolor one is special because it uses aliases, and the i18n one requires more work that is going to be added in a follow-up commit. Combine several of the previous resources (e.g. different icon sets) to reduce complexity. This wasn't possible previously due to the various configuration-specific combinations, but can now be done dynamically by extending the glob patterns accordingly.
icons: Warn on missing icons Provide new helper functions icon::get() that replace the uses of QIcon::fromTheme. These functions still use fromTheme() internally, but log a warning if an icon could not be found. This should make it easier to detect problems with icons. Replace all uses of QIcon::fromTheme() with icon::get(), remove useless fallbacks as that should be taken care of by the normal icon loader mechanism. Update the icon import script accordingly.
icons: Add hicolor fallback for Qt < 5.5 Turns out that Qt only added support for split icon themes in 5.5, so with older Qt versions our icon theme support doesn't work properly. Install hicolor icons for Qt < 5.5, as we already do for Qt 4. Add a hicolor icon resource, too, and make use of it in the system tray implementations, which is arguably the most important place to have proper icon support. This adds around 130 KiB to the binary size, but should save a lot of headaches.
icons: Update application icon Use the ones generated by justJanne, rather than the stock version. Looks identical.
icons: Install Quassel-specific icons in hicolor for Qt4 Qt4 sadly doesn't support split icon themes yet, so our injection and mechanism does not work. Install the Quassel-specific icons into hicolor, so they should be found at least in a proper system installation. Use the Oxygen theme, because its layout matches the hicolor one (simplifying the install rule), and it was default for Qt4 anyway.
cmake: Clean up icon-related build options Remove -DWITH_BREEZE, -DWITH_BREEZE_DARK and -DWITH_OXYGEN options from CMake. Instead, provide two new options that should make things a bit clearer: -DWITH_BUNDLED_ICONS now controls if bundled icon themes should be installed/embedded. Defaults to ON to ensure that required icons are available unless explicitly disabled (e.g. by a package maintainer, who should then make sure that a dependency to Breeze/Oxygen exists). Disabling this option saves less than 2 MB of disk space. -DWITH_OXYGEN_ICONS controls whether the Oxygen icon theme should still be supported. This affects both the Oxygen-themed Quassel-specific icons and the bundled icon theme. Defaults to OFF when building against Qt5, ON for Qt4. Adapt code accordingly, and update INSTALL.
icons: Use more common names for irc-channel-* icons irc-channel-joined and irc-channel-parted are not shipped with Oxygen. Use irc-channel-active and irc-channel-inactive instead, which are supported by both Oxygen and Breeze (and are identical to the previous ones in Breeze).
icons: Fix message-quassel-tray-inverted icon Use the correct base shape for this icon.
icons: Adapt and improve icon import script No longer require running it from inside a specific directory. Remove theme-specific blacklists, as they are not needed anymore. Modernize and improve the code a bit.
icons: Remove obsolete hicolor icons The hicolor directory should only contain the application icon for external use. Remove other icons (which are no longer used by Quassel anyway). Move irc-channel-joined and irc-channel-parted into the quassel- specific oxygen icon set, as they're not part of the upstream theme.
icons: Reorganize icon directories Move bundled icon themes into 3rdparty/icons for clarity. Move Quassel-specific icons from icons/extra-icons into icons proper. Rename breezedark to breeze-dark to match the upstream directory name. Update corresponding qrc files accordingly. Note that this breaks icon loading until the code is adapted to properly support icon themes and fallback mechanisms. This will be fixed in a follow-up commit. Since then Quassel itself will no longer use the hicolor icons (which are only intended to contain the application icons for use by desktop environments), there is no need to bundle them anymore. The import_theme.pl script also still requires adaptations that will be delivered in a later commit.
Update qrc's for new Icons and update Import Script
Update Quassel-Icons based on justjannes icon-repo See https://github.com/justjanne/quassel-icons commit 18a8974 inkl. new slim Tray-Icons inkl. Inverted Tray Icons (Light to Dark and vice versa) Updated Quassel App Icon Put Extra Icons in a separate folder in Resources/Data Updated quassel.ico and .icns